/* TG_CHECKOUT_PREMIUM_HERO_20261023 */
body.woocommerce-checkout:not(.woocommerce-order-received)
.tg-checkout-premium-hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 310px;
  margin: 0 0 32px;
  border-radius: 22px;
  overflow: hidden;
  background-color: #eae7ef;
  background-image: url('../images/tg-checkout-premium-hero.png');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 20px 48px rgba(37, 24, 53, .11);
}

body.woocommerce-checkout
.tg-checkout-premium-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    90deg,
    rgba(17, 14, 28, .47) 0%,
    rgba(17, 14, 28, .18) 46%,
    rgba(17, 14, 28, 0) 78%
  );
  pointer-events: none;
}

body.woocommerce-checkout
.tg-checkout-premium-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 310px;
  padding: clamp(26px, 5vw, 65px);
  max-width: 610px;
}

body.woocommerce-checkout
.tg-checkout-premium-hero__eyebrow {
  color: #f3eefa;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .23em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

body.woocommerce-checkout
.tg-checkout-premium-hero__title {
  color: #fff;
  font-size: clamp(30px, 4.5vw, 54px);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 800;
  margin: 0 0 16px;
  text-shadow: 0 2px 16px rgba(24, 14, 36, .18);
}

body.woocommerce-checkout
.tg-checkout-premium-hero__subtitle {
  color: #fff;
  font-size: clamp(13px, 1.5vw, 16px);
  line-height: 1.65;
  max-width: 420px;
  margin: 0;
  text-shadow: 0 1px 12px rgba(24, 14, 36, .25);
}

@media (max-width: 767px) {
  body.woocommerce-checkout
  .tg-checkout-premium-hero {
    min-height: 260px;
    border-radius: 16px;
    background-position: 60% center;
    margin-bottom: 22px;
  }

  body.woocommerce-checkout
  .tg-checkout-premium-hero__content {
    min-height: 260px;
    padding: 28px 24px;
    max-width: 100%;
  }

  body.woocommerce-checkout
  .tg-checkout-premium-hero__title {
    font-size: clamp(28px, 8vw, 39px);
  }
}

/* TG_CHECKOUT_EDITORIAL_HERO_V2_START */

body.woocommerce-checkout
.tg-checkout-legacy-hidden {
  display: none !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received)
.tg-checkout-premium-hero {
  min-height: 365px;
  margin: 0 0 34px !important;
  border-radius: 20px;
  background-position: center center;
  background-size: cover;
  box-shadow: 0 20px 55px rgba(36,24,51,.10);
}

body.woocommerce-checkout
.tg-checkout-premium-hero::after {
  background: linear-gradient(
    90deg,
    rgba(242,239,247,.82) 0%,
    rgba(242,239,247,.58) 29%,
    rgba(242,239,247,.12) 55%,
    rgba(242,239,247,0) 77%
  ) !important;
}

body.woocommerce-checkout
.tg-checkout-premium-hero__content {
  min-height: 365px;
  max-width: 520px;
  padding: clamp(32px,5vw,66px);
  justify-content: center;
  align-items: flex-start;
}

body.woocommerce-checkout
.tg-checkout-premium-hero__eyebrow {
  color: #42304e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .24em;
  margin-bottom: 20px;
  text-shadow: none;
}

body.woocommerce-checkout
.tg-checkout-premium-hero__title {
  font-family: Georgia, 'Times New Roman', serif !important;
  font-weight: 400 !important;
  font-size: clamp(49px,6vw,82px) !important;
  line-height: .96 !important;
  letter-spacing: -.055em !important;
  color: #22172e !important;
  text-shadow: none !important;
  margin: 0 0 24px !important;
}

body.woocommerce-checkout
.tg-checkout-premium-hero__title em {
  font-family: inherit;
  font-weight: 400;
  font-style: italic;
  background: linear-gradient(
    105deg,
    #342043 0%,
    #78478f 48%,
    #a178b4 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.woocommerce-checkout
.tg-checkout-premium-hero__rule {
  width: 66px;
  height: 2px;
  background: linear-gradient(90deg,#40264f,#b79ac5);
  margin-bottom: 17px;
}

body.woocommerce-checkout
.tg-checkout-premium-hero__subtitle {
  color: #3c3448 !important;
  font-size: 14px !important;
  font-weight: 400;
  line-height: 1.65 !important;
  max-width: 295px;
  text-shadow: none !important;
  margin: 0 !important;
}

@media (max-width:767px) {
  body.woocommerce-checkout
  .tg-checkout-premium-hero {
    min-height: 315px;
    background-position: 55% center;
    border-radius: 15px;
  }

  body.woocommerce-checkout
  .tg-checkout-premium-hero::after {
    background: linear-gradient(
      90deg,
      rgba(245,242,248,.91),
      rgba(245,242,248,.58) 58%,
      rgba(245,242,248,.08)
    ) !important;
  }

  body.woocommerce-checkout
  .tg-checkout-premium-hero__content {
    min-height: 315px;
    max-width: 88%;
    padding: 30px 24px;
  }

  body.woocommerce-checkout
  .tg-checkout-premium-hero__title {
    font-size: clamp(46px,10vw,65px) !important;
  }

  body.woocommerce-checkout
  .tg-checkout-premium-hero__subtitle {
    font-size: 12px !important;
    max-width: 245px;
  }
}

/* TG_CHECKOUT_EDITORIAL_HERO_V2_END */

/* TG_CHECKOUT_HERO_VISIBILITY_REPAIR_20261023 */

body.woocommerce-checkout:not(.woocommerce-order-received)
.tg-checkout-premium-hero {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  min-height: 365px !important;
  margin: 0 0 32px !important;
  overflow: hidden !important;
  background-image: url('../images/tg-checkout-premium-hero.png') !important;
  background-size: cover !important;
  background-position: center center !important;
}

body.woocommerce-checkout
.tg-checkout-premium-hero__content {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

body.woocommerce-checkout
.tg-checkout-premium-hero__title {
  font-family: Georgia, 'Times New Roman', serif !important;
  font-weight: 400 !important;
  color: #22172e !important;
  font-size: clamp(48px, 5.5vw, 76px) !important;
  line-height: 1.02 !important;
  letter-spacing: -.045em !important;
}

body.woocommerce-checkout
.tg-checkout-premium-hero__title em {
  font-family: inherit !important;
  font-style: italic !important;
  font-weight: 400 !important;
}


/* TG_CHECKOUT_HERO_HARMONY_20261023 */

@media (min-width: 768px) {

  body.woocommerce-checkout
  .tg-checkout-premium-hero {
    min-height: 430px !important;
  }

  body.woocommerce-checkout
  .tg-checkout-premium-hero__content {
    justify-content: flex-end !important;
    align-items: flex-start !important;
    padding-top: 145px !important;
    padding-bottom: 32px !important;
    box-sizing: border-box !important;
  }

  body.woocommerce-checkout
  .tg-checkout-premium-hero__title {
    margin-top: 8px !important;
  }

}

body.woocommerce-checkout
.tg-checkout-premium-hero__subtitle {
  color: #241b32 !important;
  font-weight: 600 !important;
  opacity: 1 !important;
  text-shadow: 0 1px 8px rgba(255,255,255,.85) !important;
}

body.woocommerce-checkout
.tg-checkout-premium-hero__eyebrow {
  color: #30233e !important;
  font-weight: 800 !important;
  letter-spacing: .22em !important;
}

@media (max-width: 767px) {

  body.woocommerce-checkout
  .tg-checkout-premium-hero__content {
    padding-top: 115px !important;
    padding-bottom: 26px !important;
  }

}


/* TG_CHECKOUT_CRYSTAL_REFLECTION_START */

/* Subtle optical reflection over the approved artwork */
body.woocommerce-checkout
.tg-checkout-premium-hero {
  position: relative !important;
  isolation: isolate;
  overflow: hidden !important;
}

/* Crystal-light sweep */
body.woocommerce-checkout
.tg-checkout-premium-hero::after {
  content: "" !important;
  position: absolute !important;
  inset: -65% !important;
  display: block !important;
  pointer-events: none !important;
  z-index: 1 !important;

  background: linear-gradient(
    108deg,
    transparent 40%,
    rgba(255,255,255,0) 44%,
    rgba(233,225,255,.035) 47%,
    rgba(255,255,255,.14) 49%,
    rgba(255,255,255,.24) 50%,
    rgba(243,239,255,.12) 51%,
    rgba(255,255,255,0) 55%,
    transparent 60%
  ) !important;

  transform: translate3d(-65%, 0, 0);
  animation: tgCheckoutCrystalSweep 9s
    cubic-bezier(.45,0,.55,1) infinite !important;

  will-change: transform;
}

/* Keep typography above the reflection */
body.woocommerce-checkout
.tg-checkout-premium-hero__content {
  position: relative !important;
  z-index: 2 !important;
}

@keyframes tgCheckoutCrystalSweep {
  0%, 12% {
    transform: translate3d(-65%, 0, 0);
    opacity: 0;
  }

  18% {
    opacity: .7;
  }

  42% {
    opacity: .85;
  }

  62% {
    transform: translate3d(65%, 0, 0);
    opacity: 0;
  }

  100% {
    transform: translate3d(65%, 0, 0);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.woocommerce-checkout
  .tg-checkout-premium-hero::after {
    animation: none !important;
    opacity: 0 !important;
  }
}

/* TG_CHECKOUT_CRYSTAL_REFLECTION_END */


/* TG_CHECKOUT_TEXT_CONTRAST_START */

/* Preserve the approved editorial typography */
body.woocommerce-checkout
.tg-checkout-premium-hero__title {
  color: #21132d !important;
  text-shadow: 0 1px 1px rgba(255,255,255,.32) !important;
}

/* Rich amethyst treatment for the italic accent */
body.woocommerce-checkout
.tg-checkout-premium-hero__title em,
body.woocommerce-checkout
.tg-checkout-premium-hero__title i {
  color: #66357f !important;
  background: linear-gradient(
    110deg,
    #3e2057 0%,
    #63337e 48%,
    #9255a5 100%
  ) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* Clear, refined supporting message */
body.woocommerce-checkout
.tg-checkout-premium-hero__subtitle {
  color: #21182e !important;
  font-weight: 650 !important;
  opacity: 1 !important;
  text-shadow:
    0 1px 3px rgba(255,255,255,.95),
    0 0 12px rgba(255,255,255,.55) !important;
}

/* Small editorial label */
body.woocommerce-checkout
.tg-checkout-premium-hero__eyebrow {
  color: #24152f !important;
  font-weight: 800 !important;
  opacity: 1 !important;
}

/* TG_CHECKOUT_TEXT_CONTRAST_END */


/* TG_CHECKOUT_DETAIL_PEARL_TO_PURPLE_START */

body.woocommerce-checkout
.tg-checkout-premium-hero__title em,
body.woocommerce-checkout
.tg-checkout-premium-hero__title i {
  background: linear-gradient(
    105deg,
    #FFFFFF 0%,
    #F0E8FF 22%,
    #C7A8FF 45%,
    #8B39FF 72%,
    #5700FF 100%
  ) !important;

  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;

  filter:
    drop-shadow(0 1px 1px rgba(39, 10, 80, .75))
    drop-shadow(0 0 2px rgba(255, 255, 255, .45)) !important;
}

/* TG_CHECKOUT_DETAIL_PEARL_TO_PURPLE_END */


/* TG_CHECKOUT_HERO_IMAGE_FINAL_START */

body.woocommerce-checkout .tg-checkout-premium-hero {
    background-color: #e9e5ee !important;
    background-image: url('/wp-content/themes/thegrowns-child/assets/images/tg-checkout-premium-hero.png') !important;
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

/* Keep the approved text above the artwork */
body.woocommerce-checkout .tg-checkout-premium-hero__content {
    position: relative !important;
    z-index: 3 !important;
}

/* TG_CHECKOUT_HERO_IMAGE_FINAL_END */


/* TG_CHECKOUT_LOGIN_NOTICE_PREMIUM_START */

/* Premium returning-customer notification */
body.woocommerce-checkout
.woocommerce-form-login-toggle .woocommerce-info {
    position: relative !important;
    display: block !important;
    padding: 21px 26px 21px 29px !important;
    margin: 0 0 28px !important;

    border: 1px solid rgba(123, 67, 165, .20) !important;
    border-left: 3px solid #7541A8 !important;
    border-radius: 15px !important;

    background:
      linear-gradient(
        115deg,
        rgba(255,255,255,.97) 0%,
        rgba(249,246,253,.97) 48%,
        rgba(238,228,248,.92) 100%
      ) !important;

    box-shadow:
      0 8px 28px rgba(45, 18, 74, .055),
      inset 0 1px 0 rgba(255,255,255,.95) !important;

    color: #33223F !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: .015em !important;
    line-height: 1.65 !important;

    transition:
      border-color .3s ease,
      box-shadow .3s ease !important;
}

/* Remove standard WooCommerce notice icon */
body.woocommerce-checkout
.woocommerce-form-login-toggle .woocommerce-info::before {
    display: none !important;
}

/* Premium login link */
body.woocommerce-checkout
.woocommerce-form-login-toggle
.woocommerce-info a.showlogin {
    display: inline-block !important;
    position: relative !important;

    margin-left: 4px !important;
    padding-bottom: 2px !important;

    color: #69329C !important;
    font-weight: 750 !important;
    text-decoration: none !important;

    background-image:
      linear-gradient(
        90deg,
        #522080,
        #9251CF,
        #C48AEB
      ) !important;
    background-repeat: no-repeat !important;
    background-size: 100% 1px !important;
    background-position: left bottom !important;

    transition:
      color .25s ease,
      background-size .25s ease,
      transform .25s ease !important;
}

body.woocommerce-checkout
.woocommerce-form-login-toggle
.woocommerce-info a.showlogin:hover,
body.woocommerce-checkout
.woocommerce-form-login-toggle
.woocommerce-info a.showlogin:focus-visible {
    color: #481474 !important;
    background-size: 100% 2px !important;
}

body.woocommerce-checkout
.woocommerce-form-login-toggle
.woocommerce-info a.showlogin:focus-visible {
    outline: 2px solid #8B50C5 !important;
    outline-offset: 4px !important;
    border-radius: 2px !important;
}

/* Responsive refinement */
@media (max-width: 767px) {
    body.woocommerce-checkout
    .woocommerce-form-login-toggle .woocommerce-info {
        padding: 17px 19px 17px 21px !important;
        margin-bottom: 22px !important;
        border-radius: 12px !important;
        font-size: 12.5px !important;
    }
}

/* TG_CHECKOUT_LOGIN_NOTICE_PREMIUM_END */


/* TG_EMPTY_CART_BROWSE_PREMIUM_START */

body.woocommerce-cart
.woocommerce .return-to-shop a.button,
body.woocommerce-cart
.woocommerce .return-to-shop a.wc-backward,
body.woocommerce-cart
.woocommerce .cart-empty + .return-to-shop a,
body.woocommerce-cart
a.button.wc-backward {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;

    min-height: 49px !important;
    padding: 15px 29px !important;

    border: 1px solid rgba(100, 41, 155, .50) !important;
    border-radius: 11px !important;

    background: linear-gradient(
      115deg,
      #24132F 0%,
      #4A226D 45%,
      #783AB2 100%
    ) !important;

    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: .035em !important;
    line-height: 1.3 !important;
    text-decoration: none !important;

    box-shadow:
      0 8px 22px rgba(57, 21, 90, .19),
      inset 0 1px 0 rgba(255,255,255,.20) !important;

    transition:
      transform .25s ease,
      box-shadow .25s ease,
      background .25s ease !important;
}

body.woocommerce-cart
.woocommerce .return-to-shop a.button:hover,
body.woocommerce-cart
.woocommerce .return-to-shop a.wc-backward:hover,
body.woocommerce-cart
.woocommerce .cart-empty + .return-to-shop a:hover,
body.woocommerce-cart
a.button.wc-backward:hover {
    background: linear-gradient(
      115deg,
      #3B1857 0%,
      #653095 52%,
      #9752D1 100%
    ) !important;

    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;

    transform: translateY(-2px) !important;

    box-shadow:
      0 12px 29px rgba(79, 27, 122, .25),
      inset 0 1px 0 rgba(255,255,255,.25) !important;
}

body.woocommerce-cart
.woocommerce .return-to-shop a.button:focus-visible,
body.woocommerce-cart
a.button.wc-backward:focus-visible {
    outline: 2px solid #9752D1 !important;
    outline-offset: 4px !important;
}

@media (prefers-reduced-motion: reduce) {
    body.woocommerce-cart
    .woocommerce .return-to-shop a.button,
    body.woocommerce-cart
    a.button.wc-backward {
        transition: none !important;
        transform: none !important;
    }
}

/* TG_EMPTY_CART_BROWSE_PREMIUM_END */

