/* Gift cards page: type, colour and layout of the page itself: breadcrumb, hero,
   location cards, the Make it theirs section, the steps and the questions. The forms and
   the card preview are in gift-cards-page-form.css. The page is white with ink
   type, set in Montserrat, which the site already loads. Everything sits under
   .nara-gc so the theme stays untouched; the doubled class beats the theme
   kit's heading, link, input and button rules. */

.nara-gc, .nara-gc *, .nara-gc *::before, .nara-gc *::after { box-sizing: border-box; }
.nara-gc [hidden] { display: none !important; }

.nara-gc {
  --gc-ink: #333333;
  --gc-muted: #6B6B6B;
  --gc-white: #FFFFFF;
  --gc-gold: #B29C78;
  --gc-sand: #F7F4EE;
  --gc-panel: #F7F5F0;
  --gc-hairline: #E4E4E4;
  --gc-border: #A3A3A3;
  --gc-negative: #B3412E;
  --gc-band: #2B2420;
  --gc-font: Montserrat, Arial, sans-serif;
  --gc-gutter: clamp(24px, 3.2vw, 64px);
  --gc-header: 140px;
  --gc-sticky: calc(var(--gc-header) * 0.75);
  --gc-section: 112px;

  max-width: 100%;
  background: var(--gc-white);
  color: var(--gc-ink);
  font: 400 15px/1.65 var(--gc-font);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.nara-gc p { margin: 0; }
.nara-gc a { color: inherit; }
.nara-gc img { max-width: 100%; }
.nara-gc :focus-visible { outline: 2px solid var(--gc-ink); outline-offset: 3px; }

/* The page takes the whole window, whatever boxed column the page builder puts around the shortcode. The breakout is as wide as the
   window including its scrollbar, so the body clips the few pixels that would otherwise add a sideways scroll (clip, not hidden, so
   the sticky card preview keeps working). This file only loads on the gift cards page. The content is the window less a gutter on
   each side, with no cap on its width. */
.nara-gc--page { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
body.nara-gc-body { overflow-x: clip; }
/* The old page set its text smoothing on its own wrapper. The page built in the page builder gets the same on its content (not on the header or the footer), so its text keeps the weight it had on a Mac. */
body.nara-gc-body [data-elementor-type="wp-page"] { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

.nara-gc-wrap { width: calc(100% - 2 * var(--gc-gutter)); margin: 0 auto; padding: 0; }

/* Small capitals with room between the letters: kickers, labels and the card links. */
.nara-gc .nara-gc-eyebrow {
  margin: 0; font: 500 11px/1.4 var(--gc-font); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gc-ink);
}

/* ---------- Breadcrumb. The site header is transparent with a white logo, so a dark strip the height of the header sits behind it, at the top of the bar ---------- */
.nara-gc-crumbs { padding-top: var(--gc-header); background: linear-gradient(var(--gc-band) 0, var(--gc-band) var(--gc-header), var(--gc-white) var(--gc-header)); border-bottom: 1px solid #C7C7CB; }
.nara-gc-crumbs .nara-gc-wrap { padding: 13px 0; }
.nara-gc .nara-gc-crumbs-list { display: flex; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; list-style: none; font: 400 12px/1.5 var(--gc-font); letter-spacing: 0; }
.nara-gc .nara-gc-crumbs-list li { display: flex; align-items: center; margin: 0; padding: 0; }
.nara-gc .nara-gc-crumbs-list li + li { margin-left: 8px; }
.nara-gc .nara-gc-crumbs-list li + li::before { content: "/"; margin-right: 8px; color: #59595F; }
.nara-gc .nara-gc-crumbs-list a { display: inline-flex; align-items: center; min-height: 32px; text-decoration: underline; text-underline-offset: 4px; }
.nara-gc .nara-gc-crumbs-list [aria-current] { color: #59595F; }

/* ---------- Hero ---------- */
.nara-gc-hero-inner { padding-top: 64px; padding-bottom: 8px; }
.nara-gc .nara-gc-hero .nara-gc-eyebrow::before { content: ""; display: block; width: 30px; height: 1px; margin-bottom: 20px; background: var(--gc-gold); }
.nara-gc .nara-gc-hero-title {
  margin: 28px 0 0; max-width: 14em; color: var(--gc-ink);
  font: 300 clamp(38px, 4.5vw, 64px)/1.14 var(--gc-font); letter-spacing: -0.015em; text-transform: none;
}
.nara-gc .nara-gc-hero-lead { margin: 28px 0 0; max-width: 48em; font: 400 15px/1.7 var(--gc-font); }
.nara-gc.nara-gc .nara-gc-btn.nara-gc-hero-cta { margin-top: 32px; }

/* ---------- Buttons: gold, square, small capitals ---------- */
.nara-gc.nara-gc .nara-gc-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin: 0; padding: 0 28px;
  border: 0; border-radius: 0; cursor: pointer; background: var(--gc-gold); color: var(--gc-ink); box-shadow: none;
  font: 600 11px/1.2 var(--gc-font); letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
  transition: background-color 160ms ease;
}
.nara-gc.nara-gc .nara-gc-btn:hover { background: #A38C67; color: var(--gc-ink); }
.nara-gc.nara-gc .nara-gc-btn:focus-visible { outline: 2px solid var(--gc-ink); outline-offset: 3px; }
.nara-gc.nara-gc .nara-gc-btn:disabled { cursor: not-allowed; opacity: 0.45; }

/* ---------- Notes ---------- */
.nara-gc-notice { margin: 40px var(--gc-gutter) 0; padding: 12px 20px; background: var(--gc-sand); font-size: 14px; }
.nara-gc-empty { margin: 64px 0; text-align: center; color: var(--gc-muted); }

/* ---------- Place cards. The whole card is one link: the choose link is stretched over it, and the package links (shown without a script) sit on top ---------- */
.nara-gc-locations, .nara-gc-packages { margin-top: 72px; }
.nara-gc-loc-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; }
.nara-gc-loc { position: relative; }
.nara-gc-loc-list > .nara-gc-loc { display: flex; flex-direction: column; align-items: stretch; min-width: 0; margin: 0; padding-bottom: 18px; background: #FBF8F2; border-bottom: 2px solid var(--gc-gold); }
.nara-gc-loc.is-chosen { outline: 1px solid var(--gc-ink, #333333); outline-offset: 3px; }
/* A card built in the page builder (a container with the class nara-gc-loc keeps the look set in its own panel): its button stretches over the whole card, and the widgets in between must not be the box it stretches to. Not inside the Elementor editor, where the stretched button would cover the picture, the name and the text and they could not be selected. */
body:not(.elementor-editor-active) .nara-gc-loc .elementor-widget { position: static; }
body:not(.elementor-editor-active) .nara-gc-loc .e-con { position: static; }
body:not(.elementor-editor-active) .nara-gc-loc .elementor-button::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.nara-gc-loc:hover .elementor-button-text { text-decoration: underline; text-underline-offset: 5px; }
/* The place photo zooms a little on hover, as the old card's did. Its box clips the zoom; not inside the Elementor editor, where moving pictures get in the way of selecting them. */
.nara-gc-loc .elementor-widget-image { overflow: hidden; }
.nara-gc-loc .elementor-widget-image img { transition: transform 0.6s; }
body:not(.elementor-editor-active) .nara-gc-loc:hover .elementor-widget-image img { transform: scale(1.025); }
.nara-gc-loc .elementor-button:focus { outline: none; }
.nara-gc-loc .elementor-button:focus::after { outline: 2px solid var(--gc-ink, #333333); outline-offset: 3px; }
.nara-gc-loc .elementor-button:focus:not(:focus-visible)::after { outline: none; }
.nara-gc-loc-media { height: 310px; margin-bottom: 25px; overflow: hidden; }
.nara-gc .nara-gc-loc-img { display: block; width: 100%; max-width: none; height: 100%; object-fit: cover; background: #E9E4DA; transition: transform 0.6s; }
.nara-gc .nara-gc-loc:hover .nara-gc-loc-img { transform: scale(1.025); }
.nara-gc-loc-body { display: flex; flex: 1; flex-direction: column; margin: 0 clamp(14px, 2vw, 24px); }
.nara-gc .nara-gc-loc-tagline { margin: 0 0 22px; font: 400 10px/1.65 var(--gc-font); letter-spacing: 1px; text-transform: uppercase; color: var(--gc-ink); }
.nara-gc .nara-gc-loc-name { margin: 12px 0; font: 400 32px/1.16 var(--gc-font); letter-spacing: -0.02em; text-transform: none; color: var(--gc-ink); }
.nara-gc .nara-gc-loc-blurb { margin: 0 0 1.15em; max-width: 38ch; font: 400 17px/1.7 var(--gc-font); color: var(--gc-ink); }
.nara-gc-loc-packages { margin: 16px 0 0; padding: 0; list-style: none; font-size: 13px; }
.nara-gc-loc-packages li { margin: 0; padding: 4px 0; }
.nara-gc .nara-gc-loc-packages a { position: relative; z-index: 1; }
.nara-gc .nara-gc-loc-unavailable > span { color: var(--gc-muted); }
.nara-gc .nara-gc-loc-cta {
  display: inline-flex; align-items: center; align-self: flex-start; min-height: 44px; margin-top: auto; padding: 0 0 7px; font: 400 10px/1.6 var(--gc-font);
  letter-spacing: 1px; text-transform: uppercase; text-decoration: none; color: var(--gc-ink);
}
.nara-gc .nara-gc-loc-cta::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.nara-gc .nara-gc-loc:hover .nara-gc-loc-cta { text-decoration: underline; text-underline-offset: 5px; }
/* Read out, not drawn: "Choose this gift" says which place it is for to a screen reader. */
.nara-gc .nara-gc-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
/* The ring goes round the whole card. A browser that does not know :focus-visible drops the last rule and keeps the ring on every focus. */
.nara-gc .nara-gc-loc-cta:focus { outline: none; }
.nara-gc .nara-gc-loc-cta:focus::after { outline: 2px solid var(--gc-ink); outline-offset: 3px; }
.nara-gc .nara-gc-loc-cta:focus:not(:focus-visible)::after { outline: none; }
.nara-gc.is-scripted .nara-gc-loc-packages, .nara-gc.is-scripted .nara-gc-packages { display: none; }

/* ---------- Make it theirs: the card on the left, the form on the right ---------- */
.nara-gc-make { margin-top: var(--gc-section); scroll-margin-top: var(--gc-sticky); }
.nara-gc-make:focus { outline: none; }
.nara-gc-make-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); grid-template-areas: "kicker kicker" "title side"; column-gap: 48px; align-items: end; }
.nara-gc-make-head .nara-gc-eyebrow { grid-area: kicker; }
.nara-gc .nara-gc-make-title { grid-area: title; }
.nara-gc .nara-gc-make-title, .nara-gc .nara-gc-section-title {
  margin: 20px 0 0; font: 300 clamp(32px, 3.5vw, 48px)/1.18 var(--gc-font); letter-spacing: -0.01em; color: var(--gc-ink);
}
.nara-gc .nara-gc-make-side { grid-area: side; padding-bottom: 8px; font-size: 13px; line-height: 1.7; }
.nara-gc-make-grid { display: grid; grid-template-columns: minmax(0, 45fr) minmax(0, 48fr); column-gap: 7%; align-items: start; margin-top: 48px; }
.nara-gc-make-preview { position: sticky; top: var(--gc-sticky); }
.nara-gc-make-forms { min-width: 0; }
.nara-gc .nara-gc-confirmation { margin: 0 0 24px; padding: 18px 20px; background: var(--gc-sand); border-left: 2px solid var(--gc-gold); font-size: 15px; }

/* ---------- Steps ---------- */
.nara-gc-steps { margin-top: var(--gc-section); }
.nara-gc-steps-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 48px; margin: 56px 0 0; padding: 0; list-style: none; }
.nara-gc-step { display: block; margin: 0; padding: 20px 0 0; border-top: 1px solid var(--gc-gold); }
.nara-gc .nara-gc-step-number { display: block; font: 500 11px/1.4 var(--gc-font); letter-spacing: 0.16em; color: var(--gc-muted); }
.nara-gc .nara-gc-step-title { margin: 16px 0 0; font: 400 22px/1.3 var(--gc-font); letter-spacing: -0.005em; color: var(--gc-ink); }
.nara-gc .nara-gc-step-text { margin-top: 12px; max-width: 28em; font-size: 14px; line-height: 1.7; }

/* ---------- Questions ---------- */
.nara-gc-faq { margin: var(--gc-section) 0; }
.nara-gc-faq-list { margin-top: 48px; border-top: 1px solid var(--gc-gold); }
.nara-gc-faq-item { border-bottom: 1px solid var(--gc-gold); }
.nara-gc .nara-gc-faq-question {
  display: flex; align-items: center; justify-content: space-between; padding: 22px 0; cursor: pointer; list-style: none;
  font: 400 16px/1.5 var(--gc-font); color: var(--gc-ink);
}
.nara-gc .nara-gc-faq-question::-webkit-details-marker { display: none; }
.nara-gc .nara-gc-faq-question::after { content: "+"; flex: none; margin-left: 24px; font: 300 24px/1 var(--gc-font); }
.nara-gc .nara-gc-faq-item[open] .nara-gc-faq-question::after { content: "\2212"; }
.nara-gc .nara-gc-faq-answer { max-width: 46em; padding: 0 0 24px; font-size: 14px; line-height: 1.75; }
/* Questions built in the page builder (a nested accordion with the class nara-gc-faq-accordion): its own icon is switched off, because Font Awesome's plus is heavier than the thin one drawn here. The margin is 14px, not the old 24px, because Elementor's own 10px gap between the title and its icon already sits in front of it. */
:is(.nara-gc-faq-accordion, .nara-gc-faq-accordion > .elementor-widget-container) > .e-n-accordion > .e-n-accordion-item > .e-n-accordion-item-title::after {
  content: "+"; content: "+" / ""; flex: none; margin-left: 14px; color: #333333; font: 300 24px/1 Montserrat, Arial, sans-serif;
}
:is(.nara-gc-faq-accordion, .nara-gc-faq-accordion > .elementor-widget-container) > .e-n-accordion > .e-n-accordion-item[open] > .e-n-accordion-item-title::after { content: "\2212"; content: "\2212" / ""; }

/* ---------- The page built in the page builder, between its tablet width (1024px) and the old page's own breakpoints: the old page changed its cards at 1100px and its section spacing at 1080px, so from 1025px up to those widths the cards and sections keep the old values and the page has the same height. Not in the Elementor editor, where the panel's own values show. ---------- */
@media (min-width: 1025px) and (max-width: 1100px) {
  body:not(.elementor-editor-active) #nara-gc-locations { --gap: 0px 18px; --row-gap: 0px; --column-gap: 18px; }
  body:not(.elementor-editor-active) #nara-gc-locations .nara-gc-loc { --width: calc((100% - 36px) / 3); }
  body:not(.elementor-editor-active) #nara-gc-locations .nara-gc-loc .elementor-widget-image img { height: 250px; }
}
@media (min-width: 1025px) and (max-width: 1080px) {
  body:not(.elementor-editor-active) .elementor .e-con.nara-gc-sec-steps { --padding-top: 88px; }
  body:not(.elementor-editor-active) .elementor .e-con.nara-gc-sec-faq { --padding-top: 88px; --padding-bottom: 88px; }
  body:not(.elementor-editor-active) .elementor .e-con.nara-gc-sec-terms { --padding-bottom: 88px; }
}

/* ---------- Terms: the full text while no Terms page holds it, else one link. The terms shortcode set in the page builder sits outside #nara-gc, so .nara-gc-terms-page carries the same type ---------- */
.nara-gc-terms-section, .nara-gc-terms-link { margin: 0 0 var(--gc-section); }
.nara-gc-terms-page { color: #333333; font: 400 15px/1.65 Montserrat, Arial, sans-serif; }
.nara-gc .nara-gc-terms-title, .nara-gc-terms-page .nara-gc-terms-title { margin: 0 0 24px; font: 400 22px/1.3 var(--gc-font, Montserrat, Arial, sans-serif); letter-spacing: -0.005em; color: var(--gc-ink, #333333); }
.nara-gc .nara-gc-terms-list, .nara-gc-terms-page .nara-gc-terms-list { max-width: 46em; margin: 0; padding: 0 0 0 1.4em; font-size: 13px; line-height: 1.75; }
.nara-gc .nara-gc-terms-list li, .nara-gc-terms-page .nara-gc-terms-list li { margin: 0; padding: 0 0 0 4px; }
.nara-gc .nara-gc-terms-list li + li, .nara-gc-terms-page .nara-gc-terms-list li + li { margin-top: 10px; }
.nara-gc .nara-gc-terms-link a { font-size: 13px; color: var(--gc-ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Tablet and phone ---------- */
@media (max-width: 1100px) {
  .nara-gc-loc-list { gap: 18px; }
  .nara-gc-loc-media { height: 250px; }
}
@media (max-width: 1080px) {
  .nara-gc { --gc-section: 88px; }
  .nara-gc-make-grid { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .nara-gc-make-preview { position: static; }
}
@media (max-width: 1020px) {
  .nara-gc .nara-gc-crumbs-list { font-size: 11px; }
  .nara-gc-crumbs .nara-gc-wrap { padding: 8px 0; }
  .nara-gc .nara-gc-crumbs-list a { min-height: 36px; }
}
@media (max-width: 780px) {
  .nara-gc { --gc-gutter: 18px; }
  .nara-gc-loc-list { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .nara-gc-loc-media { position: relative; height: auto; margin-bottom: 20px; }
  .nara-gc-loc-media::before { content: ""; display: block; padding-top: 66.6667%; }
  .nara-gc .nara-gc-loc-img { position: absolute; top: 0; left: 0; }
  .nara-gc .nara-gc-loc-name { font-size: 30px; }
  .nara-gc .nara-gc-loc-blurb { max-width: none; }
}
@media (max-width: 760px) {
  .nara-gc { --gc-header: 104px; --gc-section: 64px; font-size: 14px; }
  .nara-gc-hero-inner { padding-top: 40px; }
  .nara-gc .nara-gc-hero-lead { margin-top: 20px; }
  .nara-gc-locations, .nara-gc-packages { margin-top: 48px; }
  .nara-gc-make-head { grid-template-columns: minmax(0, 1fr); grid-template-areas: "kicker" "title" "side"; }
  .nara-gc .nara-gc-make-side { margin-top: 16px; }
  .nara-gc-make-grid { margin-top: 32px; row-gap: 32px; }
  .nara-gc-steps-list { grid-template-columns: minmax(0, 1fr); margin-top: 32px; gap: 20px; }
  .nara-gc-faq-list { margin-top: 32px; }
}
@media (max-width: 374px) {
  .nara-gc .nara-gc-loc-name { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .nara-gc *, .nara-gc *::before, .nara-gc *::after { transition: none !important; animation: none !important; }
  .nara-gc .nara-gc-loc:hover .nara-gc-loc-img { transform: none; }
  .nara-gc-loc .elementor-widget-image img { transition: none; }
  body:not(.elementor-editor-active) .nara-gc-loc:hover .elementor-widget-image img { transform: none; }
}
