@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500&display=swap");

:root {
  --my-blue: #063a79;
  --my-blue-deep: #032856;
  --my-red: #d71920;
  --my-red-dark: #a90e16;
  --my-yellow: #ffcc29;
  --my-cream: #f7f3ec;
  --my-paper: #fffefa;
  --my-ink: #171717;
  --my-muted: #6d6861;
  --my-line: rgba(13, 39, 75, .13);
  --my-serif: "Playfair Display", Georgia, serif;
  --my-sans: "DM Sans", Arial, sans-serif;
}

html {
  background: #d9d8d5;
  scroll-padding-top: 72px;
}

body.coach-v4 {
  min-width: 320px;
  margin: 0;
  padding: 0 0 calc(76px + env(safe-area-inset-bottom));
  background: #d9d8d5;
  color: var(--my-ink);
  font-family: var(--my-sans);
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.coach-v4 button,
.coach-v4 input,
.coach-v4 select {
  font: inherit;
}

.coach-v4 a {
  color: inherit;
  text-decoration: none;
}

.coach-v4 img {
  display: block;
  max-width: 100%;
}

.coach-v4 .page-wrapper {
  width: min(100%, 430px);
  min-height: 100dvh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--my-paper);
  box-shadow: 0 0 70px rgba(0, 0, 0, .12);
}

.merdeka-topbar {
  display: flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  overflow: hidden;
  background: var(--my-blue-deep);
  color: #fff;
  padding: 7px 10px;
  font-size: 8px;
  letter-spacing: .12em;
  line-height: 1;
  white-space: nowrap;
}

.merdeka-topbar strong {
  color: var(--my-yellow);
}

.merdeka-topbar i {
  font-style: normal;
  font-weight: 600;
}

.merdeka-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 64px;
  align-items: center;
  border-bottom: 1px solid rgba(6, 58, 121, .1);
  background: rgba(255, 254, 250, .96);
  padding: 0 14px;
  backdrop-filter: blur(16px);
}

.merdeka-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(3, 40, 86, .08);
}

.merdeka-logo {
  display: grid;
  width: 116px;
  place-items: center start;
}

.merdeka-logo img {
  width: 116px;
}

.merdeka-country {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--my-blue);
  font-size: 7px;
  letter-spacing: .12em;
}

.flag-mark {
  position: relative;
  display: block;
  width: 25px;
  height: 14px;
  overflow: hidden;
  border-radius: 2px;
  background: repeating-linear-gradient(to bottom, #d71920 0 2px, #fff 2px 4px);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .08);
}

.flag-mark::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 13px;
  height: 8px;
  background: var(--my-blue);
  content: "";
}

.flag-mark i {
  position: absolute;
  top: 2px;
  left: 3px;
  z-index: 1;
  width: 5px;
  height: 5px;
  border: 1px solid var(--my-yellow);
  border-right-color: transparent;
  border-radius: 50%;
}

.merdeka-header-cta {
  display: grid;
  width: 48px;
  min-height: 34px;
  place-items: center;
  justify-self: end;
  border-radius: 999px;
  background: var(--my-red);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .12em;
}

.merdeka-hero {
  position: relative;
  overflow: hidden;
  background: var(--my-blue);
  color: #fff;
  padding: 39px 18px 29px;
}

.merdeka-hero::before {
  position: absolute;
  top: -88px;
  right: -118px;
  width: 330px;
  height: 330px;
  border: 72px solid rgba(255, 204, 41, .11);
  border-radius: 50%;
  content: "";
}

.merdeka-rays {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 12px;
  background: repeating-linear-gradient(to bottom, var(--my-red) 0 3px, #fff 3px 6px);
}

.merdeka-hero-copy {
  position: relative;
  z-index: 1;
  padding: 10px 5px 24px;
}

.merdeka-hero-copy p,
.merdeka-products-head p,
.merdeka-countdown p,
.merdeka-story-copy p,
.merdeka-section-title p,
.merdeka-order-eyebrow,
.newsletter > p {
  margin: 0 0 9px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .19em;
  line-height: 1.2;
  text-transform: uppercase;
}

.merdeka-hero-copy p {
  color: var(--my-yellow);
}

.merdeka-hero-copy h1 {
  margin: 0;
  font-family: var(--my-serif);
  font-size: clamp(46px, 13vw, 58px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: .88;
}

.merdeka-hero-copy h1 em {
  color: #fff;
  font-size: .72em;
  font-weight: 500;
}

.merdeka-hero-copy > span {
  display: block;
  margin-top: 16px;
  color: rgba(255, 255, 255, .72);
  font-size: 11px;
}

.merdeka-hero-photo {
  position: relative;
  z-index: 1;
  height: 410px;
  overflow: hidden;
  border: 5px solid #fff;
  border-radius: 148px 148px 22px 22px;
  background: #d9cfbd;
  box-shadow: 0 20px 45px rgba(0, 0, 0, .22);
}

.merdeka-hero-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.merdeka-sale-seal {
  position: absolute;
  right: 13px;
  bottom: 15px;
  display: grid;
  width: 88px;
  height: 88px;
  place-content: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--my-red);
  color: #fff;
  text-align: center;
  transform: rotate(-7deg);
  box-shadow: 0 9px 22px rgba(90, 0, 7, .24);
}

.merdeka-sale-seal small,
.merdeka-sale-seal b {
  font-size: 7px;
  letter-spacing: .16em;
  line-height: 1;
}

.merdeka-sale-seal strong {
  margin: 2px 0;
  font-family: var(--my-serif);
  font-size: 30px;
  line-height: 1;
}

.merdeka-main-cta {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  border-radius: 999px;
  background: var(--my-yellow);
  color: var(--my-blue-deep);
  padding: 0 10px 0 21px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
}

.merdeka-main-cta b {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--my-blue-deep);
  color: #fff;
  font-size: 18px;
  font-weight: 400;
}

.merdeka-hero-note {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .67);
  font-size: 9px;
  text-align: center;
}

.merdeka-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--my-line);
  background: var(--my-paper);
  padding: 22px 8px;
}

.merdeka-benefits article {
  display: grid;
  min-width: 0;
  justify-items: center;
  border-right: 1px solid var(--my-line);
  padding: 0 6px;
  text-align: center;
}

.merdeka-benefits article:last-child {
  border: 0;
}

.merdeka-benefits article > span {
  display: grid;
  width: 28px;
  height: 28px;
  margin-bottom: 8px;
  place-items: center;
  border-radius: 50%;
  background: var(--my-blue);
  color: var(--my-yellow);
  font-size: 8px;
  font-weight: 700;
}

.merdeka-benefits strong {
  font-size: 8px;
  line-height: 1.25;
}

.merdeka-benefits small {
  margin-top: 4px;
  color: var(--my-muted);
  font-size: 7px;
}

.merdeka-countdown {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--my-red);
  color: #fff;
  padding: 20px 17px;
}

.merdeka-countdown > div:first-child {
  min-width: 0;
}

.merdeka-countdown p {
  color: var(--my-yellow);
  font-size: 7px;
}

.merdeka-countdown h2 {
  margin: 0;
  font-family: var(--my-serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
}

.merdeka-clock {
  display: flex;
  align-items: center;
  gap: 3px;
}

.merdeka-clock > span {
  display: grid;
  width: 45px;
  height: 50px;
  place-content: center;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 11px;
  background: rgba(95, 0, 5, .16);
  text-align: center;
}

.merdeka-clock strong {
  font-size: 16px;
  line-height: 1;
}

.merdeka-clock small {
  margin-top: 4px;
  font-size: 6px;
  letter-spacing: .1em;
}

.merdeka-clock > b {
  color: var(--my-yellow);
  font-size: 13px;
}

.merdeka-products {
  background: var(--my-cream);
  padding: 43px 11px 48px;
  scroll-margin-top: 64px;
}

.merdeka-products-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  padding: 0 7px 23px;
}

.merdeka-products-head > div {
  max-width: 290px;
}

.merdeka-products-head p,
.merdeka-section-title p,
.merdeka-story-copy p {
  color: var(--my-red);
}

.merdeka-products-head h2,
.merdeka-story-copy h2,
.merdeka-section-title h2 {
  margin: 0;
  font-family: var(--my-serif);
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1;
}

.merdeka-products-head > div > span {
  display: block;
  margin-top: 10px;
  color: var(--my-muted);
  font-size: 9px;
}

.merdeka-products-head > strong {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #fff;
  color: var(--my-blue);
  padding: 7px 9px;
  box-shadow: 0 5px 18px rgba(3, 40, 86, .06);
  font-size: 8px;
  font-weight: 700;
}

.coach-v4 .products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 8px;
}

.coach-v4 .products-empty {
  grid-column: 1 / -1;
  padding: 36px 10px;
  color: var(--my-muted);
  text-align: center;
}

.coach-v4 .product-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: visible;
  border: 1px solid rgba(3, 40, 86, .075);
  border-radius: 20px;
  background: #fff;
  padding: 0 0 10px;
  box-shadow: 0 8px 20px rgba(3, 40, 86, .055);
}

.coach-v4 .product-badge {
  position: absolute;
  top: 9px;
  left: 9px;
  z-index: 2;
  max-width: calc(100% - 18px);
  overflow: hidden;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--my-blue);
  color: #fff;
  padding: 5px 8px;
  box-shadow: 0 5px 12px rgba(3, 40, 86, .16);
  font-size: 6px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.coach-v4 .product-img {
  display: grid;
  width: 100%;
  aspect-ratio: 1 / 1.05;
  place-items: center;
  overflow: hidden;
  border: 0;
  border-radius: 19px 19px 15px 15px;
  background: linear-gradient(145deg, #fff 15%, #f1eee9 100%);
}

.coach-v4 .product-img img {
  display: block;
  width: var(--card-image-scale, 88%);
  height: var(--card-image-scale, 88%);
  object-fit: contain;
  transform: translate(var(--card-image-shift-x, 0), var(--card-image-shift-y, 0)) scale(var(--card-image-zoom, 1));
  transition: transform .35s ease;
}

.coach-v4 .product-img:active img {
  transform: translate(var(--card-image-shift-x, 0), var(--card-image-shift-y, 0)) scale(calc(var(--card-image-zoom, 1) * 1.025));
}

.coach-v4 .product-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  padding: 11px 10px 0;
}

.coach-v4 .product-name {
  display: -webkit-box;
  min-height: 32px;
  overflow: hidden;
  color: var(--my-ink);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.coach-v4 .product-price {
  display: flex;
  min-height: 23px;
  align-items: baseline;
  gap: 5px;
  margin-top: auto;
}

.coach-v4 .product-price-current {
  color: var(--my-blue-deep);
  font-size: 17px;
  font-weight: 700;
}

.coach-v4 .product-price-original {
  color: #9b9690;
  font-size: 8px;
  text-decoration: line-through;
}

.coach-v4 .product-cart-btn {
  width: 100%;
  min-height: 39px;
  margin-top: 2px;
  border: 0;
  border-radius: 999px;
  background: var(--my-red);
  color: #fff;
  padding: 0 7px;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .12em;
}

.coach-v4 .product-cart-btn:active {
  background: var(--my-red-dark);
  transform: translateY(1px);
}

.coach-v4 .product-cart-btn:disabled {
  background: #a29f99;
  color: rgba(255, 255, 255, .82);
}

.merdeka-story {
  background: var(--my-blue-deep);
  color: #fff;
  padding: 17px;
}

.merdeka-story-photo {
  height: 460px;
  overflow: hidden;
  border-radius: 110px 110px 20px 20px;
}

.merdeka-story-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.merdeka-story-copy {
  padding: 29px 7px 21px;
}

.merdeka-story-copy p {
  color: var(--my-yellow);
}

.merdeka-story-copy h2 {
  font-size: 37px;
}

.merdeka-story-copy > span {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, .7);
  font-size: 11px;
  line-height: 1.55;
}

.merdeka-story-copy a {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  margin-top: 21px;
  border-radius: 999px;
  background: var(--my-yellow);
  color: var(--my-blue-deep);
  padding: 0 18px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
}

.merdeka-story-copy a b {
  font-size: 16px;
}

.merdeka-proof {
  overflow: hidden;
  background: var(--my-paper);
  padding: 49px 0;
}

.merdeka-section-title {
  padding: 0 20px;
}

.merdeka-proof-track {
  display: flex;
  gap: 11px;
  margin-top: 22px;
  overflow-x: auto;
  padding: 0 20px 8px;
  scroll-padding-left: 20px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.merdeka-proof-track::-webkit-scrollbar {
  display: none;
}

.merdeka-proof figure {
  width: 244px;
  min-width: 244px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--my-line);
  border-radius: 22px;
  background: var(--my-cream);
  scroll-snap-align: start;
}

.merdeka-proof figure > img {
  width: 100%;
  height: 232px;
  object-fit: cover;
}

.merdeka-proof figcaption {
  display: grid;
  gap: 4px;
  padding: 15px;
}

.merdeka-proof figcaption span {
  color: var(--my-red);
  font-size: 10px;
  letter-spacing: .08em;
}

.merdeka-proof figcaption strong {
  font-family: var(--my-serif);
  font-size: 16px;
  font-weight: 500;
}

.merdeka-proof figcaption small {
  color: var(--my-muted);
  font-size: 8px;
}

.merdeka-faq {
  background: var(--my-cream);
  padding: 47px 18px 52px;
}

.merdeka-faq .merdeka-section-title {
  padding: 0 0 20px;
}

.merdeka-faq details {
  border-bottom: 1px solid var(--my-line);
}

.merdeka-faq summary {
  display: flex;
  min-height: 61px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--my-blue-deep);
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  list-style: none;
}

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

.merdeka-faq summary span {
  color: var(--my-red);
  font-family: var(--my-serif);
  font-size: 22px;
  font-weight: 400;
  transition: transform .2s ease;
}

.merdeka-faq details[open] summary span {
  transform: rotate(45deg);
}

.merdeka-faq details p {
  margin: -2px 26px 19px 0;
  color: var(--my-muted);
  font-size: 10px;
  line-height: 1.65;
}

.merdeka-footer {
  background: var(--my-blue-deep);
  color: #fff;
  padding: 44px 20px max(40px, env(safe-area-inset-bottom));
}

.merdeka-footer-brand img {
  width: 150px;
  filter: brightness(0) invert(1);
}

.merdeka-footer-brand span {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, .5);
  font-size: 7px;
  letter-spacing: .2em;
}

.merdeka-footer .newsletter {
  margin-top: 43px;
}

.merdeka-footer .newsletter > p {
  color: var(--my-yellow);
}

.merdeka-footer .newsletter h2 {
  max-width: 290px;
  margin: 0 0 15px;
  font-family: var(--my-serif);
  font-size: 25px;
  font-weight: 500;
  line-height: 1.1;
}

.merdeka-footer .newsletter form {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, .38);
}

.merdeka-footer .newsletter input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 12px 2px;
  outline: none;
  font-size: 12px;
}

.merdeka-footer .newsletter input::placeholder {
  color: rgba(255, 255, 255, .5);
}

.merdeka-footer .newsletter button {
  border: 0;
  background: transparent;
  color: var(--my-yellow);
  padding: 0 2px 0 15px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .15em;
}

.merdeka-footer nav {
  display: flex;
  gap: 16px;
  margin-top: 35px;
  font-size: 8px;
}

.merdeka-footer > small {
  display: block;
  margin-top: 26px;
  color: rgba(255, 255, 255, .35);
  font-size: 7px;
}

.merdeka-sticky {
  position: fixed;
  bottom: 0;
  left: 50%;
  z-index: 80;
  display: flex;
  width: min(100%, 430px);
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(3, 40, 86, .12);
  background: rgba(255, 254, 250, .96);
  padding: 9px 11px max(9px, env(safe-area-inset-bottom));
  box-shadow: 0 -10px 30px rgba(3, 40, 86, .1);
  transform: translateX(-50%);
  backdrop-filter: blur(17px);
}

.merdeka-sticky > span {
  padding-left: 4px;
}

.merdeka-sticky small,
.merdeka-sticky strong {
  display: block;
}

.merdeka-sticky small {
  color: var(--my-red);
  font-size: 6px;
  font-weight: 700;
  letter-spacing: .14em;
}

.merdeka-sticky strong {
  margin-top: 2px;
  color: var(--my-blue-deep);
  font-family: var(--my-serif);
  font-size: 17px;
}

.merdeka-sticky a {
  display: flex;
  min-width: 142px;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  border-radius: 999px;
  background: var(--my-red);
  color: #fff;
  padding: 0 12px 0 18px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .12em;
}

.merdeka-sticky a b {
  font-size: 15px;
}

/* Checkout bottom sheet */
body.coach-v4.order-popup-open {
  overflow: hidden;
}

.coach-v4 .order-popup {
  z-index: 120;
  width: min(100%, 430px);
  background: rgba(1, 20, 45, .68);
  backdrop-filter: blur(5px);
}

.coach-v4 .order-dialog {
  max-height: min(94dvh, 820px);
  border-radius: 28px 28px 0 0;
  background: var(--my-paper);
  box-shadow: 0 -22px 60px rgba(1, 20, 45, .35);
}

.coach-v4 .order-close {
  top: 12px;
  right: 12px;
  width: 39px;
  height: 39px;
  border: 0;
  background: #eef3f9;
  color: var(--my-blue-deep);
}

.coach-v4 .order-head {
  min-height: 71px;
  gap: 4px;
  border-bottom: 4px solid var(--my-red);
  padding: 14px 54px 11px;
  background: var(--my-paper);
}

.coach-v4 .order-head::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 2px;
  background: #fff;
  content: "";
}

.coach-v4 .order-head img {
  width: 125px;
}

.coach-v4 .order-head span {
  color: var(--my-blue);
  font-size: 7px;
  letter-spacing: .13em;
}

.coach-v4 .order-body {
  padding: 12px 12px max(18px, env(safe-area-inset-bottom));
}

.coach-v4 .order-product {
  grid-template-columns: 126px minmax(0, 1fr);
  min-height: 145px;
  gap: 12px;
  border: 0;
  border-radius: 21px;
  background: #eef3f9;
  padding: 10px;
}

.coach-v4 .order-product-media,
.coach-v4 .order-product-media img {
  width: 126px;
  height: 140px;
}

.coach-v4 .order-product-media {
  overflow: hidden;
  border-radius: 15px;
  background: #fff;
}

.coach-v4 .order-product-media::before {
  width: 27px;
  height: 27px;
  border: 2px solid #dce4ed;
  border-top-color: var(--my-red);
  opacity: 0;
  animation: merdeka-spin .75s linear infinite;
}

.coach-v4 .order-product-media.is-loading::before {
  opacity: 1;
}

@keyframes merdeka-spin {
  to { transform: rotate(360deg); }
}

.coach-v4 .merdeka-order-eyebrow {
  margin-bottom: 7px;
  color: var(--my-red);
  font-size: 7px;
}

.coach-v4 .order-product-copy h3 {
  margin-bottom: 7px;
  color: var(--my-blue-deep);
  font-family: var(--my-serif);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.1;
  text-transform: none;
}

.coach-v4 .order-product-compare {
  color: #8e969e;
  font-size: 9px;
  font-weight: 500;
}

.coach-v4 .order-product-price-row strong {
  color: var(--my-red);
  font-size: 21px;
}

.coach-v4 .order-product-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: 8px;
  border-radius: 16px;
  background: var(--my-blue);
  padding: 10px 5px;
}

.coach-v4 .order-product-trust span {
  justify-content: center;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 7px;
  font-weight: 600;
  text-align: center;
}

.coach-v4 .order-product-trust span::before {
  display: none;
}

.coach-v4 .order-form {
  gap: 9px;
  margin-top: 10px;
}

.coach-v4 .merdeka-field-label,
.coach-v4 .order-field-grid label {
  gap: 5px;
  color: var(--my-blue-deep);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .04em;
}

.coach-v4 .merdeka-field-label small {
  color: var(--my-muted);
  font-size: 7px;
  font-weight: 400;
}

.coach-v4 .order-form input[type="text"],
.coach-v4 .order-form input[type="tel"],
.coach-v4 .order-form input[type="email"],
.coach-v4 .order-form select {
  min-height: 48px;
  border: 1px solid #c9d4e0;
  border-radius: 14px;
  background: #fff;
  color: var(--my-ink);
  padding: 0 13px;
  font-size: 12px;
  outline: none;
}

.coach-v4 .order-form input:focus,
.coach-v4 .order-form select:focus {
  border-color: var(--my-blue);
  box-shadow: 0 0 0 3px rgba(6, 58, 121, .09);
}

.coach-v4 .order-field-grid {
  grid-template-columns: 1.15fr 1fr .92fr;
  gap: 6px;
}

.coach-v4 .order-form select {
  padding-right: 21px;
  font-size: 10px;
}

.coach-v4 .order-options {
  gap: 7px;
  order: -1;
}

.coach-v4 .order-options label {
  min-height: 48px;
  border: 1px solid #c9d4e0;
  border-radius: 14px;
  background: #fff;
  padding: 8px 10px;
}

.coach-v4 .order-options label:has(input:checked) {
  border-color: var(--my-blue);
  background: #eef3f9;
  box-shadow: inset 0 0 0 1px var(--my-blue);
}

.coach-v4 .order-options input {
  accent-color: var(--my-red);
}

.coach-v4 .order-options span {
  font-size: 9px;
  font-weight: 600;
}

.coach-v4 .order-submit {
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  background: var(--my-red);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .15em;
  box-shadow: 0 12px 24px rgba(169, 14, 22, .2);
}

.coach-v4 .order-note {
  color: var(--my-muted);
  font-size: 8px;
  line-height: 1.45;
  text-align: center;
}

/* Thank-you page */
body.v4-thanks-page {
  padding-bottom: 0;
}

.v4-thanks-main {
  background: var(--my-cream);
  padding: 17px 13px 31px;
}

.v4-thanks-hero {
  display: grid;
  justify-items: center;
  border-radius: 26px;
  background: var(--my-blue);
  color: #fff;
  padding: 42px 23px 38px;
  text-align: center;
  box-shadow: inset 0 8px 0 var(--my-red);
}

.v4-thanks-check {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 21px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
  background: var(--my-red);
}

.v4-thanks-check svg {
  width: 38px;
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.v4-thanks-hero > p,
.v4-thanks-title > p,
.v4-thanks-next > p {
  margin: 0 0 9px;
  color: var(--my-yellow);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .19em;
}

.v4-thanks-hero h1 {
  margin: 0;
  font-family: var(--my-serif);
  font-size: 44px;
  font-weight: 500;
  line-height: 1;
}

.v4-thanks-hero > span {
  max-width: 310px;
  margin-top: 14px;
  color: rgba(255, 255, 255, .76);
  font-size: 11px;
  line-height: 1.55;
}

.v4-thanks-page .thanks-summary {
  margin-top: 13px;
  border-radius: 26px;
  background: var(--my-paper);
  padding: 27px 18px 20px;
}

.v4-thanks-title h2,
.v4-thanks-next h2 {
  margin: 0;
  font-family: var(--my-serif);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.05;
}

.v4-thanks-page .thanks-products:empty {
  display: none;
}

.v4-thanks-page .thanks-products {
  display: grid;
  gap: 8px;
  margin: 20px 0 8px;
}

.v4-thanks-page .thanks-product {
  display: grid;
  grid-template-columns: 68px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 84px;
  border-radius: 16px;
  background: #eef3f9;
  padding: 8px;
}

.v4-thanks-page .thanks-product img {
  width: 68px;
  height: 68px;
  border-radius: 12px;
  background: #fff;
  object-fit: contain;
}

.v4-thanks-page .thanks-product h3 {
  margin: 0;
  font-family: var(--my-serif);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.25;
}

.v4-thanks-page .thanks-product p {
  margin: 5px 0 0;
  color: var(--my-muted);
  font-size: 8px;
}

.v4-thanks-page .thanks-lines {
  margin-top: 20px;
  border-top: 1px solid var(--my-line);
}

.v4-thanks-page .thanks-line {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 10px;
  border-bottom: 1px solid var(--my-line);
  padding: 13px 2px;
}

.v4-thanks-page .thanks-line span {
  color: var(--my-muted);
  font-size: 9px;
}

.v4-thanks-page .thanks-line strong {
  font-size: 10px;
  font-weight: 600;
  text-align: right;
  overflow-wrap: anywhere;
}

.v4-thanks-page .v4-thanks-total {
  border-bottom: 0;
}

.v4-thanks-page .v4-thanks-total strong {
  color: var(--my-red);
  font-family: var(--my-serif);
  font-size: 21px;
}

.v4-thanks-next {
  margin-top: 13px;
  border-radius: 26px;
  background: var(--my-red);
  color: #fff;
  padding: 29px 22px;
}

.v4-thanks-next > span {
  display: block;
  margin-top: 13px;
  color: rgba(255, 255, 255, .72);
  font-size: 10px;
  line-height: 1.55;
}

.v4-thanks-next a {
  display: grid;
  min-height: 46px;
  margin-top: 22px;
  place-items: center;
  border-radius: 999px;
  background: var(--my-yellow);
  color: var(--my-blue-deep);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .14em;
}

.v4-thanks-page .merdeka-footer {
  padding-bottom: max(34px, env(safe-area-inset-bottom));
}

.coach-v4 :focus-visible {
  outline: 2px solid var(--my-yellow);
  outline-offset: 3px;
}

@media (max-width: 360px) {
  .merdeka-country strong {
    display: none;
  }

  .merdeka-hero-photo {
    height: 380px;
  }

  .merdeka-products {
    padding-right: 8px;
    padding-left: 8px;
  }

  .coach-v4 .products-grid {
    gap: 9px 7px;
  }

  .coach-v4 .product-name {
    font-size: 9px;
  }

  .coach-v4 .order-field-grid {
    grid-template-columns: 1fr 1fr;
  }

  .coach-v4 .order-field-grid label:last-child {
    grid-column: 1 / -1;
  }
}

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