/* Glimmer Bliss - Mockup Site Styles */
/* Based on Shopify Dawn theme aesthetic */

:root {
  /* Brand Colors */
  --primary-pink: #ff69b4;
  --light-pink: #ffb6c1;
  --soft-pink: #fff0f5;
  --dark-pink: #db7093;
  --white: #ffffff;
  --black: #1a1a1a;
  --gray: #6b7280;
  --light-gray: #f5f5f5;

  /* Typography */
  --font-main: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent: 'Georgia', serif;

  /* Spacing */
  --nav-height: 70px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  color: var(--black);
  background-color: var(--white);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== HEADER / NAV ===== */
.header {
  background: var(--white);
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  flex: 1;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-pink);
  font-family: var(--font-accent);
  display: flex;
  align-items: center;
}

.logo span {
  color: var(--black);
}

.logo img {
  height: 56px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  color: var(--gray);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary-pink);
}

.nav-icons {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.cart-icon {
  position: relative;
  cursor: pointer;
  font-size: 1.4rem;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--primary-pink);
  color: white;
  font-size: 0.7rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar {
  background: var(--primary-pink);
  color: white;
  text-align: center;
  padding: 10px;
  font-size: 0.9rem;
}

/* ===== HERO SECTION ===== */
.hero {
  background: white;
  padding: 80px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  font-family: var(--font-accent);
  color: var(--black);
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.5rem;
  color: var(--gray);
  margin-bottom: 30px;
}

/* ===== WELCOME SCREEN (intro) ===== */
/* Before "Shop Now" is pressed, only the welcome text + button show */
body.intro .announcement-bar,
body.intro .header,
body.intro .promo-section,
body.intro #products,
body.intro .about-section,
body.intro .footer {
  display: none;
}

body.intro .hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Pink stripe with the welcome message */
.tagline-stripe {
  background: var(--primary-pink);
  color: white;
  font-family: var(--font-accent);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 600;
  padding: 22px 30px;
  border-radius: 16px;
  max-width: 960px;
  margin: 20px auto 0;
  line-height: 1.3;
  text-align: center;
}

/* Little photo-gallery ad on the welcome screen - rotates by itself */
.photo-ad {
  width: 300px;
  max-width: 80vw;
  margin: 0 auto 35px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.photo-ad-top {
  background: #1a1a1a;
  color: white;
  padding: 9px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.photo-ad-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: #b4bcd0;
}

.photo-ad-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.photo-ad-slide.is-on {
  opacity: 1;
}

.photo-ad-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 12px 10px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

.photo-ad-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  background: var(--white);
}

.photo-ad-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: #d8d8de;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.photo-ad-dot.is-on {
  background: var(--primary-pink);
  transform: scale(1.35);
}

/* Someone has asked for less motion - hold on one photo instead */
@media (prefers-reduced-motion: reduce) {
  .photo-ad-slide {
    transition: none;
  }
}

/* Everything pops up when "Shop Now" is pressed */
body.shop-open .promo-section,
body.shop-open #products,
body.shop-open .about-section,
body.shop-open .footer {
  animation: popUp 0.6s ease both;
}

@keyframes popUp {
  from { opacity: 0; transform: translateY(40px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}

.hero-btn {
  display: inline-block;
  background: var(--primary-pink);
  color: white;
  padding: 15px 40px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(255, 105, 180, 0.4);
}

/* ===== SECTION TITLES ===== */
.section-title {
  text-align: center;
  padding: 60px 20px 40px;
}

.section-title h2 {
  font-size: 2.8rem;
  font-family: var(--font-accent);
  margin-bottom: 10px;
}

.section-title p {
  color: var(--gray);
  font-size: 1.15rem;
}

/* ===== PROMO BANNERS ===== */
.promo-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px 20px;
}

.promo-banner {
  border-radius: 16px;
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 35px;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
  position: relative;
}

.promo-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.promo-banner.limited-edition {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d3436 50%, #636e72 100%);
  color: white;
}

/* The bottle video inside the advertisement.
   Kept portrait (9:16) to match the filmed clip - a square frame would chop
   the cap off the top and the base off the bottom. */
.promo-photo {
  flex: 0 0 205px;
  width: 205px;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  z-index: 2;
}

.promo-photo img,
.promo-photo video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.promo-content {
  z-index: 2;
  flex: 1;
}

.promo-price {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.promo-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.promo-banner.limited-edition .promo-badge {
  background: #ff69b4;
}

.promo-title {
  font-size: 2.4rem;
  font-family: var(--font-accent);
  margin-bottom: 10px;
}

.promo-subtitle {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 12px;
  line-height: 1.5;
}

.promo-btn {
  display: inline-block;
  background: var(--primary-pink);
  color: white;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 1.05rem;
  font-weight: 600;
  transition: transform 0.2s;
}

.promo-banner:hover .promo-btn {
  transform: scale(1.05);
}

.promo-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

/* ===== PRODUCT GRID ===== */
.products-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 45px 20px 60px;
}

/* Four glosses in the collection - one tidy row on a big screen */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.product-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.product-image {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--soft-pink), var(--light-pink));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  position: relative;
  overflow: hidden;
}

.product-image.pink-paradise { background: #ffffff; }
.product-image.love { background: #ffffff; }
.product-image.true-love { background: #ffffff; }
.product-image.gloss-angeles { background: #ffffff; }
.product-image.sugar-cookie { background: #ffffff; }
.product-image.glimmer-kiss { background: #ffffff; }

/* Real bottle photos - already squared up, so they fill the frame edge to edge */
.product-image img,
.main-image img,
.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.limited-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--black);
  color: white;
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
}

.product-info {
  padding: 22px;
  text-align: center;
}

.product-info h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.product-info .price {
  color: var(--primary-pink);
  font-weight: 600;
  font-size: 1.35rem;
}

.product-info .flavor {
  color: var(--gray);
  font-size: 1rem;
  margin-top: 8px;
}

/* ===== PRODUCT PAGE ===== */
.product-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: 100px;
}

.main-image {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
}

.thumbnail-row {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.thumbnail {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  overflow: hidden;
}

.thumbnail.active,
.thumbnail:hover {
  border-color: var(--primary-pink);
}

.product-details h1 {
  font-size: 2.5rem;
  font-family: var(--font-accent);
  margin-bottom: 10px;
}

.product-details .price {
  font-size: 1.5rem;
  color: var(--primary-pink);
  font-weight: 600;
  margin-bottom: 20px;
}

.product-details .description {
  color: var(--gray);
  margin-bottom: 30px;
  line-height: 1.8;
}

.product-options {
  margin-bottom: 30px;
}

.option-label {
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

/* Every gloss is vanilla now, so this is a fact rather than a choice */
.option-note {
  display: inline-block;
  background: var(--soft-pink);
  border: 2px solid var(--light-pink);
  border-radius: 8px;
  padding: 12px 20px;
  color: var(--black);
  font-size: 0.95rem;
}

.option-buttons {
  display: flex;
  gap: 10px;
}

.option-btn {
  padding: 12px 24px;
  border: 2px solid #ddd;
  border-radius: 8px;
  background: white;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.option-btn:hover,
.option-btn.selected {
  border-color: var(--primary-pink);
  background: var(--soft-pink);
}

.add-to-cart-btn {
  width: 100%;
  padding: 18px;
  background: var(--primary-pink);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.add-to-cart-btn:hover {
  background: var(--dark-pink);
  transform: translateY(-2px);
}

.add-to-cart-btn.added {
  background: #27ae60;
}

.product-features {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  color: var(--gray);
}

.feature-item span {
  font-size: 1.2rem;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  background: var(--soft-pink);
  padding: 40px 20px;
}

.about-content {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.about-content h2 {
  font-size: 1.4rem;
  font-family: var(--font-accent);
  margin-bottom: 12px;
}

.about-content p {
  color: var(--gray);
  line-height: 1.6;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.founders {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 25px;
}

.founder {
  text-align: center;
}

.founder-avatar {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--light-pink), var(--primary-pink));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 10px;
}

/* A real photo gets a bigger circle and a soft pink ring */
.founder-avatar.has-photo {
  width: 150px;
  height: 150px;
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  margin-bottom: 14px;
}

.founder-avatar.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.founder h4 {
  font-size: 1.15rem;
}

.founder p {
  color: var(--gray);
  font-size: 0.85rem;
}

/* ===== SHIPPING & PICKUP ===== */
.shipping-section {
  background: var(--light-gray);
  padding: 55px 20px;
}

.shipping-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.shipping-inner h2 {
  font-size: 2rem;
  font-family: var(--font-accent);
  margin-bottom: 30px;
}

.shipping-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.shipping-card {
  background: var(--white);
  border-radius: 14px;
  padding: 30px 25px;
}

.shipping-icon {
  font-size: 2.4rem;
  display: block;
  margin-bottom: 10px;
}

.shipping-card h4 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.shipping-cost {
  color: var(--primary-pink);
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.shipping-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

.shipping-note {
  margin-top: 22px;
  color: var(--gray);
  font-size: 0.95rem;
}

/* Small print under the delivery buttons on a product page */
.option-hint {
  margin-top: 10px;
  color: var(--gray);
  font-size: 0.85rem;
}

/* ===== POLICY & FAQ PAGES ===== */
.policy-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 45px 20px 70px;
}

.policy-page h1 {
  font-size: 2.4rem;
  font-family: var(--font-accent);
  margin-bottom: 6px;
}

.policy-page h2 {
  font-size: 1.35rem;
  margin: 34px 0 10px;
}

.policy-page p {
  color: #333;
  margin-bottom: 14px;
}

.policy-updated {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.policy-list {
  margin: 0 0 16px 22px;
  color: #333;
}

.policy-list li {
  margin-bottom: 8px;
}

.policy-page a {
  color: var(--dark-pink);
  text-decoration: underline;
}

/* Loud reminder that these pages still need a grown-up's eyes */
.draft-banner {
  background: #fff8e1;
  border: 2px solid #f0c000;
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 30px;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Anything still needing a real answer */
.fill-in {
  background: #ffe9a8;
  padding: 1px 5px;
  border-radius: 4px;
}

.faq-search {
  width: 100%;
  padding: 14px 18px;
  font-size: 1rem;
  font-family: inherit;
  border: 2px solid #e3e3e8;
  border-radius: 30px;
  margin-bottom: 8px;
}

.faq-search:focus {
  outline: none;
  border-color: var(--primary-pink);
}

.faq-empty {
  color: var(--gray);
  font-size: 0.9rem;
  padding: 10px 4px;
}

.faq-group {
  font-size: 1.1rem;
  color: var(--dark-pink);
  margin: 32px 0 12px;
}

.faq-item {
  border: 1px solid #e8e8ee;
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-item summary {
  padding: 15px 18px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-right: 45px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-pink);
  font-size: 1.4rem;
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: '\2013';
}

.faq-item summary:hover {
  background: var(--soft-pink);
}

.faq-item p {
  padding: 0 18px 16px;
  margin: 0;
  color: #444;
  font-size: 0.95rem;
}

/* ===== HELP ASSISTANT ===== */
.helper {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.helper-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--primary-pink);
  color: white;
  border: none;
  border-radius: 30px;
  padding: 11px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255, 105, 180, 0.4);
  transition: transform 0.2s;
}

.helper-toggle:hover {
  transform: translateY(-2px);
}

.helper-toggle-icon {
  font-size: 1.1rem;
}

.helper-panel {
  width: 285px;
  max-width: calc(100vw - 40px);
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  order: -1;
}

/* Must be stated explicitly: this stylesheet's display:flex would otherwise
   beat the browser's built-in [hidden] rule and the panel could never close */
.helper-panel[hidden] {
  display: none;
}

.helper-head {
  background: var(--primary-pink);
  color: white;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.helper-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}

.helper-log {
  padding: 12px;
  height: 200px;
  overflow-y: auto;
  background: var(--light-gray);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.helper-msg {
  max-width: 88%;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.83rem;
  line-height: 1.45;
}

.helper-bot {
  background: var(--white);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.helper-you {
  background: var(--primary-pink);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.helper-msg a {
  color: inherit;
  text-decoration: underline;
}

.helper-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 12px 0;
}

.helper-chip {
  background: var(--soft-pink);
  border: 1px solid var(--light-pink);
  color: var(--dark-pink);
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-family: inherit;
  cursor: pointer;
}

.helper-chip:hover {
  background: var(--light-pink);
  color: var(--white);
}

.helper-form {
  display: flex;
  gap: 8px;
  padding: 12px;
}

.helper-form input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border: 2px solid #e3e3e8;
  border-radius: 20px;
  font-size: 0.9rem;
  font-family: inherit;
}

.helper-form input:focus {
  outline: none;
  border-color: var(--primary-pink);
}

.helper-form button {
  background: var(--primary-pink);
  color: white;
  border: none;
  border-radius: 20px;
  padding: 10px 18px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  color: white;
  padding: 60px 20px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.footer-section h4 {
  margin-bottom: 20px;
  color: var(--light-pink);
}

.footer-section a {
  display: block;
  color: #aaa;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: var(--primary-pink);
}

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 30px;
  border-top: 1px solid #333;
  text-align: center;
  color: #666;
}

/* ===== CART NOTIFICATION ===== */
.cart-notification {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--black);
  color: white;
  padding: 20px 30px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  transform: translateY(150%);
  transition: transform 0.3s ease;
  z-index: 1000;
}

.cart-notification.show {
  transform: translateY(0);
}

.cart-notification .checkmark {
  font-size: 1.5rem;
}

.cart-notification .view-cart-btn {
  background: var(--primary-pink);
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  /* Phones: logo + cart on top, the menu as a small row underneath,
     so Home / Shop / FAQ / My Orders are always one tap away */
  .nav {
    height: auto;
    flex-wrap: wrap;
    padding: 6px 16px 0;
  }

  .logo img {
    height: 46px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 18px;
    margin: 0;
    padding: 6px 0 8px;
  }

  .nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 4px 0;
    display: inline-block;
  }

  .hero h1 {
    font-size: 2rem;
  }

  /* Advertisement stacks: photo on top, words underneath */
  .promo-banner {
    flex-direction: column;
    text-align: center;
    padding: 25px 20px;
    gap: 20px;
  }

  .promo-photo {
    flex: none;
    width: 100%;
    max-width: 200px;
  }

  .promo-title {
    font-size: 1.8rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .shipping-grid {
    grid-template-columns: 1fr;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .product-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .product-gallery {
    position: static;
  }

  .founders {
    flex-direction: row;
    gap: 25px;
  }
}

/* Medium screens - two glosses per row instead of four */
@media (min-width: 769px) and (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== SHOP: CART, CHECKOUT, ORDER, MY ORDERS ===== */
.shop-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 16px 60px;
}

.shop-page h1 {
  font-family: var(--font-accent);
  color: var(--dark-pink);
  margin-bottom: 20px;
}

.shop-page h2 {
  font-size: 1.15rem;
  margin: 26px 0 10px;
}

.shop-page label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin: 12px 0 4px;
}

.shop-page label small,
.choice small {
  font-weight: normal;
  color: var(--gray);
}

.shop-page input,
.shop-page textarea {
  width: 100%;
  font: inherit;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: var(--white);
}

.shop-page input:focus,
.shop-page textarea:focus {
  outline: 2px solid var(--light-pink);
  border-color: var(--primary-pink);
}

.shop-btn {
  display: inline-block;
  background: var(--primary-pink);
  color: var(--white);
  border: 0;
  border-radius: 30px;
  padding: 13px 28px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s;
}

.shop-btn:hover { background: var(--dark-pink); }
.shop-btn:disabled { opacity: 0.6; cursor: wait; }
.shop-btn.small { padding: 10px 18px; }
.shop-btn.wide { width: 100%; margin-top: 10px; font-size: 1.05rem; }
.shop-btn.venmo { background: #008cff; }
.shop-btn.venmo:hover { background: #0074d4; }

.link-btn {
  background: none;
  border: 0;
  color: var(--dark-pink);
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
  padding: 0;
}

.shop-error { color: #c62828; font-weight: 600; }
.shop-error:empty { display: none; }
.shop-hint { color: var(--gray); font-size: 0.9rem; margin-top: 8px; }
.shop-hint a { color: var(--dark-pink); text-decoration: underline; }
.shop-nudge { color: var(--dark-pink); font-weight: 600; margin-top: 10px; }
.shop-nudge:empty { display: none; }

.shop-thanks {
  background: var(--soft-pink);
  border: 1px solid var(--light-pink);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-weight: 600;
}

.shop-empty { text-align: center; padding: 40px 0; }
.shop-empty p { margin-bottom: 16px; font-size: 1.1rem; }

/* Cart rows */
.cart-row {
  display: grid;
  grid-template-columns: 80px 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
}

.cart-row img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--soft-pink);
}

.cart-row-info { display: flex; flex-direction: column; }
.cart-row-opts, .cart-row-price { color: var(--gray); font-size: 0.9rem; }
.cart-row-total { text-align: right; font-weight: 600; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }

.qty { display: flex; align-items: center; gap: 10px; }
.qty button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
}
.qty button:hover { border-color: var(--primary-pink); }

.cart-summary { text-align: right; padding-top: 20px; }
.cart-subtotal { font-size: 1.2rem; margin-bottom: 6px; }
.cart-summary .shop-btn { margin-top: 14px; }

/* Checkout */
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

.checkout-side {
  position: sticky;
  top: calc(var(--nav-height) + 16px);
  background: var(--soft-pink);
  border-radius: 18px;
  padding: 20px;
}

.checkout-side h2 { margin-top: 0; }

.choice {
  display: flex !important;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 12px 14px;
  margin: 8px 0 !important;
  cursor: pointer;
  font-weight: normal !important;
  background: var(--white);
}

.choice input { width: auto; margin-top: 4px; accent-color: var(--primary-pink); }
.choice span { display: flex; flex-direction: column; }
.choice:has(input:checked) { border-color: var(--primary-pink); box-shadow: 0 0 0 1px var(--primary-pink); }

.field-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; }
.promo-row { display: flex; gap: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Price summary (checkout + order page) */
.sum-box { background: var(--white); border-radius: 12px; padding: 12px 14px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.sum-line { border-top: 1px solid #eee; margin-top: 6px; padding-top: 8px; }
.sum-total { border-top: 2px solid var(--light-pink); margin-top: 6px; padding-top: 8px; font-weight: 700; font-size: 1.15rem; }
.sum-promo { color: var(--dark-pink); font-weight: 600; padding: 4px 0; }
.sum-row s { color: var(--gray); font-weight: normal; }

/* Order + pay page */
.order-code {
  font-family: monospace;
  letter-spacing: 1px;
  background: var(--soft-pink);
  padding: 2px 8px;
  border-radius: 6px;
}

.order-status {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  background: #eee;
}
.status-awaiting_payment { background: #fff3cd; }
.status-customer_says_paid { background: #ffe0b2; }
.status-paid { background: #c8e6c9; }
.status-shipped, .status-picked_up { background: #bbdefb; }
.status-cancelled { background: #e0e0e0; color: var(--gray); }

.pay-box {
  border: 2px solid var(--light-pink);
  border-radius: 18px;
  padding: 20px;
  margin: 20px 0;
  background: var(--white);
}

.pay-box h2 { margin-top: 0; }
.pay-box .shop-btn { margin-top: 12px; }
.pay-steps { padding-left: 22px; margin: 10px 0; }
.pay-steps li { margin: 6px 0; }

.qr-pair { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 18px; }
.qr-pair figure { text-align: center; margin: 0; }
.qr-pair img, .qr-pair #venmoQr img, .qr-pair #venmoQr canvas { width: 180px; height: 180px; }
.qr-pair figcaption { color: var(--gray); font-size: 0.85rem; margin-top: 6px; max-width: 200px; }

/* My Orders */
.login-form { max-width: 420px; }
.login-form .shop-btn { margin-top: 12px; }

.order-card {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid #eee;
  border-radius: 14px;
  margin: 10px 0;
  transition: border-color 0.2s;
}
.order-card:hover { border-color: var(--primary-pink); }
.order-card small { display: block; color: var(--gray); }

@media (max-width: 760px) {
  .checkout-grid { grid-template-columns: 1fr; gap: 10px; }
  .checkout-side { position: static; }
  .cart-row { grid-template-columns: 64px 1fr; }
  .cart-row img { width: 64px; height: 64px; }
  .qty, .cart-row-total { grid-column: 2; justify-content: flex-start; align-items: flex-start; text-align: left; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .field-row > div:first-child { grid-column: 1 / -1; }
  .order-card { grid-template-columns: 1fr auto; }
  .order-card .order-status { grid-column: 1 / -1; justify-self: start; }
}
