/* ============================================
   PUNCHLINE — SHARED STYLES
   Palette: Hot Pink #F2276E | Cream #EAE3CC | Navy #1A1A2E
   Fonts: Montserrat (UI) | Pacifico (brand/scripty)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Pacifico&display=swap');

/* ---- CSS VARIABLES ---- */
:root {
  --pink:    #F2276E;
  --pink-dark: #c71d5a;
  --cream:   #EAE3CC;
  --cream-dark: #d4ccb0;
  --navy:    #1A1A2E;
  --navy-light: #2a2a4a;
  --white:   #ffffff;
  --gray-light: #f5f5f0;
  --gray-mid: #aaa;
  --font-main: 'Montserrat', sans-serif;
  --font-brand: 'Pacifico', cursive;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(26,26,46,0.10);
  --shadow-lg: 0 8px 40px rgba(26,26,46,0.16);
  --transition: 0.22s cubic-bezier(.4,0,.2,1);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  background: var(--cream);
  color: var(--navy);
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-main); }
input, select, textarea { font-family: var(--font-main); }

/* ---- TYPOGRAPHY ---- */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; }
h2 { font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p  { font-size: 1rem; line-height: 1.7; color: var(--navy); opacity: 0.85; }

.brand-font { font-family: var(--font-brand); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--pink);
  color: var(--white);
  border-color: var(--pink);
}
.btn-primary:hover { background: var(--pink-dark); border-color: var(--pink-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(242,39,110,0.3); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-1px); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-white:hover { background: var(--white); color: var(--navy); }
.btn-cream {
  background: var(--cream);
  color: var(--navy);
  border-color: var(--cream);
}
.btn-cream:hover { background: var(--cream-dark); }
.btn-lg { padding: 16px 40px; font-size: 1.05rem; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

/* ---- FORM ELEMENTS ---- */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-group label { font-weight: 600; font-size: 0.9rem; color: var(--navy); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 0.95rem;
  color: var(--navy);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(242,39,110,0.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* ---- NAVBAR SHARED ---- */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 68px;
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.navbar .logo {
  font-family: var(--font-brand);
  font-size: 1.6rem;
  color: var(--pink);
  letter-spacing: 0.02em;
}
.navbar .logo span { color: var(--cream); }
.navbar .nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.navbar .nav-links a {
  color: var(--cream);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  transition: var(--transition);
  position: relative;
}
.navbar .nav-links a:hover { color: var(--pink); }
.navbar .nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--pink);
  transition: var(--transition);
}
.navbar .nav-links a:hover::after { width: 100%; }
.navbar .nav-actions { display: flex; gap: 12px; align-items: center; }

/* ---- DEAL BANNER (merch) ---- */
.deal-banner {
  background: var(--pink);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 8px 0;
  overflow: hidden;
}
.deal-banner .marquee {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 22s linear infinite;
}
@keyframes marquee {
  0% { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}

/* ---- HERO ---- */
.hero {
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 80px 5%;
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(242,39,110,0.18) 0%, transparent 65%),
              radial-gradient(ellipse at 20% 80%, rgba(234,227,204,0.07) 0%, transparent 50%);
  pointer-events: none;
}
.hero h1 { color: var(--white); position: relative; z-index: 1; }
.hero h2 { color: var(--cream); font-weight: 400; font-size: clamp(1rem, 2.5vw, 1.4rem); opacity: 0.85; position: relative; z-index: 1; margin-top: 12px; }
.hero .hero-actions { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; justify-content: center; position: relative; z-index: 1; }
.hero-img-placeholder {
  width: 100%;
  max-height: 380px;
  background: linear-gradient(135deg, var(--navy-light) 0%, #2d1040 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-mid);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  min-height: 220px;
  overflow: hidden;
  position: relative;
}
.hero-img-placeholder::after {
  content: '[ HERO IMAGE ]';
  position: absolute;
  color: rgba(255,255,255,0.2);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

/* ---- CARDS ---- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-body { padding: 24px; }
.card-title { font-weight: 700; font-size: 1.05rem; margin-bottom: 8px; }
.card-text { font-size: 0.9rem; opacity: 0.75; }

/* ---- SECTION WRAPPER ---- */
.section { padding: 72px 5%; }
.section-alt { background: var(--navy); color: var(--white); }
.section-alt p { color: var(--cream); }
.section-cream { background: var(--cream); }
.container { max-width: 1180px; margin: 0 auto; }
.section-title { margin-bottom: 40px; }
.section-title h2 { margin-bottom: 8px; }
.section-title p { opacity: 0.65; }

/* ---- DIVIDER ---- */
.divider { height: 3px; background: linear-gradient(90deg, var(--pink), var(--cream)); border: none; margin: 0; }
.divider-thin { height: 1px; background: var(--cream-dark); border: none; margin: 32px 0; }

/* ---- FOOTER ---- */
footer {
  background: var(--navy);
  color: var(--cream);
  padding: 24px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  opacity: 0.95;
}
footer a { color: var(--cream); opacity: 0.7; transition: var(--transition); }
footer a:hover { color: var(--pink); opacity: 1; }
footer .footer-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---- PRICING BOXES ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 32px;
}
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pricing-card:hover, .pricing-card.featured { border-color: var(--pink); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card.featured { background: var(--navy); color: var(--white); }
.pricing-card.featured p { color: var(--cream); }
.pricing-card .price { font-size: 2.8rem; font-weight: 800; color: var(--pink); line-height: 1; }
.pricing-card .price span { font-size: 1rem; font-weight: 400; opacity: 0.6; }
.pricing-card ul { display: flex; flex-direction: column; gap: 10px; }
.pricing-card ul li { font-size: 0.9rem; display: flex; align-items: center; gap: 8px; }
.pricing-card ul li::before { content: '✓'; color: var(--pink); font-weight: 700; }

/* ---- CAROUSEL PLACEHOLDER ---- */
.carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--navy-light);
}
.carousel-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}
.carousel-slide {
  min-width: 100%;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, var(--navy-light), #2d1040);
  position: relative;
}
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.carousel-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(4px);
  z-index: 2;
}
.carousel-btn:hover { background: var(--pink); }
.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; padding: 12px 0; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cream-dark); border: none; cursor: pointer; transition: var(--transition); }
.carousel-dot.active { background: var(--pink); }

/* ---- MODAL (login) ---- */
.modal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(26,26,46,0.7);
  backdrop-filter: blur(4px);
  z-index: 200;
  align-items: center;
  justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: min(440px, 92vw);
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.22s cubic-bezier(.4,0,.2,1);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(0.97); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute; top: 16px; right: 20px;
  background: none; border: none;
  font-size: 1.4rem; color: var(--gray-mid);
  cursor: pointer; line-height: 1;
  transition: var(--transition);
}
.modal-close:hover { color: var(--pink); }
.modal h2 { margin-bottom: 24px; }

/* ---- FORUM ---- */
.forum-section { margin-bottom: 32px; }
.forum-category {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 8px;
  border: 1px solid var(--cream-dark);
  overflow: hidden;
}
.forum-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.forum-category-header:hover { background: var(--gray-light); }
.forum-post {
  padding: 16px 20px;
  border-top: 1px solid var(--cream-dark);
  font-size: 0.9rem;
}
.forum-post .post-title { font-weight: 600; margin-bottom: 4px; }
.forum-post .post-meta { font-size: 0.78rem; color: var(--gray-mid); }

/* ---- PRODUCT ---- */
.color-swatch {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}
.color-swatch.active, .color-swatch:hover { border-color: var(--navy); transform: scale(1.15); }
.size-btn {
  padding: 8px 14px;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius);
  background: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}
.size-btn.active, .size-btn:hover { border-color: var(--pink); color: var(--pink); }

/* ---- QUANTITY ---- */
.qty-control {
  display: flex; align-items: center; gap: 0;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius);
  overflow: hidden;
  width: fit-content;
}
.qty-control button {
  background: var(--cream);
  border: none;
  width: 36px; height: 36px;
  font-size: 1.1rem;
  font-weight: 700;
  transition: var(--transition);
}
.qty-control button:hover { background: var(--pink); color: var(--white); }
.qty-control input {
  width: 48px; height: 36px;
  border: none; border-left: 2px solid var(--cream-dark); border-right: 2px solid var(--cream-dark);
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  outline: none;
}

/* ---- TAGS / BADGES ---- */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge-pink { background: rgba(242,39,110,0.12); color: var(--pink); }
.badge-navy { background: var(--navy); color: var(--white); }
.badge-cream { background: var(--cream); color: var(--navy); }

/* ---- IMAGE SLIDER ---- */
.img-slider-placeholder {
  width: 100%;
  aspect-ratio: 16/6;
  background: linear-gradient(135deg, var(--navy-light), #3d1060);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.2);
  font-size: 0.8rem; letter-spacing: 0.1em;
  position: relative;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .navbar .nav-links { display: none; }
  .navbar .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--navy); padding: 20px 5%; gap: 16px; z-index: 99; }
  .hamburger { display: flex !important; }
  .section { padding: 48px 5%; }
  footer { flex-direction: column; text-align: center; }
}
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none;
  cursor: pointer; padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--cream); border-radius: 2px; transition: var(--transition); }

/* ---- UTILITY ---- */
.text-pink { color: var(--pink); }
.text-cream { color: var(--cream); }
.text-navy { color: var(--navy); }
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8  { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---- LEGAL MODAL (Privacy & Terms) ---- */
.legal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(26,26,46,0.75);
  backdrop-filter: blur(5px);
  z-index: 500;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
}
.legal-overlay.active { display: flex; }
.legal-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  width: min(680px, 96vw);
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.22s cubic-bezier(.4,0,.2,1);
  margin: auto;
}
.legal-close {
  position: absolute; top: 16px; right: 20px;
  background: none; border: none;
  font-size: 1.6rem; color: var(--gray-mid);
  cursor: pointer; line-height: 1;
  transition: var(--transition);
}
.legal-close:hover { color: var(--pink); }
.legal-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800; margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 3px solid var(--pink);
  color: var(--navy);
}
.legal-modal h3 {
  font-size: 1rem; font-weight: 700;
  margin: 24px 0 8px; color: var(--navy);
}
.legal-modal p {
  font-size: 0.92rem; line-height: 1.75;
  color: var(--navy); opacity: 0.8;
  margin-bottom: 6px;
}