/* "Lounge" theme: vintage print ephemera with a 1930s WPA poster accent.
   Aged paper, faded inks, halftone dots, screen-printed landscape,
   condensed poster lettering and jet-age airline red. No planets.
   Loaded on top of style.css when config 'theme' => 'lounge'. */
@font-face { font-family: "Big Shoulders Display"; src: url("fonts/big-shoulders-display-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Big Shoulders Display"; src: url("fonts/big-shoulders-display-latin-900-normal.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Josefin Sans"; src: url("fonts/josefin-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Josefin Sans"; src: url("fonts/josefin-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Josefin Sans"; src: url("fonts/josefin-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --paper: #f2e8d5;      /* yellowed stock */
  --paper-2: #f8f1e3;
  --red: #c8413a;        /* faded airline red */
  --pink: #e59aa6;
  --teal: #5fb3ad;
  --mustard: #e0a93a;
  --ink: #3a2a2a;        /* brown-black printing ink */
  --ink-soft: #6e5a52;
  --rule: #d9c9ac;
  --poster: "Big Shoulders Display", "Impact", "Arial Narrow", sans-serif;
  --sans: "Josefin Sans", "Futura", "Century Gothic", sans-serif;
  /* paper grain */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .23 0 0 0 0 .16 0 0 0 0 .1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body.theme-lounge { font-family: var(--sans); color: var(--ink); background: var(--paper); font-size: 1.08rem; }
body.theme-lounge::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100;
  background: var(--grain); opacity: .22; mix-blend-mode: multiply; }

/* ---------- Header: a printed letterhead ---------- */
.theme-lounge .site-header { background: var(--paper-2); color: var(--ink); }
.theme-lounge .logo-word { font-family: var(--poster); text-transform: none; letter-spacing: 0;
  font-weight: 900; text-transform: uppercase; letter-spacing: .04em;
  font-size: clamp(1.45rem, 4.5vw, 1.9rem); color: var(--red); line-height: 1; }
.theme-lounge .cart-link { border: 2px solid var(--ink); border-radius: 4px; background: transparent; color: var(--ink);
  font-weight: 700; letter-spacing: .06em; box-shadow: inset 0 0 0 3px var(--paper-2), inset 0 0 0 4px var(--ink); padding: .5rem 1rem; }
.theme-lounge .cart-link:hover { background: var(--red); color: var(--paper-2); }
.theme-lounge .badge { background: var(--red); color: var(--paper-2); }

/* Red-and-mustard pinstripes, like the trim on a ticket jacket */
.sparkle-trim { height: 14px; background:
  linear-gradient(var(--red) 0 5px, transparent 5px 8px, var(--mustard) 8px 10px, transparent 10px 12px, var(--teal) 12px 14px); }
.site-footer .sparkle-trim { transform: scaleY(-1); }

/* ---------- Hero: words on a halftone-printed poster ---------- */
.theme-lounge .hero {
  color: var(--ink); border-radius: 6px;
  border: 2px solid var(--ink);
  /* red halftone dots that fade out behind the words, like a screen-printed tint */
  background:
    linear-gradient(100deg, var(--paper-2) 0 30%, rgba(248, 241, 227, .6) 55%, rgba(248, 241, 227, 0) 85%),
    radial-gradient(circle, rgba(200, 65, 58, .55) 1.6px, transparent 2.1px) 0 0 / 9px 9px,
    var(--paper-2);
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.75rem, 5vw, 4rem);
}
.theme-lounge .hero::before { /* thin red inner frame */
  content: ""; position: absolute; inset: 8px; border: 2px solid var(--red); border-radius: 2px; pointer-events: none; }
.theme-lounge .hero h1 { font-family: var(--poster); font-weight: 900; text-transform: uppercase; color: var(--red);
  font-size: clamp(2.8rem, 7.5vw, 5.4rem); line-height: .9; letter-spacing: .01em; max-width: 13ch;
  text-shadow: 3px 3px 0 rgba(95, 179, 173, .6); }
.theme-lounge .hero p { color: var(--ink); font-size: 1.2rem; max-width: 40ch; }

/* ---------- Product cards: ticket stubs ---------- */
.theme-lounge .card { background: var(--paper-2); border: 2px solid var(--ink); border-radius: 6px; padding: 10px;
  box-shadow: inset 0 0 0 4px var(--paper-2), inset 0 0 0 5px var(--rule); }
.theme-lounge .card .screen { border: 0; border-radius: 3px; background: #fff;
  border-bottom: 2px dashed var(--ink-soft); padding-bottom: 0; filter: sepia(.12) saturate(.92); }
.theme-lounge .card:hover .screen { filter: none; }
.theme-lounge .card:hover img { transform: none; }
.theme-lounge .card h2 { font-family: var(--sans); font-weight: 700; font-size: 1.02rem; margin: .9rem .3rem .2rem; }
.theme-lounge .card .price { margin: 0 .3rem .25rem; color: var(--red); font-weight: 600; }

/* ---------- Product page ---------- */
.theme-lounge .back { color: var(--ink-soft); }
.theme-lounge .product-image { border: 2px solid var(--ink); border-radius: 6px; background: #fff;
  box-shadow: inset 0 0 0 6px var(--paper-2); padding: 6px; }
.theme-lounge .product-image img { filter: sepia(.1) saturate(.95); }
.theme-lounge .product-info h1 { font-family: var(--poster); font-weight: 900; text-transform: uppercase; color: var(--red);
  font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: .95; letter-spacing: .01em; }
.theme-lounge .product-info .price { color: var(--ink); }
.theme-lounge .opt { background: var(--paper-2); color: var(--ink); border: 2px solid var(--ink); border-radius: 4px; font-family: var(--sans); font-weight: 700; }
.theme-lounge .opt.active { background: var(--ink); color: var(--paper-2); }
.theme-lounge select, .theme-lounge input[type=number] { background: var(--paper-2); border: 2px solid var(--ink); border-radius: 4px; color: var(--ink); }
.theme-lounge button.primary { background: var(--red); color: var(--paper-2); border-radius: 4px; font-family: var(--sans);
  font-weight: 700; letter-spacing: .05em; box-shadow: inset 0 0 0 3px var(--red), inset 0 0 0 4px var(--paper-2); }
.theme-lounge button.primary:hover { background: #b0352f; box-shadow: inset 0 0 0 3px #b0352f, inset 0 0 0 4px var(--paper-2); }
.theme-lounge button.primary:disabled { background: var(--rule); color: var(--ink-soft); box-shadow: none; }

/* ---------- Cart ---------- */
.theme-lounge .page-title { font-family: var(--poster); font-weight: 900; text-transform: uppercase; color: var(--red); font-size: clamp(2.2rem, 5vw, 3rem); }
.theme-lounge .cart-list, .theme-lounge .cart-list li { border-color: var(--rule); }
.theme-lounge .cart-list img { border: 2px solid var(--ink); border-radius: 4px; }
.theme-lounge .cart-qty button { border: 2px solid var(--ink); background: var(--paper-2); border-radius: 4px; }

/* ---------- Footer ---------- */
.theme-lounge .site-footer { background: var(--paper-2); color: var(--ink-soft); }
.theme-lounge :focus-visible { outline-color: var(--teal); }

@media (max-width: 640px) {
  .theme-lounge .hero { background:
    linear-gradient(180deg, var(--paper-2) 0 70%, rgba(248, 241, 227, 0) 100%),
    radial-gradient(circle, rgba(200, 65, 58, .55) 1.6px, transparent 2.1px) 0 0 / 9px 9px,
    var(--paper-2); padding-bottom: 5rem; }
  .theme-lounge .hero h1 { max-width: 100%; }
}

/* Order tracking */
.theme-lounge .track-form input[type=text], .theme-lounge .track-form input[type=email] { background: var(--paper-2); border-color: var(--ink); }
.theme-lounge .order-box { background: var(--paper-2); border-color: var(--ink); box-shadow: inset 0 0 0 4px var(--paper-2), inset 0 0 0 5px var(--rule); }
.theme-lounge .status-pill { background: var(--red); color: var(--paper-2); border-radius: 4px; font-family: var(--poster);
  font-weight: 900; text-transform: uppercase; letter-spacing: .03em; font-size: 1.15rem; padding: .15rem .6rem; }
.theme-lounge .shipment { border-color: var(--ink-soft); }
.theme-lounge .button-link { color: var(--red); }
.theme-lounge .order-items-title { font-family: var(--poster); font-weight: 900; text-transform: uppercase; color: var(--red); font-size: 1.4rem; }
.theme-lounge .order-no { color: var(--red); }
