/* Highline Goods — BRIDGE rules only.
   All visuals come from the Penjamin theme (tokens.css, base.css, site.css
   — copied verbatim). These rules exist solely for Highline structures
   that have no Penjamin equivalent: JS-injected markup (cart.js /
   checkout.js emit .totals/.grand/.note/.empty/.success), the bundle
   ladder, meta rows, thumbnails, the header extras, and the old .wrap
   container. They use Penjamin tokens only: ink #111, paper #f7f6f1,
   accent #e5372b, line #b9c8dc, margin #e0a5a5, hand blue #2b4e9c,
   tape #ffd23f. No gradients, no emoji, no new typefaces. */

/* .wrap is the old Highline container: identical to Penjamin .page-width */
.wrap{width:100%;max-width:var(--page-max);margin:0 auto;padding-left:var(--gutter);padding-right:var(--gutter)}

/* --- header extras, built from the theme's own .header classes --- */
.header__left{display:flex;align-items:center;gap:4px}
.header__home{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;color:var(--color-ink)}
.header__home svg,.header__icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.header__links{display:none}
@media(min-width:750px){
  .header__links{display:flex;gap:18px;align-items:center}
  .header__links a{font-family:var(--font-hand);font-size:19px;color:var(--color-ink);text-decoration:none}
  .header__home{display:none}
}

/* --- hero: one animated panel per brand, all three visible on landing --- */
.hero{text-align:center}
.hero .lede{max-width:560px;margin:14px auto 0}
.hero-trio{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px auto 0;max-width:860px}
.hero-panel{display:block;text-align:center;transition:transform .15s ease}
.hero-panel .card__media{display:block;text-decoration:none}
.hero-panel__name{display:block;font-family:var(--font-marker);font-weight:400;font-size:clamp(15px,4.4vw,22px);margin-top:10px}
.hero-panel__sub{display:block;font-family:var(--font-hand);font-size:18px;color:#2b4e9c;margin-bottom:8px}
.hero-panel__cta{font-size:12px;padding:6px 8px;line-height:1.25}
.hero-panel:hover{transform:translateY(-4px)}
.hero-panel:hover .card__media{transform:translate(-2px,-2px) rotate(0);box-shadow:5px 5px 0 var(--color-ink)}
.hero-panel:hover .peel{opacity:1}
/* entrance: the theme's own pj-pop, staggered per panel, fast so all three
   products are on screen the moment you land (not the theme's 2.24s intro) */
.has-intro .hero-panel{opacity:0;animation:pj-pop .5s cubic-bezier(.2,.9,.3,1.4) .25s forwards}
.has-intro .hero-panel:nth-child(2){animation-delay:.45s}
.has-intro .hero-panel:nth-child(3){animation-delay:.65s}
/* the photos develop in like the theme's hero art, then keep slowly zooming
   on the theme's cover-kb loop so the hero stays in motion */
.has-intro .hero-panel .card__media img{animation:pj-develop 1.1s ease-out .25s forwards,cover-kb 14s ease-in-out 1.5s infinite alternate;will-change:transform,filter}
.has-intro .hero-panel:nth-child(2) .card__media img{animation-delay:.45s,1.7s}
.has-intro .hero-panel:nth-child(3) .card__media img{animation-delay:.65s,1.9s}
@media(min-width:750px){.hero-trio{gap:16px}}
@media(prefers-reduced-motion:reduce){.has-intro .hero-panel,.has-intro .hero-panel .card__media img{animation:none;opacity:1}}

/* --- section headings --- */
.hw-heading h2{font-family:var(--font-marker);font-weight:400;margin:0}
a.more{font-family:var(--font-hand);font-size:19px;color:#2b4e9c;text-decoration:none}

/* --- cards: tagline and "each" note keep the theme's type --- */
.card__info .tagline{font-size:13px;opacity:.7;margin:0 0 3px}
.card__price .note{font-family:var(--font-body);font-size:13px;opacity:.6}

/* --- product page --- */
.product__price .note{font-family:var(--font-body);font-size:14px;opacity:.6}
.meta-list{margin-top:20px}
.meta-list div{display:flex;gap:12px;padding:9px 0;border-bottom:1px solid #ddd;font-size:14px}
.meta-list dt{opacity:.6;min-width:90px}
.buy-box{margin:0}
.thumbs.product__thumbs img{flex:0 0 58px;width:58px;height:58px;object-fit:cover;border:1.5px solid var(--color-line);border-radius:6px;background:#fff;cursor:pointer;padding:0}
select{font:inherit;font-size:15px;padding:10px 12px;border:1.5px solid var(--color-ink);border-radius:8px 10px 7px 11px/10px 7px 11px 8px;background:#fff}
label.field{display:block;font-size:13px;font-weight:700;margin:14px 0 6px}
input[type=file]{font:inherit;font-size:14px;padding:10px 0}
#checkoutForm textarea{width:100%;font:inherit;font-size:15px;padding:10px 12px;border:1.5px solid var(--color-ink);border-radius:8px;background:#f7f6f1;resize:vertical;min-height:90px}

/* --- bundle ladder: notebook panel --- */
.ladder{background:#fff;border:1.5px solid var(--color-ink);border-radius:8px 10px 7px 11px/10px 7px 11px 8px;box-shadow:4px 5px 0 var(--color-ink);padding:18px 20px;margin:20px 0}
.ladder h3{font-family:var(--font-marker);font-weight:400;font-size:20px;margin-bottom:10px}
.ladder ul{list-style:none;margin:0;padding:0}
.ladder li{display:flex;justify-content:space-between;padding:7px 0;border-top:1px solid #ddd;font-size:14px}
.ladder li:first-child{border-top:0}

/* --- cart table buttons --- */
.cart button{border:1.5px solid var(--color-ink);background:#fff;border-radius:999px;padding:6px 12px;font-weight:700;cursor:pointer;font:inherit;font-size:13px}

/* --- checkout order summary: rows injected by checkout.js, styled as the theme's receipt --- */
#orderSummary>div{display:flex;justify-content:space-between;align-items:baseline;padding:8px 0;border-bottom:1px dotted #999;font-size:15px;gap:12px}
#orderSummary .grand{border-bottom:0;font-weight:800;font-size:20px;padding:14px 0 18px}
#orderSummary .grand span:last-child{font-family:var(--font-hand);font-size:32px}
#orderSummary .note{font-size:12px;opacity:.65;text-align:center;margin:14px 0 8px}

/* --- markup injected by cart.js / checkout.js --- */
.empty{padding:48px 0;text-align:center;font-family:var(--font-hand);font-size:22px}
.success{background:#fff;border:2px solid var(--color-ink);border-radius:6px;box-shadow:5px 6px 0 var(--color-ink);padding:32px;text-align:center;margin:40px 0}
.success h1{font-family:var(--font-marker);font-weight:400;font-size:28px;margin-bottom:10px}
.note{font-size:13px;opacity:.65;margin-top:10px}

/* --- age gate heading --- */
.age-gate__box h2{font-family:var(--font-marker);font-weight:400;font-size:24px;margin:0 0 10px}
.age-gate__box p{margin:0 0 1em}
.age-gate__box .note{margin:16px 0 0}
