/* Voucher redesign: https://codepen.io/lescampbell/pen/rayZOaw */
:root {
  --fw-green: #10403f;
  --fw-purchase: #c94e22;
  --fw-ink: #263635;
  --fw-muted: #5e6b6a;
  --fw-border: #d9dfdd;
  --fw-soft: #f4f7f5;
  --fw-danger: #a92e29;
}
* {
  box-sizing: border-box;
}
html {
  min-height: 100%;
}
body {
  margin: 0;
  color: var(--fw-ink);
  background: #fff;
  font:
    16px/1.55 Arial,
    Helvetica,
    sans-serif;
}
a {
  color: var(--fw-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}
a:hover {
  color: #b3421a;
}
button,
input,
textarea,
select {
  font: inherit;
}
img {
  max-width: 100%;
}
h1,
h2,
h3 {
  color: var(--fw-ink);
  line-height: 1.2;
  font-weight: 600;
}
h1 {
  font-size: 34px;
  margin: 0 0 14px;
}
h2 {
  font-size: 25px;
}
h3 {
  font-size: 20px;
}
p {
  margin: 0 0 18px;
}
.container {
  max-width: 1170px;
  width: 100%;
  padding: 0 24px;
  margin: auto;
}
.site-header {
  background: var(--fw-green);
  color: #fff;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 108px;
}
.header-inner::before,
.header-inner::after,
.footer-inner::before,
.footer-inner::after {
  display: none;
}
.site-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
  text-decoration: none;
}
.site-brand:hover {
  color: #fff;
  text-decoration: none;
}
.site-brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.site-brand strong {
  display: block;
  font-size: 20px;
  line-height: 1.3;
}
.site-brand span span {
  display: block;
  font-size: 14px;
  margin-top: 4px;
  color: #d5e6df;
}
.site-nav {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}
.site-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}
.site-nav a:hover {
  text-decoration: none;
}
.site-main {
  min-height: 64vh;
  padding: 42px 0 72px;
}
.page-heading {
  padding-bottom: 22px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--fw-border);
}
.page-heading p {
  color: var(--fw-muted);
  margin: 0;
  max-width: 720px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 700;
  color: var(--fw-muted);
  margin-bottom: 10px;
}
.order-steps {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  color: var(--fw-muted);
  font-size: 13px;
}
.order-steps li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.order-steps span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--fw-border);
  border-radius: 50%;
  width: 25px;
  height: 25px;
}
.order-steps [aria-current="step"] {
  color: var(--fw-green);
  font-weight: 700;
}
.order-steps [aria-current="step"] span {
  background: var(--fw-green);
  border-color: var(--fw-green);
  color: #fff;
}
.purchase-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 80px;
  align-items: start;
}
.gift-form {
  max-width: 520px;
}
.field {
  margin-bottom: 24px;
}
.field label,
.field-label,
legend {
  display: block;
  font-weight: 600;
  margin: 0 0 9px;
  font-size: 15px;
}
.field label .optional {
  font-weight: 400;
  color: var(--fw-muted);
}
fieldset {
  border: 0;
  min-width: 0;
  padding: 0;
  margin: 0 0 24px;
}
legend {
  border: 0;
  width: auto;
  line-height: inherit;
}
.field-help,
.help-text {
  font-size: 13px;
  color: var(--fw-muted);
  margin: 8px 0 0;
  max-width: 440px;
}
.form-control,
.text-input {
  display: block;
  width: 100%;
  max-width: 440px;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--fw-ink);
  background: #fff;
  border: 1px solid #99a6a2;
  border-radius: 6px;
  box-shadow: none;
  font-size: 16px;
  height: auto;
}
.form-control:focus,
.text-input:focus {
  border-color: var(--fw-green);
  box-shadow: 0 0 0 3px #10403f19;
}
.form-control[aria-invalid="true"] {
  border-color: var(--fw-danger);
}
textarea.form-control {
  resize: vertical;
  min-height: 108px;
}
.input-group {
  display: flex;
  width: 100%;
  max-width: 440px;
}
.input-group .form-control {
  min-width: 0;
  flex: 1;
  border-radius: 0 6px 6px 0;
  float: none;
  width: 100%;
}
.input-group-addon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  flex-shrink: 0;
  border: 1px solid #99a6a2;
  border-right: 0;
  border-radius: 6px 0 0 6px;
  background: var(--fw-soft);
  color: var(--fw-muted);
}
.amount-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 14px;
}
.amount-option {
  position: relative;
  display: block;
  cursor: pointer;
  margin: 0 !important;
}
.amount-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.amount-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-width: 62px;
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid #99a6a2;
  border-radius: 8px;
  background: #fff;
  font-weight: 400;
  font-size: 15px;
}
.amount-option input:checked + span {
  background: var(--fw-green);
  border-color: var(--fw-green);
  color: #fff;
}
.amount-option input:focus-visible + span {
  outline: 3px solid #d98a2c;
  outline-offset: 3px;
}
.amount-option:hover span {
  border-color: var(--fw-green);
  background: #edf4ef;
}
.amount-option input:checked + span:hover {
  background: #195553;
}
.license-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 360px;
}
.license-options .amount-option span {
  min-height: 76px;
}
.license-options strong {
  font-size: 17px;
  font-weight: 600;
}
.amount-readout {
  color: var(--fw-green);
  margin-left: 8px;
  font-size: 18px;
}
.check-option {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 14px;
  margin-top: 12px;
}
.check-option input {
  margin: 5px 0 0;
  accent-color: var(--fw-green);
}
.check-option label {
  font-weight: 400;
  margin: 0;
}
.delivery-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.delivery-options input[type="radio"] {
  margin: 0 7px 0 0;
  accent-color: var(--fw-green);
}
.delivery-options label {
  display: inline-block;
  margin: 0 18px 0 0;
  font-weight: 400;
}
.delivery-options table {
  width: auto;
}
.delivery-options td {
  padding: 8px 4px;
}
.email-fields {
  padding-left: 18px;
  border-left: 3px solid #dbe8df;
  margin: 0 0 24px;
}
.date-input {
  max-width: 185px;
}
.btn {
  display: inline-block;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 24px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  white-space: normal;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
  text-shadow: none;
  background-image: none;
  transition: background-color 0.15s;
}
.btn-primary,
.btn-green,
.btn-success,
.btn-info {
  background: var(--fw-green);
  border-color: var(--fw-green);
  color: #fff;
}
.btn-primary:hover,
.btn-green:hover,
.btn-success:hover,
.btn-info:hover,
.btn-primary:focus {
  background: #1b5855;
  border-color: #1b5855;
  color: #fff;
}
.btn-purchase {
  background: var(--fw-purchase);
  border-color: var(--fw-purchase);
  color: #fff;
  font-weight: 700;
}
.btn-purchase:hover,
.btn-purchase:focus {
  background: #ac3f19;
  border-color: #ac3f19;
  color: #fff;
}
.btn-default {
  color: var(--fw-green);
  background: #fff;
  border-color: #97aaa4;
}
.btn-default:hover {
  background: var(--fw-soft);
}
.btn-danger {
  color: var(--fw-danger);
  background: #fff;
  border-color: #ddbbb8;
}
.btn-danger:hover {
  background: #fcf0ee;
  color: #82251f;
  border-color: #ba7670;
}
.btn-link {
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  min-height: 32px;
  color: var(--fw-green);
  text-decoration: underline;
  font-weight: 400;
}
.btn[disabled],
.btn.disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.btn-block {
  width: 100%;
  display: block;
}
.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 28px;
}
.cart {
  border: 1px solid var(--fw-border);
  border-radius: 8px;
  padding: 26px;
  background: #fff;
  position: sticky;
  top: 24px;
}
.cart h2 {
  font-size: 22px;
  margin: 0 0 4px;
}
.cart-description {
  color: var(--fw-muted);
  font-size: 14px;
  margin-bottom: 22px;
}
.cart-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cart-item {
  padding: 17px 0;
  border-top: 1px solid var(--fw-border);
  overflow-wrap: anywhere;
}
.cart-item-heading {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: baseline;
}
.cart-item-heading strong {
  white-space: nowrap;
}
.cart-item-name {
  font-size: 15px;
  font-weight: 600;
}
.cart-item-details {
  font-size: 13px;
  color: var(--fw-muted);
  margin: 4px 0;
}
.cart-item-actions {
  display: flex;
  gap: 16px;
  margin-top: 7px;
}
.cart-item-actions .btn-link {
  font-size: 12px;
  min-height: 24px;
}
.cart-empty {
  padding: 24px 12px;
  background: var(--fw-soft);
  border-radius: 6px;
  color: var(--fw-muted);
  font-size: 14px;
  text-align: center;
  margin-bottom: 20px;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--fw-border);
  padding: 20px 0;
  font-size: 16px;
}
.cart-total strong {
  font-size: 22px;
}
.cart-note {
  font-size: 12px;
  color: var(--fw-muted);
  text-align: center;
  margin: 12px 0 0;
}
.cart .btn-purchase {
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.review-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 70px;
  align-items: start;
}
.info-panel {
  background: var(--fw-soft);
  padding: 26px;
  border-radius: 8px;
}
.info-panel h2 {
  font-size: 22px;
  margin: 0 0 14px;
}
.info-panel ul {
  padding-left: 20px;
}
.info-panel li {
  margin: 8px 0;
}
.gift-uses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.gift-uses li {
  border: 1px solid var(--fw-border);
  padding: 18px;
  border-radius: 8px;
  font-size: 15px;
}
.landing-intro {
  font-size: 18px;
  max-width: 670px;
}
.landing-actions {
  margin: 30px 0;
}
.notice,
.alert {
  padding: 18px 20px;
  border: 1px solid var(--fw-border);
  border-radius: 7px;
  margin: 20px 0;
  background: var(--fw-soft);
}
.alert-danger,
.validation-summary {
  border-color: #e2b7b0;
  background: #fff6f4;
  color: #942a20;
}
.alert-success {
  border-color: #a9cbb7;
  background: #f0f8f2;
  color: var(--fw-green);
}
.validation-summary {
  padding: 16px 20px;
  border-radius: 6px;
  margin: 0 0 24px;
}
.validation-summary ul {
  margin: 8px 0 0;
  padding-left: 20px;
}
.field-error {
  display: block;
  color: var(--fw-danger) !important;
  font-size: 13px;
  margin-top: 6px;
}
.state-card {
  max-width: 700px;
  margin: 30px auto;
  padding: 36px;
  border: 1px solid var(--fw-border);
  border-radius: 8px;
}
.state-card h1 {
  font-size: 30px;
}
.balance-layout {
  max-width: 650px;
}
.balance-result {
  margin-bottom: 25px;
}
.balance-result .balance-amount {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: var(--fw-green);
}
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border: 0;
}
.table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
}
.table > tbody > tr > td,
.table > tbody > tr > th {
  padding: 20px 16px;
  vertical-align: top;
  border: 1px solid var(--fw-border);
}
.table-striped > tbody > tr:nth-of-type(odd) {
  background: var(--fw-soft);
}
.certificate-table strong {
  font-size: 13px;
}
.certificate-table a {
  display: inline-block;
  margin: 5px 0;
  font-size: 14px;
}
.certificate-table .certificate-recipient {
  font-size: 17px;
  font-weight: 600;
}
.print-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 0 0 24px;
}
.print-certificate img {
  max-width: 100%;
  height: auto;
}
.site-footer {
  border-top: 1px solid var(--fw-border);
  background: var(--fw-soft);
  padding: 28px 0;
  font-size: 12px;
  color: var(--fw-muted);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
}
.footer-inner p {
  margin: 0;
}
.footer-inner nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.site-footer a {
  color: var(--fw-muted);
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  background: white;
  color: var(--fw-green);
  padding: 12px 20px;
  z-index: 10000;
}
.skip-link:focus {
  top: 12px;
}
:focus-visible {
  outline: 3px solid #d98a2c;
  outline-offset: 3px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
[hidden] {
  display: none !important;
}
.legacy-content input[type="text"],
.legacy-content select {
  max-width: 100%;
}
.legacy-content .container {
  padding: 0;
}
.legacy-content > h2:first-child,
.legacy-content > h3:first-child {
  margin-top: 0;
}
.legacy-content .btn {
  margin-bottom: 8px;
}
.checkout-gifts {
  width: 100%;
  border: 0;
}
.checkout-gifts td {
  padding: 0;
  border: 0;
}
.check-option > span {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}
.check-option > span label {
  font-weight: 400;
}
.delivery-options input:focus-visible + label {
  outline: 3px solid #d98a2c;
  outline-offset: 3px;
}
@media (min-width: 1200px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}
@media (max-width: 991px) {
  .purchase-layout,
  .review-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 32px;
  }
  .site-brand strong {
    font-size: 17px;
  }
  .site-nav {
    gap: 16px;
  }
  .cart {
    padding: 22px;
  }
}
@media (max-width: 767px) {
  .amount-options:not(.license-options) {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 7px;
  }
  .amount-option span {
    min-width: 0;
    padding: 9px 6px;
  }
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .site-brand img {
    width: 50px;
    height: 50px;
  }
  .site-brand strong {
    font-size: 18px;
  }
  .site-nav {
    gap: 20px;
  }
  .site-nav a {
    font-size: 12px;
  }
  .site-main {
    padding: 28px 0 48px;
  }
  h1 {
    font-size: 28px;
  }
  .page-heading {
    margin-bottom: 26px;
  }
  .purchase-layout,
  .review-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .gift-form {
    max-width: none;
  }
  .cart {
    position: static;
    max-width: none;
  }
  .form-control,
  .input-group {
    max-width: 100%;
  }
  .date-input {
    max-width: 185px;
  }
  .order-steps {
    gap: 14px;
    font-size: 12px;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .gift-uses {
    grid-template-columns: 1fr;
  }
  .state-card {
    padding: 24px;
    margin: 0;
  }
  .certificate-table,
  .certificate-table tbody,
  .certificate-table tr,
  .certificate-table td {
    display: block;
    width: 100%;
  }
  .certificate-table tr {
    border: 1px solid var(--fw-border);
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
  }
  .certificate-table > tbody > tr > td {
    border: 0;
    padding: 14px 20px;
  }
  .certificate-table > tbody > tr > td + td {
    border-top: 1px solid var(--fw-border);
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  .hidden-print,
  .site-header,
  .site-footer,
  .skip-link,
  .print-actions {
    display: none !important;
  }
  body {
    font-size: 12px;
    color: #000;
    background: #fff;
  }
  .site-main {
    padding: 0;
    min-height: 0;
  }
  .container {
    width: 100%;
    max-width: none;
    padding: 0;
  }
  .print-certificate {
    break-inside: avoid;
  }
  .print-certificate img {
    max-width: 100%;
  }
  a[href]:after {
    content: none !important;
  }
  .state-card {
    border: 0;
    padding: 0;
  }
  h1,
  h2,
  h3 {
    color: #000;
  }
}
