/* Copyright 2026 Gold Standard Builder Services LLC. Public checkout presentation. */
@font-face {
  font-family: CinzelDecorative;
  src: url('/assets/fonts/cinzel-decorative-bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

.ff-public-checkout {
  --checkout-plum: #48132f;
  --checkout-gold: #b58a48;
  --checkout-line: #e7d4c7;
  --checkout-paper: #fffdfa;
  color: #231820;
  background: radial-gradient(ellipse at 14% 28%, #f3dfee 0, transparent 37%), linear-gradient(145deg, #fff9ef, #fbefe5 58%, #fffaf2);
}

.ff-checkout-brand {
  color: #fff3e2;
  background: radial-gradient(ellipse at 50% 0%, #632348, transparent 70%), #391126;
  border-bottom: 2px solid #e1ba71;
}
.ff-checkout-brand-inner {
  position: relative;
  max-width: 1550px;
  min-height: 94px;
  display: grid;
  align-items: center;
  justify-items: center;
  margin: auto;
  padding: 13px 22px;
}
.ff-checkout-wordmark { display: grid; justify-items: center; gap: 4px; color: inherit; text-align: center; text-decoration: none; }
.ff-checkout-wordmark span { font: 700 clamp(21px, 4vw, 43px)/1.2 CinzelDecorative, Georgia, serif; letter-spacing: .03em; }
.ff-checkout-wordmark small { font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.ff-checkout-shop-link { position: absolute; inset-inline-end: 26px; display: inline-flex; align-items: center; min-height: 44px; color: inherit; font-size: 13px; }
.ff-public-checkout .ff-cart { max-width: 1550px; width: 100%; padding: 28px clamp(15px, 3vw, 42px) 48px; }
.ff-public-checkout .ff-fashion-checkout-grid { grid-template-columns: minmax(0, .88fr) minmax(0, 1fr) minmax(0, 1.13fr); gap: clamp(18px, 3vw, 42px); }
.ff-fashion-checkout-grid > * { min-width: 0; }
.ff-checkout-mascot { position: relative; padding-top: 14px; }
.ff-checkout-mascot-heading { color: var(--checkout-plum); }
.ff-checkout-mascot-heading h2 { font: 700 clamp(28px, 4vw, 67px)/1.02 Georgia, serif; letter-spacing: -.045em; margin: 0; }
.ff-checkout-mascot-heading p { font: italic 700 clamp(20px, 2.35vw, 40px)/1.11 Georgia, serif; letter-spacing: -.035em; margin: 4px 0 0; }
.ff-checkout-mascot-heading::after { content: ''; display: block; width: 86%; height: 12px; margin: 12px auto 0; border-top: 2px solid var(--checkout-gold); border-radius: 50%; }
.ff-checkout-mascot-scene { position: relative; margin: 11px -13px 0; }
.ff-checkout-mascot-scene img { display: block; width: 100%; height: auto; object-fit: contain; }
.ff-checkout-oom-speech {
  position: absolute;
  right: 0;
  top: 0;
  margin: 0;
  padding: 9px 12px;
  color: var(--checkout-plum);
  background: #fff9ec;
  border: 2px solid #742e59;
  border-radius: 19px 19px 19px 5px;
  font: italic 700 clamp(12px, 1.25vw, 21px)/1.15 Georgia, serif;
  text-align: center;
  z-index: 1;
}
.ff-fashion-order { padding-top: 22px; }
.ff-fashion-order > h2 { margin: 0 0 20px; color: var(--checkout-plum); font-size: 17px; line-height: 1.4; letter-spacing: .1em; text-transform: uppercase; }
.ff-public-checkout .ff-cart-list { border-top: 1px solid var(--checkout-gold); }
.ff-public-checkout .ff-cart-item { grid-template-columns: 82px minmax(0, 1fr); gap: 14px; border-color: var(--checkout-line); padding-block: 17px; }
.ff-public-checkout .ff-cart-item img { width: 82px; height: 104px; background: #fff9f0; border-radius: 7px; }
.ff-public-checkout .ff-cart-item h2 { font-size: clamp(15px, 1.6vw, 20px); }
.ff-public-checkout .ff-cart-item-bottom { flex-wrap: wrap; gap: 8px 12px; }
.ff-public-checkout .ff-cart-item-controls { flex-wrap: wrap; gap: 8px; }
.ff-public-checkout .ff-totals { margin-top: 18px; }
.ff-public-checkout .ff-totals .ff-total { border-top: 1px solid var(--checkout-gold); color: var(--checkout-plum); }
.ff-public-checkout .ff-totals [data-discount-row]:not([hidden]) { padding-inline: 9px; border-radius: 6px; background: #f3e1eb; color: #53223f; }
.ff-public-checkout .ff-fashion-payment {
  max-width: none;
  width: 100%;
  padding: clamp(16px, 2.3vw, 28px);
  background: var(--checkout-paper);
  border: 1px solid #ede0d6;
  border-radius: 18px;
  box-shadow: 0 10px 35px #67283912;
}
.ff-fashion-payment > h2 { color: var(--checkout-plum); font: 700 27px/1.2 Georgia, serif; }
.ff-public-checkout .ff-checkout-state { color: #3b2735; border-left: 3px solid var(--checkout-gold); border-radius: 5px; background: #fcf2e5; }
.ff-public-checkout .ff-checkout-state p { font-size: 13px; }
.ff-public-checkout .ff-fields input, .ff-public-checkout .ff-fields select { min-height: 46px; border: 1px solid #af95a6; border-radius: 6px; }
.ff-public-checkout .ff-checkout-button:enabled, .ff-checkout-confirmation .ff-button { border: 1px solid #552047; border-radius: 6px; color: #fff; background: linear-gradient(120deg, #652451, #3a142f); }
.ff-public-checkout .ff-checkout-button:enabled:hover { background: #723258; }
.ff-public-checkout .ff-checkout-footer { border-color: var(--checkout-line); }
.ff-google-pay { padding: 0 0 18px; margin: 0 0 19px; border-bottom: 1px solid var(--checkout-line); }
.ff-google-pay h3 { padding-left: 8px; border-left: 3px solid var(--checkout-gold); font-size: 16px; margin: 0 0 12px; }
.ff-google-pay-status { color: #544153; font-size: 13px; line-height: 1.55; margin: 10px 0 0; }
.ff-google-pay-status:empty { display: none; }
.ff-public-checkout .ff-google-pay .ff-checkout-footnote { font-size: 12px; margin-top: 8px; }
.ff-google-pay-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 14px; }
.ff-google-pay-actions > :is(a, button) { display: inline-flex; align-items: center; min-height: 44px; margin: 0; font-size: 13px; color: var(--checkout-plum); }
#funtime-google-pay { min-height: 48px; }
.ff-checkout-confirmation { max-width: 680px; margin: 22px auto 36px; padding: clamp(20px, 5vw, 47px); border: 1px solid var(--checkout-line); border-top: 3px solid var(--checkout-gold); border-radius: 18px; background: var(--checkout-paper); }
.ff-checkout-confirmation h2 { color: var(--checkout-plum); font: 700 clamp(28px, 5vw, 46px)/1.13 Georgia, serif; margin: 8px 0 12px; }
.ff-checkout-confirmed { color: #165642; background: #e8f6ee; display: inline-block; border-radius: 5px; padding: 6px 11px; margin: 0; font-size: 13px; font-weight: 800; }
.ff-checkout-confirmation dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; border-block: 1px solid var(--checkout-line); padding: 17px 0; }
.ff-checkout-confirmation dd { margin: 4px 0 0; font-weight: 800; color: var(--checkout-plum); }
.ff-checkout-confirmation h3 { font-size: 18px; }
.ff-checkout-confirmation ul { padding-left: 19px; line-height: 1.6; }
.ff-checkout-confirmation-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px 20px; margin-top: 22px; }

@media (max-width: 1100px) {
  .ff-public-checkout .ff-fashion-checkout-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); }
  .ff-fashion-order { grid-column: 1; grid-row: 1; }
  .ff-fashion-payment { grid-column: 2; grid-row: 1; }
  .ff-checkout-mascot { grid-column: 1 / -1; grid-row: 2; display: flex; flex-direction: row-reverse; justify-content: center; align-items: center; gap: 27px; }
  .ff-checkout-mascot-scene { width: min(32%, 250px); margin: 0; }
}
@media (max-width: 700px) {
  .ff-checkout-brand-inner { min-height: 88px; gap: 3px; }
  .ff-checkout-shop-link { position: static; min-height: 33px; font-size: 11px; }
  .ff-public-checkout .ff-fashion-checkout-grid { grid-template-columns: minmax(0, 1fr); }
  .ff-fashion-order, .ff-fashion-payment, .ff-checkout-mascot { grid-column: 1; grid-row: auto; }
  .ff-fashion-order { order: 0; padding-top: 0; }
  .ff-fashion-payment { order: 1; }
  .ff-checkout-mascot { order: 2; flex-direction: column; gap: 3px; text-align: center; }
  .ff-checkout-mascot-scene { width: min(76%, 230px); }
  .ff-public-checkout .ff-cart-item { grid-template-columns: 67px minmax(0, 1fr); }
  .ff-public-checkout .ff-cart-item img { width: 67px; height: 89px; }
}
