/* Showcase - featured-first: minimal logo-only bar, a slim editorial hero, a full-width cinematic
   featured card leading the grid, then a bold CTA banner footer above the standard columns.
   Strong visual hierarchy. Scoped under .uxc-shop-tpl-showcase.
   All brand colors use --uxc-* vars so the template flips dark/light + takes the merchant accent.
   Pure #fff / rgba(0,0,0) appear ONLY as always-contrast overlays on product images. */
.uxc-shop-tpl-showcase { font-family: var(--uxc-font); }
.uxc-shop-tpl-showcase .uxc-shop-section-heading { font-weight: 800; letter-spacing: -.025em; }

/* ---- Minimal logo-only bar (nav as tiny links far right) ------------------------------ */
.uxc-shop-tpl-showcase .uxc-shop-header { position: static; background: var(--uxc-bg); border-bottom: 1px solid var(--uxc-card-border); backdrop-filter: none; -webkit-backdrop-filter: none; }
.uxc-shop-tpl-showcase .uxc-showcase-bar-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; gap: 16px; padding: 20px 28px; }
.uxc-shop-tpl-showcase .uxc-showcase-logo img { max-height: 30px; }
.uxc-shop-tpl-showcase .uxc-showcase-brand-text { color: var(--uxc-text); font-weight: 700; letter-spacing: -.01em; font-size: 18px; text-decoration: none; }
.uxc-shop-tpl-showcase .uxc-showcase-mini-nav { margin-left: auto; gap: 26px; }
.uxc-shop-tpl-showcase .uxc-showcase-mini-nav a { color: var(--uxc-text-dim); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; transition: color .15s; }
.uxc-shop-tpl-showcase .uxc-showcase-mini-nav a:hover { color: var(--uxc-accent); }
.uxc-shop-tpl-showcase .uxc-showcase-burger span { background: color-mix(in srgb, var(--uxc-text) 92%, transparent); } /* mode-following icon lines on the bg-colored header (NOT an inverse slab). */

/* ---- Slim editorial hero (overrides the base's centered accent-gradient block) --------- *
 * Showcase is "featured-first": the FIRST CARD is the cinematic moment, so the hero stays a
 * quiet, left-aligned editorial intro band rather than a giant centered gradient. */
.uxc-shop-tpl-showcase .uxc-shop-section-hero { max-width: 1280px; margin: 0 auto; text-align: left; padding: 56px 28px 8px; background: none; border: none; }
.uxc-shop-tpl-showcase .uxc-shop-section-hero::before { display: none; }
.uxc-shop-tpl-showcase .uxc-shop-section-hero .uxc-shop-section-heading { font-size: clamp(32px, 5vw, 52px); margin: 0 0 12px; max-width: 760px; margin-left: 0; margin-right: 0; }
.uxc-shop-tpl-showcase .uxc-shop-section-hero .uxc-shop-section-body { font-size: 17px; margin: 0 0 4px; max-width: 600px; opacity: .82; }
.uxc-shop-tpl-showcase .uxc-shop-section-hero .uxc-shop-cta { display: none; } /* CTA lives in the footer banner; hero stays editorial. */

/* Legacy intro block (renders only when a merchant has NO hero section): keep it tidy + left aligned. */
.uxc-shop-tpl-showcase .uxc-shop-intro { text-align: left; max-width: 1280px; margin: 0 auto; padding: 56px 28px 0; }
.uxc-shop-tpl-showcase .uxc-shop-intro .uxc-shop-page-title { font-size: clamp(32px, 5vw, 52px); font-weight: 800; letter-spacing: -.025em; color: var(--uxc-text); }
.uxc-shop-tpl-showcase .uxc-shop-intro .uxc-shop-page-desc { color: var(--uxc-text-dim); font-size: 17px; max-width: 600px; }
.uxc-shop-tpl-showcase .uxc-shop-products { padding-top: 28px; }

/* ---- Grid: first card is a full-width cinematic feature; remaining cards flow after ------ */
.uxc-shop-tpl-showcase .uxc-shop-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1280px; }
.uxc-shop-tpl-showcase .uxc-shop-card { min-width: 0; }
.uxc-shop-tpl-showcase .uxc-shop-card:first-child { grid-column: 1 / -1; }

/* Featured card: tall, image-led, title + price overlaid on a bottom gradient. */
.uxc-shop-tpl-showcase .uxc-shop-card:first-child .uxc-shop-card-img { aspect-ratio: 21/8; }
.uxc-shop-tpl-showcase .uxc-shop-card:first-child .uxc-shop-card-body { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 30px 34px; background: linear-gradient(180deg, transparent 42%, rgba(0,0,0,.82) 100%); }
.uxc-shop-tpl-showcase .uxc-shop-card:first-child .uxc-shop-card-title { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.02em; }
.uxc-shop-tpl-showcase .uxc-shop-card:first-child .uxc-shop-card-title a { color: #fff; } /* #fff sits on the dark image overlay: always-contrast. */
.uxc-shop-tpl-showcase .uxc-shop-card:first-child .uxc-shop-card-desc { color: rgba(255,255,255,.85); font-size: 14px; max-width: 560px; } /* overlay text on image. */
.uxc-shop-tpl-showcase .uxc-shop-card:first-child .uxc-price { color: #fff; font-size: 16px; } /* overlay on image: use #fff so it reads on the dark gradient. */
.uxc-shop-tpl-showcase .uxc-shop-card:first-child .uxc-price-compare { color: rgba(255,255,255,.7); } /* overlay on image. */
/* Featured badge becomes a soft translucent chip that reads on the image (overlaid content). */
.uxc-shop-tpl-showcase .uxc-shop-card:first-child .uxc-shop-card-badge { background: rgba(255,255,255,.92); color: #000; align-self: flex-start; position: static; }
/* Featured CTA: a solid chip that pops on the dark overlay. */
.uxc-shop-tpl-showcase .uxc-shop-card:first-child .uxc-shop-card-cta { background: #fff; color: #000; align-self: flex-start; }

/* Featured needs a dark overlay; standard cards keep the base treatment but gain a lift + theme-aware shadow. */
.uxc-shop-tpl-showcase .uxc-shop-card:first-child { position: relative; overflow: hidden; border-color: transparent; }
.uxc-shop-tpl-showcase .uxc-shop-card { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.uxc-shop-tpl-showcase .uxc-shop-card:not(:first-child):hover { transform: translateY(-4px); box-shadow: 0 10px 28px color-mix(in srgb, var(--uxc-text) 14%, transparent); border-color: color-mix(in srgb, var(--uxc-accent) 45%, var(--uxc-card-border)); }

/* ---- Bold CTA banner footer (sits above the standard columns) ------------------------- */
.uxc-shop-tpl-showcase .uxc-showcase-footer { border-top: none; margin-top: 64px; }
.uxc-shop-tpl-showcase .uxc-showcase-footer::before { display: none; }
.uxc-shop-tpl-showcase .uxc-showcase-cta-banner { background: var(--uxc-accent); color: #fff; position: relative; overflow: hidden; } /* #fff text on accent banner: high-contrast on the saturated accent. */
.uxc-shop-tpl-showcase .uxc-showcase-cta-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(0,0,0,.22), transparent 55%); pointer-events: none; } /* tonal shade over the accent, not a brand color. */
.uxc-shop-tpl-showcase .uxc-showcase-cta-banner-inner { max-width: 1280px; margin: 0 auto; padding: 44px 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; position: relative; }
.uxc-shop-tpl-showcase .uxc-showcase-cta-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.uxc-shop-tpl-showcase .uxc-showcase-cta-kicker { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; opacity: .9; }
.uxc-shop-tpl-showcase .uxc-showcase-cta-headline { font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: -.02em; }
/* CTA button: a coherent surface pill (var(--uxc-card)) with accent text, so it pops on the saturated accent
   banner in BOTH themes instead of forcing a white slab. Outline uses the accent for identity. */
.uxc-shop-tpl-showcase .uxc-showcase-cta-btn { background: var(--uxc-card); color: var(--uxc-accent); border: 2px solid var(--uxc-accent); border-radius: 999px; padding: 14px 34px; font-weight: 700; font-size: 14px; letter-spacing: .02em; margin-top: 0; box-shadow: 0 6px 18px rgba(0,0,0,.18); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.uxc-shop-tpl-showcase .uxc-showcase-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.26); }

/* ---- Footer columns / contact / social / payments (polished, scoped) ------------------ */
.uxc-shop-tpl-showcase .uxc-showcase-footer-inner { max-width: 1280px; }
.uxc-shop-tpl-showcase .uxc-shop-footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-bottom: 30px; }
.uxc-shop-tpl-showcase .uxc-shop-footer-col { min-width: 0; }
.uxc-shop-tpl-showcase .uxc-shop-footer-col h4 { font-size: 12px; letter-spacing: .12em; }
/* Contact: bordered aside so it reads as its own block, theme-aware. */
.uxc-shop-tpl-showcase .uxc-shop-footer-contact { margin-top: 4px; padding: 22px 24px; border: 1px solid var(--uxc-card-border); border-radius: var(--uxc-radius); background: var(--uxc-card); display: grid; gap: 6px; max-width: 420px; }
.uxc-shop-tpl-showcase .uxc-shop-footer-contact a { color: var(--uxc-accent); transition: opacity .15s; }
.uxc-shop-tpl-showcase .uxc-shop-footer-contact a:hover { opacity: .75; }
.uxc-shop-tpl-showcase .uxc-shop-footer-hours { color: var(--uxc-text-dim); font-size: 13px; opacity: .9; }
/* Social: pill chips instead of bare text links. */
.uxc-shop-tpl-showcase .uxc-shop-footer-social { gap: 10px; margin-top: 22px; margin-bottom: 26px; }
.uxc-shop-tpl-showcase .uxc-shop-footer-social a { font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--uxc-text); padding: 7px 14px; border: 1px solid var(--uxc-card-border); border-radius: 999px; background: transparent; text-decoration: none; transition: color .15s, border-color .15s, background .15s; }
.uxc-shop-tpl-showcase .uxc-shop-footer-social a:hover { color: #fff; background: var(--uxc-accent); border-color: var(--uxc-accent); } /* white text on the saturated accent: always-readable. */
/* Bottom bar: payments + copyright with a clean divider. */
.uxc-shop-tpl-showcase .uxc-shop-footer-bottom { border-top: 1px solid var(--uxc-card-border); padding-top: 20px; margin-top: 4px; }
.uxc-shop-tpl-showcase .uxc-shop-footer-pay img { height: 24px; opacity: .8; transition: opacity .15s; }
.uxc-shop-tpl-showcase .uxc-shop-footer-pay img:hover { opacity: 1; }
.uxc-shop-tpl-showcase .uxc-shop-footer-copy { color: var(--uxc-text-dim); }

/* ---- Responsive: tablet 2-col, mobile 1-col, no horizontal scroll --------------------- */
@media (max-width: 900px) {
  .uxc-shop-tpl-showcase .uxc-shop-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .uxc-shop-tpl-showcase .uxc-showcase-mini-nav { gap: 18px; }
  .uxc-shop-tpl-showcase .uxc-shop-section-hero { padding: 44px 24px 6px; }
  .uxc-shop-tpl-showcase .uxc-showcase-cta-banner-inner { padding: 36px 24px; }
}
@media (max-width: 560px) {
  .uxc-shop-tpl-showcase .uxc-shop-grid { grid-template-columns: 1fr; gap: 16px; }
  .uxc-shop-tpl-showcase .uxc-shop-card:first-child .uxc-shop-card-img { aspect-ratio: 4/3; }
  .uxc-shop-tpl-showcase .uxc-shop-card:first-child .uxc-shop-card-body { padding: 22px 20px; }
  .uxc-shop-tpl-showcase .uxc-shop-footer-cols { grid-template-columns: 1fr; gap: 22px; }
  .uxc-shop-tpl-showcase .uxc-shop-footer-contact { max-width: none; }
  .uxc-shop-tpl-showcase .uxc-showcase-cta-banner-inner { flex-direction: column; align-items: flex-start; }
}
