/* Gift Certificates page (modernized). */
@layer pages {
  body.gift-cert-page {
    margin: 0;
    font-family: var(--font-jost, "Jost", sans-serif);
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-body);
    background:
      radial-gradient(
        1200px circle at 12% -10%,
        color-mix(in srgb, var(--header-green) 35%, transparent),
        transparent 55%
      ),
      radial-gradient(
        900px circle at 88% -20%,
        color-mix(in srgb, var(--btn-yellow-bg) 30%, transparent),
        transparent 55%
      ),
      var(--dark-bg, #0f0f0f);
  }

  body.gift-cert-page a {
    color: var(--text-subhead);
    text-decoration: none;
  }
  body.gift-cert-page a:hover,
  body.gift-cert-page a:focus {
    color: var(--text-headline);
    text-decoration: underline;
  }

  body.gift-cert-page #content-holder {
    width: min(1080px, 92%);
    margin: 0 auto;
  }

  body.gift-cert-page .gift-cert-shell {
    padding-bottom: 80px;
  }

  body.gift-cert-page .checkout-holder.checkout-container {
    margin: 0 auto;
  }

  body.gift-cert-page .accordion_ {
    display: grid;
    gap: 28px;
  }

  body.gift-cert-page .heading-bar.checkout-header.gift-cert-hero {
    position: relative;
    margin: 30px 0 26px;
    padding: 25px 28px;
    border-radius: 24px;
    border: 1px solid var(--surface-card-border);
    background: linear-gradient(
      135deg,
      color-mix(in srgb, var(--surface-card) 80%, var(--header-green) 20%),
      var(--surface-card)
    );
    overflow: hidden;
    box-shadow: 0 24px 46px rgba(0, 0, 0, 0.45);
  }

  body.gift-cert-page .heading-bar.checkout-header.gift-cert-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("/images/gift_certificates/hero_image.webp");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 53%;
    opacity: 0.4;
    right: -57px;
    top: -39px;
    -webkit-mask-image: linear-gradient(
      to left,
      rgba(0, 0, 0, 0.95) 0%,
      rgba(0, 0, 0, 0.75) 32%,
      rgba(0, 0, 0, 0) 50%
    );
    mask-image: linear-gradient(
      to left,
      rgba(0, 0, 0, 0.95) 0%,
      rgba(0, 0, 0, 0.75) 32%,
      rgba(0, 0, 0, 0) 50%
    );
    pointer-events: none;
    z-index: 0;
  }

  body.gift-cert-page .heading-bar.checkout-header.gift-cert-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
      600px circle at 80% 10%,
      color-mix(in srgb, var(--btn-yellow-bg) 30%, transparent),
      transparent 60%
    );
    pointer-events: none;
    z-index: 0;
  }

  body.gift-cert-page .gift-cert-hero-content {
    position: relative;
    display: grid;
    gap: 12px;
    max-width: 600px;
    z-index: 1;
  }

  body.gift-cert-page .gift-cert-hero-eyebrow {
    margin: 0;
  }

  body.gift-cert-page .gift-cert-hero h1 {
    margin: 0;
    font-family: var(--font-barlow, "Barlow Condensed", sans-serif);
    font-size: 36px;
    line-height: 1.1;
    color: var(--text-headline);
  }

  body.gift-cert-page .gift-cert-hero-lede {
    margin: 0;
    font-size: 14px;
    color: var(--text-body);
  }

  body.gift-cert-page .gift-cert-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 0;
  }

  body.gift-cert-page .gift-cert-hero-summary {
    margin: 0;
    color: var(--text-body);
  }

  body.gift-cert-page .gift-cert-hero-actions .yellow-btn,
  body.gift-cert-page .gift-cert-hero-actions .transparent-btn {
    margin-bottom: 0;
  }

  body.gift-cert-page .gift-cert-hero .h-line {
    display: none;
  }

  body.gift-cert-page .checkouttrail {
    margin: 10px 0 7px;
    color: var(--muted);
    font-size: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  body.gift-cert-page .checkouttrail span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 6px 0 0;
  }

  body.gift-cert-page .checkouttrail a {
    color: var(--text-headline);
    text-decoration: none;
  }

  body.gift-cert-page .checkouttrail a:hover,
  body.gift-cert-page .checkouttrail a:focus {
    text-decoration: underline;
  }

  body.gift-cert-page .cotrailnum {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--header-green);
    color: #0d0f00;
    font-weight: 700;
    font-size: 12px;
  }

  body.gift-cert-page .gc-step-item.is-active .cotrailnum {
    background: var(--btn-yellow-bg);
    color: var(--btn-yellow-text);
  }

  body.gift-cert-page .gift-cert-step {
    display: none;
  }

  body.gift-cert-page .gift-cert-step.is-active {
    display: block;
  }

  body.gift-cert-page .gc-step-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
    align-items: center;
    margin-top: 16px;
  }

  body.gift-cert-page .gc-step-actions-top {
    margin: 0 0 16px;
    justify-content: flex-start;
  }

  body.gift-cert-page .gc-step-skip {
    background: transparent;
    border-color: var(--btn-transparent-border);
  }

  body.gift-cert-page .gift-cert-redeem-card {
    background: var(--surface-card);
    border: 1px solid var(--surface-card-border);
    border-radius: 20px;
    padding: 24px;
    display: grid;
    gap: 20px;
  }

  body.gift-cert-page .gift-cert-redeem-card .accordion-heading.payment-info-hdr {
    margin: -24px -24px 4px;
    border-radius: 20px 20px 0 0;
    border: 1px solid var(--dk-gray1, #444);
  }

  body.gift-cert-page .gift-cert-redeem-body {
    display: grid;
    gap: 20px;
  }

  body.gift-cert-page .gift-cert-redeem-copy {
    display: grid;
    gap: 10px;
  }

  body.gift-cert-page .gift-cert-redeem-lede {
    margin: 0;
    font-family: var(--font-barlow, "Barlow Condensed", sans-serif);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-headline);
  }

  body.gift-cert-page .gift-cert-redeem-copy p {
    margin: 0;
    color: var(--text-body);
  }

  body.gift-cert-page .gift-cert-redeem-note {
    margin: 0;
    color: var(--text-subhead);
    font-size: 13px;
  }

  body.gift-cert-page .gift-cert-redeem-figure {
    margin: 0;
    display: grid;
    gap: 10px;
  }

  body.gift-cert-page .gift-cert-redeem-figure img {
    width: min(520px, 100%);
    border-radius: 16px;
    border: 1px solid var(--surface-card-border);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.35);
  }

  body.gift-cert-page .gift-cert-redeem-figure figcaption {
    font-size: 12px;
    color: var(--text-subhead);
  }

  body.gift-cert-page .cart-table-holder {
    background: var(--surface-card);
    border: 1px solid var(--surface-card-border);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 0;
  }

  body.gift-cert-page .cart-table-holder table {
    width: 100%;
    border-collapse: collapse;
  }

  body.gift-cert-page .cart-table-holder table > tbody {
    display: grid;
    gap: 20px;
  }

  body.gift-cert-page .cart-table-holder table > tbody > tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 280px);
    gap: 24px;
    align-items: start;
  }

  body.gift-cert-page .cart-table-holder td {
    display: block;
    padding: 0;
  }

  body.gift-cert-page .cart-table-holder td {
    padding-top: 4px;
  }

  body.gift-cert-page .gc-details-grid-cont > td:first-child {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
  }

  body.gift-cert-page .recipient-details-block {
    display: grid;
    gap: 14px;
  }

  body.gift-cert-page .rd-top-block {
    grid-column: 1 / -1;
    display: grid;
    gap: 16px;
    align-items: center;
    background: color-mix(in srgb, var(--surface-card) 78%, var(--header-green) 22%);
    border: 1px solid var(--surface-card-border);
    border-radius: 16px;
    padding: 16px;
  }

  body.gift-cert-page .rd-left-block,
  body.gift-cert-page .rd-right-block {
    background: var(--surface-card);
    border: 1px solid var(--surface-card-border);
    border-radius: 16px;
    padding: 18px;
  }

  body.gift-cert-page .gc-price-selector-desktop {
    background: var(--surface-card);
    border: 1px solid var(--surface-card-border);
    border-radius: 16px;
    padding: 20px 20px !important;
    display: grid;
    gap: 14px;
    justify-items: center;
    text-align: center;
    align-self: start;
  }

  body.gift-cert-page .gift-cert-graphic img {
    width: auto;
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
    margin-bottom: 10px;
  }

  body.gift-cert-page .gc-amount-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-subhead);
  }

  body.gift-cert-page .gc-values {
    width: 100%;
    max-width: 200px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    height: 40px;
    box-sizing: border-box;
    margin-top: 10px;
  }

  body.gift-cert-page .control-group {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
  }

  body.gift-cert-page .control-label {
    font-weight: 600;
    color: var(--text-subhead);
    text-align: left;
  }

  body.gift-cert-page .controls {
    margin: 0;
    display: grid;
    gap: 6px;
  }

  body.gift-cert-page .green-t,
  body.gift-cert-page .green-t2 {
    margin: 0;
    padding: 0;
    display: block;
    font-weight: 600;
    color: var(--text-headline);
    font-family: var(--font-barlow, "Barlow Condensed", sans-serif);
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  body.gift-cert-page .gc-message-box {
    min-height: 140px;
  }

  body.gift-cert-page input[type="text"],
  body.gift-cert-page input[type="password"],
  body.gift-cert-page input[type="email"],
  body.gift-cert-page textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    box-sizing: border-box;
  }

  body.gift-cert-page .gc-delivery-options-cont {
    margin-top: 10px;
    display: grid;
    gap: 12px;
  }

  body.gift-cert-page .gc-delivery-options {
    display: grid;
    gap: 10px;
    --gc-radio-indent: 26px;
  }

  body.gift-cert-page .gc-delivery-option {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 10px;
  }

  body.gift-cert-page .gc-delivery-option input[type="radio"] {
    margin: 0;
  }

  body.gift-cert-page .gc-delivery-suboptions {
    display: none;
    margin-left: var(--gc-radio-indent);
    gap: 8px;
  }

  body.gift-cert-page .gc-delivery-suboptions.is-active {
    display: grid;
  }

  body.gift-cert-page .gc-radio-subtext {
    font-size: 12px;
    color: var(--text-body);
    margin-left: var(--gc-radio-indent);
  }

  body.gift-cert-page #dateRangeDiv {
    display: none;
    margin-left: 0;
  }

  body.gift-cert-page .gc-date-range {
    margin-top: 3px;
    width: 100%;
  }

  body.gift-cert-page .gc-date-range input {
    width: 100%;
  }

  body.gift-cert-page .gc-delivery-suboptions #dateRangeDiv {
    margin-left: 0;
  }

  body.gift-cert-page .gc-delivery-suboptions .col-md-9 {
    width: 100%;
  }

  body.gift-cert-page .ui-datepicker,
  body.gift-cert-page .datepicker-dropdown {
    background: var(--surface-card);
    border: 1px solid var(--surface-card-border);
    color: var(--text-headline);
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.45);
    z-index: 20;
    font-family: var(--font-jost, "Jost", sans-serif);
  }

  body.gift-cert-page .datepicker-dropdown:before,
  body.gift-cert-page .datepicker-dropdown:after {
    border-bottom-color: var(--surface-card);
  }

  body.gift-cert-page .ui-datepicker .ui-datepicker-header,
  body.gift-cert-page .datepicker-dropdown .datepicker-switch {
    color: var(--text-headline);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  body.gift-cert-page .ui-datepicker th,
  body.gift-cert-page .datepicker table th {
    color: var(--text-subhead);
  }

  body.gift-cert-page .ui-datepicker td a,
  body.gift-cert-page .datepicker table td {
    color: var(--text-headline);
    border-radius: 6px;
  }

  body.gift-cert-page .ui-datepicker td a:hover,
  body.gift-cert-page .datepicker table td:hover {
    background: color-mix(in srgb, var(--surface-card) 70%, var(--header-green) 30%);
  }

  body.gift-cert-page .ui-datepicker td a.ui-state-active,
  body.gift-cert-page .ui-datepicker td a.ui-state-hover,
  body.gift-cert-page .ui-datepicker td span.ui-state-active,
  body.gift-cert-page .datepicker table td.active,
  body.gift-cert-page .datepicker table td.active:hover {
    background: var(--btn-yellow-bg);
    color: var(--btn-yellow-text);
  }

  body.gift-cert-page .ui-datepicker td a.ui-state-highlight,
  body.gift-cert-page .datepicker table td.today {
    background: color-mix(in srgb, var(--btn-yellow-bg) 25%, var(--surface-card));
    color: var(--text-headline);
  }

  body.gift-cert-page .gc-payment-footer {
    padding-top: 10px;
    display: grid;
    gap: 12px;
  }

  body.gift-cert-page .checkout-ttls-table {
    width: 100%;
    margin: 20px 0 0;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
  }

  body.gift-cert-page .checkout-ttls-table .ttls-container {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
  }

  body.gift-cert-page .checkout-ttls-table .checkout-ttls {
    display: flex;
    align-items: center;
  }

  body.gift-cert-page .checkout-ttls-table .checkout-ttls.right {
    justify-content: flex-end;
    text-align: right;
  }

  body.gift-cert-page .checkout-grandttl-lbl {
    font-size: 18px;
    color: var(--text-headline);
    font-weight: 600;
  }

  body.gift-cert-page #litTotal {
    color: var(--btn-yellow-bg);
  }

  body.gift-cert-page .gift-cert-login {
    background: var(--dk-gray2);
    border: 1px solid var(--dk-gray1);
    border-radius: 20px;
    padding: 20px;
    display: grid;
    gap: 20px;
    align-items: start;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
  }

  body.gift-cert-page .cart-table-holder .accordion-heading.payment-info-hdr {
    margin: -24px -24px 20px;
    border-radius: 20px 20px 0 0;
    border: 1px solid var(--dk-gray1, #444);
  }

  body.gift-cert-page .gift-cert-login .accordion-heading.payment-info-hdr {
    margin: -20px -20px 16px;
    border-radius: 20px 20px 0 0;
    border: 1px solid var(--dk-gray1, #444);
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  body.gift-cert-page .gift-cert-login .gc-login-note {
    font-size: 12px;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-body);
  }

  body.gift-cert-page .gift-cert-login > .neg-alert {
    grid-column: 1 / -1;
  }

  body.gift-cert-page .gift-cert-login .control-group-btn {
    display: grid;
    gap: 10px;
    align-items: start;
    justify-items: end;
    text-align: right;
  }

  body.gift-cert-page .gift-cert-login .control-group-btn input[type="submit"] {
    width: auto;
  }

  body.gift-cert-page .gift-cert-login .control-group-btn p {
    margin: 0;
  }

  body.gift-cert-page .gift-cert-login .billing-form-left-column,
  body.gift-cert-page .gift-cert-login .billing-form-right-column {
    width: 100%;
    align-self: start;
  }

  body.gift-cert-page .gift-cert-login .gc-login-input input {
    width: 100%;
  }

  body.gift-cert-page .gc-billing-info {
    margin-top: 20px;
    background: transparent;
    border: 0;
    border-radius: 16px;
    padding: 0;
  }

  body.gift-cert-page .checkoutpaymentheader {
    border: 1px solid var(--header-green);
    border-radius: 0;
    border-bottom: 6px solid var(--header-green);
    background-color: rgba(228, 232, 153, 0.16);
    padding: 14px 18px;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: none;
    margin-top: 0;
    position: relative;
  }

  body.gift-cert-page .gc-billing-info #PaymentInformation .checkoutpaymentheader {
    margin: 0 -20px 20px;
  }

  body.gift-cert-page .securenote {
    font-size: 15px;
    font-weight: 700;
    color: #f6f2c4;
    font-family: var(--font-jost, "Jost", sans-serif);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
  }

  body.gift-cert-page .securenote::before {
    background: url(../images/padlock.png) no-repeat center/28px 28px;
    content: "";
    display: inline-block;
    height: 28px;
    width: 28px;
  }

  body.gift-cert-page .payment-information {
    margin-top: 0;
  }

  body.gift-cert-page .gc-billing-info #PaymentInformation {
    background: #111;
    border: 1px solid var(--dk-gray1);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
  }

  body.gift-cert-page .gc-billing-info #PaymentInformation .accordion-heading.payment-info-hdr {
    margin: -20px -20px 0;
    border-radius: 20px 20px 0 0;
    border: 1px solid var(--dk-gray1, #444);
    border-bottom: 0;
  }

  body.gift-cert-page .gc-billing-info #PaymentInformation .checkout-page.accordion-inner {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    margin-top: 0;
    box-shadow: none;
  }

  body.gift-cert-page .checkoutmods .checkout-page.accordion-inner {
    background: var(--dk-gray2);
    border: 1px solid var(--dk-gray1);
    border-radius: 16px;
    padding: 18px;
    color: var(--text-headline);
    margin-top: 16px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
  }

  body.gift-cert-page .checkoutmods .checkout-page.accordion-inner.no-p {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    margin-top: 0;
    box-shadow: none;
  }

  body.gift-cert-page .accordion-heading.payment-info-hdr {
    background: #666;
    border: 1px solid var(--dk-gray1, #444);
    border-radius: 0;
    border-top: 0;
    border-bottom: 0;
    padding: 12px 16px;
    margin-top: 0;
    color: var(--white, #fff);
    font-family: var(--font-jost, "Jost", sans-serif);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  body.gift-cert-page .accordion-heading.payment-info-hdr .accordion-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
  }
  body.gift-cert-page .payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: flex-end;
    margin: 12px 0 16px;
  }

  body.gift-cert-page .alt-payment-methods {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #dddddd70;
    border: 1px solid #3a3a3a;
    border-radius: 10px;
    height: 66px;
    max-width: 120px;
    min-width: 96px;
    padding: 8px 10px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    opacity: 0.75;
  }

  body.gift-cert-page .alt-payment-methods span {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    color: var(--black);
    font-family: var(--font-barlow, "Barlow Condensed", sans-serif);
    font-weight: 666;
    position: static;
  }

  body.gift-cert-page .alt-payment-methods:hover,
  body.gift-cert-page .alt-payment-methods.active {
    border-color: var(--header-green);
    box-shadow: none;
    background-color: #fff;
    opacity: 1;
  }

  body.gift-cert-page .alt-payment-methods::before {
    display: inline-block;
    font-family: FontAwesome;
    font-weight: normal;
    content: "\f00c";
    position: absolute;
    right: -8px;
    top: -8px;
    background: #64b40b;
    color: #0d0f00;
    border-radius: 999px;
    height: 25px;
    width: 25px;
    font-size: 14px;
    line-height: 23px;
    text-align: center;
    border: 1px solid #1d1d1d;
    transform: scale(0);
    transition: transform 0.2s ease;
  }

  body.gift-cert-page .alt-payment-methods.active::before {
    transform: scale(1);
  }

  body.gift-cert-page .alt-payment-methods .icon {
    display: inline-block;
    height: 32px;
    width: 47px;
    background-size: 100% !important;
    filter: grayscale(1) opacity(1);
    vertical-align: bottom;
  }

  body.gift-cert-page .alt-payment-methods.active .icon,
  body.gift-cert-page .alt-payment-methods:hover .icon {
    filter: grayscale(0) opacity(1);
  }

  body.gift-cert-page .alt-payment-methods.cc .icon {
    background-position-y: center !important;
    background: url(/images/payment-cc-2x.png) no-repeat scroll;
  }

  body.gift-cert-page .alt-payment-methods.amazon .icon {
    background-position-y: center !important;
    background: url(/images/payment-amazonpay-2x.png) no-repeat scroll;
  }

  body.gift-cert-page .alt-payment-methods.gpay .icon {
    background-position-y: center !important;
    background: url(/images/payment-gpay-2x.png) no-repeat scroll;
  }

  body.gift-cert-page .alt-payment-methods.applepay .icon {
    background-position-y: center !important;
    background: url(/images/payment-applepay-2x.png) no-repeat scroll;
  }

  body.gift-cert-page #AmazonPayButton,
  body.gift-cert-page #googlePayContainer,
  body.gift-cert-page #applePayContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 10px 0 0;
    width: 100%;
  }

  body.gift-cert-page #payment-request-button-2 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 0;
    padding: 0;
  }

  body.gift-cert-page #payment-request-button-2 .googlePay img,
  body.gift-cert-page #payment-request-button-2 .applepay img {
    max-height: 38px;
  }

  body.gift-cert-page p.payContainerText {
    font-size: 13px;
    color: #64b40b !important;
    text-align: center;
    margin-bottom: 0;
  }

  body.gift-cert-page .checkout-page {
    margin-top: 16px;
  }

  body.gift-cert-page .billing-form {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  body.gift-cert-page .billing-form-left-column,
  body.gift-cert-page .billing-form-right-column {
    display: grid;
    gap: 16px;
  }

  body.gift-cert-page .billing-form li {
    margin: 0 0 12px;
  }

  body.gift-cert-page .billing-form li.edit-btn {
    margin-top: 8px;
    text-align: center;
  }

  body.gift-cert-page .gc-billing-info .billing-form-left-column,
  body.gift-cert-page .gc-billing-info .billing-form-right-column {
    width: 100%;
    float: none;
    margin-right: 0;
    display: block;
  }

  body.gift-cert-page .gc-billing-info label,
  body.gift-cert-page .gc-billing-info .billing-form li label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-headline);
    font-family: var(--font-jost, "Jost", sans-serif);
  }

  body.gift-cert-page .gc-billing-info .billing-form.align-left {
    text-align: center;
    margin-top: 20px;
  }

  body.gift-cert-page .gc-billing-info .checkout-terms {
    font-family: var(--font-barlow);
  }

  body.gift-cert-page .gc-billing-info .checkout-placeorder-btn {
    margin: 0;
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    text-align: center;
  }

  body.gift-cert-page .gc-billing-info .billing-form li .control-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  body.gift-cert-page .gc-billing-info .billing-form li .controls {
    width: 100%;
  }

  body.gift-cert-page .gc-billing-info #billing-form-edit p,
  body.gift-cert-page .gc-billing-info #billing-form-readonly p,
  body.gift-cert-page .gc-billing-info .billing-form-left-column.ccdetails > p,
  body.gift-cert-page .gc-billing-info #phAmazonCheckout p,
  body.gift-cert-page .gc-billing-info #phNonAmazonCheckout p {
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-headline);
    font-family: var(--font-jost, "Jost", sans-serif);
    margin: 12px 0 0;
    text-align: center;
  }

  /* "Choose a Payment Method" heading */
  body.gift-cert-page .gc-billing-info #phAmazonCheckout > p,
  body.gift-cert-page .gc-billing-info #divPaymentInformation > p {
    font-family: var(--font-jost);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-headline);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    margin-bottom: 30px;
  }

  body.gift-cert-page .gc-billing-info .billing-form input[type="text"],
  body.gift-cert-page .gc-billing-info .billing-form input[type="password"],
  body.gift-cert-page .gc-billing-info .billing-form input[type="email"],
  body.gift-cert-page .gc-billing-info .billing-form textarea {
    border-radius: 8px;
    padding: 9px 12px;
    height: 40px;
    box-shadow: none;
    font-family: var(--font-barlow, "Barlow Condensed", sans-serif);
    width: 100%;
  }

  body.gift-cert-page .gc-billing-info .billing-form textarea {
    height: auto;
    min-height: 110px;
  }

  body.gift-cert-page .gc-billing-info .checkout-terms {
    display: block;
    color: var(--text-body);
    font-size: 14px;
    line-height: 18px;
    text-align: center;
    margin: 12px 0 6px;
  }

  body.gift-cert-page .gc-billing-info .checkout-terms a {
    color: var(--text-headline);
    text-decoration: underline;
    font-weight: 700;
  }

  body.gift-cert-page #creditCardContainer {
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr);
  }

  body.gift-cert-page #creditCardContainer .billing-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  body.gift-cert-page #creditCardContainer .billing-form > li {
    list-style: none;
  }

  body.gift-cert-page #creditCardContainer .billing-form-right-column {
    display: none;
  }

  body.gift-cert-page .gc-required-note .green-t2 {
    font-size: 11px;
    letter-spacing: 0.02em;
    text-align: left;
  }

  body.gift-cert-page #creditCardContainer #NewCreditCard2,
  body.gift-cert-page #creditCardContainer #cardnumber-errors,
  body.gift-cert-page #creditCardContainer .billing-form li.edit-btn {
    grid-column: 1 / -1;
  }

  body.gift-cert-page #creditCardContainer #NewCreditCard3,
  body.gift-cert-page #creditCardContainer #NewCreditCard4 {
    grid-column: span 1;
  }

  body.gift-cert-page #card-number:focus-within,
  body.gift-cert-page #card-expiry:focus-within,
  body.gift-cert-page #card-cvc:focus-within {
    border-color: var(--input-border);
    box-shadow: none;
    border-radius: 8px;
  }

  body.gift-cert-page #cardnumber-errors {
    color: #f0b3b3;
    font-size: 13px;
  }

  body.gift-cert-page #NewCreditCard4 .fa-question-circle {
    font-size: 12px;
    line-height: 1;
    vertical-align: baseline;
    position: relative;
    top: 0;
  }

  body.gift-cert-page #NewCreditCard4 .control-label .brand,
  body.gift-cert-page #NewCreditCard4 .control-label a {
    display: inline-flex;
    align-items: baseline;
  }

  body.gift-cert-page .checkout-btns-bottom {
    display: grid;
    gap: 12px;
    margin-top: 16px;
  }

  body.gift-cert-page .gc-billing-info .checkout-btns-bottom {
    justify-items: center;
  }

  body.gift-cert-page .gc-billing-info .checkout-btns-bottom .completeorder {
    width: auto;
  }

  body.gift-cert-page .gc-billing-info .hidden {
    display: none !important;
  }

  body.gift-cert-page .cccancelbtn,
  body.gift-cert-page a.edit-btn,
  body.gift-cert-page .card-on-file #hypBillingEdit {
    color: var(--btn-transparent-text);
    background: #ffffff10;
    border: 1px solid var(--btn-transparent-border);
    font-family: var(--font-barlow, "Barlow Condensed", sans-serif);
    border-radius: var(--btn-transparent-radius);
    cursor: pointer;
    padding: var(--btn-transparent-padding);
    font-size: var(--btn-transparent-font-size);
    min-width: var(--btn-transparent-min-width);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s, border-color 0.3s, color 0.3s;
  }

  body.gift-cert-page .cccancelbtn:hover,
  body.gift-cert-page a.edit-btn:hover,
  body.gift-cert-page .card-on-file #hypBillingEdit:hover {
    color: var(--text-headline);
    border-color: #c75000;
    background: rgba(199, 80, 0, 0.15);
  }

  body.gift-cert-page .brand {
    font-size: 16px;
    color: #6dc347;
    position: relative;
  }

  body.gift-cert-page #brand-icon.visa {
    background-position: 2px -188px !important;
  }

  body.gift-cert-page #brand-icon.amex {
    background-position: 2px -54px !important;
  }

  body.gift-cert-page #brand-icon.discover {
    background-position: 2px -107px !important;
  }

  body.gift-cert-page #brand-icon.mastercard {
    background-position: 2px -134px !important;
  }

  body.gift-cert-page #brand-icon {
    border: 0;
    font-size: 18px;
    height: 21px;
    padding: 0 5px;
    width: 30px;
    box-sizing: content-box;
    margin-left: 4px;
    background-image: url(/images/cc_sprite_images.png) !important;
    background-repeat: no-repeat;
    position: relative;
    background-size: 36px 210px;
  }

  body.gift-cert-page .StripeElement:not(input),
  body.gift-cert-page #card-number,
  body.gift-cert-page #card-expiry,
  body.gift-cert-page #card-cvc {
    box-sizing: border-box;
    min-height: 40px;
    padding: 10px 12px;
    border: 1px solid var(--input-border);
    border-radius: 8px;
    background-color: var(--input-bg);
    color: var(--input-text);
    box-shadow: none;
    background-image: none;
    width: 100%;
  }

  body.gift-cert-page .ElementsApp,
  body.gift-cert-page .ElementsApp .InputElement {
    color: #f2f2f2;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  body.gift-cert-page .StripeElement--focus {
    border-color: var(--input-border);
    box-shadow: none;
  }

  body.gift-cert-page .StripeElement--invalid {
    border: 2px solid var(--alert-neg-border);
  }

  body.gift-cert-page .StripeElement--webkit-autofill {
    background-color: var(--input-bg) !important;
  }

  body.gift-cert-page .g-recaptcha {
    text-align: center;
    display: inline-flex;
  }

  /* Remove bullet from Cancel Edit button list items */
  body.gift-cert-page li.edit-btn {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  /* Center all buttons in payment method windows */
  body.gift-cert-page .gc-payment-footer,
  body.gift-cert-page .checkout-btns-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  body.gift-cert-page #AmazonPayButton,
  body.gift-cert-page #googlePayContainer,
  body.gift-cert-page #applePayContainer {
    text-align: center;
  }

  body.gift-cert-page #AmazonPayButton li.edit-btn,
  body.gift-cert-page #googlePayContainer li.edit-btn,
  body.gift-cert-page #applePayContainer li.edit-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  /* Move Cancel Edit buttons BELOW payment buttons using order */
  body.gift-cert-page #AmazonPayButton li.edit-btn,
  body.gift-cert-page #googlePayContainer li.edit-btn,
  body.gift-cert-page #applePayContainer li.edit-btn,
  body.gift-cert-page #creditCardContainer .checkout-btns-bottom li.edit-btn {
    order: 10;
  }

  @media (min-width: 900px) {
    /* Set inner payment content to 75% width on desktop - NOT the whole PaymentInformation container */
    body.gift-cert-page .gc-billing-info #PaymentInformation .checkout-page.accordion-inner,
    body.gift-cert-page .gc-billing-info #phAmazonCheckout .billing-form-left-column,
    body.gift-cert-page .gc-billing-info #phNonAmazonCheckout #creditCardContainer,
    body.gift-cert-page .gc-billing-info #phNonAmazonCheckout #AmazonPayButton,
    body.gift-cert-page .gc-billing-info #phNonAmazonCheckout #googlePayContainer,
    body.gift-cert-page .gc-billing-info #phNonAmazonCheckout #applePayContainer,
    body.gift-cert-page .gc-billing-info #divPaymentInformationReadOnly {
      max-width: 75%;
      margin-left: auto;
      margin-right: auto;
    }
    body.gift-cert-page .gift-cert-login {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      align-items: start;
    }

    body.gift-cert-page #creditCardContainer {
      grid-template-columns: minmax(0, 1fr);
      align-items: start;
    }

    body.gift-cert-page .gift-cert-redeem-body {
      grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
      align-items: center;
    }
  }

  @media (max-width: 1020px) {
    body.gift-cert-page .heading-bar.checkout-header.gift-cert-hero {
      padding: 28px 28px;
    }

    body.gift-cert-page .gift-cert-hero h1 {
      font-size: 32px;
    }

    body.gift-cert-page .cart-table-holder table > tbody > tr {
      grid-template-columns: minmax(0, 1fr) minmax(0, 240px);
    }

    body.gift-cert-page .checkout-ttls-table {
      width: 100%;
    }
  }

  @media (max-width: 900px) {
    body.gift-cert-page .cart-table-holder table > tbody > tr {
      grid-template-columns: minmax(0, 1fr);
    }

    body.gift-cert-page .gc-price-selector-desktop {
      display: none;
    }

    body.gift-cert-page .gc-details-grid-cont > td.gc-price-selector-desktop {
      display: none;
    }

    body.gift-cert-page .gc-details-grid-cont > td:first-child {
      grid-template-columns: minmax(0, 1fr);
    }

    body.gift-cert-page .rd-top-block {
      display: grid;
      justify-items: center;
      text-align: center;
      gap: 0px;
    }

    body.gift-cert-page .checkout-ttls-table {
      width: 100%;
      margin-left: 0;
    }
  }

  @media (min-width: 901px) {
    body.gift-cert-page .rd-top-block {
      display: none;
    }
  }

  @media (max-width: 767px) {
    body.gift-cert-page .heading-bar.checkout-header.gift-cert-hero {
      padding: 24px;
    }

    body.gift-cert-page .heading-bar.checkout-header.gift-cert-hero::before {
      background-size: cover;
      background-position: center;
      right: 0;
      top: 0;
      opacity: 0.25;
      -webkit-mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.4) 60%,
        rgba(0, 0, 0, 0) 100%
      );
      mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.4) 60%,
        rgba(0, 0, 0, 0) 100%
      );
    }

    body.gift-cert-page .gift-cert-hero h1 {
      font-size: 28px;
    }

    body.gift-cert-page .gift-cert-shell {
      width: min(100%, 92%);
    }

    body.gift-cert-page .gift-cert-login {
      grid-template-columns: minmax(0, 1fr);
    }

    body.gift-cert-page .checkout-btns-bottom {
      align-items: flex-start;
    }

    body.gift-cert-page li.edit-btn {
      align-self: center;
    }
  }

  @media (max-width: 500px) {
    body.gift-cert-page .heading-bar.checkout-header.gift-cert-hero {
      margin: 24px auto 20px;
      padding: 22px;
    }

    body.gift-cert-page .gift-cert-hero h1 {
      font-size: 24px;
    }

    body.gift-cert-page .gift-cert-hero-actions {
      flex-direction: column;
      align-items: stretch;
    }

    body.gift-cert-page .gc-amount-label {
      text-align: center;
    }
  }
}
