/* Product landing pages only. Never style checkout, portals or shared site chrome. */
/* Final landing refinements: compact choices and one card preview. */
.giftcard-page[data-giftcard-product] .giftcard-amounts a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 6px 12px;
  border: 1px solid #cbbca5;
  border-radius: 999px;
  color: #10284c;
  background: #fffdf9;
  font-weight: 700;
  text-decoration: none;
}
.giftcard-page[data-giftcard-product] .giftcard-amounts a:hover {
  border-color: #a5633d;
  background: #f1e7d9;
}
.giftcard-page[data-giftcard-product] .giftcard-amounts a:focus-visible {
  outline: 3px solid #a5633d;
  outline-offset: 3px;
}
.giftcard-page[data-giftcard-product] .giftcard-hero .giftcard-actions {
  margin: 0 0 16px;
}
.giftcard-page[data-giftcard-product] .giftcard-receive--compact > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 32px;
  align-items: start;
}
.giftcard-page[data-giftcard-product] .giftcard-receive--compact .giftcard-kicker,
.giftcard-page[data-giftcard-product] .giftcard-receive--compact h2,
.giftcard-page[data-giftcard-product] .giftcard-receive--compact p:not(.giftcard-kicker) {
  grid-column: 1;
  margin-top: 0;
}
.giftcard-page[data-giftcard-product] .giftcard-receive--compact .giftcard-checks {
  grid-column: 2;
  grid-row: 1 / 4;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 18px 22px;
  border: 1px solid #ded6c9;
  border-radius: 16px;
  background: #fffdf9;
}
@media (max-width: 900px) {
  .giftcard-page[data-giftcard-product] .giftcard-hero__copy {
    order: -1;
    padding: 28px 20px 20px;
  }
  .giftcard-page[data-giftcard-product] .giftcard-hero h1 {
    max-width: 23ch;
    font-size: clamp(2rem, 6.2vw, 2.7rem);
    line-height: 1.08;
    margin: 0;
  }
  .giftcard-page[data-giftcard-product] .giftcard-hero .giftcard-kicker {
    margin: 0 0 8px;
  }
  .giftcard-page[data-giftcard-product] .giftcard-hero .giftcard-lede {
    margin: 12px 0 16px;
    font-size: .96rem;
    line-height: 1.55;
  }
  .giftcard-page[data-giftcard-product] .giftcard-hero .giftcard-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    width: 100%;
  }
  .giftcard-page[data-giftcard-product] .giftcard-hero .giftcard-actions > :first-child {
    grid-column: 1 / -1;
  }
  .giftcard-page[data-giftcard-product] .giftcard-hero .giftcard-button {
    width: auto;
    min-height: 44px;
    padding: 10px;
    font-size: .86rem;
  }
  .giftcard-page[data-giftcard-product] .giftcard-hero .giftcard-amounts {
    gap: 6px;
    margin-bottom: 12px;
  }
  .giftcard-page[data-giftcard-product] .giftcard-hero .giftcard-bonus-note {
    margin: 0;
    font-size: .87rem;
  }
  .giftcard-page[data-giftcard-product] .giftcard-hero__legal {
    margin-top: 12px;
    font-size: .8rem;
  }
  .giftcard-page[data-giftcard-product] .giftcard-prelaunch-note:empty {
    margin: 0;
  }
  .giftcard-page[data-giftcard-product] .giftcard-hero__media {
    padding: 12px 20px 26px;
  }
  .giftcard-page[data-giftcard-product] .giftcard-hero .giftcard-preview {
    width: min(360px, 100%);
  }
  .giftcard-page[data-giftcard-product] .giftcard-receive--compact > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .giftcard-page[data-giftcard-product] .giftcard-receive--compact .giftcard-checks {
    grid-column: 1;
    grid-row: auto;
    margin-top: 12px;
  }
  .giftcard-page[data-giftcard-product] .giftcard-receive--compact {
    padding-top: 30px;
    padding-bottom: 30px;
  }
}
@media (min-width: 901px) {
  .giftcard-page[data-giftcard-product] main h1 {
    max-width: 20ch;
    font-size: clamp(2.8rem, 3.5vw, 3.6rem);
    line-height: 1.08;
  }

  .giftcard-page[data-giftcard-product] main h2 {
    max-width: 32ch;
    font-size: clamp(2rem, 2.6vw, 2.75rem);
    line-height: 1.1;
  }

  .giftcard-page[data-giftcard-product] .giftcard-hero {
    min-height: 0;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  }

  .giftcard-page[data-giftcard-product] .giftcard-hero__media {
    padding: 38px 32px 38px max(24px, calc((100vw - 1180px) / 2));
  }

  .giftcard-page[data-giftcard-product] .giftcard-hero__copy {
    padding: 38px max(24px, calc((100vw - 1180px) / 2)) 38px 28px;
  }

  .giftcard-page[data-giftcard-product] .giftcard-hero .giftcard-preview {
    width: min(460px, 100%);
  }

  .giftcard-page[data-giftcard-product] main .giftcard-kicker {
    margin-bottom: 8px;
  }

  .giftcard-page[data-giftcard-product] .giftcard-lede {
    margin: 16px 0;
    font-size: 1rem;
  }

  .giftcard-page[data-giftcard-product] .giftcard-amounts {
    margin-bottom: 16px;
    gap: 6px;
  }

  .giftcard-page[data-giftcard-product] .giftcard-amounts strong,
  .giftcard-page[data-giftcard-product] .giftcard-amounts span {
    padding: 6px 11px;
  }

  .giftcard-page[data-giftcard-product] .giftcard-bonus-note {
    margin: 0 0 16px;
  }

  .giftcard-page[data-giftcard-product] .giftcard-actions {
    gap: 8px;
  }

  .giftcard-page[data-giftcard-product] main .giftcard-button {
    min-height: 44px;
    padding: 10px 16px;
    font-size: .9rem;
  }

  .giftcard-page[data-giftcard-product] .giftcard-hero__legal {
    margin-top: 12px;
    font-size: .85rem;
  }

  .giftcard-page[data-giftcard-product] .giftcard-prelaunch-note {
    margin-top: 12px;
  }

  .giftcard-page[data-giftcard-product] .giftcard-prelaunch-note:empty {
    margin: 0;
  }

  .giftcard-page[data-giftcard-product] .giftcard-section {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .giftcard-page[data-giftcard-product] .giftcard-guide__intro {
    max-width: 88ch;
    margin: 12px 0 20px;
  }

  .giftcard-page[data-giftcard-product] .giftcard-guide {
    gap: 14px;
    padding: 22px;
    border-radius: 22px;
  }

  .giftcard-page[data-giftcard-product] .giftcard-guide.is-enhanced {
    grid-template-columns: minmax(220px, .7fr) minmax(0, 1.7fr);
  }

  .giftcard-page[data-giftcard-product] .giftcard-guide__tabs {
    gap: 7px;
  }

  .giftcard-page[data-giftcard-product] .giftcard-guide__tab {
    min-height: 52px;
    padding: 9px 11px;
    gap: 9px;
  }

  .giftcard-page[data-giftcard-product] .giftcard-guide__panel {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) minmax(225px, .9fr);
    gap: 22px;
    padding: 22px;
  }

  .giftcard-page[data-giftcard-product] .giftcard-guide__panel h3 {
    margin: 10px 0;
    font-size: 2rem;
    line-height: 1.1;
  }

  .giftcard-page[data-giftcard-product] .giftcard-guide__panel p {
    margin-top: 10px;
    margin-bottom: 0;
  }

  .giftcard-page[data-giftcard-product] .giftcard-guide__example {
    padding: 16px;
  }

  .giftcard-page[data-giftcard-product] .giftcard-guide__cta {
    margin-top: 18px;
  }

  .giftcard-page[data-giftcard-product] .giftcard-journey {
    padding: 28px;
  }

  .giftcard-page[data-giftcard-product] .giftcard-journey h2 {
    margin-bottom: 20px;
  }

  .giftcard-page[data-giftcard-product] .giftcard-journey__grid {
    gap: 16px;
    align-items: start;
  }

  .giftcard-page[data-giftcard-product] .giftcard-journey__grid article {
    padding: 20px;
  }

  .giftcard-page[data-giftcard-product] .giftcard-journey__grid h3 {
    font-size: 1.65rem;
  }

  .giftcard-page[data-giftcard-product] .giftcard-journey__grid article > span {
    margin-bottom: 8px;
  }

  .giftcard-page[data-giftcard-product] .giftcard-journey__steps {
    gap: 7px;
    margin-top: 14px;
  }

  .giftcard-page[data-giftcard-product] .giftcard-journey__help {
    margin-top: 16px;
  }

  .giftcard-page[data-giftcard-product] .giftcard-split {
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
    gap: 36px;
  }

  .giftcard-page[data-giftcard-product] .giftcard-split .giftcard-preview {
    width: min(420px, 100%);
    justify-self: end;
  }

  .giftcard-page[data-giftcard-product] .giftcard-checks {
    gap: 8px;
    margin-top: 18px;
  }

  .giftcard-page[data-giftcard-product] .giftcard-use {
    gap: 28px;
  }

  .giftcard-page[data-giftcard-product] .giftcard-use__facts {
    padding: 20px;
    gap: 6px;
  }

  .giftcard-page[data-giftcard-product] .giftcard-corporate-teaser {
    margin-top: 36px;
    margin-bottom: 0;
    padding: 28px;
    gap: 32px;
    border-radius: 22px;
  }

  .giftcard-page[data-giftcard-product] .giftcard-corporate-teaser__points {
    gap: 8px;
    padding: 16px;
  }

  .giftcard-page[data-giftcard-product] .giftcard-corporate-teaser__points li {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .giftcard-page[data-giftcard-product] .giftcard-terms-list {
    gap: 12px;
    margin-top: 20px;
    align-items: start;
  }

  .giftcard-page[data-giftcard-product] .giftcard-terms-list section {
    padding: 16px 18px;
  }

  .giftcard-page[data-giftcard-product] .giftcard-terms-list p {
    line-height: 1.6;
  }

  .giftcard-page[data-giftcard-product] .giftcard-terms__withdrawal {
    margin-top: 16px;
  }

  .giftcard-page[data-giftcard-product] .giftcard-faq-section {
    grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr);
    gap: 36px;
  }

  .giftcard-page[data-giftcard-product] .giftcard-faq summary {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .giftcard-page[data-giftcard-product] .giftcard-faq p {
    padding-bottom: 16px;
  }

  .giftcard-page[data-giftcard-product] .giftcard-final {
    margin-bottom: 48px;
    padding: 28px;
    gap: 28px;
    border-radius: 22px;
  }

  .giftcard-page[data-giftcard-product] .giftcard-final > div {
    flex: 1;
    min-width: 0;
  }

  .giftcard-page[data-giftcard-product] .giftcard-final > .giftcard-button {
    flex: none;
  }

  .giftcard-page[data-giftcard-product] .giftcard-final p {
    margin-bottom: 0;
  }
}

/* Mid-size laptops need the guide's example underneath its story to avoid
   narrow text columns. All five steps remain available through existing tabs. */
@media (min-width: 901px) and (max-width: 1100px) {
  .giftcard-page[data-giftcard-product] .giftcard-guide__panel {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (min-width: 1280px) {
  .giftcard-page[data-giftcard-product] .giftcard-terms-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Native disclosures: no added JavaScript, content stays in the HTML, and the
   current chapter opens without making seven legal cards fill the page. */
.giftcard-page[data-giftcard-product] .giftcard-terms--minimal {
  padding-top: 28px;
  padding-bottom: 28px;
}

.giftcard-page[data-giftcard-product] .giftcard-terms--minimal h2 {
  max-width: none;
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 1.8rem);
  line-height: 1.2;
}

.giftcard-page[data-giftcard-product] .giftcard-terms--minimal .giftcard-kicker {
  margin-bottom: 6px;
}

.giftcard-page[data-giftcard-product] .giftcard-terms-list.giftcard-terms-accordion {
  display: block;
  margin-top: 16px;
  border-top: 1px solid var(--gc-line);
}

.giftcard-page[data-giftcard-product] .giftcard-terms-accordion details {
  border-bottom: 1px solid var(--gc-line);
}

.giftcard-page[data-giftcard-product] .giftcard-terms-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 12px 0;
  color: var(--gc-navy);
  list-style: none;
  cursor: pointer;
}

.giftcard-page[data-giftcard-product] .giftcard-terms-accordion summary::marker {
  content: "";
}

.giftcard-page[data-giftcard-product] .giftcard-terms-accordion summary::-webkit-details-marker {
  display: none;
}

.giftcard-page[data-giftcard-product] .giftcard-terms-accordion summary h3 {
  margin: 0;
  color: inherit;
  font-size: .94rem;
  line-height: 1.45;
}

.giftcard-page[data-giftcard-product] .giftcard-terms-accordion summary::after {
  content: "+";
  flex: 0 0 20px;
  color: var(--gc-copper);
  font-size: 1.3rem;
  line-height: 1;
  text-align: center;
}

.giftcard-page[data-giftcard-product] .giftcard-terms-accordion details[open] > summary::after {
  content: "−";
}

.giftcard-page[data-giftcard-product] .giftcard-terms-accordion summary:hover {
  color: var(--gc-copper);
}

.giftcard-page[data-giftcard-product] .giftcard-terms-accordion summary:focus-visible {
  outline: 2px solid var(--gc-copper);
  outline-offset: 3px;
  border-radius: 4px;
}

.giftcard-page[data-giftcard-product] .giftcard-terms-accordion details > p {
  max-width: 90ch;
  margin: 0;
  padding: 0 32px 16px 0;
  font-size: .9rem;
  line-height: 1.65;
}

.giftcard-page[data-giftcard-product] .giftcard-terms--minimal .giftcard-terms__withdrawal {
  margin: 16px 0 0;
}

/* Compact, progressively enhanced after-purchase guide. */
.giftcard-page[data-giftcard-product] .giftcard-journey--compact {
  padding: 22px;
  border-radius: 18px;
}
.giftcard-page[data-giftcard-product] .giftcard-journey--compact h2 {
  max-width: none;
  margin-bottom: 16px;
  font-size: clamp(1.5rem, 2vw, 1.8rem);
  line-height: 1.2;
}
.giftcard-page[data-giftcard-product] .giftcard-journey--compact [hidden] {
  display: none !important;
}
.giftcard-page[data-giftcard-product] .giftcard-journey__tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin-bottom: 16px;
  padding: 4px;
  border: 1px solid var(--gc-line);
  border-radius: 12px;
  background: #f2ede3;
}
.giftcard-page[data-giftcard-product] .giftcard-journey__tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 0;
  min-height: 46px;
  padding: 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--gc-navy);
  font: inherit;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
}
.giftcard-page[data-giftcard-product] .giftcard-journey__tabs svg {
  flex: 0 0 20px;
}
.giftcard-page[data-giftcard-product] .giftcard-journey__tabs button[aria-selected="true"] {
  background: var(--gc-navy);
  color: #fff;
  box-shadow: 0 2px 5px #001b3b14;
}
.giftcard-page[data-giftcard-product] .giftcard-journey__tabs button:hover:not([aria-selected="true"]) {
  background: #fff9;
}
.giftcard-page[data-giftcard-product] .giftcard-journey__tabs button:focus-visible,
.giftcard-page[data-giftcard-product] .giftcard-journey__details summary:focus-visible,
.giftcard-page[data-giftcard-product] .giftcard-journey--compact article:focus-visible {
  outline: 2px solid var(--gc-copper);
  outline-offset: 3px;
}
.giftcard-page[data-giftcard-product] .giftcard-journey--compact .giftcard-journey__grid {
  align-items: stretch;
}
.giftcard-page[data-giftcard-product] .giftcard-journey--compact.is-enhanced .giftcard-journey__grid {
  display: block;
}
.giftcard-page[data-giftcard-product] .giftcard-journey--compact.is-enhanced article {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.giftcard-page[data-giftcard-product] .giftcard-journey--compact h3 {
  margin: 0 0 8px;
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}
.giftcard-page[data-giftcard-product] .giftcard-journey--compact article p {
  max-width: 100ch;
}
.giftcard-page[data-giftcard-product] .giftcard-journey__details {
  margin-top: 12px;
  border-top: 1px solid var(--gc-line);
}
.giftcard-page[data-giftcard-product] .giftcard-journey__details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  color: var(--gc-navy);
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.giftcard-page[data-giftcard-product] .giftcard-journey__details summary::-webkit-details-marker {
  display: none;
}
.giftcard-page[data-giftcard-product] .giftcard-journey__details summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--gc-copper);
  font-size: 1.35rem;
}
.giftcard-page[data-giftcard-product] .giftcard-journey__details[open] summary::after {
  content: "−";
}
.giftcard-page[data-giftcard-product] .giftcard-journey__details .giftcard-journey__steps {
  margin: 0 0 8px;
}
.giftcard-page[data-giftcard-product] .giftcard-journey__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gc-line);
}
.giftcard-page[data-giftcard-product] .giftcard-journey__footer .giftcard-journey__help {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: .88rem;
  line-height: 1.55;
}
.giftcard-page[data-giftcard-product] .giftcard-journey__portal {
  flex: none;
  gap: 8px;
  min-height: 44px;
  border: 1px solid var(--gc-navy);
  background: #fff;
  color: var(--gc-navy);
  font-size: .85rem;
  text-decoration: none;
}
@media (max-width: 620px) {
  .giftcard-page[data-giftcard-product] .giftcard-journey--compact {
    padding: 18px;
  }
  .giftcard-page[data-giftcard-product] .giftcard-journey__tabs button {
    gap: 6px;
    padding: 9px 6px;
    font-size: .82rem;
  }
  .giftcard-page[data-giftcard-product] .giftcard-journey__footer {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
}

/* Terms use the same segmented selection + single panel as the journey. */
.giftcard-page[data-giftcard-product] .giftcard-terms--tabs {
  padding: 22px;
  border: 1px solid var(--gc-line);
  border-radius: 18px;
  background: #fbf8f1;
}
.giftcard-page[data-giftcard-product] .giftcard-terms--tabs h2 {
  margin-bottom: 16px;
}
.giftcard-page[data-giftcard-product] .giftcard-terms-switcher [hidden] {
  display: none !important;
}
.giftcard-page[data-giftcard-product] .giftcard-terms__tabs {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  margin-bottom: 16px;
  padding: 4px;
  border: 1px solid var(--gc-line);
  border-radius: 12px;
  background: #f2ede3;
}
.giftcard-page[data-giftcard-product] .giftcard-terms__tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 46px;
  padding: 10px 6px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--gc-navy);
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
}
.giftcard-page[data-giftcard-product] .giftcard-terms__tabs button[aria-selected="true"] {
  background: var(--gc-navy);
  color: #fff;
  box-shadow: 0 2px 5px #001b3b14;
}
.giftcard-page[data-giftcard-product] .giftcard-terms__tabs button:hover:not([aria-selected="true"]) {
  background: #fff9;
}
.giftcard-page[data-giftcard-product] .giftcard-terms__tabs button:focus-visible,
.giftcard-page[data-giftcard-product] .giftcard-terms__selector select:focus-visible,
.giftcard-page[data-giftcard-product] .giftcard-terms-switcher article:focus-visible {
  outline: 2px solid var(--gc-copper);
  outline-offset: 3px;
}
.giftcard-page[data-giftcard-product] .giftcard-terms__selector {
  display: none;
  margin-bottom: 16px;
}
.giftcard-page[data-giftcard-product] .giftcard-terms__selector label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.giftcard-page[data-giftcard-product] .giftcard-terms__selector select {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--gc-line);
  border-radius: 10px;
  background: #fff;
  color: var(--gc-navy);
  font: inherit;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
}
.giftcard-page[data-giftcard-product] .giftcard-terms-switcher.is-enhanced .giftcard-terms-list {
  margin: 0;
  border: 0;
}
.giftcard-page[data-giftcard-product] .giftcard-terms-switcher.is-enhanced article > h3 {
  margin: 0 0 8px;
  font-family: "Work Sans", Arial, sans-serif;
  color: var(--gc-navy);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}
.giftcard-page[data-giftcard-product] .giftcard-terms-switcher.is-enhanced article > p {
  max-width: 100ch;
  margin: 0;
  color: var(--gc-muted);
  font-size: .9rem;
  line-height: 1.65;
}
.giftcard-page[data-giftcard-product] .giftcard-terms--tabs .giftcard-terms__withdrawal {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gc-line);
  font-size: .88rem;
  line-height: 1.55;
}
.giftcard-page[data-giftcard-product] .giftcard-terms--tabs .giftcard-withdrawal-link {
  color: var(--gc-navy);
  font-weight: 700;
  text-underline-offset: 3px;
}
.giftcard-page[data-giftcard-product] .giftcard-terms--tabs .giftcard-withdrawal-link:hover {
  color: var(--gc-copper);
}
@media (max-width: 900px) {
  .giftcard-page[data-giftcard-product] .giftcard-terms__tabs {
    display: none;
  }
  .giftcard-page[data-giftcard-product] .giftcard-terms__selector {
    display: block;
  }
}
@media (max-width: 620px) {
  .giftcard-page[data-giftcard-product] .giftcard-terms--tabs {
    padding: 18px;
  }
}
