/*
 * Page-scoped styles — /pop-up-shop/  (student-facing)
 * Loaded via {{cdn 'assets/css/pages/pop-up-shop.css'}} in the head partial.
 * All selectors scoped under #popUpShop. No JS on this page.
 */

/* =========================================================================
   THEME FIXES (target the .aw-page wrapper, per project conventions)
   ========================================================================= */

/* Container breakout — BC wraps non-home pages in <div class="container">,
   which caps width and centres. Let the page span the full viewport. */
.body > .container:has(> .aw-page) {
  max-width: none;
  padding: 0;
  width: 100%;
}

/* Footer-gap removal — kill the trailing margin BC leaves under the page
   so the final section sits flush against the footer. */
.body:has(> .container > .aw-page) {
  margin-bottom: 0;
}

/* =========================================================================
   VARIABLES
   ========================================================================= */
#popUpShop {
  --sage:        #bce3f1;   /* light blue — photo shadow, alt border */
  --pale-sage:   #e6f5fb;   /* pale blue — hero bg, soft fills */
  --ink:         #1a1a1a;
  --accent:      #00aeee;   /* art-kits light blue */
  --accent-deep: #0b7196;   /* art-kits deep blue — text, buttons, rules */
  --navy:        #2c405e;
  --cta:         #721313;
  --cta-dark:    #501313;
  --mute:        #5a5a5a;
  --line:        #e6e2d8;
  --soft:        #f5f3ee;
  --pale-white:  #f0ede7;
  --white:       #ffffff;
}

/* =========================================================================
   BASE — resets against BC global styles
   =========================================================================
   The theme's common styles bleed in globally:
     h1–h6 { font-weight: normal; margin: 0 0 20px; text-transform: uppercase; }
     p     { font-size: 14px; margin: 0 0 20px; line-height: 24px; }
     a     { color: #721313; }
     li    { margin-bottom: 10px; line-height: 18px; }
   Everything below is scoped under #popUpShop so nothing leaks out.
   ========================================================================= */
#popUpShop {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

#popUpShop *,
#popUpShop *::before,
#popUpShop *::after {
  box-sizing: border-box;
}

#popUpShop ul,
#popUpShop ol {
  margin: 0;
  padding: 0;
}

#popUpShop li {
  margin: 0;
  line-height: inherit;
}

#popUpShop p {
  font-size: inherit;
  line-height: inherit;
  margin: 0;
}

#popUpShop h1,
#popUpShop h2 {
  font-family: "Fraunces", "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-variation-settings: 'opsz' 144;
  letter-spacing: -0.015em;
  line-height: 1.1;
  text-transform: none;
  color: var(--ink);
  margin: 0;
  padding: 0;
}

#popUpShop h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin-bottom: 0.5em; }
#popUpShop h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin: 0 0 0.5em; }

/* h1 / h2 colour treatment */
#popUpShop h1 em,
#popUpShop h2 em {
  font-style: italic;
  color: var(--accent-deep);
  font-variation-settings: 'opsz' 144;
}
#popUpShop .pu-h1-navy { color: var(--navy); }

#popUpShop h3 {
  font-family: "Fraunces", "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-variation-settings: 'opsz' 144;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 0.5em;
  text-transform: none;
}

#popUpShop a {
  color: var(--accent-deep);
  text-decoration: none;
  transition: color 0.15s ease;
}
#popUpShop a:hover { color: var(--cta); }

/* =========================================================================
   CONTAINER
   ========================================================================= */
#popUpShop .container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================================================
   BUTTONS
   ========================================================================= */
#popUpShop .pu-btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 3px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

#popUpShop .pu-btn-primary {
  background: var(--accent-deep);
  color: var(--white);
  border-color: var(--accent-deep);
}
#popUpShop .pu-btn-primary:hover {
  background: var(--white);
  color: var(--accent-deep);
}

#popUpShop .pu-btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
#popUpShop .pu-btn-ghost:hover {
  background: var(--ink);
  color: var(--white);
}

/* =========================================================================
   HERO
   ========================================================================= */
#popUpShop .pu-hero {
  background: var(--pale-sage);
  padding: 72px 0;
  scroll-margin-top: 100px;
}

#popUpShop .pu-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
  padding-bottom: 24px; /* room for photo shadow */
}

#popUpShop .pu-eyebrow {
  display: inline-block;
  font-family: "Caveat", cursive;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--accent-deep);
  transform: rotate(-2deg);
  margin-bottom: 2px;
  line-height: 1;
}

#popUpShop .pu-hero h1 { margin-bottom: 8px; }

#popUpShop .pu-hero-lead {
  font-size: 1.05rem;
  color: var(--mute);
  margin-bottom: 32px;
  max-width: 560px;
}

#popUpShop .pu-hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Hero meta dl */
#popUpShop .pu-hero-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 24px;
  margin: 28px 0 32px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
#popUpShop .pu-hero-meta dt {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  color: var(--accent-deep);
  font-weight: 700;
  white-space: nowrap;
}
#popUpShop .pu-hero-meta dd {
  margin: 0;
  color: var(--mute);
}

/* Hero portrait photo + offset shadow */
#popUpShop .pu-hero-photo { position: relative; }
#popUpShop .pu-hero-photo::before {
  content: '';
  position: absolute;
  inset: 16px -16px -16px 16px;
  background: var(--sage);
  border-radius: 4px;
  z-index: 0;
}
#popUpShop .pu-hero-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 4px;
}

/* =========================================================================
   SECTION SCAFFOLDING
   ========================================================================= */
#popUpShop .pu-section {
  padding: 72px 0;
  background: var(--white);
  scroll-margin-top: 100px;
}
#popUpShop .pu-section--soft { background: var(--soft); }

#popUpShop .pu-section-sub {
  color: var(--mute);
  margin: 0 0 40px;
  max-width: 760px;
  font-size: 1.05rem;
}

/* =========================================================================
   CHECK LISTS
   ========================================================================= */
#popUpShop .pu-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
#popUpShop .pu-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--mute);
}
#popUpShop .pu-check-list li:last-child { border-bottom: none; }
#popUpShop .pu-check {
  color: var(--accent-deep);
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* =========================================================================
   SAVINGS — pricing grid + asides
   ========================================================================= */
#popUpShop .pu-pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* Clarification + admin notes */
#popUpShop .pu-note {
  display: block;
  background: var(--pale-sage);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent-deep);
  border-radius: 4px;
  padding: 18px 22px;
  font-size: 0.95rem;
  color: var(--mute);
  line-height: 1.6;
}
#popUpShop .pu-note strong { color: var(--ink); }

#popUpShop .pu-admin-line {
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--mute);
  line-height: 1.6;
}

#popUpShop .pu-aside {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent-deep);
  padding: 28px 32px;
}
#popUpShop .pu-aside--alt { border-left-color: var(--sage); }
#popUpShop .pu-aside h3 { font-size: 1.15rem; margin-bottom: 10px; }
#popUpShop .pu-aside p {
  font-size: 0.95rem;
  color: var(--mute);
  margin: 0;
  line-height: 1.6;
}

/* =========================================================================
   GALLERY
   ========================================================================= */
#popUpShop .pu-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 32px;
}
#popUpShop .pu-gallery-grid img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

/* =========================================================================
   WHY / WORTH CATCHING — tiles
   ========================================================================= */
#popUpShop .pu-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
#popUpShop .pu-why-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px;
}
#popUpShop .pu-why-stat {
  font-family: "Fraunces", "Playfair Display", Georgia, serif;
  font-variation-settings: 'opsz' 144;
  font-size: 2.4rem;
  font-weight: 700;
  font-style: italic;
  color: var(--accent-deep);
  line-height: 1;
  margin-bottom: 10px;
}
#popUpShop .pu-why-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
#popUpShop .pu-why-card p {
  font-size: 15px;
  color: var(--mute);
  line-height: 1.6;
  margin: 0;
}

/* =========================================================================
   INSTAGRAM CARD
   ========================================================================= */
#popUpShop .pu-insta-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 36px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 36px 40px;
  border-radius: 4px;
}
#popUpShop .pu-ig-mark {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent-deep);
}
#popUpShop .pu-insta-card h3 { font-size: 1.35rem; margin: 0 0 6px; }
#popUpShop .pu-insta-card p {
  font-size: 1rem;
  color: var(--mute);
  margin: 0;
}
#popUpShop .pu-insta-handle {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
#popUpShop .pu-insta-handle:hover { color: var(--accent-deep); }

/* =========================================================================
   FAQ ACCORDION
   ========================================================================= */
#popUpShop .pu-faq {
  margin-top: 40px;
  border-top: 1px solid var(--line);
}
#popUpShop .pu-faq-item { border-bottom: 1px solid var(--line); }
#popUpShop .pu-faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  user-select: none;
  gap: 16px;
}
#popUpShop .pu-faq-item summary::-webkit-details-marker { display: none; }
#popUpShop .pu-faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 300;
  color: var(--accent-deep);
  flex-shrink: 0;
  transition: transform 0.2s ease;
  line-height: 1;
}
#popUpShop .pu-faq-item[open] > summary::after { transform: rotate(45deg); }
#popUpShop .pu-faq-answer { padding: 0 0 20px; }
#popUpShop .pu-faq-answer p {
  color: var(--mute);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
  max-width: 720px;
}

/* =========================================================================
   FINAL CTA
   ========================================================================= */
#popUpShop .pu-final {
  padding: 120px 0;
  text-align: center;
  background:
    radial-gradient(800px 400px at 80% 10%, rgba(0, 174, 238, 0.12), transparent 60%),
    var(--soft);
}
#popUpShop .pu-final h2 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  margin-bottom: 20px;
}
#popUpShop .pu-final p {
  color: var(--mute);
  margin: 0 auto 36px;
  max-width: 52ch;
  font-size: 1.1rem;
  text-align: center;
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 960px) {
  #popUpShop .pu-hero-grid,
  #popUpShop .pu-pricing-grid { grid-template-columns: 1fr; }

  #popUpShop .pu-hero { padding: 48px 0 56px; }
  #popUpShop .pu-hero-photo img { aspect-ratio: 16 / 9; }
  #popUpShop .pu-hero-photo::before { display: none; }
  #popUpShop .pu-insta-card { grid-template-columns: 1fr; text-align: center; gap: 20px; }
  #popUpShop .pu-gallery-grid { grid-template-columns: 1fr 1fr; }
  #popUpShop .pu-why-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  #popUpShop .pu-section { padding: 48px 0; }
  #popUpShop .pu-final { padding: 80px 0; }
  #popUpShop .pu-gallery-grid { grid-template-columns: 1fr; }
  #popUpShop .pu-why-grid { grid-template-columns: 1fr; }
}
