:root {
  --brown: #3b2416;
  --rust: #a53a18;
  --cream: #fff8ef;
  --border: #d8c0a3;
}
 body {
      margin: 0;
      padding:20px;
      font-family: Arial, sans-serif;
      background: #f9f8f5 !important;
      color: #2b1b12;
    }

    header {
      padding: 24px 40px;
      background: #3b2416;
      color: white;
    }

    header h1 {
      margin: 0;
      font-size: 30px;
    }

    header p {
      margin: 6px 0 0;
      color: #f3d6bd;
    }

    .hero {
      padding: 70px 40px;
      text-align: center;
      background: linear-gradient(#fff0df, #fff8f1);
    }

    .hero h2 {
      font-size: 46px;
      margin: 0 0 16px;
    }

    .hero p {
      font-size: 20px;
      max-width: 760px;
      margin: 0 auto 30px;
      line-height: 1.5;
    }

    .search-box {
      max-width: 720px;
      margin: 0 auto;
      display: flex;
      gap: 10px;
    }

    .search-box input {
      flex: 1;
      padding: 16px;
      font-size: 18px;
      border: 1px solid #d5b89f;
      border-radius: 8px;
    }

    .search-box button {
      padding: 16px 24px;
      font-size: 18px;
      border: none;
      border-radius: 8px;
      background: #b45122;
      color: white;
      cursor: pointer;
    }

    .section {
      padding: 50px 40px;
      max-width: 1100px;
      margin: auto;
    }

    .cards {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 22px;
    }

    .card {
      background: white;
      padding: 26px;
      border-radius: 14px;
      box-shadow: 0 4px 14px rgba(0,0,0,.08);
    }

    .card h3 {
      margin-top: 0;
    }

    .card a {
      color: #b45122;
      font-weight: bold;
      text-decoration: none;
    }

    footer {
      text-align: center;
      padding: 30px;
      background: #3b2416;
      color: #f3d6bd;
    }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--cream);
  color: var(--brown);
}

.site-header {
  height: 85px;
  padding: 10px 36px;
  box-sizing: border-box;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;

  background: #faf7f4;
  border-bottom: 2px solid var(--border);

  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-logo {
  height: 82px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--brown);
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--rust);
}

/* =========================

   Footer

   ========================= */

.site-footer {

    margin-top: 60px;

    background: #3b2416;

    color: #f3d6bd;

    padding: 30px 40px;

    text-align: center;

    border-top: 1px solid #5b3b28;

}

.footer-links {

    margin-bottom: 15px;

}

.footer-links a {

    color: #f3d6bd;

    text-decoration: none;

    margin: 0 15px;

    font-weight: 600;

}

.footer-links a:hover {

    color: white;

    text-decoration: underline;

}

.footer-copy {

    font-size: 14px;

    opacity: 0.9;

}

.nav-toggle { display: none; background: none; border: none; font-size: 1.7rem; line-height: 1; color: var(--ink); cursor: pointer; padding: 4px 8px; }

@media (max-width: 850px) {
  .site-header {
    height: auto;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 8px 16px;
  }
  .site-logo { height: 58px; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none; order: 3; width: 100%;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 6px 0 4px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { font-size: 17px; padding: 10px 6px; border-radius: 8px; }
  .site-nav a:hover { background: rgba(0,0,0,.04); }
  .nav-sell { align-self: flex-start; margin-top: 4px; }
}

/* ============================================================
   Marketplace homepage
   ============================================================ */
:root {
  --accent: #d1462f;
  --accent-dark: #b23a26;
  --ink: #211b18;
  --muted: #6d6763;
  --warm-bg: #faf7f5;
}

main { max-width: 1180px; margin: 0 auto; padding: 0 20px 60px; }

.hero {
  text-align: center;
  padding: 56px 20px 40px;
  background: linear-gradient(180deg, var(--warm-bg), #fff);
  border-radius: 22px;
  margin: 24px 0 8px;
}
.hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  line-height: 1.08;
  margin: 0 0 12px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.hero-sub { max-width: 640px; margin: 0 auto 26px; color: var(--muted); font-size: 1.08rem; line-height: 1.5; }
.search-box { display: flex; max-width: 620px; margin: 0 auto; gap: 8px; }
.search-box input {
  flex: 1; padding: 15px 18px; font-size: 1rem;
  border: 1px solid #e2d9d2; border-radius: 999px; outline: none; background: #fff;
}
.search-box input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(209,70,47,.12); }
.search-box button {
  padding: 15px 28px; font-size: 1rem; font-weight: 800; color: #fff;
  background: var(--accent); border: none; border-radius: 999px; cursor: pointer;
}
.search-box button:hover { background: var(--accent-dark); }
.hero-stats { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-top: 22px; color: var(--muted); font-size: .95rem; }
.hero-stats strong { color: var(--ink); }

.home-section { margin: 46px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.section-head h2 { font-size: 1.5rem; margin: 0; color: var(--ink); letter-spacing: -0.01em; }
.see-all { color: var(--accent); text-decoration: none; font-weight: 700; font-size: .95rem; }
.see-all:hover { text-decoration: underline; }

/* product tiles */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
.p-card {
  display: block; text-decoration: none; color: inherit; background: #fff;
  border: 1px solid #eee5df; border-radius: 16px; overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}
.p-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.10); }
.p-card-img { aspect-ratio: 1/1; background-size: cover; background-position: center; background-color: #f2ece7; }
.p-card-body { padding: 14px 15px 16px; }
.p-card-bakery { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--accent); margin-bottom: 5px; }
.p-card-name { font-weight: 700; color: var(--ink); line-height: 1.25; font-size: 1rem; margin-bottom: 6px; }
.p-card-price { color: var(--muted); font-size: .92rem; font-weight: 600; }

/* category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.cat-tile {
  display: flex; align-items: center; gap: 10px; padding: 16px 18px;
  background: var(--warm-bg); border: 1px solid #efe6df; border-radius: 14px;
  text-decoration: none; color: var(--ink); font-weight: 700;
}
.cat-tile:hover { border-color: var(--accent); background: #fff; }
.cat-emoji { font-size: 1.5rem; }

/* bakery showcase */
.bakery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.bakery-tile { background: #fff; border: 1px solid #eee5df; border-radius: 16px; overflow: hidden; }
.bakery-tile-img { height: 120px; background-size: cover; background-position: center; background-color: #f2ece7; }
.bakery-tile-body { padding: 14px 16px; }
.bakery-tile-name { font-weight: 800; color: var(--ink); }
.bakery-tile-count { color: var(--muted); font-size: .88rem; margin-top: 2px; }

/* AI CTA */
.ai-cta { text-align: center; background: var(--warm-bg); border-radius: 20px; padding: 40px 24px; }
.ai-cta h2 { margin: 0 0 8px; }
.ai-cta p { color: var(--muted); max-width: 560px; margin: 0 auto 20px; }
.cta-button {
  display: inline-block; padding: 14px 26px; background: var(--accent); color: #fff;
  border-radius: 999px; text-decoration: none; font-weight: 800;
}
.cta-button:hover { background: var(--accent-dark); }

@media (max-width: 620px) {
  .search-box { flex-direction: column; }
  .search-box button { border-radius: 14px; }
}

/* ============================================================
   Phase 2 — /shop browse + /bakery storefront
   ============================================================ */
.bakery-tile { text-decoration: none; color: inherit; display: block; transition: transform .15s ease, box-shadow .15s ease; }
.bakery-tile:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0,0,0,.10); }

.shop-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 28px 0 18px; }
.shop-head h1 { font-size: 1.9rem; margin: 0; color: var(--ink); letter-spacing: -0.01em; }
.shop-search { margin: 0; max-width: 360px; flex: 1; }
.shop-search input { padding: 11px 16px; }
.shop-search button { padding: 11px 20px; }

.chips { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 14px; }
.chips-bakeries { margin-bottom: 26px; }
.chip {
  display: inline-block; padding: 8px 15px; border-radius: 999px;
  background: #fff; border: 1px solid #e6ddd6; color: var(--ink);
  text-decoration: none; font-weight: 700; font-size: .9rem;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip-on { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip-on:hover { color: #fff; }

.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 34px 0 8px; }
.pager-btn {
  padding: 10px 20px; border-radius: 999px; background: var(--ink); color: #fff;
  text-decoration: none; font-weight: 800; font-size: .92rem;
}
.pager-btn:hover { background: #000; }
.pager-page { color: var(--muted); font-weight: 700; }

.crumbs { color: var(--muted); font-size: .9rem; margin: 20px 0 4px; }
.crumbs a { color: var(--accent); text-decoration: none; font-weight: 700; }
.crumbs a:hover { text-decoration: underline; }

.bakery-hero { padding: 8px 0 22px; border-bottom: 1px solid #efe6df; margin-bottom: 26px; }
.bakery-hero h1 { font-size: 2.2rem; margin: 0 0 6px; color: var(--ink); letter-spacing: -0.02em; }
.bakery-hero-meta { color: var(--muted); margin: 0; }

.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty h2 { color: var(--ink); margin: 0 0 8px; }
.empty a { color: var(--accent); font-weight: 700; }

/* ============================================================
   Phase 3 — collections + "sell with us"
   ============================================================ */
.collection-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.collection-tile {
  display: flex; flex-direction: column; gap: 4px; padding: 22px 20px;
  border-radius: 16px; text-decoration: none; color: var(--ink);
  background: linear-gradient(160deg, #fff, var(--warm-bg));
  border: 1px solid #efe6df; transition: transform .15s ease, box-shadow .15s ease;
}
.collection-tile:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0,0,0,.09); border-color: var(--accent); }
.collection-tile-emoji { font-size: 1.9rem; }
.collection-tile-title { font-weight: 800; font-size: 1.08rem; }
.collection-tile-sub { color: var(--muted); font-size: .88rem; line-height: 1.35; }

.collection-hero { text-align: center; padding: 34px 20px 26px; }
.collection-emoji { font-size: 3rem; }
.collection-hero h1 { font-size: 2.1rem; margin: 8px 0 6px; color: var(--ink); letter-spacing: -0.02em; }
.collection-hero p { color: var(--muted); margin: 0; }

/* join / sell page */
.join-hero {
  text-align: center; padding: 60px 24px 46px; margin: 24px 0 8px;
  background: linear-gradient(180deg, var(--warm-bg), #fff); border-radius: 22px;
}
.join-hero h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); line-height: 1.08; margin: 0 0 14px; color: var(--ink); letter-spacing: -0.02em; }
.join-hero p { max-width: 620px; margin: 0 auto 26px; color: var(--muted); font-size: 1.08rem; line-height: 1.5; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.step { background: #fff; border: 1px solid #eee5df; border-radius: 16px; padding: 24px; }
.step-num {
  width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1.1rem; margin-bottom: 14px;
}
.step h3 { margin: 0 0 8px; color: var(--ink); }
.step p { margin: 0; color: var(--muted); line-height: 1.5; }

.perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.perk { background: var(--warm-bg); border: 1px solid #efe6df; border-radius: 12px; padding: 16px 18px; color: var(--ink); }
.perk strong { font-weight: 800; }

/* Pricing tiers */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid #efe6df; border-radius: 16px; padding: 26px 22px; }
.price-card.featured { border: 2px solid var(--accent); box-shadow: 0 10px 30px rgba(209,70,47,.12); }
.pc-ribbon { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.pc-name { font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.pc-price { margin: 10px 0 4px; display: flex; align-items: baseline; gap: 4px; }
.pc-amt { font-size: 2.2rem; font-weight: 800; color: var(--accent); letter-spacing: -0.02em; }
.pc-per { color: var(--muted); font-weight: 700; font-size: .95rem; }
.pc-tag { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }
.pc-feats { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pc-feats li { position: relative; padding-left: 26px; color: var(--ink); font-size: .95rem; line-height: 1.35; }
.pc-feats li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 800; }
.pc-btn { margin-top: auto; display: block; text-align: center; background: var(--accent); color: #fff !important; text-decoration: none; font-weight: 800; padding: 12px 16px; border-radius: 12px; }
.pc-btn:hover { background: var(--accent-dark); }
.pc-btn-ghost { background: #fff; color: var(--accent) !important; border: 1.5px solid var(--accent); }
.pc-btn-ghost:hover { background: var(--accent); color: #fff !important; }

.join-form { display: flex; gap: 8px; max-width: 640px; margin: 0 auto; flex-wrap: wrap; }
.join-form-center { justify-content: center; }
.join-form input {
  flex: 1; min-width: 190px; padding: 14px 18px; font-size: 1rem;
  border: 1px solid #e2d9d2; border-radius: 999px; background: #fff;
}
.join-form input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(209,70,47,.12); }
.join-form .cta-button { border: none; cursor: pointer; }
.join-fineprint { color: var(--muted); font-size: .85rem; margin-top: 12px; text-align: center; }

/* ============================================================
   Phase 5 — product detail page
   ============================================================ */
.product-detail { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; margin: 18px 0 40px; align-items: start; }
.pd-main-img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 20px; display: block; box-shadow: 0 14px 34px rgba(0,0,0,.10); background: #f2ece7; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pd-thumb { padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; cursor: pointer; background: none; width: 68px; height: 68px; }
.pd-thumb:hover, .pd-thumb:focus { border-color: var(--accent); }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-noimg { aspect-ratio: 1/1; border-radius: 20px; background: var(--warm-bg); display: flex; align-items: center; justify-content: center; font-size: 5rem; }
.pd-info { padding-top: 6px; }
.pd-bakery { display: inline-block; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: .82rem; color: var(--accent); text-decoration: none; margin-bottom: 8px; }
.pd-bakery:hover { text-decoration: underline; }
.pd-info h1 { font-size: 2.1rem; line-height: 1.1; margin: 0 0 10px; color: var(--ink); letter-spacing: -0.02em; }
.pd-price { font-size: 1.35rem; font-weight: 800; color: var(--ink); margin-bottom: 16px; }
.pd-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pd-badge { background: var(--warm-bg); border: 1px solid #efe6df; border-radius: 999px; padding: 7px 13px; font-size: .85rem; font-weight: 700; color: var(--ink); }
.pd-desc { color: var(--muted); line-height: 1.55; margin: 0 0 20px; white-space: pre-line; }
.pd-variations { border-top: 1px solid #efe6df; padding-top: 16px; margin-bottom: 22px; }
.pd-variations h3 { margin: 0 0 10px; font-size: 1rem; color: var(--ink); }
.pd-variations ul { list-style: none; margin: 0; padding: 0; }
.pd-variations li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid #f3ece7; }
.pd-var-name { color: var(--ink); font-weight: 600; }
.pd-var-serves { color: var(--muted); font-weight: 500; }
.pd-var-price { color: var(--ink); font-weight: 800; white-space: nowrap; }
.pd-order { display: inline-block; font-size: 1.05rem; padding: 15px 30px; }
.pd-order-note { color: var(--muted); font-size: .82rem; margin: 10px 0 0; }

@media (max-width: 760px) {
  .product-detail { grid-template-columns: 1fr; gap: 24px; }
  .pd-info h1 { font-size: 1.7rem; }
}

/* ratings on cards */
.p-card-rating { margin-top: 5px; color: #e8a300; font-weight: 800; font-size: .9rem; }
.p-card-rating span { color: var(--muted); font-weight: 600; }

/* product-page rating summary */
.pd-rating { display: inline-block; text-decoration: none; color: #e8a300; font-size: 1.05rem; margin-bottom: 10px; }
.pd-rating span { color: var(--muted); font-size: .9rem; }

/* reviews section */
.reviews { max-width: 760px; margin: 8px 0 50px; }
.reviews h2 { color: var(--ink); }
.reviews-avg { color: #e8a300; font-size: 1rem; font-weight: 700; margin-left: 8px; }
.reviews-avg::after { content: ""; }
.review-list { margin: 16px 0 30px; }
.review { padding: 16px 0; border-bottom: 1px solid #efe6df; }
.review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.review-stars { color: #e8a300; letter-spacing: 1px; }
.review-head strong { color: var(--ink); }
.review-date { color: var(--muted); font-size: .85rem; }
.review-body { margin: 0; color: #3a3532; line-height: 1.5; }
.review-empty { color: var(--muted); }

.review-form { background: var(--warm-bg); border: 1px solid #efe6df; border-radius: 16px; padding: 22px; }
.review-form h3 { margin: 0 0 14px; color: var(--ink); }
.review-form-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.review-form input, .review-form select, .review-form textarea {
  padding: 12px 14px; border: 1px solid #e2d9d2; border-radius: 10px; font-size: 1rem; background: #fff; font-family: inherit;
}
.review-form input { flex: 1; min-width: 180px; }
.review-form select { min-width: 160px; }
.review-form textarea { width: 100%; min-height: 90px; resize: vertical; margin-bottom: 12px; }
.review-form input:focus, .review-form select:focus, .review-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(209,70,47,.12); }
.review-form .cta-button { border: none; cursor: pointer; }

/* shop controls (sort + fulfillment) */
.shop-controls { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: 0 0 24px; padding-top: 14px; border-top: 1px solid #f3ece7; }
.shop-sort { margin: 0; }
.sort-label { color: var(--muted); font-weight: 700; font-size: .9rem; display: inline-flex; align-items: center; gap: 8px; }
.shop-sort select { padding: 9px 14px; border: 1px solid #e2d9d2; border-radius: 999px; background: #fff; font-size: .92rem; font-family: inherit; cursor: pointer; }
.shop-sort select:focus { outline: none; border-color: var(--accent); }

/* header "Sell with us" CTA */
.nav-sell { background: var(--accent); color: #fff !important; padding: 6px 14px; border-radius: 999px; font-weight: 800; }
.nav-sell:hover { background: var(--accent-dark); }
.nav-concierge { border: 1.5px solid var(--accent); color: var(--accent) !important; padding: 5px 13px; border-radius: 999px; font-weight: 800; }
.nav-concierge:hover { background: var(--accent); color: #fff !important; }

/* ============================================================
   "Your picks" wishlist (heart-to-save)
   ============================================================ */
.p-card { position: relative; }
.pd-media { position: relative; }

.heart-btn {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.94); color: #9a9a9a;
  font-size: 1.15rem; line-height: 1; cursor: pointer;
  border: 1px solid rgba(0,0,0,.06); box-shadow: 0 2px 8px rgba(0,0,0,.14);
  user-select: none; transition: transform .12s ease, color .12s ease;
}
.heart-btn:hover { transform: scale(1.12); color: var(--accent); }
.heart-btn.hearted { color: var(--accent); background: #fff; }
.heart-btn-lg { width: 44px; height: 44px; font-size: 1.5rem; top: 14px; right: 14px; }

.nav-picks { white-space: nowrap; }
#picks-count { color: var(--accent); font-weight: 800; }

.picks-head { margin: 24px 0 8px; }
.picks-head h1 { color: var(--ink); margin: 0 0 6px; }
.picks-sub { color: var(--muted); max-width: 640px; margin: 0; line-height: 1.5; }
.picks-empty { color: var(--muted); background: var(--warm-bg); border: 1px solid #efe6df; border-radius: 16px; padding: 40px 24px; text-align: center; margin: 30px 0; line-height: 1.9; }
.picks-group { margin: 34px 0; }
.picks-group-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; border-bottom: 2px solid #f0e8e2; padding-bottom: 10px; }
.picks-group-head h2 { margin: 0; color: var(--ink); font-size: 1.3rem; }
.picks-group-note { color: var(--muted); font-size: .88rem; }
.pick-card:hover { transform: none; box-shadow: none; }
.picks-actions { display: flex; gap: 8px; align-items: center; margin-top: 10px; }
.pick-order { flex: 1; text-align: center; background: var(--accent); color: #fff; text-decoration: none; padding: 9px 12px; border-radius: 10px; font-weight: 800; font-size: .9rem; }
.pick-order:hover { background: var(--accent-dark); }
.pick-remove { background: none; border: 1px solid #e2d9d2; color: var(--muted); border-radius: 10px; padding: 9px 12px; cursor: pointer; font-size: .85rem; font-weight: 700; }
.pick-remove:hover { border-color: var(--accent); color: var(--accent); }

/* featured spotlight row (paid placement) */
.spotlight-section { background: linear-gradient(180deg, #fff7ef, #fff); border: 1px solid #f2e3d6; border-radius: 20px; padding: 10px 20px 24px; margin-top: 24px; }
.spotlight-section .section-head h2 { color: var(--accent); }

/* ============================================================
   Homepage redesign — split hero, rich cards, feature strip
   ============================================================ */
.hero-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 34px; align-items: center; padding: 18px 0 6px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #f0e3d8; color: var(--accent); font-weight: 800; font-size: .76rem; letter-spacing: .05em; padding: 7px 14px; border-radius: 999px; margin-bottom: 22px; }
.hero-concierge { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--accent); font-weight: 700; text-decoration: none; font-size: .95rem; }
.hero-concierge:hover { text-decoration: underline; }
.hero-copy h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 800; font-size: clamp(1.85rem, 3.6vw, 2.85rem); line-height: 1.08; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 18px; }
.hero-copy .hero-sub { color: var(--muted); font-size: 1.1rem; line-height: 1.5; max-width: 470px; margin: 0 0 24px; text-align: left; }
.hero-photo img { width: 100%; height: 100%; max-height: 470px; object-fit: cover; border-radius: 24px; box-shadow: 0 22px 55px rgba(60,30,15,.18); display: block; }
.hero-stats { display: grid; grid-template-columns: repeat(4, auto); gap: 16px 20px; margin-top: 22px; justify-content: start; }
.hero-stat { display: flex; align-items: center; gap: 10px; font-size: .84rem; color: var(--muted); }
.hero-stat .hs-ic { width: 38px; height: 38px; border-radius: 11px; background: #fbeee4; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; flex: 0 0 auto; }
.hero-stat strong { color: var(--ink); display: block; font-size: .86rem; }

/* Hero example-search slider: an auto-scrolling ticker of natural-language
   prompts. Each chip runs a real search. Pauses on hover so chips are clickable;
   falls back to a manual scroll strip when motion is reduced. */
.hero-try { display: flex; align-items: center; gap: 14px; margin: 30px 0 6px; }
.hero-try-lead { flex: none; display: inline-flex; align-items: center; gap: 7px; font-weight: 800; font-size: .9rem; color: var(--accent); white-space: nowrap; }
.hero-try-arrow { animation: try-nudge 1.6s ease-in-out infinite; }
@keyframes try-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
.hero-slider { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.hero-slider-track { display: flex; gap: 10px; width: max-content; animation: hero-slide 92s linear infinite; }
.hero-slider:hover .hero-slider-track, .hero-slider:focus-within .hero-slider-track { animation-play-state: paused; }
.ss-chip { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; flex: none; background: #fff; border: 1px solid #ecdfce; border-radius: 999px; padding: 9px 15px; font-weight: 600; font-size: .9rem; color: var(--ink); text-decoration: none; cursor: pointer; transition: border-color .14s, color .14s, background .14s, box-shadow .14s, transform .14s; }
.ss-chip:hover { border-color: var(--accent); color: var(--accent); background: #fff6f2; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(209, 70, 47, .14); }
.ss-emo { font-size: 1rem; }
@media (prefers-reduced-motion: reduce) { .hero-try-arrow { animation: none; } }
@keyframes hero-slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .hero-slider { overflow-x: auto; }
  .hero-slider-track { animation: none; }
}

/* card restyle to match design (name → stars → bakery → price + ships) */
.p-card-name { font-weight: 800; color: var(--ink); font-size: 1.02rem; line-height: 1.25; margin: 0 0 6px; }
.p-card-rating { color: #f5a623; font-size: .92rem; letter-spacing: 1px; margin: 0 0 4px; }
.p-card-rating span { color: var(--muted); letter-spacing: normal; font-size: .82rem; }
.p-card-bakery { font-size: .82rem; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--muted); margin: 0 0 6px; }
.p-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.p-card-price { color: var(--accent); font-size: 1rem; font-weight: 800; }
.ships-badge { display: inline-flex; align-items: center; gap: 4px; background: #e8f5ea; color: #2e7d32; font-size: .72rem; font-weight: 700; padding: 4px 9px; border-radius: 8px; white-space: nowrap; }

/* feature strip */
.feature-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; background: #fbf1e8; border: 1px solid #f2e3d6; border-radius: 20px; padding: 26px 24px; margin: 44px 0; }
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature-ic { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.feature-txt h3 { margin: 0 0 4px; font-size: 1rem; color: var(--ink); }
.feature-txt p { margin: 0; font-size: .87rem; color: var(--muted); line-height: 1.4; }

/* testimonial */
.testimonial { text-align: center; padding: 26px 20px 50px; }
.testimonial .quote { font-family: Georgia, serif; font-size: clamp(1.2rem, 2.4vw, 1.55rem); color: var(--ink); max-width: 720px; margin: 0 auto 12px; line-height: 1.4; }
.testimonial-stars { color: #f5a623; letter-spacing: 2px; font-size: 1.05rem; }
.testimonial-stars span { color: var(--muted); letter-spacing: normal; font-size: .9rem; margin-left: 8px; }

@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; gap: 26px; padding-top: 16px; }
  .hero-photo { max-height: 320px; overflow: hidden; border-radius: 24px; }
  .feature-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .hero-stats { grid-template-columns: repeat(2, auto); }
}
@media (max-width: 560px) {
  .feature-strip { grid-template-columns: 1fr; }
}

/* tighter vertical rhythm to reduce white space */
.home-section { margin: 30px 0; }
.spotlight-section { margin-top: 6px; }
.feature-strip { margin: 34px 0; }
.hero-photo { align-self: center; }
.hero-photo img { height: auto; min-height: 0; max-height: 460px; object-fit: cover; object-position: center; }

/* warmer page background to match the mockup */
body { background: #fbefe0; }
.hero-photo img { box-shadow: 0 18px 44px rgba(70,40,20,.16); }

/* unified search pill: icon inside, button nested (homepage hero) */
.hero-copy .search-box {
  display: flex; align-items: center; gap: 0;
  max-width: 600px; margin: 0;
  background: #fff; border: 1px solid #eaded3; border-radius: 999px;
  padding: 6px 6px 6px 20px; box-shadow: 0 8px 24px rgba(70,40,20,.08);
}
.hero-copy .search-box:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(209,70,47,.10), 0 8px 24px rgba(70,40,20,.08); }
.hero-copy .search-icon { color: #9a9186; flex: 0 0 auto; margin-right: 10px; }
.hero-copy .search-box input {
  flex: 1; border: none; background: transparent; box-shadow: none;
  padding: 13px 6px; font-size: 1rem; outline: none;
}
.hero-copy .search-box input:focus { border: none; box-shadow: none; }
.hero-copy .search-box button {
  flex: 0 0 auto; padding: 13px 26px; border-radius: 999px;
  background: var(--accent); color: #fff; font-weight: 800; border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px; font-size: 1rem;
}
.hero-copy .search-box button:hover { background: var(--accent-dark); }

/* keep the hero search pill on one row (esp. mobile — long placeholder was
   forcing the input to wrap the icon/button into a column) */
.hero-copy .search-box { flex-wrap: nowrap; max-width: 100%; flex-direction: row; }
.hero-copy .search-box input { min-width: 0; }

/* prevent mobile horizontal overflow: include padding/border in every element's
   width (only the header had border-box before, so padded 100%-wide elements
   like the search pill were spilling past the viewport) */
* { box-sizing: border-box; }
img { max-width: 100%; }

/* mobile overflow: clip content-area horizontal spill (header is a sibling of
   main, so its sticky positioning is unaffected), and make the hero stats
   columns shrink to fit instead of sizing to their (wide) content */
main { overflow-x: hidden; }
.hero-stat { min-width: 0; }
@media (max-width: 760px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

/* smaller search button on phones so the input isn't cut off */
@media (max-width: 560px) {
  .hero-copy .search-box { padding: 5px 5px 5px 14px; }
  .hero-copy .search-box button { padding: 11px 15px; font-size: .9rem; gap: 5px; }
  .hero-copy .search-icon { margin-right: 7px; }
}

/* auth pages (login / signup / account) */
.auth-card { max-width: 420px; margin: 40px auto; background: #fff; border: 1px solid #eee5df; border-radius: 20px; padding: 34px 30px; box-shadow: 0 14px 40px rgba(70,40,20,.06); }
.auth-card h1 { margin: 0 0 8px; color: var(--ink); font-size: 1.6rem; }
.auth-sub { color: var(--muted); margin: 0 0 20px; line-height: 1.5; }
.auth-error { background: #fdecea; color: #b3261e; border: 1px solid #f5c6c2; border-radius: 10px; padding: 10px 12px; margin: 0 0 16px; font-size: .92rem; }
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-form label { display: flex; flex-direction: column; gap: 6px; font-size: .85rem; font-weight: 700; color: var(--ink); }
.auth-form input { padding: 12px 14px; border: 1px solid #e2d9d2; border-radius: 10px; font-size: 1rem; font-family: inherit; }
.auth-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(209,70,47,.12); }
.auth-submit { border: none; cursor: pointer; margin-top: 6px; width: 100%; text-align: center; }
.auth-alt { text-align: center; margin: 18px 0 0; color: var(--muted); }
.auth-alt a, .auth-fine a { color: var(--accent); font-weight: 700; text-decoration: none; }
.auth-fine { text-align: center; margin: 8px 0 0; font-size: .88rem; color: var(--muted); }
.auth-meta { color: var(--muted); margin: 0 0 20px; text-transform: capitalize; }
.account-links { display: flex; flex-direction: column; gap: 10px; margin: 0 0 24px; }
.account-link { display: block; padding: 14px 16px; background: var(--warm-bg); border: 1px solid #efe6df; border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 700; }
.account-link:hover { border-color: var(--accent); }
.auth-logout { background: none; border: 1px solid #e2d9d2; color: var(--muted); padding: 10px 18px; border-radius: 10px; cursor: pointer; font-weight: 700; }
.auth-logout:hover { border-color: var(--accent); color: var(--accent); }
.nav-auth { white-space: nowrap; }

/* account: order history + review-as */
.account-section { margin: 24px 0 0; }
.account-section h2 { font-size: 1.1rem; color: var(--ink); margin: 0 0 12px; }
.order-list { list-style: none; margin: 0 0 24px; padding: 0; }
.order-list li { padding: 10px 0; border-bottom: 1px solid #efe6df; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.order-list a { color: var(--ink); font-weight: 700; text-decoration: none; }
.order-list a:hover { color: var(--accent); }
.order-bakery { color: var(--muted); font-size: .85rem; }
.order-when { margin-left: auto; color: var(--muted); font-size: .82rem; }
.review-as { color: var(--muted); font-size: .9rem; margin: 0 0 10px; }
.review-loginhint { font-size: .85rem; color: var(--muted); margin: 10px 0 0; }
.review-loginhint a { color: var(--accent); font-weight: 700; }

/* bakery dashboard */
.dash { max-width: 760px; margin: 30px auto; }
.dash-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.dash-head h1 { margin: 0; color: var(--ink); }
.dash-view { color: var(--accent); font-weight: 700; text-decoration: none; }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 30px; }
.dash-stat { background: #fff; border: 1px solid #eee5df; border-radius: 16px; padding: 20px; text-align: center; }
.ds-num { display: block; font-size: 1.8rem; font-weight: 800; color: var(--accent); }
.ds-label { display: block; color: var(--muted); font-size: .82rem; margin-top: 4px; }
.dash-section { margin: 0 0 30px; }
.dash-section h2 { font-size: 1.1rem; color: var(--ink); margin: 0 0 12px; }
.dash-sub { font-weight: 400; font-size: .82rem; color: var(--muted); }
.dash-list { list-style: none; margin: 0; padding: 0; }
.dash-list li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid #efe6df; }
.dash-clicks { color: var(--accent); font-weight: 700; white-space: nowrap; }
.dash-reviews { display: flex; flex-direction: column; }
.dash-review { padding: 12px 0; border-bottom: 1px solid #efe6df; }
.dash-review-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.dash-review-meta { color: var(--muted); font-size: .82rem; }
.dash-empty { color: var(--muted); background: var(--warm-bg); border: 1px solid #efe6df; border-radius: 14px; padding: 24px; text-align: center; margin-bottom: 24px; }
@media (max-width: 560px) { .dash-stats { grid-template-columns: 1fr; } }

/* per-variation prefilled-checkout buy link */
.pd-var-buy { margin-left: 10px; color: var(--accent); font-weight: 800; text-decoration: none; font-size: .88rem; white-space: nowrap; }
.pd-var-buy:hover { text-decoration: underline; }
