/* Final copy package: page structures extending the existing GLENK design */
.glenk-hero-intro {
  max-width: 700px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
}

.glenk-features-grid .glenk-feature-card > strong {
  display: block;
  margin: 12px 0 8px;
  color: var(--primary-blue-dark);
  font-size: 1.02rem;
  line-height: 1.45;
}

.glenk-home-care-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  align-items: center;
  gap: clamp(48px, 7vw, 108px);
}

.glenk-home-care {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 12%, rgba(63, 129, 193, 0.34), transparent 28%),
    linear-gradient(130deg, var(--navy-950), var(--navy-800));
}

.glenk-home-care::before {
  position: absolute;
  top: -260px;
  right: -180px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.glenk-home-care .glenk-container {
  position: relative;
  z-index: 1;
}

.glenk-home-care .glenk-home-green-label {
  color: #64dda1;
}

.glenk-home-care .glenk-home-green-label::before {
  background: #64dda1;
}

.glenk-home-care-copy {
  max-width: 790px;
}

.glenk-home-care-copy .glenk-heading-lg {
  max-width: 720px;
  margin: 18px 0 24px;
  color: #fff;
}

.glenk-home-care-copy > p {
  max-width: 680px;
  color: rgba(226, 237, 248, 0.78);
  font-size: 1.08rem;
  line-height: 1.75;
}

.glenk-home-care .glenk-home-care-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.glenk-home-care .glenk-home-care-list li {
  min-height: 92px;
  margin: 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 20px 24px 20px 0;
  background: transparent;
  color: #fff;
  text-align: left;
  transition: color 180ms ease, padding-left 180ms ease;
}

/* Match Next.js: numbered rows without decorative bullet circles. */
.glenk-site .glenk-home-care .glenk-home-care-list li::before {
  content: none !important;
  display: none !important;
}

.glenk-home-care .glenk-home-care-list li:nth-child(even) {
  padding-left: 28px;
}

.glenk-home-care .glenk-home-care-list li:hover {
  color: #8ce8b8;
  padding-left: 8px;
}

.glenk-home-care .glenk-home-care-list li:nth-child(even):hover {
  padding-left: 36px;
}

.glenk-home-care-list li > span {
  color: #64dda1;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.glenk-home-care-list li > strong {
  font-size: 1rem;
  line-height: 1.4;
}

.glenk-home-care .glenk-home-care-cta {
  width: fit-content;
  margin-top: 34px;
  border-color: #43c887 !important;
  background: #43c887 !important;
  color: var(--navy-950) !important;
  box-shadow: 0 14px 32px rgba(4, 20, 37, 0.22) !important;
}

.glenk-home-care .glenk-home-care-cta span,
.glenk-home-care .glenk-home-care-cta svg,
.glenk-home-care .glenk-home-care-cta path {
  color: var(--navy-950) !important;
  fill: none !important;
  stroke: var(--navy-950) !important;
}

.glenk-home-care .glenk-home-care-cta:hover,
.glenk-home-care .glenk-home-care-cta:focus,
.glenk-home-care .glenk-home-care-cta:active {
  border-color: #59d699 !important;
  background: #59d699 !important;
  color: var(--navy-950) !important;
  transform: translateY(-2px);
}

.glenk-home-care .glenk-home-care-cta:hover span,
.glenk-home-care .glenk-home-care-cta:hover svg,
.glenk-home-care .glenk-home-care-cta:hover path,
.glenk-home-care .glenk-home-care-cta:focus span,
.glenk-home-care .glenk-home-care-cta:focus svg,
.glenk-home-care .glenk-home-care-cta:focus path,
.glenk-home-care .glenk-home-care-cta:active span,
.glenk-home-care .glenk-home-care-cta:active svg,
.glenk-home-care .glenk-home-care-cta:active path {
  color: var(--navy-950) !important;
  fill: none !important;
  stroke: var(--navy-950) !important;
}

.glenk-home-care-image {
  position: relative;
  min-height: 610px;
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  background: var(--navy-950);
  box-shadow: 0 28px 70px rgba(10, 39, 71, 0.18);
}

.glenk-home-care-image::after {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(180deg, transparent, rgba(6, 26, 48, 0.8));
  content: "";
  pointer-events: none;
}

.glenk-home-care-image img {
  width: 100%;
  height: 100%;
  min-height: 610px;
  display: block;
  object-fit: cover;
  object-position: 58% center;
}

.glenk-home-care-image figcaption {
  position: absolute;
  z-index: 1;
  right: 28px;
  bottom: 28px;
  left: 28px;
  border-left: 3px solid var(--glenk-home-green-bright);
  padding: 4px 0 4px 18px;
  color: #fff;
}

.glenk-home-care-image figcaption strong {
  display: block;
  max-width: 330px;
  font-size: 1.18rem;
  line-height: 1.42;
}

.glenk-copy-hero {
  min-height: 760px;
}

.glenk-copy-hero .glenk-subpage-hero-content {
  max-width: 840px;
}

.glenk-copy-hero .glenk-subpage-hero-title {
  max-width: 820px;
  font-size: clamp(2.8rem, 5.4vw, 5.4rem);
  line-height: 0.98;
}

.glenk-copy-stack {
  max-width: 800px;
}

.glenk-copy-stack p {
  margin: 0 0 12px;
}

.glenk-copy-section-heading {
  max-width: 860px;
  margin: 0 auto 42px;
  text-align: center;
}

.glenk-copy-section-heading > span,
.glenk-copy-optional > span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--glenk-home-green);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.glenk-copy-section-heading p {
  margin: 18px auto 0;
}

.glenk-copy-benefits .glenk-feature-card {
  text-align: left;
}

.glenk-copy-benefits .glenk-feature-card > i {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--glenk-home-green-soft);
  color: var(--glenk-home-green);
  font-style: normal;
  font-weight: 850;
}

.glenk-copy-benefits h3 {
  margin: 18px 0 0;
  color: var(--primary-blue-dark);
  font-size: 1.3rem;
}

.glenk-copy-benefits p {
  margin: 0;
  color: var(--text-gray);
  line-height: 1.7;
}

.glenk-copy-included {
  padding: 96px 0;
}

.glenk-copy-included-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 46px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.16);
}

.glenk-copy-included-grid article {
  min-height: 170px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.07);
}

.glenk-copy-included-grid h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 1.16rem;
}

.glenk-copy-included-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

.glenk-copy-included.is-icon-list .glenk-included-subtitle {
  max-width: 700px;
  margin: 20px auto 0;
  color: #cbd5e1;
}

.glenk-copy-included.is-icon-list .glenk-checklist-icons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.glenk-copy-included.is-icon-list .glenk-checklist-item {
  min-height: 90px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.glenk-copy-included.is-icon-list .glenk-checklist-item:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.glenk-copy-included.is-icon-list .glenk-checklist-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
  transition: background 300ms ease, border-color 300ms ease, box-shadow 300ms ease, transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.glenk-copy-included.is-icon-list .glenk-checklist-icon svg {
  width: 24px;
  height: 24px;
  color: #fff;
  stroke: #fff;
}

.glenk-copy-included.is-icon-list .glenk-checklist-item:hover .glenk-checklist-icon {
  border-color: transparent;
  background: linear-gradient(135deg, var(--primary-blue-light), var(--primary-blue));
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 8px 20px rgba(26, 77, 143, 0.4);
}

.glenk-copy-included.is-icon-list .glenk-checklist-item > span {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}

.glenk-copy-included.is-icon-list .glenk-included-card-copy {
  min-width: 0;
}

.glenk-copy-included.is-icon-list .glenk-included-card-copy strong,
.glenk-copy-included.is-icon-list .glenk-included-card-copy small {
  display: block;
}

@media (max-width: 1050px) {
  .glenk-copy-included.is-icon-list .glenk-checklist-icons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .glenk-copy-included.is-icon-list .glenk-checklist-icons {
    grid-template-columns: 1fr;
  }

  .glenk-copy-included.is-icon-list .glenk-checklist-item {
    min-height: 0;
    padding: 18px 20px;
  }

  .glenk-copy-included.is-icon-list .glenk-checklist-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
  }

  .glenk-copy-included.is-icon-list .glenk-checklist-icon svg {
    width: 20px;
    height: 20px;
  }
}

/* WooCommerce cart: polished empty state and mobile-friendly controls. */
.glenk-woo-utility-page.woocommerce-cart .cart-empty.woocommerce-info {
  display: flex !important;
  width: 100% !important;
  max-width: 720px;
  margin: 0 auto !important;
  border: 1px solid #dce6f0 !important;
  border-radius: 24px !important;
  padding: 38px 28px !important;
  background: linear-gradient(145deg, #f7faff 0%, #eef5fc 100%) !important;
  color: var(--primary-blue-dark) !important;
  box-shadow: 0 18px 48px rgba(15, 45, 84, 0.08);
  align-items: center;
  flex-direction: column;
  font-size: clamp(1.25rem, 3vw, 1.65rem) !important;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
}

.glenk-woo-utility-page.woocommerce-cart .cart-empty.woocommerce-info::before {
  position: static !important;
  display: block !important;
  width: 64px;
  height: 64px;
  margin: 0 0 22px !important;
  border-radius: 18px;
  background-color: var(--primary-blue) !important;
  content: "" !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8h12l-1 12H7L6 8Z'/%3E%3Cpath d='M9 9V6a3 3 0 0 1 6 0v3'/%3E%3C/svg%3E") center / 34px 34px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8h12l-1 12H7L6 8Z'/%3E%3Cpath d='M9 9V6a3 3 0 0 1 6 0v3'/%3E%3C/svg%3E") center / 34px 34px no-repeat;
}

.glenk-woo-utility-page.woocommerce-cart .return-to-shop {
  margin: 18px auto 0 !important;
  text-align: center;
}

.glenk-woo-utility-page.woocommerce-cart .return-to-shop .button,
.glenk-woo-utility-page.woocommerce-cart .wc-proceed-to-checkout .button {
  min-height: 54px;
  border-radius: 14px !important;
  padding: 16px 26px !important;
  font-size: 1rem !important;
}

@media (max-width: 768px) {
  .glenk-woo-utility-page.woocommerce-cart .woocommerce {
    width: min(100% - 32px, 720px) !important;
    min-height: calc(100svh - 180px);
    padding: 32px 0 64px !important;
  }

  .glenk-woo-utility-page.woocommerce-cart .cart-empty.woocommerce-info {
    border-radius: 20px !important;
    padding: 34px 22px !important;
  }

  .glenk-woo-utility-page.woocommerce-cart .return-to-shop .button {
    width: 100%;
    max-width: 360px;
  }

  .glenk-woo-utility-page.woocommerce-cart table.shop_table_responsive tr {
    margin-bottom: 16px;
    border: 1px solid #dce6f0;
    border-radius: 16px;
    padding: 14px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 45, 84, 0.06);
  }
}

/* Plan Check mobile alignment: inset the step numbers without moving copy. */
@media (max-width: 640px) {
  body.glenk-site .glenk-plan-check-steps article {
    grid-template-columns: 40px minmax(0, 1fr) !important;
    gap: 12px !important;
    padding: 26px 20px 26px 36px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .glenk-copy-included.is-icon-list .glenk-checklist-item,
  .glenk-copy-included.is-icon-list .glenk-checklist-icon {
    transition: none;
  }

  .glenk-copy-included.is-icon-list .glenk-checklist-item:hover,
  .glenk-copy-included.is-icon-list .glenk-checklist-item:hover .glenk-checklist-icon {
    transform: none;
  }
}

/* Service heroes 1.12.4: header + hero always fit into one viewport. */
body.glenk-site .glenk-subpage-hero.glenk-copy-hero {
  height: calc(100svh - 82px) !important;
  min-height: 0 !important;
  max-height: calc(100svh - 82px) !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 !important;
}

body.glenk-site .glenk-subpage-hero.glenk-copy-hero .glenk-container {
  width: 100%;
  height: 100%;
  min-height: 0 !important;
  max-height: none !important;
  display: flex;
  align-items: center;
  padding-top: clamp(28px, 4vh, 52px);
  padding-bottom: clamp(28px, 4vh, 52px);
}

body.glenk-site .glenk-subpage-hero.glenk-copy-hero .glenk-subpage-hero-content {
  width: min(50vw, 760px);
  max-width: 760px;
  min-height: 0 !important;
  margin: 0;
  padding: 0;
}

body.glenk-site .glenk-subpage-hero.glenk-copy-hero .glenk-subpage-hero-label {
  position: static !important;
  margin: 0 0 clamp(14px, 2vh, 22px) !important;
  padding: 0 !important;
  transform: none !important;
  font-size: clamp(0.72rem, 0.9vw, 0.92rem);
  letter-spacing: 0.19em;
}

body.glenk-site .glenk-subpage-hero.glenk-copy-hero .glenk-subpage-hero-title {
  width: 100%;
  max-width: 760px;
  margin: 0 0 clamp(16px, 2.4vh, 24px) !important;
  overflow-wrap: normal;
  font-size: clamp(2.75rem, 4vw, 4.55rem);
  letter-spacing: -0.035em;
  line-height: 1.01;
  text-wrap: balance;
}

body.glenk-site .glenk-subpage-hero.glenk-copy-hero .glenk-subpage-hero-text {
  max-width: 680px;
  margin: 0 0 clamp(18px, 2.8vh, 28px);
  font-size: clamp(0.94rem, 1.05vw, 1.08rem);
  line-height: 1.55;
}

/* The hero is the concise introduction; the detailed positioning follows below. */
body.glenk-site .glenk-subpage-hero.glenk-copy-hero .glenk-subpage-hero-text p:not(:first-child) {
  display: none;
}

body.glenk-site .glenk-subpage-hero.glenk-copy-hero .glenk-subpage-hero-buttons {
  margin: 0;
}

body.glenk-site .glenk-subpage-hero.glenk-copy-hero .glenk-subpage-hero-buttons .glenk-btn {
  min-height: 50px;
  padding: 13px 22px;
  font-size: 0.94rem;
}

@media (max-height: 760px) and (min-width: 769px) {
  body.glenk-site .glenk-subpage-hero.glenk-copy-hero .glenk-container {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  body.glenk-site .glenk-subpage-hero.glenk-copy-hero .glenk-subpage-hero-label {
    margin-bottom: 12px !important;
    font-size: 0.7rem;
  }

  body.glenk-site .glenk-subpage-hero.glenk-copy-hero .glenk-subpage-hero-title {
    margin-bottom: 14px !important;
    font-size: clamp(2.35rem, 3.6vw, 3.55rem);
  }

  body.glenk-site .glenk-subpage-hero.glenk-copy-hero .glenk-subpage-hero-text {
    margin-bottom: 16px;
    font-size: 0.9rem;
    line-height: 1.45;
  }

  body.glenk-site .glenk-subpage-hero.glenk-copy-hero .glenk-subpage-hero-buttons .glenk-btn {
    min-height: 46px;
    padding: 11px 18px;
  }
}

@media (max-width: 768px) {
  body.glenk-site .glenk-subpage-hero.glenk-copy-hero {
    height: calc(100svh - 82px) !important;
    min-height: 0 !important;
    max-height: calc(100svh - 82px) !important;
  }

  body.glenk-site .glenk-subpage-hero.glenk-copy-hero .glenk-container {
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    align-items: center;
    padding: 30px 22px !important;
  }

  body.glenk-site .glenk-subpage-hero.glenk-copy-hero .glenk-subpage-hero-content {
    width: 100%;
    max-width: 620px;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    justify-content: center;
    padding: 0 !important;
    text-align: left;
  }

  body.glenk-site .glenk-subpage-hero.glenk-copy-hero .glenk-subpage-hero-label {
    justify-content: flex-start;
    font-size: 0.7rem;
    white-space: normal;
  }

  body.glenk-site .glenk-subpage-hero.glenk-copy-hero .glenk-subpage-hero-title {
    margin-top: 0 !important;
    font-size: clamp(2.15rem, 9.5vw, 3.25rem);
    line-height: 1.02;
  }

  body.glenk-site .glenk-subpage-hero.glenk-copy-hero .glenk-subpage-hero-text {
    font-size: 0.92rem;
    line-height: 1.48;
  }

  body.glenk-site .glenk-subpage-hero.glenk-copy-hero .glenk-subpage-hero-buttons {
    align-items: flex-start;
  }

  body.glenk-site .glenk-subpage-hero.glenk-copy-hero .glenk-subpage-hero-buttons .glenk-btn {
    width: auto;
  }
}

@media (max-width: 480px), (max-height: 650px) {
  body.glenk-site .glenk-subpage-hero.glenk-copy-hero .glenk-subpage-hero-title {
    font-size: clamp(1.95rem, 8.8vw, 2.75rem);
  }

  body.glenk-site .glenk-subpage-hero.glenk-copy-hero .glenk-subpage-hero-text {
    font-size: 0.86rem;
    line-height: 1.42;
  }
}

/* Health 1.12.5: comparison and medical disclaimer form one information card. */
.glenk-site .glenk-health-guidance {
  max-width: 1120px;
  margin: clamp(34px, 5vw, 58px) auto 0;
  overflow: hidden;
  border: 1px solid #d8e3ec;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(15, 45, 84, 0.07);
}

.glenk-site .glenk-health-guidance p {
  margin: 0;
  padding: clamp(22px, 3vw, 30px) clamp(24px, 4vw, 42px);
  color: var(--primary-blue-dark);
  font-size: clamp(0.94rem, 1.1vw, 1.04rem);
  line-height: 1.65;
  text-align: left;
}

.glenk-site .glenk-health-guidance-goal {
  border-left: 4px solid var(--glenk-home-green-bright);
  background: #f6fafc;
  font-weight: 750;
}

.glenk-site .glenk-health-guidance-note {
  border-top: 1px solid #e1e8ef;
  color: var(--text-gray) !important;
}

@media (max-width: 640px) {
  .glenk-site .glenk-health-guidance {
    border-radius: 16px;
  }

  .glenk-site .glenk-health-guidance p {
    padding: 20px;
  }
}

.glenk-commerce-page .glenk-plan-check-checkout {
  margin: 28px 0;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid #d6e0ea;
  border-radius: 18px;
  background: #f5f8fb;
}

.glenk-commerce-page .glenk-plan-check-checkout h3 {
  margin: 0 0 8px;
  color: #12345b;
}

.glenk-commerce-page .glenk-plan-check-checkout > p:first-of-type {
  margin: 0 0 22px;
  color: #63758c;
}

.glenk-commerce-page .glenk-plan-check-checkout input[type="file"] {
  width: 100%;
  padding: 14px;
  border: 1px dashed #9fb2c6;
  border-radius: 12px;
  background: #fff;
}

/* Astra can add vertical space around the complete page wrapper. Keep the
   GLENK header flush with the viewport and the footer flush with the page. */
body.glenk-site,
body.glenk-site #page,
body.glenk-site #content,
body.glenk-site .site-content,
body.glenk-site .ast-container,
body.glenk-site #primary,
body.glenk-site .content-area,
body.glenk-site .site-main,
body.glenk-site article.page,
body.glenk-site .entry-content {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* WooCommerce storefront: compact sales structure in the existing GLENK system. */
body.glenk-commerce-page #masthead,
body.glenk-commerce-page #colophon,
body.glenk-commerce-page .site-header:not(.glenk-header),
body.glenk-commerce-page .site-footer:not(.glenk-footer),
body.glenk-commerce-page .widget-area {
  display: none !important;
}

body.glenk-commerce-page #content,
body.glenk-commerce-page .site-content,
body.glenk-commerce-page .ast-container,
body.glenk-commerce-page .content-area {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Astra uses the outer container as a horizontal content/sidebar flex row.
   Our commerce header, main and footer are siblings inside that wrapper, so
   the wrapper must become a normal vertical document flow. */
body.glenk-commerce-page #page,
body.glenk-commerce-page #content,
body.glenk-commerce-page .site-content,
body.glenk-commerce-page .ast-container {
  display: block !important;
}

body.glenk-commerce-page .glenk-header,
body.glenk-commerce-page .glenk-commerce-main,
body.glenk-commerce-page .glenk-footer {
  width: 100% !important;
  max-width: none !important;
}

.glenk-commerce-main {
  overflow: hidden;
  background: #fff;
  color: var(--text-dark);
}

.glenk-commerce-eyebrow {
  margin: 0 0 14px;
  color: var(--glenk-home-green, #16885b);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Shop hero: ported from glenk-shop-hero-ki-package-2026-09-03 (shop-hero.module.css). */
.glenk-shop-hero {
  padding: 78px 0 54px;
  color: #102f53;
  background: linear-gradient(180deg, #fff 0%, #f5f9fd 48%, #edf4fc 100%);
}

.glenk-shop-hero svg {
  fill: none;
  stroke: currentColor;
  flex-shrink: 0;
}

.glenk-shop-hero-copy {
  text-align: center;
}

.glenk-shop-hero-eyebrow {
  margin: 0 0 24px;
  color: #2b65a9;
  font-size: 0.625rem;
  font-weight: 750;
  letter-spacing: 0.17em;
  line-height: 1.6;
  text-transform: uppercase;
}

.glenk-shop-hero h1 {
  max-width: 960px;
  margin: 0 auto;
  color: #102f53;
  font-size: clamp(2.875rem, 4.6vw, 4.25rem);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.glenk-shop-hero h1 span {
  color: #2464ac;
}

.glenk-shop-hero-description {
  max-width: 800px;
  margin: 30px auto 0;
  color: #607187;
  font-size: 1.125rem;
  line-height: 1.75;
}

.glenk-shop-hero-benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 26px;
  margin: 34px 0 30px;
  padding: 0;
  list-style: none;
}

.glenk-shop-hero-benefits li {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 0;
  color: #233e5d;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.5;
}

.glenk-shop-hero-benefits svg {
  color: #2d78c6;
}

.glenk-shop-hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 52px;
  padding: 16px 25px;
  border-radius: 9px;
  background: #2464ac;
  color: #fff !important;
  font-size: 0.875rem;
  font-weight: 650;
  text-decoration: none !important;
  box-shadow: 0 6px 16px rgba(36, 100, 172, 0.09);
  transition: background 180ms ease, transform 180ms ease;
}

.glenk-shop-hero-button:hover {
  background: #194e89;
  transform: translateY(-2px);
}

.glenk-shop-hero a:focus-visible {
  outline: 3px solid #317ad0;
  outline-offset: 5px;
}

/* Purchase workflow cards, within the shop hero background. */
.glenk-purchase-workflow-section {
  padding-top: clamp(52px, 6vw, 76px);
  padding-bottom: clamp(52px, 6vw, 76px);
}

.glenk-purchase-workflow {
  margin-top: 8px;
  color: #102f53;
}

.glenk-purchase-workflow svg {
  fill: none;
  stroke: currentColor;
  flex-shrink: 0;
}

.glenk-purchase-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.glenk-purchase-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: 9px;
  border: 1px solid #e2e9f2;
  border-radius: 24px;
  background: linear-gradient(180deg, #f6f8fb, #fff 58%);
}

.glenk-purchase-copy {
  flex: 1;
  padding: 19px 14px 24px;
}

.glenk-purchase-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid #cbdcf1;
  border-radius: 50%;
  color: #2867ae;
  font-size: 0.6875rem;
  font-weight: 700;
}

.glenk-purchase-copy h3 {
  margin: 16px 0 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid #dbe4ef;
  color: #102f53;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.glenk-purchase-copy p {
  margin: 0;
  color: #63768c;
  font-size: 0.875rem;
  line-height: 1.7;
}

.glenk-purchase-visual {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 252px;
  overflow: hidden;
  border-radius: 17px;
  background: radial-gradient(ellipse at 15% 0%, #eaf3ff 0%, transparent 65%), linear-gradient(145deg, #bcd6f6, #6197d4);
}

.glenk-purchase-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 320px;
  height: 320px;
  bottom: -220px;
  left: -60px;
  border: 1px solid rgba(255, 255, 255, 0.31);
  border-radius: 50%;
  box-shadow: 0 0 0 36px rgba(255, 255, 255, 0.075), 0 0 0 72px rgba(255, 255, 255, 0.047);
}

.glenk-purchase-product-preview {
  position: absolute;
  top: 23px;
  left: 28px;
  width: calc(100% - 56px);
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 15px 32px rgba(18, 53, 89, 0.15);
}

.glenk-purchase-product-preview img {
  display: block;
  width: 100%;
  height: 100px;
  object-fit: cover;
  object-position: center 38%;
}

.glenk-purchase-product-label {
  padding: 13px 15px 18px;
}

.glenk-purchase-product-label small {
  display: block;
  margin-bottom: 6px;
  color: #2867ae;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.glenk-purchase-product-label strong {
  display: block;
  font-size: 0.875rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.glenk-purchase-product-label span {
  display: block;
  margin-top: 3px;
  color: #697a8f;
  font-size: 0.625rem;
}

.glenk-purchase-selection {
  position: absolute;
  bottom: 19px;
  left: 13px;
  right: 13px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 9px;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(21, 59, 107, 0.15);
  color: #163d6c;
  font-size: 0.5625rem;
  font-weight: 650;
}

.glenk-purchase-selection svg:last-child {
  margin-left: auto;
}

.glenk-purchase-check {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #eaf2fe;
  flex-shrink: 0;
}

.glenk-purchase-visual.is-order {
  background: radial-gradient(ellipse at 100% 0%, #4379b9, transparent 70%), #12365e;
}

.glenk-purchase-receipt {
  width: calc(100% - 34px);
  padding: 18px 15px;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 18px 32px rgba(6, 30, 61, 0.2);
}

.glenk-purchase-receipt-top {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 16px;
}

.glenk-purchase-receipt-top > span:last-child {
  display: flex;
  flex-direction: column;
  font-size: 0.4375rem;
  letter-spacing: 0.1em;
  color: #617892;
}

.glenk-purchase-receipt-top strong {
  margin-top: 5px;
  color: #102f53;
  font-size: 0.8125rem;
  letter-spacing: -0.02em;
}

.glenk-purchase-icon {
  display: inline-flex;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: #2766ab;
  background: #eaf3ff;
}

.glenk-purchase-receipt-row {
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid #e5ecf4;
  padding: 12px 0;
  color: #435d78;
  font-size: 0.625rem;
}

.glenk-purchase-receipt-row svg:last-child {
  margin-left: auto;
  color: #2867ae;
}

.glenk-purchase-order-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 11px;
  margin-top: 4px;
  border-radius: 7px;
  background: #2867ae;
  color: #fff;
  font-size: 0.625rem;
  font-weight: 600;
}

.glenk-purchase-visual.is-portal {
  justify-content: flex-start;
  background: linear-gradient(140deg, #dbeafe, #92b8e3);
}

.glenk-purchase-portal-window {
  position: absolute;
  top: 29px;
  left: 18px;
  width: 390px;
  overflow: hidden;
  border-radius: 9px;
  box-shadow: 0 18px 35px rgba(18, 53, 89, 0.19);
}

.glenk-purchase-window-bar {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 7px 9px;
  background: #fff;
}

.glenk-purchase-window-bar i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #bccde1;
}

.glenk-purchase-window-bar span {
  margin-left: 10px;
  color: #63778f;
  font-size: 0.4375rem;
}

.glenk-purchase-portal-window img {
  display: block;
  width: 100%;
  height: auto;
}

.glenk-purchase-portal-label {
  position: absolute;
  bottom: 19px;
  left: 13px;
  right: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 10px;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(21, 59, 107, 0.15);
}

.glenk-purchase-portal-label small {
  display: block;
  margin-bottom: 4px;
  color: #2867ae;
  font-size: 0.4375rem;
}

.glenk-purchase-portal-label strong {
  font-size: 0.625rem;
}

.glenk-purchase-visual.is-train {
  background: linear-gradient(145deg, #b1cdef, #386ca7);
}

.glenk-purchase-training-preview {
  width: calc(100% - 34px);
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 35px rgba(18, 53, 89, 0.2);
}

.glenk-purchase-video-still {
  position: relative;
  height: 148px;
  overflow: hidden;
}

.glenk-purchase-video-still::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(14, 41, 76, 0.6));
}

.glenk-purchase-video-still img {
  display: block;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: center 40%;
}

.glenk-purchase-play {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.67);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #235d9e;
}

.glenk-purchase-video-label {
  position: absolute;
  z-index: 1;
  bottom: 11px;
  left: 13px;
  color: #fff;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.glenk-purchase-training-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 10px;
}

.glenk-purchase-training-label small {
  display: block;
  margin-bottom: 4px;
  color: #63778f;
  font-size: 0.4375rem;
}

.glenk-purchase-training-label strong {
  font-size: 0.6875rem;
}

.glenk-purchase-training-label svg:last-child {
  margin-left: auto;
}

.glenk-commerce-heading-compact {
  margin-bottom: 30px;
}

.glenk-shop-solutions {
  padding-top: clamp(54px, 6vw, 76px);
  padding-bottom: clamp(54px, 6vw, 76px);
  scroll-margin-top: 104px;
}

.glenk-shop-solutions .glenk-commerce-heading {
  max-width: 860px;
}

.glenk-shop-solutions .glenk-commerce-heading h2 {
  font-size: clamp(2.1rem, 3.25vw, 3.15rem);
}

.glenk-solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.glenk-solution-grid article {
  display: flex;
  overflow: hidden;
  border: 1px solid #dfe5ea;
  border-radius: 16px;
  background: #fff;
  flex-direction: column;
  box-shadow: 0 12px 34px rgba(15, 45, 84, 0.055);
}

.glenk-solution-media {
  position: relative;
  height: clamp(160px, 15vw, 210px);
  overflow: hidden;
  background: #e9edf0;
}

.glenk-solution-number {
  position: absolute;
  z-index: 2;
  left: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: var(--glenk-home-green, #16885b);
  font-size: 0.75rem;
  font-weight: 900;
  box-shadow: 0 4px 10px rgba(15, 45, 84, 0.25);
}

.glenk-solution-number.is-on-photo {
  bottom: 14px;
}

.glenk-solution-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 31%;
  filter: saturate(0.78) contrast(1.05);
  transition: transform 260ms ease;
}

.glenk-solution-grid article:nth-child(1) .glenk-solution-media img {
  object-position: center 8%;
}

.glenk-solution-grid article:nth-child(2) .glenk-solution-media img {
  object-position: center 12%;
}

.glenk-solution-grid article:hover .glenk-solution-media img {
  transform: scale(1.025);
}

.glenk-solution-body {
  display: flex;
  width: 100%;
  min-height: 288px;
  padding: 24px 26px 26px;
  flex: 1;
  flex-direction: column;
}

.glenk-solution-kicker {
  margin: 18px 0 7px;
  color: #6f7d8c;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.glenk-solution-grid h3 {
  min-height: 2.35em;
  margin: 0;
  color: var(--primary-blue-dark);
  font-size: clamp(1.3rem, 1.7vw, 1.65rem);
  line-height: 1.15;
}

.glenk-solution-body > p:not(.glenk-solution-kicker) {
  min-height: 3.3em;
  margin: 12px 0 20px;
  color: #647282;
  line-height: 1.65;
}

.glenk-solution-body > a {
  margin-top: auto;
  color: var(--primary-blue-dark);
  font-size: 0.85rem;
  font-weight: 850;
  letter-spacing: 0.025em;
  text-decoration: none;
}

.glenk-solution-body > a span {
  margin-left: 7px;
  color: var(--primary-blue);
  font-size: 1.05rem;
}

.glenk-shop-compare {
  padding: clamp(52px, 5.4vw, 68px) 0;
  background: #f4f7f9;
  overflow-x: hidden;
  max-width: 100vw;
}

.glenk-shop-compare .glenk-commerce-heading {
  margin-bottom: 24px;
}

.glenk-shop-compare .glenk-commerce-heading h2 {
  font-size: clamp(2rem, 3vw, 2.85rem);
}

.glenk-compare-shell {
  width: 100%;
  max-width: 1120px;
  min-width: 0;
  margin: 0 auto;
  overflow: hidden;
  contain: inline-size;
}

.glenk-compare-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid #d7e0e7;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(13, 48, 83, 0.06);
  scrollbar-color: var(--glenk-home-green, #16885b) #e7edf1;
  scrollbar-width: thin;
  contain: inline-size;
  overscroll-behavior-inline: contain;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
}

.glenk-compare-table {
  width: 100%;
  min-width: 920px;
  border-spacing: 0;
  border-collapse: separate;
  table-layout: fixed;
  color: #526272;
}

.glenk-compare-table th,
.glenk-compare-table td {
  border-right: 1px solid #e0e6eb;
  border-bottom: 1px solid #e0e6eb;
}

.glenk-compare-table tr > *:last-child {
  border-right: 0;
}

.glenk-compare-table tbody tr:last-child > * {
  border-bottom: 0;
}

.glenk-commerce-page .glenk-compare-table thead th {
  height: 96px;
  padding: 20px 18px;
  background: #eef3f7;
  color: var(--primary-blue-dark);
  text-align: left;
  vertical-align: middle;
}

.glenk-commerce-page .glenk-compare-table thead th > span {
  display: block !important;
  font-size: 1.08rem;
  font-weight: 850;
  letter-spacing: -0.015em;
}

.glenk-commerce-page .glenk-compare-table thead small {
  display: block !important;
  margin-top: 6px;
  color: #758493;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.glenk-compare-table .glenk-compare-feature {
  width: 22%;
  background: var(--primary-blue-dark);
  color: #fff;
}

.glenk-compare-table .is-featured {
  background: #f2f7ee;
}

.glenk-compare-table thead .is-featured {
  box-shadow: inset 0 4px 0 var(--glenk-home-green-bright, #2fb978);
}

.glenk-compare-table .is-coaching {
  background: #f4f7fb;
}

.glenk-compare-table thead .is-coaching {
  background: #dfe9f3;
  box-shadow: inset 0 4px 0 #1f5fa8;
}

.glenk-commerce-page .glenk-compare-table tbody th {
  padding: 15px 18px;
  background: #fafcfd;
  color: var(--primary-blue-dark);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: left;
}

.glenk-commerce-page .glenk-compare-table tbody td {
  height: 58px;
  padding: 13px 18px;
  font-size: 0.86rem;
  line-height: 1.35;
  vertical-align: middle;
}

.glenk-compare-check {
  margin-right: 8px;
  color: var(--glenk-home-green, #16885b);
  font-weight: 950;
}

.glenk-compare-table td.is-empty {
  color: #a3adb7;
  font-size: 1.1rem;
}

.glenk-commerce-page .glenk-compare-price-row th,
.glenk-commerce-page .glenk-compare-price-row td {
  padding-top: 17px;
  padding-bottom: 17px;
}

.glenk-commerce-page .glenk-compare-price-row strong {
  display: block !important;
  color: var(--primary-blue-dark);
  font-size: 1.05rem;
}

.glenk-commerce-page .glenk-compare-price-row a {
  display: block !important;
  margin-top: 7px;
  color: #1f5fa8;
  font-size: 0.76rem;
  font-weight: 850;
  text-decoration: none;
}

.glenk-compare-price-row a > span[aria-hidden="true"] {
  color: var(--glenk-home-green, #16885b);
}

.glenk-compare-swipe {
  display: none;
  margin: 12px 0 0;
  color: #6d7c8b;
  font-size: 0.78rem;
  text-align: center;
}

.glenk-purchase-swipe-hint {
  display: none;
  margin: 4px 0 0;
  color: #6d7c8b;
  font-size: 0.78rem;
  text-align: center;
}

/* Keep the comparison matrix visually identical in WooCommerce and in the text editor preview. */
body.glenk-commerce-page .glenk-compare-table thead th {
  background: #eef3f7 !important;
  color: var(--primary-blue-dark) !important;
  text-align: left !important;
}

body.glenk-commerce-page .glenk-compare-table thead th.glenk-compare-feature {
  background: var(--primary-blue-dark) !important;
  color: #fff !important;
}

body.glenk-commerce-page .glenk-compare-table .is-featured {
  background: #f2f7ee !important;
}

body.glenk-commerce-page .glenk-compare-table thead .is-coaching {
  background: #dfe9f3 !important;
}

body.glenk-commerce-page .glenk-compare-table tbody .is-coaching {
  background: #f4f7fb !important;
}

body.glenk-commerce-page .glenk-compare-table thead small,
body.glenk-commerce-page .glenk-compare-price-row strong,
body.glenk-commerce-page .glenk-compare-price-row a {
  width: 100%;
  clear: both;
}

.glenk-individual-benefits ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.glenk-individual-benefits li {
  position: relative;
  margin: 12px 0;
  padding-left: 24px;
  color: #516171;
  line-height: 1.5;
}

.glenk-individual-benefits li::before {
  position: absolute;
  left: 0;
  color: var(--glenk-home-green, #16885b);
  content: "✓";
  font-weight: 900;
}

.glenk-shop-products,
.glenk-commerce-faq {
  padding-top: clamp(54px, 6vw, 76px);
  padding-bottom: clamp(54px, 6vw, 76px);
}

.glenk-shop-products {
  scroll-margin-top: 104px;
}

.glenk-commerce-heading {
  max-width: 720px;
  margin: 0 auto 32px;
  text-align: center;
}

.glenk-commerce-heading h2,
.glenk-commerce-cta h2 {
  margin: 0;
  color: var(--primary-blue-dark);
  font-size: clamp(2rem, 3.25vw, 3.15rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.glenk-commerce-heading > p:last-child {
  margin: 16px auto 0;
  color: #657383;
  line-height: 1.7;
}

.glenk-commerce-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 0 !important;
}

.glenk-commerce-page ul.products::before,
.glenk-commerce-page ul.products::after {
  content: none !important;
}

.glenk-commerce-page ul.products li.product {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e0e6ec;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(15, 45, 84, 0.07);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.glenk-commerce-page ul.products li.product:hover {
  transform: translateY(-4px);
  border-color: #cfe0f2;
  box-shadow: 0 20px 44px rgba(15, 45, 84, 0.14);
}

.glenk-commerce-page ul.products li.product > a:first-child {
  display: block;
  color: inherit;
  text-decoration: none;
}

.glenk-commerce-page ul.products li.product .astra-shop-thumbnail-wrap {
  position: relative;
  background: linear-gradient(135deg, var(--primary-blue-ultra-light) 0%, #eef4fb 100%);
}

.glenk-commerce-page ul.products li.product img {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin: 0 !important;
  object-fit: cover;
  background: transparent;
  mix-blend-mode: multiply;
}

/* Astra's floating on-image quick-add icon duplicates the button below and
   renders inconsistently across cards, so it's hidden in favor of one clear
   call to action. */
.glenk-commerce-page ul.products li.product .ast-on-card-button {
  display: none !important;
}

.glenk-commerce-page ul.products li.product .ast-woo-product-category {
  display: none !important;
}

.glenk-commerce-page ul.products li.product .woocommerce-loop-product__title {
  margin: 0 !important;
  padding: 22px 22px 6px !important;
  color: var(--primary-blue-dark);
  font-size: 1.18rem !important;
  font-weight: 700;
  line-height: 1.3;
}

.glenk-commerce-page ul.products li.product .price {
  padding: 0 22px;
  color: var(--primary-blue) !important;
  font-size: 1.2rem !important;
  font-weight: 800 !important;
}

.glenk-commerce-page ul.products li.product .price del {
  opacity: 0.55;
  font-weight: 600;
}

.glenk-commerce-page ul.products li.product .price ins {
  text-decoration: none;
}

.glenk-commerce-page ul.products li.product > a:first-child {
  flex: 1;
}

.glenk-commerce-page ul.products li.product .button {
  display: block;
  margin: 16px 22px 22px !important;
  border-radius: 12px !important;
  padding: 13px 18px !important;
  background: var(--gradient-blue) !important;
  box-shadow: 0 4px 16px rgba(26, 77, 143, 0.3);
  color: #fff !important;
  font-weight: 700 !important;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.glenk-commerce-page ul.products li.product .button:hover,
.glenk-commerce-page ul.products li.product .button:focus-visible {
  background: linear-gradient(135deg, #0f2d54 0%, #1a4d8f 100%) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(26, 77, 143, 0.4);
}

.glenk-commerce-page ul.products li.product .added_to_cart {
  display: block;
  margin: 0 22px 18px !important;
  text-align: center;
  color: var(--primary-blue-dark) !important;
  font-weight: 700;
  text-decoration: underline;
}

.glenk-shop-products .woocommerce-info {
  max-width: 760px;
  margin: 0 auto !important;
  border: 1px solid #dfe5ea;
  border-top: 3px solid var(--glenk-home-green, #16885b);
  border-radius: 12px;
  padding: 22px 26px !important;
  background: #f6f8f4;
  color: #536271;
}

.glenk-shop-products .woocommerce-info::before {
  content: none !important;
}

.glenk-product-empty {
  display: flex;
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid #dfe5ea;
  border-radius: 12px;
  padding: 24px 26px;
  background: #f6f8f4;
  flex-direction: column;
  gap: 6px;
  color: #5d6b79;
}

.glenk-product-empty strong {
  color: var(--primary-blue-dark);
}

.glenk-commerce-process {
  padding: clamp(74px, 9vw, 120px) 0;
  background: #f4f7f9;
}

.glenk-plan-check-section {
  padding: clamp(56px, 6vw, 76px) 0;
  background: var(--primary-blue-ultra-light);
  scroll-margin-top: 104px;
}

.glenk-plan-check-section .glenk-container {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(38px, 4.5vw, 58px);
  align-items: center;
}

.glenk-plan-check-intro h2,
.glenk-individual-copy h2 {
  margin: 0;
  color: var(--primary-blue-dark);
  font-size: clamp(2rem, 2.75vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.glenk-plan-check-intro > p:not(.glenk-commerce-eyebrow),
.glenk-individual-copy > p:not(.glenk-commerce-eyebrow) {
  margin: 16px 0 24px;
  color: #637180;
  line-height: 1.75;
}

.glenk-plan-check-steps {
  display: grid;
  gap: 14px;
}

.glenk-plan-check-steps article {
  display: grid;
  padding: 24px 26px;
  grid-template-columns: 40px 1fr;
  gap: 20px;
  align-items: start;
  border: 1px solid #dfe5ea;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(15, 45, 84, 0.055);
}

.glenk-plan-check-steps article > span {
  display: grid;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary-blue-ultra-light);
  color: var(--primary-blue);
  font-size: 0.78rem;
  font-weight: 900;
  place-items: center;
}

.glenk-plan-check-steps h3 {
  margin: 1px 0 5px;
  color: var(--primary-blue-dark);
  font-size: 1rem;
}

.glenk-plan-check-steps p {
  margin: 0;
  color: #6b7783;
  font-size: 0.92rem;
  line-height: 1.55;
}

.glenk-individual-section {
  padding: clamp(56px, 6vw, 78px) 0;
  background: #fff;
  scroll-margin-top: 104px;
}

.glenk-individual-panel {
  display: grid;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, #0d2948, #123b67);
  color: #fff;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
}

.glenk-individual-copy,
.glenk-individual-benefits {
  padding: clamp(36px, 4.5vw, 54px);
}

.glenk-individual-copy h2,
.glenk-individual-copy > p:not(.glenk-commerce-eyebrow) {
  color: #fff;
}

.glenk-individual-copy .glenk-commerce-eyebrow {
  color: var(--glenk-home-green-bright, #2fb978);
}

.glenk-individual-benefits {
  position: relative;
  display: flex;
  justify-content: center;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(9, 31, 55, 0.3), rgba(9, 31, 55, 0.9)),
    url("../images/Hybrid/hybrid-detail.jpg") center 38% / cover no-repeat;
  flex-direction: column;
}

.glenk-individual-benefits::before {
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: rgba(7, 28, 50, 0.58);
  content: "";
  backdrop-filter: blur(4px);
}

.glenk-individual-benefits > * {
  position: relative;
  z-index: 1;
}

.glenk-individual-benefits h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 1.25rem;
}

.glenk-individual-benefits li {
  color: rgba(255, 255, 255, 0.84);
}

.glenk-individual-benefits li::before {
  color: var(--glenk-home-green-bright, #2fb978);
}

.glenk-coaching-choice {
  display: grid;
  margin-top: 28px;
  grid-template-columns: 1.18fr 0.82fr 0.82fr;
  gap: 16px;
}

.glenk-coaching-choice > div {
  border: 1px solid #dfe5ea;
  border-radius: 14px;
  padding: 24px;
  background: #fff;
}

.glenk-coaching-choice > div:first-child {
  border: 0;
  padding-top: 12px;
  padding-left: 0;
}

.glenk-coaching-choice h3,
.glenk-coaching-choice h4 {
  margin: 0 0 10px;
  color: var(--primary-blue-dark);
}

.glenk-coaching-choice h3 {
  font-size: 1.8rem;
}

.glenk-coaching-choice p {
  margin: 0;
  color: #687583;
  line-height: 1.65;
}

.glenk-choice-card > span {
  display: block;
  margin-bottom: 16px;
  color: var(--glenk-home-green, #16885b);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.glenk-choice-card.is-coaching {
  border-color: #bfcdb6;
  background: #f3f7f0;
}

.glenk-choice-card a {
  display: inline-block;
  margin-top: 16px;
  color: var(--primary-blue-dark);
  font-weight: 850;
  text-decoration: none;
}

.glenk-commerce-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid #dbe2e8;
  background: #dbe2e8;
}

.glenk-commerce-steps article {
  min-height: 235px;
  padding: 34px;
  background: #fff;
}

.glenk-commerce-steps span {
  color: var(--glenk-home-green, #16885b);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.glenk-commerce-steps h3 {
  margin: 40px 0 10px;
  color: var(--primary-blue-dark);
  font-size: 1.28rem;
}

.glenk-commerce-steps p {
  margin: 0;
  color: #687583;
  line-height: 1.65;
}

.glenk-commerce-faq details {
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid #dce2e8;
  padding: 4px;
  scroll-margin-top: 112px;
  transition: background-color 200ms ease;
}

.glenk-commerce-faq details:hover {
  background-color: #f7f9fb;
}

.glenk-commerce-faq {
  padding-top: clamp(52px, 5vw, 66px);
  padding-bottom: clamp(44px, 4.5vw, 58px);
}

.glenk-commerce-faq .glenk-commerce-heading {
  margin-bottom: 26px;
}

.glenk-commerce-faq details:last-child {
  border-bottom: 1px solid #dce2e8;
}

.glenk-commerce-faq summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 40px 17px 4px;
  cursor: pointer;
  color: var(--primary-blue-dark);
  font-size: 1.04rem;
  font-weight: 800;
  line-height: 1.4;
  list-style: none;
  transition: color 150ms ease;
}

.glenk-commerce-faq summary::-webkit-details-marker {
  display: none;
}

.glenk-commerce-faq summary::before,
.glenk-commerce-faq summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 15px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary-blue-dark);
  transition: transform 250ms ease;
}

.glenk-commerce-faq summary::before {
  transform: translateY(-50%);
}

.glenk-commerce-faq summary::after {
  transform: translateY(-50%) rotate(90deg);
}

.glenk-commerce-faq details[open] summary::after {
  transform: translateY(-50%) rotate(0deg);
}

.glenk-commerce-faq details p {
  display: block;
  max-width: 760px;
  margin: 0;
  padding: 0 4px;
  color: #647180;
  line-height: 1.7;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 320ms ease, opacity 220ms ease, margin 320ms ease, padding 320ms ease;
}

.glenk-commerce-faq details[open] p {
  max-height: 320px;
  opacity: 1;
  margin: 0 0 17px;
  padding: 0 4px;
}

.glenk-commerce-cta {
  padding: clamp(42px, 4.5vw, 54px) 0;
  background: var(--primary-blue-dark);
}

.glenk-commerce-cta .glenk-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.glenk-commerce-cta h2 {
  color: #fff;
}

.glenk-commerce-cta .glenk-commerce-eyebrow {
  color: var(--glenk-home-green-bright, #2fb978);
}

.glenk-commerce-page .glenk-footer {
  margin-top: 0;
}

/* Single product page */
.glenk-product-page .glenk-commerce-main > .woocommerce {
  max-width: 1200px;
  margin: 0 auto;
}

.glenk-product-page .glenk-commerce-main > .product,
.glenk-product-page .glenk-commerce-main .product.type-product {
  width: min(1200px, calc(100% - 48px));
  margin: clamp(64px, 8vw, 110px) auto !important;
}

.glenk-product-page div.product .woocommerce-product-gallery,
.glenk-product-page div.product .summary {
  margin-bottom: 70px !important;
}

.glenk-product-page div.product .product_title {
  color: var(--primary-blue-dark);
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.glenk-product-page div.product p.price {
  color: var(--glenk-home-green, #16885b) !important;
  font-size: 1.55rem !important;
  font-weight: 850;
}

.glenk-product-page div.product form.cart .button,
.glenk-product-page div.product .single_add_to_cart_button {
  min-height: 50px;
  border-radius: 3px !important;
  background: var(--primary-blue-dark) !important;
  color: #fff !important;
}

.glenk-purchase-notes {
  margin: 25px 0 0 !important;
  padding: 20px 0 0 !important;
  border-top: 1px solid #e0e6ec;
  list-style: none !important;
}

.glenk-purchase-notes li {
  position: relative;
  margin: 8px 0;
  padding-left: 22px;
  color: #617080;
}

.glenk-purchase-notes li::before {
  position: absolute;
  left: 0;
  color: var(--glenk-home-green, #16885b);
  content: "✓";
  font-weight: 900;
}

.glenk-product-unavailable {
  margin-top: 24px;
  border: 1px solid #dce3e8;
  padding: 22px;
  background: #f6f8fa;
}

.glenk-product-unavailable p {
  margin: 8px 0 18px;
}

.glenk-product-page .woocommerce-tabs {
  clear: both;
  border-top: 1px solid #dfe5ea;
  padding-top: 40px;
}

.glenk-product-process {
  clear: both;
  padding-top: 78px;
}

/* Cart, checkout and account pages retain WooCommerce's functional markup
   while inheriting GLENK spacing, typography and controls. */
.glenk-woo-utility-page #primary,
.glenk-woo-utility-page .site-main,
.glenk-woo-utility-page article,
.glenk-woo-utility-page .entry-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.glenk-woo-utility-page .entry-header {
  display: none !important;
}

.glenk-woo-utility-page .woocommerce {
  /* !important needed: the global Astra-padding-removal reset in
     glenk_style.css also matches .woocommerce (as a child of
     .entry-content) with width:100% !important, which otherwise wins
     over this rule regardless of specificity or source order. */
  width: min(1120px, calc(100% - 48px)) !important;
  min-height: 48vh;
  margin: 0 auto !important;
  padding: clamp(64px, 8vw, 110px) 0;
}

.glenk-woo-utility-page .woocommerce h1,
.glenk-woo-utility-page .woocommerce h2,
.glenk-woo-utility-page .woocommerce h3 {
  color: var(--primary-blue-dark);
}

.glenk-woo-utility-page .woocommerce a {
  color: var(--primary-blue);
}

.glenk-woo-utility-page .woocommerce button.button,
.glenk-woo-utility-page .woocommerce a.button,
.glenk-woo-utility-page .woocommerce input.button,
.glenk-woo-utility-page .wp-element-button {
  border-radius: 3px !important;
  background: var(--primary-blue-dark) !important;
  color: #fff !important;
  font-weight: 800 !important;
}

/* Checkout */
body.glenk-woo-utility-page.woocommerce-checkout {
  background: #f4f7fb;
}

body.glenk-woo-utility-page.woocommerce-checkout .woocommerce {
  width: min(1160px, calc(100% - 40px)) !important;
}

body.glenk-woo-utility-page.woocommerce-checkout .woocommerce-form-coupon-toggle {
  margin-bottom: 18px;
}

body.glenk-woo-utility-page.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
  position: relative;
  margin: 0 !important;
  border: 1px solid #d8e4ee !important;
  border-radius: 16px !important;
  padding: 18px 20px 18px 58px !important;
  background: #fff !important;
  color: #5f6e80 !important;
  box-shadow: 0 10px 30px rgba(12, 45, 80, 0.06) !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
}

body.glenk-woo-utility-page.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before {
  content: "%" !important;
  position: absolute !important;
  top: 50% !important;
  left: 18px !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 8px !important;
  display: grid !important;
  place-items: center !important;
  transform: translateY(-50%) !important;
  background: #eaf3fb !important;
  color: #1e68ab !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

body.glenk-woo-utility-page.woocommerce-checkout .woocommerce-form-coupon-toggle a {
  margin-left: 4px !important;
  color: #195f9e !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

body.glenk-woo-utility-page.woocommerce-checkout form.checkout_coupon {
  margin: -4px 0 20px !important;
  border: 1px solid #d8e4ee !important;
  border-radius: 16px !important;
  padding: 18px !important;
  background: #fff !important;
}

body.glenk-woo-utility-page.woocommerce-checkout .woocommerce-NoticeGroup-checkout,
body.glenk-woo-utility-page.woocommerce-checkout .woocommerce-notices-wrapper {
  margin-bottom: 20px !important;
}

body.glenk-woo-utility-page.woocommerce-checkout .woocommerce-error,
body.glenk-woo-utility-page.woocommerce-checkout .woocommerce-message,
body.glenk-woo-utility-page.woocommerce-checkout .woocommerce-info:not(.woocommerce-form-coupon-toggle .woocommerce-info) {
  position: relative !important;
  margin: 0 0 18px !important;
  border: 1px solid #efc6c6 !important;
  border-top: 0 !important;
  border-radius: 16px !important;
  padding: 18px 20px 18px 58px !important;
  background: #fff7f7 !important;
  color: #7d2f35 !important;
  box-shadow: none !important;
  list-style: none !important;
}

body.glenk-woo-utility-page.woocommerce-checkout .woocommerce-error::before {
  content: "!" !important;
  top: 18px !important;
  left: 19px !important;
  width: 26px !important;
  height: 26px !important;
  border-radius: 50% !important;
  display: grid !important;
  place-items: center !important;
  background: #c9333e !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

body.glenk-woo-utility-page.woocommerce-checkout .woocommerce-error li {
  margin: 0 0 5px !important;
  color: #7d2f35 !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

body.glenk-woo-utility-page.woocommerce-checkout .woocommerce-error li:last-child {
  margin-bottom: 0 !important;
}

/* A CSS grid with .col2-set spanning both rows was used here before, but a
   spanning item forces the grid to inflate the row tracks it spans to fit
   its own height — since .col2-set (the billing form) is much taller than
   #order_review_heading + #order_review combined, that inflated the first
   row and pushed the order summary far down, leaving a large empty gap
   under "Deine Bestellung". A small footer script (render_checkout_layout_script
   in class-glenk-commerce.php) wraps the heading + review into one
   .glenk-checkout-summary box, so this is just two simple flex columns —
   no spanning, no float-stacking edge cases. */
body.glenk-woo-utility-page.woocommerce-checkout form.checkout.woocommerce-checkout {
  display: flex !important;
  align-items: flex-start !important;
  gap: 26px !important;
}

body.glenk-woo-utility-page.woocommerce-checkout form.checkout > .col2-set {
  flex: 1.08 1 0% !important;
  width: auto !important;
  border: 1px solid #d8e4ee !important;
  border-radius: 20px !important;
  padding: clamp(22px, 3vw, 34px) !important;
  background: #fff !important;
  box-shadow: 0 16px 42px rgba(12, 45, 80, 0.07) !important;
}

body.glenk-woo-utility-page.woocommerce-checkout form.checkout > .glenk-checkout-summary {
  flex: 0.72 1 0% !important;
  min-width: 320px !important;
}

body.glenk-woo-utility-page.woocommerce-checkout form.checkout > .glenk-checkout-summary > #order_review_heading,
body.glenk-woo-utility-page.woocommerce-checkout form.checkout > .glenk-checkout-summary > #order_review {
  width: 100% !important;
  float: none !important;
}

body.glenk-woo-utility-page.woocommerce-checkout form.checkout > .glenk-checkout-summary > #order_review_heading {
  margin: 0 !important;
  border: 1px solid #d8e4ee !important;
  border-bottom: 0 !important;
  border-radius: 20px 20px 0 0 !important;
  padding: 26px 26px 16px !important;
  background: #fff !important;
  font-size: clamp(22px, 2vw, 28px) !important;
}

body.glenk-woo-utility-page.woocommerce-checkout form.checkout > .glenk-checkout-summary > #order_review {
  margin: 0 !important;
  border: 1px solid #d8e4ee !important;
  border-top: 0 !important;
  border-radius: 0 0 20px 20px !important;
  padding: 0 26px 26px !important;
  background: #fff !important;
  box-shadow: 0 16px 42px rgba(12, 45, 80, 0.07) !important;
}

body.glenk-woo-utility-page.woocommerce-checkout .col2-set .col-1,
body.glenk-woo-utility-page.woocommerce-checkout .col2-set .col-2 {
  width: 100% !important;
  float: none !important;
}

body.glenk-woo-utility-page.woocommerce-checkout .woocommerce-billing-fields > h3,
body.glenk-woo-utility-page.woocommerce-checkout .woocommerce-additional-fields > h3 {
  margin: 0 0 24px !important;
  border: 0 !important;
  padding: 0 0 16px !important;
  font-size: clamp(24px, 3vw, 34px) !important;
  letter-spacing: -0.025em !important;
}

body.glenk-woo-utility-page.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
body.glenk-woo-utility-page.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

body.glenk-woo-utility-page.woocommerce-checkout .form-row {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.glenk-woo-utility-page.woocommerce-checkout .form-row-wide,
body.glenk-woo-utility-page.woocommerce-checkout #billing_company_field,
body.glenk-woo-utility-page.woocommerce-checkout #billing_country_field,
body.glenk-woo-utility-page.woocommerce-checkout #billing_address_1_field,
body.glenk-woo-utility-page.woocommerce-checkout #billing_address_2_field,
body.glenk-woo-utility-page.woocommerce-checkout #billing_email_field,
body.glenk-woo-utility-page.woocommerce-checkout #billing_phone_field {
  grid-column: 1 / -1 !important;
}

body.glenk-woo-utility-page.woocommerce-checkout .form-row label {
  margin: 0 0 7px !important;
  color: #112a4d !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}

body.glenk-woo-utility-page.woocommerce-checkout .form-row .required {
  color: #c9333e !important;
}

body.glenk-woo-utility-page.woocommerce-checkout .input-text,
body.glenk-woo-utility-page.woocommerce-checkout select,
body.glenk-woo-utility-page.woocommerce-checkout .select2-selection {
  min-height: 52px !important;
  border: 1px solid #cbd9e5 !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  background: #fbfdff !important;
  color: #112a4d !important;
  box-shadow: none !important;
  font-size: 15px !important;
}

body.glenk-woo-utility-page.woocommerce-checkout .form-row.woocommerce-validated .input-text,
body.glenk-woo-utility-page.woocommerce-checkout .form-row.woocommerce-validated select {
  border-color: #cbd9e5 !important;
}

body.glenk-woo-utility-page.woocommerce-checkout .form-row.woocommerce-invalid .input-text,
body.glenk-woo-utility-page.woocommerce-checkout .form-row.woocommerce-invalid select {
  border-color: #d75a62 !important;
  background: #fffafa !important;
}

body.glenk-woo-utility-page.woocommerce-checkout .input-text:focus,
body.glenk-woo-utility-page.woocommerce-checkout select:focus,
body.glenk-woo-utility-page.woocommerce-checkout .select2-container--open .select2-selection {
  border-color: #256cae !important;
  outline: 0 !important;
  box-shadow: 0 0 0 3px rgba(37, 108, 174, 0.12) !important;
}

body.glenk-woo-utility-page.woocommerce-checkout .woocommerce-invalid-required-field .woocommerce-error,
body.glenk-woo-utility-page.woocommerce-checkout .form-row > .woocommerce-error {
  margin-top: 6px !important;
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: #b33a43 !important;
  box-shadow: none !important;
  font-size: 12px !important;
}

body.glenk-woo-utility-page.woocommerce-checkout .woocommerce-checkout-review-order-table {
  border: 0 !important;
  border-collapse: collapse !important;
}

body.glenk-woo-utility-page.woocommerce-checkout .woocommerce-checkout-review-order-table th,
body.glenk-woo-utility-page.woocommerce-checkout .woocommerce-checkout-review-order-table td {
  border-color: #e2eaf1 !important;
  padding: 14px 4px !important;
}

body.glenk-woo-utility-page.woocommerce-checkout #payment {
  border-radius: 14px !important;
  background: #f3f7fb !important;
}

body.glenk-woo-utility-page.woocommerce-checkout #payment .place-order {
  padding: 20px !important;
}

body.glenk-woo-utility-page.woocommerce-checkout #place_order {
  width: 100% !important;
  min-height: 54px !important;
  border-radius: 13px !important;
  background: #1f66a8 !important;
}

body.glenk-woo-utility-page.woocommerce-checkout button.button,
body.glenk-woo-utility-page.woocommerce-checkout a.button,
body.glenk-woo-utility-page.woocommerce-checkout input.button {
  min-height: 48px !important;
  border-radius: 12px !important;
  padding: 0 20px !important;
}

body.glenk-woo-utility-page .glenk-order-access-confirmation {
  margin: 26px 0 !important;
  border: 1px solid #bcdacb !important;
  border-radius: 20px !important;
  display: grid !important;
  grid-template-columns: 54px minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 18px !important;
  padding: 24px !important;
  background: linear-gradient(135deg, #f5fcf8, #fff) !important;
  box-shadow: 0 14px 36px rgba(12, 71, 52, 0.08) !important;
}

body.glenk-woo-utility-page .glenk-order-access-icon {
  width: 54px !important;
  height: 54px !important;
  border-radius: 16px !important;
  display: grid !important;
  place-items: center !important;
  background: var(--glenk-home-green-soft, #eaf8f1) !important;
  color: var(--glenk-home-green, #16885b) !important;
  font-size: 24px !important;
  font-weight: 900 !important;
}

body.glenk-woo-utility-page .glenk-order-access-confirmation small {
  color: var(--glenk-home-green, #16885b) !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: 0.17em !important;
}

body.glenk-woo-utility-page .glenk-order-access-confirmation h2 {
  margin: 5px 0 7px !important;
  color: #112a4d !important;
  font-size: clamp(22px, 3vw, 30px) !important;
}

body.glenk-woo-utility-page .glenk-order-access-confirmation p {
  margin: 0 0 16px !important;
  color: #607083 !important;
  line-height: 1.6 !important;
}

body.glenk-woo-utility-page .glenk-order-access-confirmation .button {
  min-height: 46px !important;
  border-radius: 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 18px !important;
  background: #1f66a8 !important;
  color: #fff !important;
  text-decoration: none !important;
}

@media (max-width: 860px) {
  body.glenk-woo-utility-page.woocommerce-checkout .woocommerce {
    width: min(100% - 28px, 680px) !important;
    padding: 30px 0 54px !important;
  }

  body.glenk-woo-utility-page.woocommerce-checkout form.checkout.woocommerce-checkout {
    flex-direction: column !important;
    gap: 18px !important;
  }

  body.glenk-woo-utility-page.woocommerce-checkout form.checkout > .col2-set,
  body.glenk-woo-utility-page.woocommerce-checkout form.checkout > .glenk-checkout-summary {
    width: 100% !important;
    min-width: 0 !important;
  }

  body.glenk-woo-utility-page.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
  body.glenk-woo-utility-page.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  body.glenk-woo-utility-page.woocommerce-checkout .form-row {
    grid-column: 1 !important;
  }
}

@media (max-width: 520px) {
  body.glenk-woo-utility-page.woocommerce-checkout .woocommerce {
    width: calc(100% - 24px) !important;
    padding-top: 24px !important;
  }

  body.glenk-woo-utility-page.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,
  body.glenk-woo-utility-page.woocommerce-checkout .woocommerce-error {
    padding: 16px 15px 16px 50px !important;
    font-size: 13px !important;
  }

  body.glenk-woo-utility-page.woocommerce-checkout form.checkout > .col2-set {
    border-radius: 16px !important;
    padding: 20px 16px !important;
  }

  body.glenk-woo-utility-page.woocommerce-checkout form.checkout > #order_review_heading {
    border-radius: 16px 16px 0 0 !important;
    padding: 22px 18px 12px !important;
  }

  body.glenk-woo-utility-page.woocommerce-checkout form.checkout > #order_review {
    border-radius: 0 0 16px 16px !important;
    padding: 0 18px 18px !important;
  }

  body.glenk-woo-utility-page .glenk-order-access-confirmation {
    grid-template-columns: 1fr !important;
    padding: 20px !important;
  }

  body.glenk-woo-utility-page .glenk-order-access-confirmation .button {
    width: 100% !important;
    justify-content: center !important;
  }
}

.glenk-woo-utility-page .woocommerce-MyAccount-navigation ul {
  margin: 0;
  padding: 0;
  border: 1px solid #dfe5ea;
  list-style: none;
}

.glenk-woo-utility-page .woocommerce-MyAccount-navigation li {
  margin: 0;
  border-bottom: 1px solid #dfe5ea;
}

.glenk-woo-utility-page .woocommerce-MyAccount-navigation li:last-child {
  border-bottom: 0;
}

.glenk-woo-utility-page .woocommerce-MyAccount-navigation a {
  display: block;
  padding: 14px 18px;
  color: var(--primary-blue-dark);
  font-weight: 750;
  text-decoration: none;
}

.glenk-woo-utility-page .woocommerce-MyAccount-navigation .is-active a {
  background: #edf3f8;
}

/* Persistent cart shortcut on the shop page. */
.glenk-floating-cart {
  position: fixed !important;
  top: auto !important;
  left: auto !important;
  right: clamp(20px, 3vw, 42px) !important;
  bottom: clamp(20px, 3vw, 38px) !important;
  max-width: calc(100vw - 32px) !important;
  z-index: 9990 !important;
  min-height: 58px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 11px !important;
  padding: 0 18px 0 15px !important;
  background: linear-gradient(135deg, #216bb0, #123a66) !important;
  box-shadow: 0 16px 36px rgba(10, 42, 75, 0.3) !important;
  color: #fff !important;
  text-decoration: none !important;
  transform: translateZ(0) !important;
  transition: transform 180ms ease, box-shadow 180ms ease !important;
}

.glenk-floating-cart:hover,
.glenk-floating-cart:focus-visible {
  color: #fff !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 20px 44px rgba(10, 42, 75, 0.38) !important;
  outline: none !important;
}

.glenk-floating-cart-icon {
  width: 34px !important;
  height: 34px !important;
  border-radius: 11px !important;
  display: grid !important;
  place-items: center !important;
  background: rgba(255, 255, 255, 0.13) !important;
}

.glenk-floating-cart-icon svg {
  width: 21px !important;
  height: 21px !important;
  fill: none !important;
  stroke: currentColor !important;
}

.glenk-floating-cart-label {
  color: inherit !important;
  font-size: 14px !important;
  font-weight: 850 !important;
}

.glenk-floating-cart-count {
  position: absolute !important;
  top: -7px !important;
  right: -7px !important;
  min-width: 24px !important;
  height: 24px !important;
  border: 3px solid #f4f7fb !important;
  border-radius: 999px !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 5px !important;
  background: #e16539 !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

.glenk-floating-cart-count[hidden] {
  display: none !important;
}

@media (max-width: 700px) {
  .glenk-floating-cart {
    right: auto !important;
    left: min(calc(100vw - 74px), calc(100% - 74px)) !important;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
    width: 58px !important;
    min-height: 58px !important;
    border-radius: 18px !important;
    justify-content: center !important;
    padding: 0 !important;
  }

  .glenk-floating-cart-label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
  }

  .glenk-floating-cart-icon {
    background: transparent !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .glenk-floating-cart {
    transition: none !important;
  }
}

/* Custom GLENK 404 */
body.glenk-custom-404-page #masthead,
body.glenk-custom-404-page #colophon,
body.glenk-custom-404-page .site-header:not(.glenk-header),
body.glenk-custom-404-page .site-footer:not(.glenk-footer) {
  display: none !important;
}

body.glenk-custom-404-page #page,
body.glenk-custom-404-page #content,
body.glenk-custom-404-page .site-content,
body.glenk-custom-404-page .ast-container {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.glenk-not-found {
  display: grid;
  min-height: 68vh;
  place-items: center;
  background:
    radial-gradient(circle at 85% 15%, rgba(65, 128, 190, 0.22), transparent 30%),
    linear-gradient(135deg, #f5f8fb, #fff);
}

.glenk-not-found-inner {
  padding-top: 90px;
  padding-bottom: 90px;
  text-align: center;
}

.glenk-not-found h1 {
  max-width: 780px;
  margin: 0 auto;
  color: var(--primary-blue-dark);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.glenk-not-found p:not(.glenk-commerce-eyebrow) {
  max-width: 650px;
  margin: 24px auto 0;
  color: #637180;
  font-size: 1.08rem;
  line-height: 1.75;
}

.glenk-not-found .glenk-btn-group {
  justify-content: center;
  margin-top: 32px;
}

.glenk-not-found .glenk-btn-secondary {
  border-color: #9cabb8 !important;
  color: var(--primary-blue-dark) !important;
}

@media (max-width: 980px) {
  .glenk-commerce-page ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .glenk-shop-hero {
    padding-top: 62px;
  }

  .glenk-shop-hero h1 {
    font-size: clamp(2.625rem, 5.3vw, 3.625rem);
  }

  .glenk-shop-hero-description {
    max-width: 720px;
    font-size: 1.0625rem;
  }

  .glenk-purchase-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .glenk-purchase-visual {
    height: 275px;
  }

  .glenk-purchase-product-preview {
    max-width: 260px;
    left: 50%;
    transform: translateX(-50%);
  }

  .glenk-purchase-receipt,
  .glenk-purchase-training-preview {
    max-width: 280px;
  }

  .glenk-purchase-selection,
  .glenk-purchase-portal-label {
    left: 22px;
    right: 22px;
  }

  .glenk-purchase-portal-window {
    width: 470px;
  }

  .glenk-solution-grid {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
  }

  .glenk-compare-swipe {
    display: block;
  }

  .glenk-solution-grid {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding-bottom: 10px;
    scroll-snap-type: x proximity;
  }

  .glenk-solution-grid article {
    scroll-snap-align: start;
  }

  .glenk-coaching-choice {
    grid-template-columns: 1fr 1fr;
  }

  .glenk-coaching-choice > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .glenk-plan-check-section .glenk-container,
  .glenk-individual-panel {
    grid-template-columns: 1fr;
  }

  .glenk-plan-check-section .glenk-container {
    gap: 40px;
  }

  .glenk-individual-benefits {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }
}

@media (max-width: 768px) {
  /* Keep home hero copy in normal flow so title, text and actions cannot overlap. */
  .glenk-site .glenk-hero-section,
  .glenk-site .glenk-hero-section .glenk-container,
  .glenk-site .glenk-hero-section .glenk-hero {
    height: auto !important;
    min-height: calc(100svh - 80px) !important;
    max-height: none !important;
  }

  .glenk-site .glenk-hero-section {
    overflow: hidden !important;
  }

  .glenk-site .glenk-hero-section .glenk-hero {
    display: flex !important;
    justify-content: flex-end !important;
    padding: 0 !important;
  }

  .glenk-site .glenk-hero-section .glenk-hero-content {
    position: relative !important;
    display: flex !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: clamp(230px, 42svh, 360px) 0 38px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
    text-align: left !important;
  }

  .glenk-site .glenk-hero-section .glenk-heading-xl,
  .glenk-site .glenk-hero-section .glenk-hero-intro,
  .glenk-site .glenk-hero-section .glenk-btn-group {
    margin: 0 !important;
    padding-top: 0 !important;
    transform: none !important;
  }

  .glenk-site .glenk-hero-section .glenk-heading-xl {
    font-size: clamp(2rem, 10vw, 3rem) !important;
    line-height: 1.05 !important;
  }

  .glenk-shop-hero {
    padding: 42px 0 30px;
  }

  .glenk-shop-hero-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    margin-bottom: 20px;
  }

  .glenk-shop-hero h1 {
    font-size: clamp(1.875rem, 7.6vw, 2.75rem);
    line-height: 1.13;
    letter-spacing: -0.04em;
  }

  .glenk-shop-hero-description {
    margin-top: 22px;
    font-size: 0.9375rem;
    line-height: 1.75;
  }

  .glenk-shop-hero-benefits {
    display: grid;
    justify-content: center;
    justify-items: start;
    gap: 11px;
    margin: 25px 0;
    text-align: left;
  }

  .glenk-shop-hero-benefits li {
    font-size: 0.75rem;
  }

  .glenk-shop-hero-button {
    font-size: 0.8125rem;
    padding-inline: 20px;
    gap: 12px;
  }

  .glenk-purchase-workflow {
    margin-top: 28px;
  }

  .glenk-purchase-steps {
    display: flex;
    grid-template-columns: none;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 0;
    gap: 14px;
    margin: 0;
    padding: 4px 0 10px;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
  }

  .glenk-purchase-card {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }

  .glenk-purchase-swipe-hint {
    display: block;
  }

  .glenk-purchase-copy {
    padding: 15px 14px 22px;
  }

  .glenk-purchase-copy h3 {
    font-size: 1.3125rem;
    margin-top: 13px;
  }

  .glenk-purchase-copy p {
    font-size: 0.9375rem;
  }

  .glenk-purchase-visual {
    height: 250px;
  }

  .glenk-solution-grid,
  .glenk-plan-check-section .glenk-container,
  .glenk-individual-panel,
  .glenk-coaching-choice {
    grid-template-columns: 1fr;
  }

  .glenk-solution-grid {
    overflow: visible;
  }

  .glenk-solution-grid article {
    min-height: 0;
  }

  .glenk-solution-media {
    height: 190px;
  }

  .glenk-solution-body {
    min-height: 0;
  }

  .glenk-solution-grid h3 {
    min-height: 0;
  }

  .glenk-solution-body > p:not(.glenk-solution-kicker) {
    min-height: 0;
  }

  .glenk-compare-table {
    min-width: 840px;
  }

  .glenk-compare-table .glenk-compare-feature {
    width: 190px;
  }

  .glenk-plan-check-section .glenk-container {
    gap: 40px;
  }

  .glenk-individual-benefits {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }

  .glenk-individual-benefits::before {
    inset: 16px;
  }

  .glenk-coaching-choice > div:first-child {
    grid-column: auto;
    padding-right: 0;
  }

  .glenk-commerce-page ul.products,
  .glenk-commerce-steps {
    grid-template-columns: 1fr;
  }

  .glenk-commerce-steps article {
    min-height: 0;
  }

  .glenk-commerce-steps h3 {
    margin-top: 24px;
  }

  .glenk-commerce-cta .glenk-container {
    align-items: flex-start;
    flex-direction: column;
  }

  .glenk-product-page .glenk-commerce-main .product.type-product {
    width: min(100% - 36px, 1200px);
    margin-top: 54px !important;
  }
}

@media (max-width: 480px) {
  .glenk-commerce-page ul.products {
    grid-template-columns: 1fr;
  }
}

.glenk-copy-optional {
  max-width: 620px;
  margin: 28px auto 0;
  border: 1px solid rgba(47, 185, 120, 0.45);
  border-radius: 18px;
  padding: 24px 28px;
  background: rgba(47, 185, 120, 0.09);
  text-align: center;
}

.glenk-copy-optional h3,
.glenk-copy-optional strong,
.glenk-copy-optional p {
  display: block;
  margin: 4px 0;
  color: #fff;
}

.glenk-copy-eligibility .glenk-eligibility__content > h3 {
  margin: 18px 0 12px;
  color: var(--primary-blue-dark);
  font-size: 1.18rem;
  line-height: 1.45;
}

.glenk-copy-comparison,
.glenk-health-disclaimer {
  max-width: 980px;
  margin: 30px auto 0;
  border-radius: 16px;
  padding: 22px 26px;
  background: var(--glenk-home-green-soft);
  color: var(--primary-blue-dark);
  font-weight: 700;
}

.glenk-health-disclaimer {
  border: 1px solid var(--border-color);
  background: #fff;
  font-weight: 500;
}

.glenk-copy-comparison p,
.glenk-health-disclaimer p {
  margin: 0;
  line-height: 1.65;
}

.glenk-copy-extra .glenk-container {
  max-width: 1020px;
}

.glenk-copy-extra h2 {
  margin: 14px 0 22px;
}

.glenk-copy-extra p {
  max-width: 860px;
  margin: 0 0 14px;
}

.glenk-contact-intro {
  max-width: 900px;
  margin: 0 auto 60px;
}

.glenk-contact-intro .glenk-text-lg {
  margin-top: 20px;
}

.glenk-form-container > p:not(.glenk-text-uppercase) {
  max-width: 620px;
  margin: 10px 0 18px;
  color: var(--text-gray);
}

.glenk-form-container > .glenk-text-uppercase {
  color: var(--glenk-home-green);
}

.glenk-contact-choices {
  margin-top: 18px;
}

.glenk-contact-selector {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.glenk-contact-selector-card {
  position: relative;
  min-height: 108px;
  border: 1px solid #d8e3eb;
  border-radius: 14px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: #f9fbfd;
  color: var(--primary-blue-dark);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(15, 45, 84, 0.025);
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.glenk-contact-selector-card:hover {
  border-color: #aebfcd;
  transform: translateY(-2px);
}

.glenk-contact-selector-card.is-selected {
  border-color: var(--glenk-home-green-bright);
  background: #fff;
  color: var(--primary-blue-dark);
  box-shadow: 0 8px 22px rgba(15, 45, 84, 0.08), inset 0 0 0 1px var(--glenk-home-green-bright);
  transform: none;
}

.glenk-contact-selector-card.is-selected::after {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--glenk-home-green-bright);
  color: #fff;
  content: "✓";
  font-size: 0.72rem;
  font-weight: 900;
}

.glenk-contact-selector-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #e7f0f7;
  color: var(--primary-blue);
  transition: background 180ms ease, color 180ms ease;
}

.glenk-contact-selector-icon svg {
  width: 23px;
  height: 23px;
  fill: none !important;
  stroke-width: 2;
}

.glenk-contact-selector-card.is-selected .glenk-contact-selector-icon {
  background: rgba(47, 185, 120, 0.1);
  color: var(--glenk-home-green);
}

.glenk-contact-selector-card strong {
  font-size: 0.9rem;
  line-height: 1.3;
}

.glenk-contact-form-panel {
  margin-top: 28px;
  border: 0;
  border-top: 1px solid #dce5ed;
  border-radius: 0;
  padding: 26px 0 0;
  background: transparent;
  box-shadow: none;
  animation: glenk-contact-form-reveal 240ms ease both;
}

.glenk-contact-form-panel > h3 {
  margin: 0 0 8px;
  color: var(--primary-blue-dark);
  font-size: 1.08rem;
  line-height: 1.3;
}

@keyframes glenk-contact-form-reveal {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.glenk-contact-choice {
  overflow: hidden;
  border: 1px solid #dce5ed;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(15, 45, 84, 0.025);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.glenk-contact-choice:hover {
  border-color: #b9cad7;
}

.glenk-contact-choice.is-open {
  border-color: rgba(47, 185, 120, 0.7);
  box-shadow: 0 12px 30px rgba(15, 45, 84, 0.08);
}

.glenk-contact-choice > button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 0;
  min-height: 74px;
  padding: 14px 16px 14px 20px;
  background: transparent;
  color: var(--primary-blue-dark);
  text-align: left;
  cursor: pointer;
}

.glenk-contact-choice-summary {
  display: grid;
  gap: 4px;
}

.glenk-contact-choice-summary strong {
  font-size: 0.96rem;
  line-height: 1.2;
}

.glenk-contact-choice-summary small {
  color: var(--text-gray);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.glenk-contact-choice-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #edf4f8;
  color: var(--primary-blue-dark);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.glenk-contact-choice-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

.glenk-contact-choice.is-open .glenk-contact-choice-icon {
  background: var(--glenk-home-green-bright);
  color: #fff;
  transform: rotate(45deg);
}

.glenk-contact-choice-panel {
  border-top: 1px solid rgba(47, 185, 120, 0.28);
  padding: 20px;
  background: linear-gradient(180deg, rgba(47, 185, 120, 0.045), #f8fbfe 90px);
}

.glenk-contact-choice-description {
  max-width: 660px;
  margin: 0 0 24px;
  border: 0;
  padding: 0;
  color: var(--text-gray);
  font-size: 0.88rem;
  line-height: 1.55;
}

.glenk-contact-fields {
  display: grid;
  gap: 18px;
}

.glenk-contact-fields label {
  display: grid;
  gap: 8px;
  color: var(--primary-blue-dark);
  font-size: 0.92rem;
  font-weight: 750;
}

.glenk-contact-fields input[type="text"],
.glenk-contact-fields input[type="email"],
.glenk-contact-fields textarea {
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 12px 14px;
  background: #fff;
  color: var(--primary-blue-dark);
  font: inherit;
  resize: vertical;
}

.glenk-contact-fields label > small {
  color: var(--text-gray);
  font-weight: 500;
}

.glenk-contact-privacy {
  grid-template-columns: auto 1fr !important;
  align-items: start;
}

@media (max-width: 900px) {
  .glenk-copy-hero { min-height: auto; }
  .glenk-copy-included-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .glenk-home-care-layout { grid-template-columns: 1fr; }
  .glenk-home-care-copy { max-width: none; }
  .glenk-home-care-image { min-height: 520px; }
  .glenk-home-care-image img { min-height: 520px; }
}

@media (max-width: 640px) {
  .glenk-home-care-list,
  .glenk-copy-included-grid { grid-template-columns: 1fr; }
  .glenk-home-care .glenk-home-care-list li:nth-child(even) { padding-left: 0; }
  .glenk-home-care .glenk-home-care-list li:hover,
  .glenk-home-care .glenk-home-care-list li:nth-child(even):hover { padding-left: 0; }
  .glenk-home-care-image,
  .glenk-home-care-image img { min-height: 430px; }
  .glenk-home-care-image figcaption { right: 20px; bottom: 20px; left: 20px; }
  .glenk-copy-hero .glenk-subpage-hero-title { font-size: clamp(2.2rem, 11vw, 3.2rem); }
  .glenk-contact-choice > button { min-height: 68px; padding: 12px 12px 12px 16px; }
  .glenk-contact-choice-panel { padding: 16px; }
  .glenk-contact-selector { grid-template-columns: 1fr; }
  .glenk-contact-selector-card { min-height: 78px; }
  .glenk-contact-form-panel { padding: 22px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  .glenk-contact-selector-card { transition: none; }
  .glenk-contact-form-panel { animation: none; }
}

/* Mobile homepage hero ---------------------------------------------------
   Final guard against legacy desktop rules in glenk_style.css. */
@media (max-width: 768px) {
  body.glenk-site .glenk-hero-section,
  body.glenk-site .glenk-hero-section .glenk-container,
  body.glenk-site .glenk-hero-section .glenk-hero {
    width: 100% !important;
    height: auto !important;
    min-height: max(680px, calc(100svh - 68px)) !important;
    max-height: none !important;
  }

  body.glenk-site .glenk-hero-section {
    overflow: hidden !important;
  }

  body.glenk-site .glenk-hero-section .glenk-container {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  body.glenk-site .glenk-hero-section .glenk-hero {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
    padding: 0 !important;
  }

  body.glenk-site .glenk-hero-bg img {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    object-fit: cover !important;
    object-position: 43% center !important;
  }

  body.glenk-site .glenk-hero-overlay {
    background: linear-gradient(0deg, rgba(5, 15, 28, .96) 0%, rgba(5, 15, 28, .82) 28%, rgba(5, 15, 28, .18) 62%, rgba(5, 15, 28, .08) 100%) !important;
  }

  body.glenk-site .glenk-hero-section .glenk-hero-content {
    position: relative !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 20px max(32px, env(safe-area-inset-bottom)) !important;
    flex: 0 1 auto !important;
    height: auto !important;
    align-items: stretch !important;
    justify-content: flex-end !important;
    gap: 0 !important;
    text-align: left !important;
  }

  body.glenk-site .glenk-hero-kicker {
    margin: 0 0 14px !important;
    font-size: 10px !important;
    letter-spacing: .2em !important;
    line-height: 1.4 !important;
    white-space: normal !important;
  }

  body.glenk-site .glenk-hero-section .glenk-hero-content .glenk-heading-xl {
    max-width: 560px !important;
    margin: 0 !important;
    font-size: clamp(2.2rem, 10.5vw, 2.9rem) !important;
    line-height: 1.01 !important;
    letter-spacing: -.045em !important;
    text-align: left !important;
    text-wrap: balance;
  }

  body.glenk-site .glenk-hero-section .glenk-heading-xl > span,
  body.glenk-site .glenk-hero-section .glenk-heading-xl .glenk-text-gradient {
    white-space: normal !important;
  }

  body.glenk-site .glenk-hero-section .glenk-btn-group {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin: 24px 0 0 !important;
  }

  body.glenk-site .glenk-hero-section .glenk-btn-group > .glenk-btn,
  body.glenk-site .glenk-hero-section .glenk-hero-dropdown-wrapper,
  body.glenk-site .glenk-hero-section .glenk-hero-dropdown-toggle {
    width: 100% !important;
  }

  body.glenk-site .glenk-hero-section .glenk-btn {
    min-height: 54px !important;
    border-radius: 14px !important;
    justify-content: center !important;
    padding: 0 18px !important;
    font-size: 15px !important;
    line-height: 1.25 !important;
    text-align: center !important;
    white-space: normal !important;
  }

  body.glenk-site .glenk-hero-section .glenk-btn svg {
    width: 19px !important;
    height: 19px !important;
  }

  body.glenk-site .glenk-hero-dropdown-menu {
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
  }
}

@media (max-width: 390px) {
  body.glenk-site .glenk-hero-section .glenk-hero-content {
    padding-right: 16px !important;
    padding-left: 16px !important;
  }

  body.glenk-site .glenk-hero-section .glenk-hero-content .glenk-heading-xl {
    font-size: clamp(2.05rem, 10.2vw, 2.55rem) !important;
  }

  body.glenk-site .glenk-hero-section .glenk-btn {
    min-height: 50px !important;
    font-size: 14px !important;
  }
}

/* Phone-width home hero: matches the original glenk-coaching.de reference layout. */
@media (max-width: 480px) {
  body.glenk-site .glenk-hero-section .glenk-hero {
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: center !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  body.glenk-site .glenk-hero-section .glenk-hero-content {
    display: block !important;
    text-align: center !important;
    padding: 20px 20px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.glenk-site .glenk-hero-kicker {
    display: block !important;
    margin-top: -25px !important;
    margin-bottom: 10px !important;
    text-align: center !important;
    font-size: 16px !important;
    letter-spacing: 0.18em !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9), 0 4px 15px rgba(0, 0, 0, 0.6) !important;
  }

  body.glenk-site .glenk-hero-section .glenk-hero-content .glenk-heading-xl {
    margin-top: 25vh !important;
    margin-bottom: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9), 0 4px 15px rgba(0, 0, 0, 0.7), 0 8px 30px rgba(0, 0, 0, 0.5) !important;
  }

  body.glenk-site .glenk-hero-section .glenk-btn-group {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
  }

  body.glenk-site .glenk-hero-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.5) 100%) !important;
  }

  body.glenk-site .glenk-hero-bg img {
    object-position: 25% 25% !important;
  }
}

/* Service-page parity: keep the WordPress render identical to the Next.js
   benefits cards even when the active theme ships generic article rules. */
.glenk-service-benefits .glenk-copy-section-heading {
  max-width: 860px;
  margin: 0 auto 42px;
}

.glenk-service-benefits .glenk-copy-section-heading > span {
  display: block;
  margin: 0 0 12px;
  color: var(--glenk-home-green);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.glenk-service-benefits .glenk-service-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 0;
}

.glenk-service-benefits .glenk-service-benefits-grid .glenk-feature-card {
  min-width: 0;
  min-height: 310px;
  margin: 0;
  padding: 34px;
  border: 1px solid rgba(215, 226, 235, 0.9);
  border-radius: 24px;
  background: linear-gradient(145deg, #fff 0%, #fafbfc 100%);
  box-shadow: 0 14px 34px rgba(15, 45, 84, 0.07);
  text-align: left;
}

.glenk-service-benefits .glenk-feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 0 22px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--glenk-home-green-soft);
  color: var(--glenk-home-green);
}

.glenk-service-benefits .glenk-feature-icon svg {
  width: 22px;
  height: 22px;
}

.glenk-service-benefits .glenk-service-benefits-grid .glenk-feature-card h3 {
  margin: 0 0 14px;
  color: var(--primary-blue-dark);
  font-size: 1.3rem;
  line-height: 1.2;
}

.glenk-service-benefits .glenk-service-benefits-grid .glenk-feature-card p {
  margin: 0;
  color: var(--text-gray);
  font-size: 1rem;
  line-height: 1.7;
}

.glenk-service-benefits .glenk-service-benefits-grid .glenk-feature-card p strong {
  display: block;
  margin: 0 0 8px;
  color: var(--primary-blue-dark);
  font-size: 1.02rem;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .glenk-service-benefits .glenk-service-benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* WordPress theme hardening: public templates do not have the Next.js
   .glenk-site wrapper, so keep these two reference sections explicit. */
body .glenk-home-care {
  position: relative !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 86% 12%, rgba(63, 129, 193, 0.34), transparent 28%),
    linear-gradient(130deg, #0a2747, #164a7f) !important;
  color: #fff !important;
}

/* Homepage 1.12.3: stronger editorial hierarchy based on the approved reference. */
body .glenk-home-care::before {
  display: none !important;
  content: none !important;
}

.glenk-site .glenk-hero-section .glenk-hero-content {
  width: 50%;
  max-width: 740px;
  padding-left: clamp(36px, 4vw, 72px);
  padding-right: clamp(36px, 5vw, 96px);
}

.glenk-site .glenk-hero-kicker {
  display: block;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(0.78rem, 1vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.28em;
  line-height: 1.35;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.glenk-site .glenk-hero-section .glenk-hero-content .glenk-heading-xl {
  max-width: 720px;
  margin: 0;
  font-size: clamp(3.45rem, 4.8vw, 5.45rem);
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 0.99;
}

.glenk-site .glenk-hero-section .glenk-heading-xl > span {
  display: inline;
}

.glenk-site .glenk-hero-section .glenk-heading-xl .glenk-text-gradient {
  color: #3b82f6 !important;
  -webkit-text-fill-color: #3b82f6 !important;
}

.glenk-site .glenk-hero-section .glenk-btn-group {
  margin-top: 42px;
}

.glenk-home-values .glenk-section-header {
  max-width: 1040px;
  margin-right: auto;
  margin-left: auto;
}

.glenk-home-values .glenk-section-header .glenk-badge-accent {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--primary-blue);
  box-shadow: none;
  font-size: clamp(0.78rem, 1vw, 0.96rem);
  font-weight: 850;
  letter-spacing: 0.24em;
  line-height: 1.35;
  text-transform: uppercase;
}

.glenk-home-values .glenk-section-header .glenk-heading-lg {
  margin: 20px 0 0;
  color: var(--primary-blue-dark);
  font-size: clamp(2.65rem, 4.2vw, 4.65rem);
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.glenk-home-values-highlight,
.glenk-home-values-highlight > span {
  color: #3b82f6 !important;
}

.glenk-home-values .glenk-section-header > p {
  max-width: 880px;
  margin: 30px auto 0;
  color: var(--text-gray);
  font-size: clamp(1.02rem, 1.35vw, 1.25rem);
  line-height: 1.7;
}

.glenk-home-values .glenk-features-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 2.4vw, 36px);
  margin-top: clamp(58px, 7vw, 92px);
}

.glenk-home-values .glenk-feature-card {
  min-height: 390px;
  border: 1px solid rgba(26, 77, 143, 0.04);
  border-radius: 24px;
  padding: clamp(36px, 3.2vw, 54px);
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 45, 84, 0.035);
}

.glenk-home-values .glenk-feature-card::before,
.glenk-home-values .glenk-feature-card::after {
  content: none;
}

.glenk-home-values .glenk-feature-card:hover {
  border-color: rgba(26, 77, 143, 0.1);
  box-shadow: 0 22px 54px rgba(15, 45, 84, 0.08);
  transform: translateY(-4px);
}

.glenk-home-values .glenk-feature-icon {
  width: 76px;
  height: 76px;
  margin-bottom: 38px;
  border-radius: 18px;
  background: #e8f2ff;
  color: var(--primary-blue);
}

.glenk-home-values .glenk-feature-icon svg,
.glenk-home-values .glenk-feature-icon svg * {
  color: var(--primary-blue) !important;
  fill: none !important;
  stroke: currentColor !important;
}

.glenk-home-values .glenk-feature-card:hover .glenk-feature-icon {
  background: #e8f2ff;
  color: var(--primary-blue);
  transform: none;
}

.glenk-home-values .glenk-feature-card .glenk-heading-md {
  margin: 0 0 22px;
  color: var(--primary-blue-dark);
  font-size: clamp(1.65rem, 2vw, 2.05rem);
  line-height: 1.15;
}

.glenk-home-values .glenk-feature-card p {
  margin: 0;
  color: var(--text-gray);
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  line-height: 1.78;
}

@media (max-width: 900px) {
  .glenk-site .glenk-hero-section .glenk-hero-content {
    width: min(62%, 680px);
  }

  .glenk-home-values .glenk-features-grid {
    grid-template-columns: 1fr;
  }

  .glenk-home-values .glenk-feature-card {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .glenk-site .glenk-hero-section .glenk-hero-content {
    width: 100%;
    max-width: none;
    padding: 110px 22px 46px;
  }

  .glenk-site .glenk-hero-kicker {
    margin-bottom: 18px;
    font-size: 0.68rem;
    letter-spacing: 0.2em;
  }

  .glenk-site .glenk-hero-section .glenk-hero-content .glenk-heading-xl {
    font-size: clamp(2.5rem, 12vw, 3.6rem);
    line-height: 1.01;
  }

  .glenk-site .glenk-hero-section .glenk-btn-group {
    margin-top: 30px;
  }

  .glenk-home-values .glenk-section-header {
    text-align: left;
  }

  .glenk-home-values .glenk-section-header > p {
    margin-left: 0;
  }

  .glenk-home-values .glenk-feature-card {
    padding: 30px;
  }

  .glenk-home-values .glenk-feature-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 28px;
  }
}

body .glenk-home-care .glenk-heading-lg,
body .glenk-home-care .glenk-home-care-copy > p,
body .glenk-home-care .glenk-home-care-list li,
body .glenk-home-care .glenk-home-care-list li > strong {
  color: #fff !important;
}

body .glenk-home-care .glenk-home-care-list {
  border-top-color: rgba(255, 255, 255, 0.16) !important;
}

body .glenk-copy-included,
body .glenk-copy-included-grid {
  color: #fff !important;
}

body .glenk-copy-included-grid article,
body .glenk-copy-included-grid h3,
body .glenk-copy-included-grid p {
  box-sizing: border-box !important;
}

@media (max-width: 640px) {
  .glenk-service-benefits .glenk-service-benefits-grid {
    grid-template-columns: 1fr;
  }

  .glenk-service-benefits .glenk-service-benefits-grid .glenk-feature-card {
    min-height: 0;
    padding: 28px;
  }
}

/* Homepage additions: GLENK structure with a restrained green accent */
.glenk-site {
  --glenk-home-green: #16885b;
  --glenk-home-green-bright: #2fb978;
  --glenk-home-green-soft: #eaf8f1;
}

.glenk-footer-bottom {
  border-top: 1px solid var(--border-color);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
}

.glenk-footer-bottom .glenk-footer-copyright {
  grid-column: 2;
  border: 0;
  padding: 0;
}

.glenk-auftritt-watermark {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  width: fit-content;
  color: var(--primary-blue-dark);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none !important;
}

.glenk-watermark-contents {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  border: 1px solid rgba(26, 77, 143, 0.22);
  border-radius: 10px;
  padding: 7px 11px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 7px 20px rgba(15, 45, 84, 0.07);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.glenk-watermark-contents::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: var(--glenk-home-green-bright);
  content: "";
}

.glenk-auftritt-watermark:hover .glenk-watermark-contents,
.glenk-auftritt-watermark:focus-visible .glenk-watermark-contents {
  border-color: rgba(26, 77, 143, 0.48);
  box-shadow: 0 10px 26px rgba(15, 45, 84, 0.12);
  transform: translateY(-1px);
}

.glenk-auftritt-logo-wrapper {
  display: flex;
  align-items: center;
  width: 68px;
}

.glenk-watermark-image {
  display: block;
  width: 100%;
  height: auto;
  filter: invert(1);
}

@media (max-width: 1024px) {
  .glenk-footer-bottom {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .glenk-footer-bottom .glenk-footer-copyright,
  .glenk-auftritt-watermark {
    grid-column: 1;
    justify-self: center;
  }
}

.glenk-home-direction {
  background:
    radial-gradient(circle at 86% 12%, rgba(47, 185, 120, 0.08), transparent 24%),
    #f8fafc;
}

.glenk-home-section-heading {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}

.glenk-home-section-heading h2,
.glenk-home-process-intro h2,
.glenk-home-why-copy h2 {
  margin-top: 10px;
}

.glenk-home-section-heading p,
.glenk-home-process-intro > p {
  margin-top: 14px;
  color: var(--text-gray);
}

.glenk-home-green-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--glenk-home-green);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.glenk-home-green-label:has(> span:empty) {
  display: none;
}

.glenk-home-green-label::before {
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: var(--glenk-home-green-bright);
  content: "";
}

.glenk-direction-list {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 0;
}

.glenk-direction-list::before {
  position: absolute;
  z-index: 0;
  top: 18px;
  right: 16.666%;
  left: 16.666%;
  height: 2px;
  background: #d7e3ed;
  content: "";
}

.glenk-direction-list::after {
  position: absolute;
  z-index: 0;
  top: 18px;
  left: 16.666%;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--glenk-home-green);
  content: "";
  transition: width 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.glenk-direction-list[data-active="hybrid"]::after { width: 33.333%; }
.glenk-direction-list[data-active="performance"]::after { width: 66.666%; }

.glenk-direction-card {
  display: contents;
}

.glenk-direction-card:nth-child(1) .glenk-direction-trigger { grid-column: 1; grid-row: 1; }
.glenk-direction-card:nth-child(2) .glenk-direction-trigger { grid-column: 2; grid-row: 1; }
.glenk-direction-card:nth-child(3) .glenk-direction-trigger { grid-column: 3; grid-row: 1; }

.glenk-direction-card:nth-child(1) .glenk-direction-collapse,
.glenk-direction-card:nth-child(2) .glenk-direction-collapse,
.glenk-direction-card:nth-child(3) .glenk-direction-collapse {
  grid-column: 1 / -1;
  grid-row: 2;
}

.glenk-direction-trigger {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 112px;
  border: 0;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 18px 8px;
  background: transparent;
  color: var(--text-dark);
  text-align: center;
  cursor: pointer;
  box-shadow: none;
  transition: transform 180ms ease;
}

.glenk-direction-trigger:hover {
  transform: translateY(-1px);
}

.glenk-direction-trigger:focus {
  outline: none;
}

.glenk-direction-trigger:focus-visible {
  outline: none;
}

.glenk-direction-trigger:focus-visible .glenk-direction-icon {
  box-shadow: 0 0 0 2px var(--glenk-home-green), 0 0 0 6px rgba(47, 185, 120, 0.18);
}

.glenk-direction-card.is-open .glenk-direction-trigger {
  background: transparent;
  box-shadow: none;
}

.glenk-direction-icon {
  position: relative;
  z-index: 2;
  width: 36px;
  height: 36px;
  margin-top: 0;
  border: 6px solid #f8fafc;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: #f8fafc;
  color: var(--primary-blue);
  box-shadow: 0 0 0 2px var(--primary-blue);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease, color 180ms ease;
}

.glenk-direction-trigger:hover .glenk-direction-icon {
  box-shadow: 0 0 0 2px var(--glenk-home-green);
  transform: scale(1.05);
}

.glenk-direction-card.is-open .glenk-direction-icon {
  background: var(--glenk-home-green);
  color: white;
  box-shadow: 0 0 0 2px var(--glenk-home-green), 0 7px 18px rgba(22, 136, 91, 0.18);
}

.glenk-direction-icon svg {
  width: 16px;
  height: 16px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.glenk-direction-summary,
.glenk-direction-summary strong,
.glenk-direction-summary small {
  display: block;
}

.glenk-direction-summary strong {
  margin-top: 13px;
  color: var(--primary-blue-dark);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.25;
}

.glenk-direction-summary small {
  min-height: 0;
  margin-top: 5px;
  color: var(--text-gray);
  font-size: 0.9rem;
}

.glenk-direction-card.is-open .glenk-direction-summary small {
  color: var(--glenk-home-green);
  font-weight: 700;
}

.glenk-direction-action {
  display: none;
}

.glenk-direction-trigger > svg {
  display: none;
}

.glenk-direction-card.is-open .glenk-direction-trigger > svg {
  display: none;
}

.glenk-direction-collapse {
  display: none;
}

.glenk-direction-card.is-open .glenk-direction-collapse {
  display: block;
  animation: glenk-direction-reveal 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes glenk-direction-reveal {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.glenk-direction-panel {
  border: 1px solid rgba(22, 136, 91, 0.38);
  border-radius: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  padding: 23px 27px;
  background: linear-gradient(115deg, #f3faf6, rgba(255, 255, 255, 0.92) 66%);
  box-shadow: 0 12px 34px rgba(15, 45, 84, 0.065), inset 4px 0 0 var(--glenk-home-green);
}

.glenk-direction-panel-copy {
  max-width: 720px;
}

.glenk-direction-panel-copy > span {
  color: var(--glenk-home-green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.glenk-direction-panel-copy p {
  margin-top: 8px;
  color: var(--text-gray);
  line-height: 1.75;
}

.glenk-direction-panel > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-blue);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.glenk-direction-panel > a svg {
  width: 17px;
}

.glenk-home-why {
  background: var(--primary-blue-ultra-light);
}

.glenk-home-why-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
  align-items: stretch;
  gap: clamp(46px, 7vw, 96px);
  padding: 0;
  background: transparent;
}

.glenk-home-why-card::after {
  display: none;
}

.glenk-home-why-image {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1;
  justify-self: stretch;
  width: 100%;
  min-width: 0;
  margin: 0;
  border-radius: 20px;
  min-height: 570px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 45, 84, 0.14);
}

.glenk-home-why-image::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: inherit;
  background: linear-gradient(180deg, transparent 72%, rgba(15, 45, 84, 0.12));
  content: "";
}

.glenk-home-why-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 42%;
}

.glenk-home-why-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.glenk-home-why-copy .glenk-heading-lg {
  max-width: 520px;
  font-size: clamp(2.25rem, 3.4vw, 3.25rem);
  line-height: 1.08;
  color: var(--primary-blue-dark);
}

.glenk-home-why-copy > p {
  max-width: 500px;
  margin-top: 18px;
  color: var(--text-gray);
  font-size: clamp(0.96rem, 1.25vw, 1.05rem);
  line-height: 1.7;
}

.glenk-home-why-card .glenk-home-green-label {
  color: var(--glenk-home-green);
}

.glenk-home-why-profile {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 30px 0 0;
  border-top: 1px solid #d7e3ed;
  padding: 0;
}

.glenk-home-why-profile > article {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: start;
  gap: 7px 14px;
  border-bottom: 1px solid #d7e3ed;
  padding: 18px 0;
  color: var(--primary-blue-dark);
}

.glenk-home-why-profile i {
  grid-column: 1;
  color: var(--glenk-home-green);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.glenk-home-why-profile h3 {
  grid-column: 2;
  margin: 0;
  color: var(--primary-blue-dark);
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  line-height: 1.25;
}

.glenk-home-why-profile article p {
  grid-column: 2;
  margin: 0;
  color: var(--text-gray);
  font-size: 0.9rem;
  line-height: 1.62;
}

.glenk-home-process {
  background:
    linear-gradient(180deg, rgba(232, 242, 255, 0.48), rgba(248, 250, 252, 0.82)),
    white;
}

.glenk-home-process-layout {
  display: grid;
  grid-template-columns: minmax(390px, 0.94fr) minmax(0, 1.35fr);
  align-items: start;
  gap: clamp(44px, 6vw, 88px);
}

.glenk-home-process-intro {
  position: static;
}

.glenk-home-process-intro .glenk-heading-lg {
  max-width: 560px;
  font-size: clamp(2.45rem, 3.35vw, 3.25rem);
  line-height: 1.06;
}

.glenk-home-process-intro > p {
  max-width: 440px;
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  line-height: 1.65;
}

.glenk-home-process-list {
  margin: 0;
  padding: 0;
  display: grid;
  list-style: none;
}

.glenk-home-process-list li {
  position: relative;
  min-height: 116px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  padding-bottom: 22px;
}

.glenk-home-process-list li:not(:last-child)::before {
  position: absolute;
  top: 51px;
  bottom: 2px;
  left: 25px;
  width: 1px;
  background: #d9e4e9;
  content: "";
}

.glenk-home-process-list li:not(:last-child)::after {
  position: absolute;
  z-index: 1;
  top: 51px;
  bottom: 2px;
  left: 25px;
  width: 2px;
  border-radius: 999px;
  background: var(--glenk-home-green-bright);
  content: "";
  opacity: 0;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1), opacity 180ms ease;
}

.glenk-home-process-list li.is-complete::after {
  opacity: 1;
  transform: scaleY(1);
}

.glenk-process-number {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  border: 3px solid #cfdae2;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--primary-blue-dark);
  color: white;
  font-size: 0.76rem;
  font-weight: 900;
  box-shadow: 0 0 0 1px rgba(15, 45, 84, 0.12);
  transition: border-color 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}

.glenk-process-number::after {
  position: absolute;
  inset: -7px;
  border: 1px solid var(--glenk-home-green-bright);
  border-radius: inherit;
  content: "";
  opacity: 0;
  pointer-events: none;
}

.glenk-home-process-list li.is-active .glenk-process-number,
.glenk-home-process-list li.is-complete .glenk-process-number {
  border-color: var(--glenk-home-green-bright);
  box-shadow: 0 0 0 1px rgba(47, 185, 120, 0.45), 0 8px 22px rgba(15, 45, 84, 0.16);
}

.glenk-home-process-list li.is-active .glenk-process-number::after {
  animation: glenk-process-pulse 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.glenk-process-card {
  border: 1px solid #dce5ed;
  border-radius: 15px;
  padding: 17px 20px;
  background: white;
  box-shadow: 0 6px 18px rgba(15, 45, 84, 0.04);
  transition: border-color 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}

.glenk-home-process-list li.is-active .glenk-process-card {
  border-color: rgba(47, 185, 120, 0.58);
  box-shadow: 0 14px 32px rgba(15, 45, 84, 0.1);
  transform: translateY(-3px);
}

@keyframes glenk-process-pulse {
  0% { opacity: 0.6; transform: scale(0.88); }
  100% { opacity: 0; transform: scale(1.35); }
}

.glenk-home-process-list h3 {
  margin: 0;
  color: var(--primary-blue-dark);
  font-size: 1.08rem;
}

.glenk-home-process-list p {
  margin: 6px 0 0;
  color: var(--text-gray);
  font-size: 0.9rem;
  line-height: 1.58;
}

@media (max-width: 850px) {
  .glenk-home-why-card,
  .glenk-home-process-layout {
    grid-template-columns: 1fr;
  }

  .glenk-home-why-card {
    min-height: 0;
    gap: 34px;
    padding: 12px 0;
  }

  .glenk-home-why-image {
    grid-column: 1;
    grid-row: 2;
    justify-self: stretch;
    width: 100%;
    max-width: none;
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .glenk-home-why-image::after {
    background: linear-gradient(180deg, transparent 72%, rgba(15, 45, 84, 0.12));
  }

  .glenk-home-why-copy {
    grid-column: 1;
    grid-row: 1;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    padding: 0;
  }

  .glenk-home-why-copy > .glenk-home-green-label { grid-column: 1; grid-row: 1; }
  .glenk-home-why-copy > .glenk-heading-lg { grid-column: 1; grid-row: 2; }
  .glenk-home-why-copy > p { grid-column: 1; grid-row: 3; }

  .glenk-home-why-profile {
    grid-column: 1;
    grid-row: 4;
    margin-top: 38px;
  }

  .glenk-home-why-profile > article {
    grid-template-columns: 40px minmax(150px, 0.55fr) minmax(0, 1fr);
  }

  .glenk-home-process-intro {
    position: static;
  }

  .glenk-direction-list {
    position: relative;
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .glenk-direction-list::before {
    display: block;
    top: 18px;
    right: auto;
    bottom: 40px;
    left: 17px;
    width: 2px;
    height: auto;
  }

  .glenk-direction-list::after {
    display: none;
  }

  .glenk-direction-card {
    display: block;
  }

  .glenk-direction-card:nth-child(1) .glenk-direction-trigger,
  .glenk-direction-card:nth-child(2) .glenk-direction-trigger,
  .glenk-direction-card:nth-child(3) .glenk-direction-trigger,
  .glenk-direction-card:nth-child(1) .glenk-direction-collapse,
  .glenk-direction-card:nth-child(2) .glenk-direction-collapse,
  .glenk-direction-card:nth-child(3) .glenk-direction-collapse {
    grid-column: auto;
    grid-row: auto;
  }

  .glenk-direction-trigger {
    min-height: 82px;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 15px;
    padding: 10px 0;
    text-align: left;
  }

  .glenk-direction-icon {
    width: 36px;
    height: 36px;
    margin: 0;
    border: 6px solid #f8fafc;
  }

  .glenk-direction-summary strong {
    margin-top: 0;
  }

  .glenk-direction-summary small {
    min-height: 0;
  }

  .glenk-direction-action {
    margin-top: 0;
  }

  .glenk-direction-trigger > svg {
    position: static;
  }

  .glenk-direction-collapse {
    margin: 4px 0 14px 51px;
  }

  .glenk-direction-panel {
    grid-template-columns: 1fr;
    align-items: start;
    padding-left: 28px;
  }
}

@media (max-width: 620px) {
  .glenk-home-section-heading {
    margin-bottom: 28px;
    text-align: left;
  }

  .glenk-home-coaching-image {
    border-radius: 16px;
    aspect-ratio: 4 / 3;
  }

  .glenk-direction-trigger {
    min-height: 76px;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
    padding: 8px 0;
  }

  .glenk-direction-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
  }

  .glenk-direction-action {
    display: none;
  }

  .glenk-direction-panel {
    gap: 18px;
    padding: 20px;
  }

  .glenk-direction-collapse {
    margin-left: 48px;
  }

  .glenk-direction-panel > a {
    align-items: flex-start;
    white-space: normal;
  }

  .glenk-home-why-card {
    padding: 0;
  }

  .glenk-home-why-image {
    height: auto;
    border-radius: 16px;
    aspect-ratio: 4 / 3;
  }

  .glenk-home-why-copy {
    padding: 0;
  }

  .glenk-home-why-copy .glenk-heading-lg {
    font-size: clamp(2.1rem, 10vw, 3rem);
  }

  .glenk-home-why-profile {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 32px;
    padding-top: 0;
  }

  .glenk-home-why-profile > article,
  .glenk-home-why-profile > article:first-child,
  .glenk-home-why-profile > article:last-child {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 8px 12px;
    border-right: 0;
    padding: 20px 0;
  }

  .glenk-home-why-profile > article:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid #d7e3ed;
  }

  .glenk-home-why-profile i { grid-column: 1; grid-row: 1; }
  .glenk-home-why-profile h3 { grid-column: 2; grid-row: 1; }
  .glenk-home-why-profile article p { grid-column: 2; grid-row: 2; margin-top: 0; }

  .glenk-home-process-list li {
    min-height: 0;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 13px;
    padding-bottom: 18px;
  }

  .glenk-process-number {
    width: 44px;
    height: 44px;
    border-width: 3px;
    font-size: 0.68rem;
  }

  .glenk-home-process-list li:not(:last-child)::before {
    top: 43px;
    left: 21px;
  }

  .glenk-home-process-list li:not(:last-child)::after {
    top: 43px;
    left: 21px;
  }

  .glenk-home-process-list li > div {
    padding: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .glenk-home-process-list li::after,
  .glenk-process-number,
  .glenk-process-card {
    transition: none;
  }

  .glenk-home-process-list li.is-active .glenk-process-number::after {
    animation: none;
  }
}
/* Brand balance: green is a small accent, blue remains the primary action color. */
.glenk-site .glenk-home-care .glenk-home-care-cta,
.glenk-site .glenk-home-care .glenk-home-care-cta:focus {
  border-color: var(--primary-blue) !important;
  background: var(--primary-blue) !important;
  color: #fff !important;
  box-shadow: 0 14px 32px rgba(4, 20, 37, 0.22) !important;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease !important;
}

.glenk-site .glenk-home-care .glenk-home-care-cta:hover,
.glenk-site .glenk-home-care .glenk-home-care-cta:focus-visible {
  border-color: #347bc1 !important;
  background: #347bc1 !important;
  color: #fff !important;
  box-shadow: 0 18px 38px rgba(4, 20, 37, 0.32) !important;
  transform: translateY(-2px) !important;
}

.glenk-site .glenk-home-care .glenk-home-care-cta:active {
  border-color: #225f9f !important;
  background: #225f9f !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(4, 20, 37, 0.24) !important;
  transform: translateY(0) !important;
}

.glenk-site .glenk-home-care .glenk-home-care-cta span,
.glenk-site .glenk-home-care .glenk-home-care-cta svg,
.glenk-site .glenk-home-care .glenk-home-care-cta path,
.glenk-site .glenk-home-care .glenk-home-care-cta:hover span,
.glenk-site .glenk-home-care .glenk-home-care-cta:hover svg,
.glenk-site .glenk-home-care .glenk-home-care-cta:hover path,
.glenk-site .glenk-home-care .glenk-home-care-cta:focus span,
.glenk-site .glenk-home-care .glenk-home-care-cta:focus svg,
.glenk-site .glenk-home-care .glenk-home-care-cta:focus path,
.glenk-site .glenk-home-care .glenk-home-care-cta:active span,
.glenk-site .glenk-home-care .glenk-home-care-cta:active svg,
.glenk-site .glenk-home-care .glenk-home-care-cta:active path {
  color: #fff !important;
  fill: none !important;
  stroke: #fff !important;
}

.glenk-site .glenk-home-care .glenk-home-care-cta svg {
  transition: transform 180ms ease !important;
}

.glenk-site .glenk-home-care .glenk-home-care-cta:hover svg,
.glenk-site .glenk-home-care .glenk-home-care-cta:focus-visible svg {
  transform: translateX(4px) !important;
}

.glenk-site .glenk-direction-card.is-open .glenk-direction-icon {
  background: var(--primary-blue);
  color: #fff;
  box-shadow: 0 0 0 2px var(--glenk-home-green), 0 7px 18px rgba(15, 45, 84, 0.16);
}

.glenk-site .glenk-direction-card.is-open .glenk-direction-summary small {
  color: var(--text-gray);
  font-weight: 500;
}

.glenk-site .glenk-direction-panel {
  border-color: #d7e3ed;
  background: #fff;
  box-shadow: 0 12px 34px rgba(15, 45, 84, 0.065), inset 3px 0 0 var(--glenk-home-green);
}

/* WordPress themes often impose a global button hover/active background.
   Keep the direction selector transparent and let only its marker react. */
.glenk-site .glenk-home-direction .glenk-direction-trigger,
.glenk-site .glenk-home-direction .glenk-direction-trigger:hover,
.glenk-site .glenk-home-direction .glenk-direction-trigger:focus,
.glenk-site .glenk-home-direction .glenk-direction-trigger:focus-visible,
.glenk-site .glenk-home-direction .glenk-direction-trigger:active,
.glenk-site .glenk-home-direction .glenk-direction-card.is-open .glenk-direction-trigger {
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  color: var(--text-dark) !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent;
}

.glenk-site .glenk-home-direction .glenk-direction-trigger:hover,
.glenk-site .glenk-home-direction .glenk-direction-trigger:focus-visible {
  transform: translateY(-1px);
}

.glenk-site .glenk-home-direction .glenk-direction-icon::after {
  display: none !important;
  content: none !important;
}

.glenk-site .glenk-home-direction .glenk-direction-icon svg,
.glenk-site .glenk-home-direction .glenk-direction-icon svg * {
  display: block !important;
  fill: none !important;
  stroke: currentColor !important;
}

.glenk-site .glenk-home-direction .glenk-direction-trigger:hover .glenk-direction-icon,
.glenk-site .glenk-home-direction .glenk-direction-trigger:focus-visible .glenk-direction-icon {
  background: #f8fafc;
  color: var(--primary-blue);
  box-shadow: 0 0 0 2px var(--glenk-home-green), 0 0 0 6px rgba(47, 185, 120, 0.11);
  transform: scale(1.04);
}

.glenk-site .glenk-home-direction .glenk-direction-card.is-open .glenk-direction-icon,
.glenk-site .glenk-home-direction .glenk-direction-card.is-open .glenk-direction-trigger:hover .glenk-direction-icon,
.glenk-site .glenk-home-direction .glenk-direction-card.is-open .glenk-direction-trigger:focus-visible .glenk-direction-icon {
  background: var(--primary-blue);
  color: #fff;
  box-shadow: 0 0 0 2px var(--glenk-home-green), 0 7px 18px rgba(15, 45, 84, 0.16);
  transform: none;
}

@media (max-width: 620px) {
  .glenk-site .glenk-home-direction .glenk-direction-list {
    box-sizing: border-box;
    width: 100%;
    margin-inline: auto;
    border: 1px solid #dfe9f2;
    border-radius: 22px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 14px 34px rgba(15, 45, 84, 0.07);
  }

  .glenk-site .glenk-home-direction .glenk-direction-list::before {
    top: 38px;
    bottom: 45px;
    left: 34px;
  }

  .glenk-site .glenk-home-direction .glenk-direction-trigger {
    min-height: 62px;
    grid-template-columns: 36px minmax(0, 1fr) 18px;
    padding: 6px 0;
  }

  .glenk-site .glenk-home-direction .glenk-direction-summary small {
    display: none;
  }

  .glenk-site .glenk-home-direction .glenk-direction-summary strong {
    margin: 0;
    font-size: 1rem;
  }

  .glenk-site .glenk-home-direction .glenk-direction-trigger > svg,
  .glenk-site .glenk-home-direction .glenk-direction-trigger > svg * {
    width: 18px;
    height: 18px;
    display: block !important;
    fill: none !important;
    stroke: var(--primary-blue) !important;
    stroke-width: 2 !important;
    transition: transform 180ms ease;
  }

  .glenk-site .glenk-home-direction .glenk-direction-card.is-open .glenk-direction-trigger > svg {
    transform: rotate(180deg);
  }

  .glenk-site .glenk-home-direction .glenk-direction-collapse {
    margin: 2px 0 12px 48px;
  }

  .glenk-site .glenk-home-direction .glenk-direction-panel {
    gap: 14px;
    padding: 17px 18px;
  }

  .glenk-site .glenk-home-direction .glenk-direction-panel-copy p {
    margin-top: 6px;
    font-size: 0.92rem;
    line-height: 1.58;
  }
}

.glenk-site .glenk-home-process-list li.is-active .glenk-process-card {
  border-color: rgba(26, 77, 143, 0.34);
}

/* Reference subpages: preserve the visual language of glenk-coaching 12. */
.glenk-site .glenk-reference-lead {
  max-width: 700px;
  margin: 20px auto 0;
}

.glenk-site .glenk-service-benefits {
  padding-top: 88px;
  padding-bottom: 96px;
}

.glenk-site .glenk-service-benefits-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 46px;
}

.glenk-site .glenk-service-benefits-grid .glenk-feature-card {
  min-width: 0;
  padding: 32px 30px 34px !important;
  border-radius: 20px;
}

.glenk-site .glenk-service-benefits-grid .glenk-feature-icon {
  width: 60px;
  height: 56px;
  margin-bottom: 22px;
  border-radius: 14px;
}

.glenk-site .glenk-service-benefits-grid .glenk-feature-card h3 {
  margin: 0 0 12px;
  color: var(--primary-blue-dark);
  font-size: clamp(1.35rem, 2vw, 1.62rem);
  line-height: 1.2;
  text-wrap: balance;
}

.glenk-site .glenk-service-benefits-grid .glenk-feature-card p {
  margin: 0;
  line-height: 1.65;
}

.glenk-site .glenk-subpage-hero-content {
  max-width: 550px;
}

.glenk-site .glenk-subpage-hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.15;
}

.glenk-site .glenk-subpage-hero-text p {
  margin: 0 0 12px;
}

.glenk-site .glenk-feature-card .glenk-text-base strong {
  display: block;
  margin-bottom: 7px;
  color: var(--primary-blue-dark);
}

.glenk-site .glenk-checklist-icons .glenk-checklist-item > span {
  display: grid;
  gap: 5px;
}

.glenk-site .glenk-checklist-icons .glenk-checklist-item strong {
  color: #fff;
  font-size: 1rem;
}

.glenk-site .glenk-checklist-icons .glenk-checklist-item small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  line-height: 1.45;
}

.glenk-site .glenk-reference-optional {
  max-width: 700px;
  margin: 38px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  padding: 26px 30px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  text-align: center;
}

.glenk-site .glenk-reference-optional > span {
  color: #60a5fa;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.glenk-site .glenk-reference-optional h3,
.glenk-site .glenk-reference-optional strong,
.glenk-site .glenk-reference-optional p {
  display: block;
  margin: 7px 0 0;
  color: #fff;
}

.glenk-site .glenk-testimonials-hero {
  padding-bottom: 20px;
}

.glenk-site .glenk-testimonials-section {
  min-height: 80px;
  padding: 20px 0 40px;
}

.glenk-site .glenk-testimonials-section:has(.glenk-trustindex-wrapper:empty) {
  display: none;
}

@media (max-width: 768px) {
  .glenk-site .glenk-service-benefits {
    padding-top: 64px;
    padding-bottom: 70px;
  }

  .glenk-site .glenk-service-benefits-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 34px;
  }

  .glenk-site .glenk-service-benefits-grid .glenk-feature-card {
    padding: 26px 22px 28px !important;
  }

  .glenk-site .glenk-subpage-hero {
    height: auto;
    max-height: none;
    min-height: 100dvh;
  }

  .glenk-site .glenk-subpage-hero .glenk-container {
    width: 100%;
    min-width: 0;
    padding-bottom: 64px;
  }

  .glenk-site .glenk-subpage-hero-content {
    width: 100%;
    min-width: 0;
    min-height: 0;
  }

  .glenk-site .glenk-subpage-hero-title {
    width: 100%;
    overflow-wrap: anywhere;
    font-size: clamp(2rem, 9.4vw, 2.45rem);
    line-height: 1.12;
  }

  .glenk-site .glenk-subpage-hero-buttons .glenk-btn {
    min-width: 0;
    padding-right: 18px;
    padding-left: 18px;
    white-space: normal;
    text-align: center;
  }

}

@media (min-width: 769px) and (max-width: 1080px) {
  .glenk-site .glenk-service-benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .glenk-site .glenk-service-benefits-grid .glenk-feature-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: calc(50% - 13px);
    width: 100%;
    justify-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Mobile care section: lead with the visual before the explanatory copy. */
@media (max-width: 900px) {
  body.glenk-site .glenk-home-care-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  body.glenk-site .glenk-home-care-image,
  body.glenk-site .glenk-home-care-image img {
    min-height: clamp(320px, 70vw, 480px) !important;
  }

  body.glenk-site .glenk-home-care-list {
    grid-template-columns: 1fr !important;
  }

  body.glenk-site .glenk-home-care-list li > strong {
    word-break: normal !important;
    overflow-wrap: normal !important;
  }
}

/* Plan Check finish: dark navy section with comfortably inset step badges. */
.glenk-site .glenk-plan-check-section {
  background: linear-gradient(135deg, #0f2d54 0%, #1a4d8f 100%) !important;
}

.glenk-site .glenk-plan-check-intro h2 {
  color: #fff !important;
}

.glenk-site .glenk-plan-check-intro > p:not(.glenk-commerce-eyebrow) {
  color: rgba(255, 255, 255, 0.78) !important;
}

.glenk-site .glenk-plan-check-steps article {
  grid-template-columns: 40px minmax(0, 1fr) !important;
  gap: 20px !important;
  padding: 26px 30px !important;
}

@media (max-width: 640px) {
  .glenk-site .glenk-plan-check-steps article {
    gap: 12px !important;
    padding: 26px 20px 26px 30px !important;
  }
}

/* ==========================================================================
   WooCommerce Cart / Order-received – default templates get GLENK styling
   ========================================================================== */

body.glenk-site.woocommerce-cart .woocommerce,
body.glenk-site.woocommerce-order-received .woocommerce {
  max-width: 900px !important;
  margin: 0 auto !important;
  padding: 28px 20px 64px !important;
}

/* Cart page */
body.glenk-site.woocommerce-cart table.cart {
  border: none !important;
  background: transparent !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

body.glenk-site.woocommerce-cart table.cart tr.cart_item {
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 6px 18px rgba(15, 45, 84, 0.05) !important;
  margin-bottom: 14px !important;
}

body.glenk-site.woocommerce-cart table.cart td {
  border: none !important;
}

body.glenk-site.woocommerce-cart td.product-name a {
  color: var(--primary-blue-dark) !important;
  font-weight: 800 !important;
}

body.glenk-site.woocommerce-cart td.product-thumbnail img {
  border-radius: 10px !important;
}

body.glenk-site.woocommerce-cart td.product-remove a {
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  background: #f1f5f9 !important;
  color: #64748b !important;
  font-size: 0 !important;
  line-height: 1 !important;
  overflow: hidden !important;
}

body.glenk-site.woocommerce-cart td.product-remove a svg,
body.glenk-site.woocommerce-cart td.product-remove a img {
  display: none !important;
}

body.glenk-site.woocommerce-cart td.product-remove a::before {
  content: "\2715" !important;
  position: absolute !important;
  inset: 0 !important;
  display: grid !important;
  place-items: center !important;
  font-size: 12px !important;
}

body.glenk-site.woocommerce-cart .quantity .qty {
  border: 1px solid #c9d8e5 !important;
  border-radius: 8px !important;
  padding: 8px 10px !important;
  text-align: center !important;
}

body.glenk-site.woocommerce-cart .coupon {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-bottom: 16px !important;
}

body.glenk-site.woocommerce-cart .coupon #coupon_code {
  flex: 1 1 180px !important;
  border: 1px solid #c9d8e5 !important;
  border-radius: 10px !important;
  padding: 12px 14px !important;
  background: #fbfdff !important;
}

body.glenk-site.woocommerce-cart .coupon button,
body.glenk-site.woocommerce-cart button[name="update_cart"] {
  border: none !important;
  border-radius: 10px !important;
  padding: 12px 20px !important;
  background: var(--primary-blue-dark) !important;
  color: #fff !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}

body.glenk-site.woocommerce-cart button[name="update_cart"] {
  width: 100% !important;
  margin-top: 4px !important;
}

body.glenk-site.woocommerce-cart button[name="update_cart"]:disabled {
  background: #cbd5e1 !important;
  cursor: default !important;
}

body.glenk-site.woocommerce-cart .cart_totals {
  margin-top: 28px !important;
  padding: 22px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  background: #f8fafc !important;
}

body.glenk-site.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
  display: block !important;
  width: 100% !important;
  margin-top: 14px !important;
  padding: 15px !important;
  border-radius: 12px !important;
  background: var(--primary-blue-dark) !important;
  color: #fff !important;
  text-align: center !important;
  font-weight: 800 !important;
}

/* Order-received (thank you) page */
body.glenk-site.woocommerce-order-received .woocommerce-thankyou-order-received {
  margin: 0 0 28px !important;
  padding: 18px 20px !important;
  border-radius: 14px !important;
  background: var(--glenk-home-green-soft, #eaf8f1) !important;
  color: var(--glenk-home-green, #16885b) !important;
  font-weight: 700 !important;
  font-size: 1.05rem !important;
}

body.glenk-site.woocommerce-order-received ul.woocommerce-order-overview {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px 24px !important;
  margin: 0 0 32px !important;
  padding: 22px !important;
  list-style: none !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  background: #f8fafc !important;
}

body.glenk-site.woocommerce-order-received ul.woocommerce-order-overview li {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  color: #64748b !important;
  font-size: 0.75rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
}

body.glenk-site.woocommerce-order-received ul.woocommerce-order-overview li strong {
  display: block !important;
  margin-top: 5px !important;
  color: var(--primary-blue-dark) !important;
  font-size: 1.0625rem !important;
  font-weight: 800 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

body.glenk-site.woocommerce-order-received .woocommerce-order-details__title,
body.glenk-site.woocommerce-order-received .woocommerce-column__title {
  margin: 0 0 16px !important;
  color: var(--primary-blue-dark) !important;
  font-size: 1.3rem !important;
}

body.glenk-site.woocommerce-order-received table.woocommerce-table {
  width: 100% !important;
  margin: 0 0 32px !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
}

body.glenk-site.woocommerce-order-received table.woocommerce-table th,
body.glenk-site.woocommerce-order-received table.woocommerce-table td {
  padding: 14px 18px !important;
  border-bottom: 1px solid #edf1f5 !important;
  border-right: none !important;
  text-align: left !important;
}

body.glenk-site.woocommerce-order-received table.woocommerce-table th {
  background: #f8fafc !important;
  color: #64748b !important;
  font-size: 0.75rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
}

body.glenk-site.woocommerce-order-received table.woocommerce-table tfoot th,
body.glenk-site.woocommerce-order-received table.woocommerce-table tfoot td {
  font-weight: 800 !important;
  color: var(--primary-blue-dark) !important;
}

body.glenk-site.woocommerce-order-received table.woocommerce-table tr:last-child th,
body.glenk-site.woocommerce-order-received table.woocommerce-table tr:last-child td {
  border-bottom: none !important;
}

body.glenk-site.woocommerce-order-received .woocommerce-customer-details address {
  padding: 18px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  background: #f8fafc !important;
  color: var(--primary-blue-dark, #0f2d54) !important;
  font-style: normal !important;
  line-height: 1.7 !important;
}

body.glenk-site.woocommerce-order-received .woocommerce-customer-details address p,
body.glenk-site.woocommerce-order-received .woocommerce-customer-details address a,
body.glenk-site.woocommerce-order-received .woocommerce-customer-details address a:visited,
body.glenk-site.woocommerce-order-received .woocommerce-customer-details .woocommerce-customer-details--phone,
body.glenk-site.woocommerce-order-received .woocommerce-customer-details .woocommerce-customer-details--email {
  color: var(--primary-blue-dark, #0f2d54) !important;
  -webkit-text-fill-color: var(--primary-blue-dark, #0f2d54) !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

@media (max-width: 480px) {
  body.glenk-site.woocommerce-order-received ul.woocommerce-order-overview {
    grid-template-columns: 1fr !important;
  }
}

/* Checkout page: already fully styled under body.glenk-woo-utility-page
   (which is_checkout() also adds) — see that block earlier in this file.
   A second, conflicting ruleset here previously fought that one and broke
   the layout (col-1/col-2 ordering, the gap under "Deine Bestellung"). */

/* Structural wrapper used by the visual editor to make individual images
   swappable via the Media Library. On the public site it must have zero
   layout effect: its children render as if this element were not there. */
.glenk-image-edit-wrap { display: contents; }
