body.tk-shop-theme3 {
  --th3-field-bg: var(--bg-panel, #fff);
  --th3-field-border: var(--line, #d8e2d6);
  --th3-focus: rgba(78, 124, 100, .2);
}

.tk-shop-theme3 .prod-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.tk-shop-theme3 .category-picker {
  position: relative;
  width: min(100%, 360px);
  margin-bottom: 12px;
}

.tk-shop-theme3 .category-picker summary {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-panel);
  color: var(--forest);
  font-size: 14px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(22, 51, 42, .06);
}

.tk-shop-theme3 .category-picker summary::-webkit-details-marker { display: none; }
.tk-shop-theme3 .category-picker summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.tk-shop-theme3 .category-picker[open] summary { border-color: var(--sage); border-radius: 12px 12px 0 0; }
.tk-shop-theme3 .category-picker__label { display: inline-flex; min-width: 0; align-items: center; gap: 10px; }
.tk-shop-theme3 .category-picker__label span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-shop-theme3 .category-picker__chevron { transition: transform .2s ease; }
.tk-shop-theme3 .category-picker[open] .category-picker__chevron { transform: rotate(180deg); }

.tk-shop-theme3 .category-picker__menu {
  position: absolute;
  z-index: 20;
  top: calc(100% - 1px);
  right: 0;
  left: 0;
  max-height: min(55vh, 320px);
  overflow-y: auto;
  padding: 6px;
  border: 1px solid var(--sage);
  border-top: 0;
  border-radius: 0 0 12px 12px;
  background: var(--bg-panel);
  box-shadow: 0 12px 24px rgba(22, 51, 42, .14);
}

.tk-shop-theme3 .category-picker__option {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 14px;
}

.tk-shop-theme3 .category-picker__option:hover,
.tk-shop-theme3 .category-picker__option:focus-visible { background: var(--sage-light); color: var(--forest); }
.tk-shop-theme3 .category-picker__option.is-active { background: var(--forest); color: #fff; }
.tk-shop-theme3 .category-picker__option i { width: 18px; flex: 0 0 18px; text-align: center; }

.tk-shop-theme3 .tk-massive-search-theme .tk-product-search { max-width: 100% !important; }
.tk-shop-theme3 .tk-massive-search-theme .tk-product-search__form {
  min-height: 3.15rem !important;
  padding: .2rem .3rem .2rem .9rem !important;
  border: 1px solid var(--line) !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .06) !important;
}
.tk-shop-theme3 .tk-massive-search-theme .tk-product-search__input { padding: .35rem !important; font-size: 1rem !important; }
.tk-shop-theme3 .tk-massive-search-theme .tk-product-search__camera,
.tk-shop-theme3 .tk-massive-search-theme .tk-product-search__submit { width: 2.55rem !important; height: 2.55rem !important; font-size: 1rem !important; }

body.tk-shop-theme3 main input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
body.tk-shop-theme3 main select,
body.tk-shop-theme3 main textarea,
.cn-auth-fullpage--shop .cn-input,
.cn-auth-fullpage--shop select,
.cn-auth-fullpage--shop textarea,
.cn-profile-wrap input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.cn-profile-wrap select,
.cn-profile-wrap textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--th3-field-border, var(--line, #d8e2d6));
  border-radius: 12px;
  background: var(--th3-field-bg, var(--bg-panel, #fff));
  color: var(--ink, #152420);
  font: inherit;
  line-height: 1.45;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

body.tk-shop-theme3 main textarea,
.cn-auth-fullpage--shop textarea,
.cn-profile-wrap textarea {
  min-height: 112px;
  resize: vertical;
}

body.tk-shop-theme3 main input::placeholder,
body.tk-shop-theme3 main textarea::placeholder,
.cn-auth-fullpage--shop input::placeholder,
.cn-auth-fullpage--shop textarea::placeholder {
  color: #82918a;
  opacity: 1;
}

body.tk-shop-theme3 main input:focus,
body.tk-shop-theme3 main select:focus,
body.tk-shop-theme3 main textarea:focus,
.cn-auth-fullpage--shop .cn-input:focus,
.cn-auth-fullpage--shop select:focus,
.cn-auth-fullpage--shop textarea:focus,
.cn-profile-wrap input:focus,
.cn-profile-wrap select:focus,
.cn-profile-wrap textarea:focus {
  outline: none;
  border-color: var(--sage, #4e7c64);
  box-shadow: 0 0 0 4px var(--th3-focus);
}

body.tk-shop-theme3 main label,
.cn-auth-fullpage--shop .cn-label,
.cn-profile-wrap form label {
  color: var(--forest, #16332a);
  font-size: .9rem;
  font-weight: 600;
}

body.tk-shop-theme3 main input[type="checkbox"],
body.tk-shop-theme3 main input[type="radio"],
.cn-auth-fullpage--shop input[type="checkbox"],
.cn-auth-fullpage--shop input[type="radio"],
.cn-profile-wrap input[type="checkbox"],
.cn-profile-wrap input[type="radio"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  accent-color: var(--forest, #16332a);
}

body.tk-shop-theme3 main button[type="submit"],
.cn-auth-fullpage--shop button[type="submit"],
.cn-profile-wrap button[type="submit"] {
  min-height: 48px;
  border-radius: 12px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

body.tk-shop-theme3 main button[type="submit"]:not(:disabled):hover,
.cn-auth-fullpage--shop button[type="submit"]:not(:disabled):hover,
.cn-profile-wrap button[type="submit"]:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(22, 51, 42, .16);
}

body.tk-shop-theme3 main button:focus-visible,
.cn-auth-fullpage--shop button:focus-visible,
.cn-profile-wrap button:focus-visible,
body.tk-shop-theme3 main a:focus-visible,
.cn-auth-fullpage--shop a:focus-visible {
  outline: 3px solid var(--gold, #b4802a);
  outline-offset: 3px;
}

.th3-form-page {
  width: min(100% - 32px, 620px);
  margin: clamp(28px, 6vw, 64px) auto;
}

.th3-form-card {
  padding: clamp(22px, 5vw, 40px);
  border: 1px solid var(--line, #d8e2d6);
  border-radius: 22px;
  background: var(--bg-panel, #fff);
  box-shadow: 0 18px 50px rgba(22, 51, 42, .08);
}

.th3-form-card h1,
.th3-form-card h2 {
  margin-bottom: 8px;
  color: var(--forest, #16332a);
  font-size: clamp(24px, 4vw, 32px);
}

.th3-form-card > p {
  margin-bottom: 24px;
  color: var(--ink-soft, #3e524b);
}

.th3-form-card form {
  display: grid;
  gap: 16px;
}

.th3-form-card form label {
  display: grid;
  gap: 7px;
}

.th3-password-field {
  position: relative;
}

.th3-password-field input {
  padding-right: 48px !important;
}

.th3-password-field button {
  position: absolute;
  top: 50%;
  right: 10px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  transform: translateY(-50%);
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ink-soft, #3e524b);
  cursor: pointer;
}

.th3-form-card form button[type="submit"] {
  width: 100%;
  padding: 12px 20px;
  border: 0;
  background: var(--forest, #16332a);
  color: #fff;
}

.cn-auth-fullpage--shop {
  --shop-primary: #16332a;
  --shop-primary-hover: #0e241c;
  --shop-secondary: #b4802a;
  min-height: 100vh;
}

.cn-auth-fullpage--shop .cn-login-visual--shop {
  background: linear-gradient(150deg, #16332a 0%, #214b3b 62%, #315f4a 100%);
}

.cn-auth-fullpage--shop .cn-auth-panel {
  padding: clamp(24px, 5vw, 56px);
}

.cn-auth-fullpage--shop .cn-auth-title {
  color: var(--forest, #16332a);
  font-size: clamp(28px, 4vw, 38px);
}

.cn-auth-fullpage--shop .cn-auth-form {
  gap: 16px;
}

.cn-auth-fullpage--shop .cn-btn-primary {
  min-height: 50px;
  border-radius: 12px;
  background: var(--forest, #16332a);
}

.cn-auth-fullpage--shop {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  align-items: stretch;
  gap: clamp(24px, 5vw, 72px);
  padding: clamp(18px, 3vw, 42px);
  background:
    radial-gradient(ellipse at 86% 12%, rgba(180, 128, 42, .12), transparent 32%),
    linear-gradient(135deg, #f4f7f2 0%, #edf3ed 52%, #faf8f1 100%);
}

.cn-auth-fullpage--shop .cn-login-visual--shop {
  position: relative;
  display: flex;
  min-height: min(780px, calc(100svh - 2 * clamp(18px, 3vw, 42px)));
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: clamp(32px, 5vw, 76px);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 32px;
  box-shadow: 0 28px 70px rgba(22, 51, 42, .18);
}

.cn-auth-fullpage--shop .cn-login-visual--shop::after {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 16%, rgba(226, 190, 117, .24), transparent 28%),
    linear-gradient(145deg, rgba(8, 27, 19, .12), rgba(8, 27, 19, .48));
  content: "";
  pointer-events: none;
}

.cn-auth-fullpage--shop .cn-auth-visual-inner,
.cn-auth-fullpage--shop .cn-auth-visual-footer {
  position: relative;
  z-index: 1;
}

.cn-auth-fullpage--shop .cn-auth-visual-inner {
  max-width: 560px;
}

.cn-auth-fullpage--shop .cn-shop-visual-brand {
  margin-bottom: clamp(36px, 7vh, 76px);
}

.cn-auth-fullpage--shop .cn-auth-visual-inner h2 {
  max-width: 560px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -.045em;
}

.cn-auth-fullpage--shop .cn-shop-visual-lead {
  max-width: 460px;
  margin-top: 16px;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.75;
}

.cn-auth-fullpage--shop .cn-login-perks {
  display: grid;
  max-width: 470px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 32px;
}

.cn-auth-fullpage--shop .cn-login-perk {
  min-height: 58px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px);
}

.cn-auth-fullpage--shop .cn-auth-panel {
  align-self: center;
  width: min(100%, 620px);
  margin-inline: auto;
  padding: clamp(26px, 4vw, 52px);
  border: 1px solid rgba(216, 226, 214, .9);
  border-radius: 28px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 24px 70px rgba(22, 51, 42, .11);
}

.cn-auth-fullpage--shop .cn-auth-top-brand {
  margin-bottom: 34px;
}

.cn-auth-fullpage--shop .cn-auth-title {
  margin-bottom: 8px;
  font-size: clamp(30px, 4vw, 42px);
  letter-spacing: -.035em;
}

.cn-auth-fullpage--shop .cn-auth-lead {
  margin-bottom: 30px;
  color: #64736b;
  font-size: 15px;
}

.cn-auth-fullpage--shop .cn-auth-form {
  gap: 12px;
}

.cn-auth-fullpage--shop .cn-auth-form .cn-label {
  display: block;
  min-height: 1.25rem;
  margin: 0;
  color: #2e453a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .015em;
}

.cn-auth-fullpage--shop .cn-auth-form .cn-input-wrap {
  position: relative;
  margin-bottom: 0;
}

.cn-auth-fullpage--shop .cn-auth-form .cn-input {
  min-height: 54px;
  padding: 13px 48px 13px 16px !important;
  border-color: #dce5dd;
  border-radius: 14px;
  background: #fbfcfa;
  font-size: 15px;
}

.cn-auth-fullpage--shop .cn-auth-form .cn-input:focus {
  border-color: #4e7c64;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(78, 124, 100, .13);
}

.cn-auth-fullpage--shop .cn-auth-form .field-icon {
  display: none;
}

.cn-auth-fullpage--shop .cn-auth-form [data-password-toggle] {
  right: 8px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #718278;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}

.cn-auth-fullpage--shop .cn-auth-form [data-password-toggle]:hover {
  background: #edf3ed;
  color: #16332a;
}

.cn-auth-fullpage--shop .th3-auth-options {
  display: flex;
  justify-content: flex-end;
  margin-top: -8px;
  font-size: 14px;
}

.cn-auth-fullpage--shop .cn-btn-primary {
  min-height: 56px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #16332a, #315f4a);
  box-shadow: 0 10px 22px rgba(22, 51, 42, .17);
  font-size: 15px;
  letter-spacing: .01em;
}

.cn-auth-fullpage--shop .cn-auth-footer-link {
  margin-top: 22px;
  color: #64736b;
  font-size: 14px;
  text-align: center;
}

.cn-auth-fullpage--shop .cn-auth-footer-link a,
.cn-auth-fullpage--shop .th3-auth-options a {
  color: #285941;
  font-weight: 700;
}

.cn-auth-fullpage--shop .cn-auth-form > .grid {
  gap: 14px;
}

.cn-auth-fullpage--shop .cn-auth-form > .grid > div {
  display: grid;
  gap: 8px;
}

.cn-auth-fullpage--shop .cn-auth-form > .grid > div > .cn-label {
  min-height: 0;
}

.cn-auth-fullpage--shop .cn-auth-form input[type="checkbox"] {
  flex: 0 0 18px;
  margin-top: 2px;
}

@media (max-width: 900px) {
  .cn-auth-fullpage--shop {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .cn-auth-fullpage--shop .cn-login-visual--shop {
    min-height: auto;
    padding: 30px;
    border-radius: 24px;
  }

  .cn-auth-fullpage--shop .cn-shop-visual-brand {
    margin-bottom: 28px;
  }

  .cn-auth-fullpage--shop .cn-login-perks {
    margin-top: 22px;
  }
}

@media (max-width: 560px) {
  .cn-auth-fullpage--shop {
    gap: 12px;
    padding: 12px;
  }

  .cn-auth-fullpage--shop .cn-login-visual--shop {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .cn-auth-fullpage--shop .cn-auth-visual-inner h2 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .cn-auth-fullpage--shop .cn-login-perks {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
    margin-top: 18px;
  }

  .cn-auth-fullpage--shop .cn-login-perk {
    min-height: 46px;
    padding: 9px 12px;
  }

  .cn-auth-fullpage--shop .cn-auth-panel {
    padding: 24px 18px;
    border-radius: 22px;
  }

  .cn-auth-fullpage--shop .cn-auth-top-brand {
    margin-bottom: 24px;
  }

  .cn-auth-fullpage--shop .cn-auth-form > .grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}

.tk-shop-theme3 .th3-checkout-form {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .85fr) !important;
  align-items: start !important;
  gap: clamp(18px, 3vw, 32px) !important;
}

.tk-shop-theme3 .th3-checkout-fields {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tk-shop-theme3 .th3-form-panel {
  padding: clamp(18px, 3vw, 26px) !important;
  border: 1px solid var(--line) !important;
  border-radius: 18px !important;
  background: var(--bg-panel) !important;
  box-shadow: 0 8px 24px rgba(22, 51, 42, .045);
}

.tk-shop-theme3 .th3-checkout-form h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--forest);
  font-family: 'Fraunces', serif;
  font-size: 21px;
}

.tk-shop-theme3 .th3-checkout-form label:has(input[type="radio"]) {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  transition: border-color .18s ease, background-color .18s ease;
}

.tk-shop-theme3 .th3-checkout-form label:has(input[type="radio"]:checked) {
  border-color: var(--sage);
  background: var(--sage-light);
}

.tk-shop-theme3 .th3-checkout-form input[type="radio"] {
  flex: 0 0 18px;
}

.tk-shop-theme3 .th3-checkout-summary {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tk-shop-theme3 .th3-checkout-form .space-y-4,
.tk-shop-theme3 .th3-checkout-form .space-y-3,
.tk-shop-theme3 .th3-checkout-form .space-y-2 {
  display: grid;
  gap: 14px;
}

.tk-shop-theme3 .th3-checkout-form [class~="grid-cols-1"][class~="md:grid-cols-2"] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tk-shop-theme3 .th3-checkout-form label:has(input[type="radio"]) {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.tk-shop-theme3 .th3-checkout-form label:has(input[type="radio"]) > div {
  flex: 1 1 auto;
  min-width: 0;
}

.tk-shop-theme3 .th3-checkout-form label:has(input[type="radio"]) > div > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tk-shop-theme3 .th3-checkout-form .flex.items-center.justify-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tk-shop-theme3 .cart-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--bg-panel);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(22, 51, 42, .045);
}

.tk-shop-theme3 .cart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(270px, .8fr);
  align-items: start;
  gap: clamp(18px, 3vw, 32px);
}

.tk-shop-theme3 .cart-item-top {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.tk-shop-theme3 .cart-item-actions {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.tk-shop-theme3 .cart-item input[type="number"] {
  width: 76px !important;
  min-height: 42px;
}

.tk-shop-theme3 .cart-summary {
  border-radius: 18px !important;
  box-shadow: 0 12px 30px rgba(22, 51, 42, .07);
}

.cn-profile-wrap .cn-profile-card {
  padding: clamp(18px, 3vw, 28px);
  box-shadow: 0 8px 24px rgba(22, 51, 42, .045);
}

.cn-profile-wrap {
  max-width: 1180px;
  margin: 40px auto;
  padding: 0 24px;
  font-family: 'Work Sans', sans-serif;
}

.cn-profile-wrap .cn-profile-hero h1 {
  color: var(--forest);
  font-family: 'Fraunces', serif;
}

.cn-profile-wrap .cn-profile-nav a.active {
  background: var(--forest) !important;
  color: #fff !important;
}

.cn-profile-wrap .btn-primary {
  background: var(--forest) !important;
  color: #fff !important;
}

.cn-profile-wrap form {
  display: grid;
  gap: 16px;
}

.th3-order-page {
  width: min(100% - 32px, 1080px);
  max-width: 1080px;
  margin: clamp(28px, 5vw, 58px) auto;
  color: var(--ink);
}

.th3-order-detail-page > .flex:first-child {
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 28px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 95% 10%, rgba(180, 128, 42, .13), transparent 28%),
    linear-gradient(130deg, var(--bg-panel), var(--sage-light));
}

.th3-order-detail-page > .flex:first-child h1,
.th3-orders-heading h1,
.th3-order-confirmation > .text-center h1 {
  color: var(--forest);
  font-family: 'Fraunces', serif;
  font-size: clamp(30px, 5vw, 48px);
  letter-spacing: -.035em;
  line-height: 1.08;
}

.th3-order-detail-page > .flex:first-child > div > p:first-child,
.th3-orders-eyebrow {
  color: var(--sage);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.th3-order-detail-page > .flex:first-child > a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 17px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-panel);
  color: var(--forest);
  font-weight: 700;
  transition: transform .18s ease, box-shadow .18s ease;
}

.th3-order-detail-page > .flex:first-child > a::before {
  content: "\f060";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.th3-order-card,
.th3-order-callout {
  padding: clamp(20px, 3vw, 30px) !important;
  border: 1px solid var(--line) !important;
  border-radius: 20px !important;
  background: var(--bg-panel) !important;
  box-shadow: 0 12px 32px rgba(22, 51, 42, .055) !important;
}

.th3-order-card h2,
.th3-order-card h3,
.th3-order-callout h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px !important;
  color: var(--forest) !important;
  font-family: 'Fraunces', serif;
  font-size: clamp(19px, 2.3vw, 23px) !important;
}

.th3-order-card .border-b {
  border-color: var(--line) !important;
}

.th3-order-callout {
  background: linear-gradient(135deg, var(--bg-panel), var(--sage-light)) !important;
}

.th3-order-detail-page .lg\:grid-cols-3 {
  align-items: start;
}

.th3-order-detail-page button:disabled {
  border-radius: 12px !important;
}

.th3-orders-page {
  max-width: 980px;
}

.th3-orders-heading {
  position: relative;
  margin-bottom: 24px;
  padding: clamp(24px, 4vw, 38px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 16%, rgba(180, 128, 42, .16), transparent 26%),
    linear-gradient(135deg, var(--bg-panel), var(--sage-light));
}

.th3-orders-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.th3-orders-heading h1 {
  margin: 0 0 10px !important;
}

.th3-orders-heading > p {
  max-width: 560px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.th3-orders-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--bg-panel);
  box-shadow: 0 18px 44px rgba(22, 51, 42, .07);
}

.th3-order-row {
  align-items: center;
  gap: 22px;
  padding: 22px clamp(18px, 3vw, 30px) !important;
  border-color: var(--line) !important;
  transition: background-color .18s ease;
}

.th3-order-row:hover {
  background: color-mix(in srgb, var(--sage-light) 34%, var(--bg-panel));
}

.th3-order-row > div:first-child {
  min-width: 0;
}

.th3-order-row > div:first-child p:first-child {
  color: var(--sage);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.th3-order-row > div:first-child p:nth-child(2) {
  margin-top: 5px;
  color: var(--forest);
  font-size: 17px;
}

.th3-order-row > div:last-child > p {
  color: var(--forest);
  font-size: 19px;
}

.th3-order-row > div:last-child > a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border-radius: 12px;
  background: var(--forest);
  color: #fff;
  font-weight: 700;
  transition: transform .18s ease, background-color .18s ease;
}

.th3-order-row > div:last-child > a::after {
  content: "\f061";
  font-family: "Font Awesome 6 Free";
  font-size: 12px;
  font-weight: 900;
}

.th3-order-row > div:last-child > a:hover {
  transform: translateY(-1px);
  background: var(--sage);
}

.th3-orders-empty {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 54px 24px !important;
  color: var(--ink-soft);
}

.th3-orders-empty i {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 18px;
  background: var(--sage-light);
  color: var(--forest);
  font-size: 22px;
}

.th3-order-confirmation > .text-center {
  margin-bottom: 30px !important;
}

.th3-confirmation-icon {
  width: 76px !important;
  height: 76px !important;
  border: 7px solid rgba(78, 124, 100, .12);
  background: var(--forest) !important;
  color: #f3e4c6 !important;
  box-shadow: 0 12px 28px rgba(22, 51, 42, .18);
}

.th3-confirmation-icon i {
  color: inherit !important;
}

.th3-order-confirmation > .text-center h1 {
  margin-bottom: 12px !important;
}

.th3-order-confirmation > .text-center p {
  color: var(--ink-soft) !important;
  font-size: 16px !important;
}

.th3-confirmation-sheet {
  padding: clamp(16px, 3vw, 28px) !important;
  border: 1px solid var(--line) !important;
  border-radius: 26px !important;
  background: color-mix(in srgb, var(--bg-panel) 94%, var(--sage-light)) !important;
  box-shadow: 0 24px 64px rgba(22, 51, 42, .09) !important;
}

.th3-confirmation-sheet .th3-order-card,
.th3-confirmation-sheet .th3-order-callout {
  box-shadow: 0 10px 26px rgba(22, 51, 42, .045) !important;
}

.th3-confirmation-sheet h3 {
  color: var(--forest) !important;
  font-family: 'Fraunces', serif;
}

.th3-confirmation-sheet .text-gray-600,
.th3-confirmation-sheet .text-gray-500 {
  color: var(--ink-soft) !important;
}

.th3-confirmation-sheet .text-gray-800,
.th3-confirmation-sheet .text-gray-900 {
  color: var(--forest) !important;
}

.th3-confirmation-sheet .text-green-600 {
  color: var(--sage) !important;
}

.th3-confirmation-sheet .th3-order-card img {
  border-color: var(--line) !important;
  border-radius: 12px !important;
}

.th3-confirmation-actions {
  border-color: var(--line) !important;
}

.th3-confirmation-actions a {
  min-height: 48px;
  border: 1px solid var(--forest) !important;
  border-radius: 13px !important;
  background: var(--forest) !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(22, 51, 42, .12);
}

.th3-confirmation-actions a:nth-child(2) {
  background: transparent !important;
  color: var(--forest) !important;
}

.th3-register-confirmation {
  padding: clamp(22px, 5vw, 60px) 20px !important;
  background:
    radial-gradient(ellipse at 12% 10%, rgba(180, 128, 42, .11), transparent 28%),
    linear-gradient(145deg, #f4f7f2, #eef4ee 52%, #faf8f2);
}

.th3-register-confirmation__content {
  max-width: 900px !important;
}

.th3-register-confirmation__hero {
  margin-bottom: 28px !important;
}

.th3-register-confirmation__hero > div:first-child {
  width: 82px !important;
  height: 82px !important;
  animation: none !important;
  background: var(--forest) !important;
  box-shadow: 0 12px 28px rgba(22, 51, 42, .16);
}

.th3-register-confirmation__hero > div:first-child i {
  color: #f3e4c6 !important;
}

.th3-register-confirmation__hero > div:nth-child(2) {
  background: var(--forest) !important;
  box-shadow: none !important;
  letter-spacing: .08em;
}

.th3-register-confirmation__hero h1 {
  color: var(--forest) !important;
  font-family: 'Fraunces', serif;
  font-size: clamp(34px, 6vw, 56px) !important;
  letter-spacing: -.04em;
}

.th3-register-confirmation .gradient-text {
  background: linear-gradient(120deg, var(--sage), var(--gold));
}

.th3-register-confirmation__hero > p {
  color: var(--ink-soft) !important;
}

.th3-register-confirmation__hero > div:last-child {
  border-color: var(--line) !important;
  border-radius: 15px !important;
  background: var(--bg-panel) !important;
  box-shadow: 0 8px 22px rgba(22, 51, 42, .045);
}

.th3-register-confirmation__hero > div:last-child p {
  color: var(--forest) !important;
}

.th3-register-confirmation__card {
  padding: clamp(22px, 4vw, 38px) !important;
  border: 1px solid var(--line);
  border-radius: 22px !important;
  background: var(--bg-panel);
  box-shadow: 0 16px 42px rgba(22, 51, 42, .065) !important;
}

.th3-register-confirmation__card h2 {
  color: var(--forest) !important;
  font-family: 'Fraunces', serif;
}

.th3-register-confirmation__card h2 i {
  color: var(--sage) !important;
}

.th3-register-confirmation__card .info-card {
  height: 100%;
  border-color: var(--line) !important;
  border-radius: 16px !important;
  background: var(--bg) !important;
  box-shadow: none;
}

.th3-register-confirmation__card .info-card:hover {
  border-color: var(--sage) !important;
  box-shadow: 0 12px 26px rgba(22, 51, 42, .08);
}

.th3-register-confirmation__card .info-card p,
.th3-register-confirmation__card .info-card h3 {
  color: var(--forest) !important;
}

.th3-register-confirmation__card .info-card > div:first-child {
  flex-shrink: 0;
}

.th3-register-confirmation__card .copy-btn {
  min-height: 40px;
  border-radius: 11px !important;
  color: var(--forest) !important;
}

.th3-register-confirmation__actions a {
  min-height: 52px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px !important;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(22, 51, 42, .08);
}

.th3-register-confirmation__actions a:first-child {
  border-color: var(--forest);
  background: var(--forest) !important;
}

.th3-register-confirmation__actions a:not(:first-child) {
  color: var(--forest) !important;
}

body.tk-profile-mode.theme-groupea_theme3 {
  --cn-blue: #315f4a;
  --cn-orange: #b4802a;
  --cn-orange-dark: #8c641f;
}

body.tk-profile-mode.theme-groupea_theme3 .cn-profile-page {
  background:
    radial-gradient(ellipse at 88% 0, rgba(180, 128, 42, .09), transparent 30%),
    linear-gradient(180deg, #f4f7f2, #fbfcfa 42%);
}

body.tk-profile-mode.theme-groupea_theme3 .cn-profile-wrap {
  max-width: 1240px;
}

body.tk-profile-mode.theme-groupea_theme3 .cn-profile-hero {
  padding: 26px 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(120deg, var(--bg-panel), var(--sage-light));
}

body.tk-profile-mode.theme-groupea_theme3 .cn-profile-hero h1,
body.tk-profile-mode.theme-groupea_theme3 .cn-profile-name {
  color: var(--forest);
  font-family: 'Fraunces', serif;
}

body.tk-profile-mode.theme-groupea_theme3 .cn-profile-sidebar,
body.tk-profile-mode.theme-groupea_theme3 .cn-profile-card {
  border-color: var(--line);
  border-radius: 20px;
  box-shadow: 0 14px 38px rgba(22, 51, 42, .065);
}

body.tk-profile-mode.theme-groupea_theme3 .cn-profile-nav a.active {
  background: var(--forest) !important;
  color: #fff !important;
}

body.tk-profile-mode.theme-groupea_theme3 .cn-profile-nav a:hover:not(.active) {
  background: var(--sage-light);
  color: var(--forest);
}

body.tk-profile-mode.theme-groupea_theme3 .cn-profile-card h3 {
  color: var(--forest);
  font-family: 'Fraunces', serif;
}

body.tk-profile-mode.theme-groupea_theme3 .tk-forum-footer {
  border-top: 1px solid var(--line);
  background: #f4f7f2;
}

body.tk-profile-mode.theme-groupea_theme3 .tk-forum-signature {
  color: var(--ink-soft);
}

body.tk-profile-mode.theme-groupea_theme3 .tk-forum-signature span {
  color: var(--forest);
  font-weight: 700;
}

@media (max-width: 820px) {
  .tk-shop-theme3 .prod-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .tk-shop-theme3 .th3-checkout-form {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .tk-shop-theme3 .th3-checkout-summary {
    order: -1;
  }

  .tk-shop-theme3 .cart-summary {
    position: static !important;
  }

  .tk-shop-theme3 .cart-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .tk-shop-theme3 .prod-grid-3 { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .tk-shop-theme3 .category-picker { width: 100%; }
  .th3-form-page {
    width: min(100% - 24px, 620px);
    margin: 24px auto;
  }

  .th3-form-card {
    border-radius: 18px;
  }

  .tk-shop-theme3 .th3-checkout-form label:has(input[type="radio"]) > div > div {
    align-items: flex-start;
    gap: 8px;
    flex-direction: column;
  }

  .tk-shop-theme3 .th3-checkout-form [class~="grid-cols-1"][class~="md:grid-cols-2"] {
    grid-template-columns: minmax(0, 1fr);
  }

  .tk-shop-theme3 .cart-item-top {
    min-width: 0;
  }

  .tk-shop-theme3 .cart-item {
    align-items: stretch;
    flex-direction: column;
    padding: 16px;
  }

  .cn-profile-wrap {
    margin: 24px auto;
    padding-inline: 12px;
  }

  .tk-shop-theme3 .cart-item-actions {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px dashed var(--line);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tk-shop-theme3 *,
  .cn-auth-fullpage--shop * {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

.tk-shop-theme3 .th3-checkout {
  max-width: 1220px;
  padding-top: clamp(30px, 5vw, 56px);
}

.th3-checkout .sec-head {
  margin-bottom: 24px;
}

.th3-checkout .sec-head h1 {
  margin-top: 10px;
  color: var(--forest);
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.12;
}

.th3-checkout .sec-head p {
  max-width: 60ch;
  margin-top: 10px;
  font-size: 15px;
}

.th3-checkout-eyebrow,
.th3-policy-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.tk-shop-theme3 .th3-checkout-form {
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, .9fr) !important;
  gap: clamp(18px, 2.8vw, 30px) !important;
}

.th3-checkout-fields {
  min-width: 0;
}

.th3-checkout-summary {
  min-width: 0;
  align-self: start;
}

.th3-checkout-summary .th3-order-summary {
  position: sticky;
  top: 100px;
}

.th3-checkout .th3-form-panel > h3 {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.th3-checkout .th3-form-panel > h3 i {
  display: inline-grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 12px;
  background: var(--sage-light);
  color: var(--forest);
  font-size: 15px;
}

.th3-checkout .th3-form-panel--shipping label {
  background: color-mix(in srgb, var(--bg) 74%, var(--bg-panel));
}

.th3-checkout .th3-form-panel--shipping label:has(input:checked) {
  border-color: var(--sage);
  background: var(--sage-light);
  box-shadow: 0 0 0 3px rgba(78, 124, 100, .1);
}

.th3-checkout .th3-form-panel--shipping label > div > div > span:last-child {
  color: var(--forest);
}

.th3-order-summary > .space-y-4 > div {
  gap: 12px;
}

.th3-order-summary > .space-y-4 img,
.th3-order-summary > .space-y-4 .h-12.w-12 {
  flex: 0 0 48px;
  border-radius: 11px;
  background: var(--sage-light);
}

.th3-order-summary #order-total {
  color: var(--forest);
}

.th3-checkout .bg-white.rounded-xl.shadow-md.p-6.border.border-gray-200 {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-panel);
  box-shadow: 0 8px 24px rgba(22, 51, 42, .045);
}

.th3-checkout label:has(input[name="payment_method"]) {
  border-color: var(--line) !important;
  border-radius: 13px;
  background: var(--bg) !important;
}

.th3-checkout label:has(input[name="payment_method"]:checked) {
  border-color: var(--sage) !important;
  background: var(--sage-light) !important;
}

.th3-checkout #checkout-submit-btn {
  min-height: 52px;
  border: 0;
  border-radius: 13px;
  background: var(--forest);
  color: #fff;
  box-shadow: 0 8px 18px rgba(22, 51, 42, .16);
}

.th3-checkout #checkout-submit-btn:hover {
  background: var(--sage);
}

.th3-checkout .tk-loyalty-redeem {
  border-color: var(--line);
  border-radius: 18px;
  background: var(--bg-panel);
}

.th3-checkout [class*="bg-indigo-50"] {
  border-color: var(--line);
  border-radius: 16px;
  background: var(--sage-light);
  color: var(--forest);
}

.th3-checkout [class*="bg-indigo-50"] a {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tk-shop-theme3 .th3-policy-page {
  width: min(100% - 40px, 1040px);
  margin: clamp(28px, 5vw, 58px) auto clamp(48px, 7vw, 84px);
}

.th3-policy-hero {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 30px);
  min-height: 210px;
  overflow: hidden;
  padding: clamp(28px, 5vw, 54px);
  border-radius: 24px 24px 0 0;
  background:
    radial-gradient(circle at 88% 15%, rgba(243, 228, 198, .19), transparent 25%),
    linear-gradient(135deg, #16332a 0%, #214b3b 62%, #315f4a 100%);
  color: #fff;
}

.th3-policy-hero::after {
  position: absolute;
  right: -46px;
  bottom: -112px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(243, 228, 198, .22);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 28px rgba(243, 228, 198, .035), 0 0 0 58px rgba(243, 228, 198, .025);
  pointer-events: none;
}

.th3-policy-icon {
  display: grid;
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  place-items: center;
  border: 1px solid rgba(243, 228, 198, .38);
  border-radius: 20px;
  background: rgba(255, 255, 255, .09);
  color: var(--gold-light);
  font-size: 27px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
}

.th3-policy-hero > div {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.th3-policy-hero .th3-policy-eyebrow {
  margin-bottom: 10px;
  color: var(--gold-light);
}

.th3-policy-hero h1 {
  color: #fff;
  font-size: clamp(29px, 4vw, 42px);
  line-height: 1.12;
}

.th3-policy-hero p:last-child {
  margin-top: 10px;
  color: rgba(255, 255, 255, .78);
  font-size: 15px;
  line-height: 1.6;
}

.th3-policy-document {
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 24px 24px;
  background: var(--bg-panel);
  box-shadow: 0 18px 48px rgba(22, 51, 42, .08);
}

.th3-policy-content,
.th3-policy-content .tk-legal-custom,
.th3-policy-content .tk-legal-default {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.85;
}

.th3-policy-content .tk-legal-default > div {
  margin-bottom: 28px;
  padding-bottom: 23px;
  border-bottom: 1px solid var(--line);
}

.th3-policy-content .tk-legal-default > div:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.th3-policy-content .tk-legal-default h2,
.th3-policy-content .tk-legal-default h3 {
  margin-bottom: 10px;
  color: var(--forest);
  font-family: 'Fraunces', serif;
  font-size: clamp(19px, 2.4vw, 23px);
}

.th3-policy-content .tk-legal-default p,
.th3-policy-content .tk-legal-custom p {
  margin-bottom: 12px;
}

.th3-policy-content .tk-legal-default ul {
  margin: 10px 0;
  padding-left: 22px;
}

.th3-policy-content .tk-legal-default li::marker {
  color: var(--gold);
}

.th3-order-success {
  position: relative;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 22px;
  width: min(100%, 760px);
  margin: 0 auto 28px;
  padding: clamp(22px, 4vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(78, 124, 100, .28);
  border-radius: 22px;
  background: linear-gradient(135deg, var(--bg-panel), color-mix(in srgb, var(--sage-light) 48%, var(--bg-panel)));
  box-shadow: 0 16px 42px rgba(22, 51, 42, .09);
}

.th3-order-success::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--sage));
  content: "";
}

.th3-order-success__icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(145deg, var(--forest), var(--sage));
  color: var(--gold-light);
  font-size: 25px;
  box-shadow: 0 10px 22px rgba(22, 51, 42, .18);
}

.th3-order-success__icon i {
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .18));
}

.th3-order-success__body {
  min-width: 0;
}

.th3-order-success__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--sage);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.th3-order-success__title {
  margin: 8px 0 10px;
  color: var(--forest);
  font-family: 'Fraunces', serif;
  font-size: clamp(23px, 3vw, 30px);
  line-height: 1.2;
}

.th3-order-success__ref {
  display: inline-flex;
  gap: 8px;
  padding: 8px 12px;
  border: 1px dashed var(--sage);
  border-radius: 10px;
  background: var(--bg-panel);
  color: var(--ink-soft);
}

.th3-order-success__ref strong {
  color: var(--forest);
  letter-spacing: .04em;
}

.th3-order-success__lead {
  margin: 16px 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.th3-order-success__perks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.th3-order-success__perks li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 13px;
}

.th3-order-success__perks i {
  margin-top: 3px;
  color: var(--gold);
}

.th3-order-success__cta {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border-radius: 12px;
  background: var(--forest);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(22, 51, 42, .17);
}

.th3-order-success__cta:hover {
  transform: translateY(-1px);
  background: var(--sage);
  color: #fff;
  box-shadow: 0 12px 24px rgba(22, 51, 42, .22);
}

.th3-order-success__hint {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 13px;
}

.tk-profile-mode {
  --forest: #16332a;
  --sage: #4e7c64;
  --sage-light: #dce8dd;
  --bg: #f4f7f2;
  --bg-panel: #fff;
  --gold: #b4802a;
  --gold-light: #f3e4c6;
  --ink: #152420;
  --ink-soft: #3e524b;
  --line: #d8e2d6;
}

.tk-profile-mode .cn-profile-wrap {
  max-width: 1220px;
  margin: 32px auto;
  padding: 0 24px;
}

.tk-profile-mode .cn-profile-hero {
  margin-bottom: 24px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(243, 228, 198, .2);
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 10%, rgba(243, 228, 198, .15), transparent 25%),
    linear-gradient(135deg, #16332a, #315f4a);
  color: #fff;
}

.tk-profile-mode .cn-profile-hero h1,
.tk-profile-mode .cn-profile-hero p {
  color: #fff;
}

.tk-profile-mode .cn-profile-hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 4vw, 38px);
}

.tk-profile-mode .cn-profile-hero p {
  margin-top: 6px;
  color: rgba(255, 255, 255, .76);
}

.tk-profile-mode .cn-profile-sidebar,
.tk-profile-mode .cn-profile-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-panel);
  box-shadow: 0 8px 24px rgba(22, 51, 42, .055);
}

.tk-profile-mode .cn-profile-nav a.active {
  background: var(--forest);
  color: #fff;
}

.tk-profile-mode .cn-profile-card h3 {
  color: var(--forest);
  font-family: 'Fraunces', serif;
}

.tk-profile-mode .cn-profile-actions .btn-primary,
.tk-profile-mode .cn-profile-wrap > .btn-primary {
  border-color: var(--forest);
  background: var(--forest);
  color: #fff;
}

.tk-profile-mode .cn-profile-order {
  border-color: var(--line);
  border-radius: 14px;
  background: var(--bg);
}

.tk-profile-mode .cn-profile-order a {
  color: var(--sage);
}

@media (max-width: 820px) {
  .th3-checkout .th3-checkout-form {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .th3-checkout-summary .th3-order-summary {
    position: static;
  }
}

@media (max-width: 600px) {
  .tk-shop-theme3 .th3-policy-page {
    width: min(100% - 24px, 1040px);
    margin: 22px auto 44px;
  }

  .th3-policy-hero {
    min-height: 0;
    align-items: flex-start;
    gap: 15px;
    padding: 24px 20px;
    border-radius: 18px 18px 0 0;
  }

  .th3-policy-icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    border-radius: 14px;
    font-size: 20px;
  }

  .th3-policy-document {
    padding: 23px 20px;
    border-radius: 0 0 18px 18px;
  }

  .th3-order-success {
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
    border-radius: 18px;
  }

  .th3-order-success__icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }

  .th3-order-success__perks {
    grid-template-columns: minmax(0, 1fr);
  }

  .th3-order-success__cta {
    width: 100%;
  }

  .tk-profile-mode .cn-profile-wrap {
    margin: 20px auto;
    padding: 0 12px;
  }

  .th3-order-page {
    width: min(100% - 24px, 1080px);
    margin: 22px auto 36px;
  }

  .th3-order-detail-page > .flex:first-child {
    align-items: stretch;
    flex-direction: column;
    border-radius: 19px;
  }

  .th3-order-detail-page > .flex:first-child > a {
    align-self: flex-start;
  }

  .th3-order-row > div:last-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: left !important;
  }

  .th3-confirmation-sheet {
    padding: 12px !important;
    border-radius: 20px !important;
  }

  .th3-register-confirmation {
    padding: 20px 12px !important;
  }

  .th3-register-confirmation__actions a {
    width: 100%;
    justify-content: center;
  }

  body.tk-profile-mode.theme-groupea_theme3 .cn-profile-hero {
    padding: 21px 18px;
  }
}
