/* =============================================
   Sweet Petals Bakery — shared stylesheet
   ============================================= */

:root {
  --cream: #fdf6ee;
  --cream-2: #f9ead8;
  --blush: #f6c9c1;
  --blush-2: #f4b4b0;
  --rose: #e38a8a;
  --berry: #9b2a3a;
  --berry-deep: #661823;
  --ink: #2a1a1a;
  --ink-soft: #5a4848;
  --gold: #c99a3c;
  --leaf: #5c7a5a;
  --shadow-soft: 0 10px 30px rgba(107, 40, 50, 0.08);
  --shadow-lift: 0 20px 50px rgba(107, 40, 50, 0.15);
  --radius: 18px;
  --radius-lg: 28px;
  --maxw: 1240px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: 'Fraunces', 'Playfair Display', serif;
  font-weight: 600;
  color: var(--berry-deep);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* -------- Top Bar -------- */
.topbar {
  background: var(--berry-deep);
  color: #f5dccd;
  font-size: 13px;
  padding: 10px 0;
}
.topbar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.topbar .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #7ec57e; display: inline-block; margin-right: 6px;
  box-shadow: 0 0 0 3px rgba(126,197,126,0.25);
}
.topbar .sep { opacity: 0.4; }

/* -------- Header / Nav -------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 246, 238, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(155, 42, 58, 0.08);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Fraunces', serif;
  font-size: 26px; font-weight: 700;
  color: var(--berry-deep);
  letter-spacing: -0.02em;
}
.logo-mark {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blush) 0%, var(--rose) 100%);
  display: grid; place-items: center;
  color: #fff; font-size: 20px;
  box-shadow: inset 0 -3px 8px rgba(0,0,0,0.1);
}
.nav-links {
  display: flex; gap: 34px; list-style: none;
  font-weight: 500; font-size: 15px;
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--berry); }
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--rose);
  transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  display: flex; gap: 12px; align-items: center;
}
.cart-btn {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--cream-2);
  display: grid; place-items: center;
  border: none; cursor: pointer;
  transition: transform 0.2s;
}
.cart-btn:hover { transform: scale(1.08); }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 24px; }

/* -------- Buttons -------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: 'Manrope', sans-serif;
  font-weight: 600; font-size: 15px;
  border: none; cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--berry-deep);
  color: var(--cream);
  box-shadow: 0 8px 20px rgba(102, 24, 35, 0.25);
}
.btn-primary:hover {
  background: var(--berry);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(102, 24, 35, 0.35);
}
.btn-outline {
  background: transparent;
  color: var(--berry-deep);
  border: 2px solid var(--berry-deep);
}
.btn-outline:hover { background: var(--berry-deep); color: var(--cream); }

/* -------- Hero -------- */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--blush) 0%, transparent 70%);
  opacity: 0.5;
  z-index: 0;
}
.hero::after {
  content: ''; position: absolute;
  bottom: -150px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--cream-2) 0%, transparent 70%);
  z-index: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative; z-index: 1;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  background: rgba(246, 201, 193, 0.4);
  border: 1px solid rgba(155, 42, 58, 0.15);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--berry);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: italic;
  color: var(--rose);
  font-weight: 400;
}
.hero p.lede {
  font-size: 18px;
  color: var(--ink-soft);
  margin-bottom: 36px;
  max-width: 540px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-image-wrap {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 50% 50% 46% 54% / 52% 48% 52% 48%;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  animation: morph 14s ease-in-out infinite;
}
@keyframes morph {
  0%, 100% { border-radius: 50% 50% 46% 54% / 52% 48% 52% 48%; }
  50% { border-radius: 48% 52% 54% 46% / 46% 54% 46% 54%; }
}
.hero-image-wrap img {
  width: 100%; height: 100%; object-fit: cover;
}

.hero-badge {
  position: absolute;
  background: var(--cream);
  padding: 14px 20px;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  display: flex; align-items: center; gap: 12px;
  font-size: 13px;
  font-weight: 600;
}
.hero-badge .icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--cream-2);
  display: grid; place-items: center;
  font-size: 18px;
}
.hero-badge.b1 { top: 40px; left: -30px; animation: float 4s ease-in-out infinite; }
.hero-badge.b2 { bottom: 60px; right: -20px; animation: float 4s ease-in-out infinite 2s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* -------- Sections -------- */
section { padding: 80px 0; position: relative; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.section-eyebrow {
  font-size: 13px; font-weight: 700;
  color: var(--rose);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}
.section-head p { color: var(--ink-soft); font-size: 17px; }

/* -------- Product Grid -------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(107, 40, 50, 0.06);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}
.product-image {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  background: var(--cream-2);
}
.product-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-image img { transform: scale(1.08); }
.product-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--berry-deep); color: var(--cream);
  font-size: 11px; font-weight: 700;
  padding: 5px 10px; border-radius: 999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.product-info { padding: 18px 20px 22px; }
.product-info h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 16px; font-weight: 600;
  color: var(--ink); margin-bottom: 6px;
}
.product-info .price {
  font-family: 'Fraunces', serif;
  font-size: 20px; font-weight: 600;
  color: var(--berry);
}
.product-info .price small {
  font-size: 12px; color: var(--ink-soft); font-weight: 500;
  margin-right: 4px;
}

/* -------- Category Circle Grid -------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px;
}
.cat-card {
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.cat-card:hover { transform: translateY(-6px); }
.cat-image {
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 14px;
  border: 4px solid #fff;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.cat-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.cat-card:hover .cat-image img { transform: scale(1.1); }
.cat-card h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 14px; font-weight: 600;
  color: var(--ink);
}

/* -------- Features / Dietary -------- */
.features {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  margin: 40px 0;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 20px;
}
.feature {
  text-align: center;
  padding: 30px 20px;
  background: #fff;
  border-radius: var(--radius);
  transition: transform 0.3s ease;
}
.feature:hover { transform: translateY(-6px); }
.feature-icon {
  width: 72px; height: 72px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blush) 0%, var(--blush-2) 100%);
  display: grid; place-items: center;
  font-size: 32px;
}
.feature h4 {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  margin-bottom: 10px;
}
.feature p { font-size: 14px; color: var(--ink-soft); }

.pills {
  display: flex; justify-content: center; gap: 10px;
  flex-wrap: wrap; margin-top: 40px;
}
.pill {
  padding: 8px 18px;
  background: #fff;
  border: 1px solid rgba(155, 42, 58, 0.15);
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  color: var(--berry);
}

/* -------- Custom Cake Banner -------- */
.banner {
  background: linear-gradient(120deg, var(--berry-deep) 0%, var(--berry) 100%);
  border-radius: var(--radius-lg);
  padding: 70px 60px;
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.banner::before {
  content: ''; position: absolute;
  top: -80px; right: -80px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246,201,193,0.2) 0%, transparent 70%);
}
.banner-grid {
  display: grid; grid-template-columns: 2fr 1fr;
  gap: 40px; align-items: center; position: relative; z-index: 1;
}
.banner h2 {
  color: var(--cream); font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 14px;
}
.banner p { color: rgba(253, 246, 238, 0.85); font-size: 17px; }
.banner .btn-primary {
  background: var(--cream); color: var(--berry-deep);
}
.banner .btn-primary:hover { background: #fff; }

/* -------- Locations -------- */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.location-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease;
}
.location-card:hover { transform: translateY(-6px); }
.location-image { aspect-ratio: 16/10; overflow: hidden; }
.location-image img { width: 100%; height: 100%; object-fit: cover; }
.location-body { padding: 28px; }
.location-body h3 {
  font-size: 24px; margin-bottom: 10px;
}
.location-body .address {
  color: var(--ink-soft); font-size: 15px; margin-bottom: 16px;
}
.location-body .contact-line {
  font-size: 14px; margin-bottom: 6px;
  color: var(--berry); font-weight: 600;
}
.location-body .btn { margin-top: 16px; }

/* -------- Testimonials -------- */
.testimonials { background: var(--cream-2); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi {
  background: #fff;
  padding: 30px;
  border-radius: var(--radius);
  position: relative;
}
.testi::before {
  content: '"';
  position: absolute;
  top: 10px; left: 24px;
  font-family: 'Fraunces', serif;
  font-size: 90px;
  color: var(--blush);
  line-height: 1;
  opacity: 0.6;
}
.testi .stars {
  color: var(--gold);
  margin-bottom: 12px;
  font-size: 14px;
}
.testi p {
  color: var(--ink-soft);
  font-size: 15px;
  margin-bottom: 18px;
  position: relative; z-index: 1;
}
.testi .author {
  font-weight: 700;
  color: var(--berry-deep);
  font-size: 14px;
}

/* -------- Final CTA -------- */
.final-cta {
  text-align: center;
  padding: 100px 0;
}
.final-cta h2 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  margin-bottom: 20px;
}
.final-cta p {
  max-width: 600px; margin: 0 auto 30px;
  color: var(--ink-soft); font-size: 18px;
}

/* -------- Footer -------- */
.site-footer {
  background: var(--berry-deep);
  color: rgba(253, 246, 238, 0.75);
  padding: 80px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-brand .logo { color: var(--cream); margin-bottom: 18px; }
.footer-brand p { font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.footer-col h5 {
  color: var(--cream);
  font-family: 'Fraunces', serif;
  font-size: 18px; margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: var(--blush); }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(253, 246, 238, 0.1);
  display: grid; place-items: center;
  transition: background 0.2s;
}
.socials a:hover { background: var(--rose); color: var(--cream); }
.footer-bottom {
  border-top: 1px solid rgba(253, 246, 238, 0.12);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px;
  font-size: 13px;
}

/* =============================================
   Contact page — Nextskytech-inspired
   ============================================= */
.page-hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  margin-bottom: 10px;
}
.page-hero .crumbs {
  font-size: 14px;
  color: var(--ink-soft);
}
.page-hero .crumbs a { color: var(--berry); }

/* decorative shapes */
.shape {
  position: absolute;
  opacity: 0.7;
  animation: drift 8s ease-in-out infinite;
}
.shape-1 {
  top: 30px; left: 8%;
  width: 60px; height: 60px;
  background: var(--blush);
  border-radius: 50%;
}
.shape-2 {
  top: 70px; right: 12%;
  width: 40px; height: 40px;
  background: var(--cream-2);
  transform: rotate(45deg);
  animation-delay: 1s;
}
.shape-3 {
  bottom: 40px; left: 15%;
  width: 80px; height: 80px;
  border: 3px dashed var(--rose);
  border-radius: 50%;
  opacity: 0.4;
  animation-delay: 2s;
}
.shape-4 {
  bottom: 50px; right: 10%;
  width: 50px; height: 50px;
  background: var(--berry);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  opacity: 0.3;
  animation-delay: 1.5s;
}
@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-20px) rotate(10deg); }
}

.contact-section {
  padding: 60px 0 100px;
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.contact-image-wrap {
  position: relative;
  padding: 30px;
}
.contact-image {
  aspect-ratio: 4/5;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  position: relative;
  z-index: 2;
}
.contact-image img { width: 100%; height: 100%; object-fit: cover; }

/* floating shapes on image */
.contact-image-wrap::before {
  content: '';
  position: absolute;
  top: -20px; left: -20px;
  width: 120px; height: 120px;
  background: var(--cream-2);
  border-radius: 50%;
  z-index: 1;
  animation: drift 6s ease-in-out infinite;
}
.contact-image-wrap::after {
  content: '';
  position: absolute;
  bottom: -30px; right: -30px;
  width: 150px; height: 150px;
  background: var(--blush);
  border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%;
  z-index: 1;
  animation: drift 7s ease-in-out infinite 2s;
}
.floating-dot {
  position: absolute;
  background: var(--rose);
  border-radius: 50%;
  z-index: 3;
}
.floating-dot.d1 {
  top: 10%; right: 0;
  width: 18px; height: 18px;
  animation: drift 5s ease-in-out infinite 0.5s;
}
.floating-dot.d2 {
  bottom: 20%; left: 5%;
  width: 12px; height: 12px;
  background: var(--gold);
  animation: drift 6s ease-in-out infinite 1s;
}

.contact-info h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
}
.contact-info .eyebrow {
  font-size: 13px; font-weight: 700;
  color: var(--rose);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.contact-info > p {
  color: var(--ink-soft);
  margin-bottom: 40px;
  font-size: 17px;
}

.info-list { display: grid; gap: 24px; }
.info-item {
  display: flex; align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(107, 40, 50, 0.06);
  transition: all 0.25s ease;
}
.info-item:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-soft);
}
.info-icon {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blush) 0%, var(--rose) 100%);
  display: grid; place-items: center;
  color: #fff; font-size: 22px;
}
.info-item h5 {
  font-family: 'Fraunces', serif;
  font-size: 16px;
  color: var(--berry-deep);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  font-weight: 700;
}
.info-item p, .info-item a {
  font-size: 16px;
  color: var(--ink);
  line-height: 1.5;
}
.info-item a:hover { color: var(--berry); }

/* -------- Contact Form -------- */
.form-section {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
}
.form-card {
  background: #fff;
  padding: 60px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  max-width: 900px;
  margin: 0 auto;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-field { display: flex; flex-direction: column; }
.form-field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--berry-deep);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.form-field input,
.form-field textarea,
.form-field select {
  padding: 14px 18px;
  border: 1.5px solid rgba(155, 42, 58, 0.15);
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  background: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(227, 138, 138, 0.15);
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-submit { text-align: center; margin-top: 10px; }

/* -------- Map embed -------- */
.map-section {
  padding: 0;
}
.map-embed {
  width: 100%;
  height: 420px;
  border: 0;
  filter: grayscale(20%) contrast(1.05);
}

/* -------- Responsive -------- */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-image-wrap { max-width: 400px; margin: 0 auto; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .locations-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .banner { padding: 50px 30px; }
  .banner-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .form-card { padding: 36px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .features { padding: 50px 20px; }
}

@media (max-width: 560px) {
  section { padding: 60px 0; }
  .product-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 50px 0 70px; }
  .topbar { font-size: 12px; }
  .topbar-inner { gap: 16px; }
}

/* =============================================
   Rashmi-style header + hero override
   ============================================= */

/* Accent colors for the brand logo */
:root {
  --brand-pink: #e91e78;
  --brand-green: #2d9b4e;
  --closed-red: #e53935;
  --nav-bg: #f3f2ef;
  --btn-pink: #e91e78;
}

/* Hide the previous header styles we're replacing */
.site-header.v2 { background: #fff; box-shadow: none; border: none; }
.site-header.v2 .nav { display: none; }

/* --- Top row: logo + hours + search + icons --- */
.top-row {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 20px 0;
}

/* Brand logo */
.brand-logo {
  display: inline-block;
  line-height: 1;
  padding-right: 10px;
}
.brand-main {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 42px;
  color: var(--brand-pink);
  letter-spacing: -0.02em;
  position: relative;
}
.brand-main sup {
  font-size: 11px;
  vertical-align: super;
  margin-left: 2px;
  font-style: normal;
}
.brand-sub {
  font-family: 'Dancing Script', 'Fraunces', cursive;
  font-size: 22px;
  color: var(--brand-green);
  margin-top: -4px;
  margin-left: 40px;
  font-weight: 600;
  font-style: italic;
}

/* Store hours block */
.hours-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  font-weight: 500;
}
.hours-line {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  white-space: nowrap;
}
.hours-label { font-weight: 700; }
.hours-time { color: var(--ink-soft); }
.hours-badge {
  color: var(--closed-red);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.05em;
}
.hours-badge.open { color: var(--brand-green); }
.hours-caret {
  font-size: 10px;
  color: var(--ink-soft);
  cursor: pointer;
}

/* Search bar */
.search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: #fff;
  border: 1.5px solid #e6e4e0;
  border-radius: 999px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-bar:focus-within {
  border-color: var(--brand-pink);
  box-shadow: 0 0 0 4px rgba(233, 30, 120, 0.08);
}
.search-bar svg { flex-shrink: 0; color: var(--ink-soft); }
.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
}
.search-bar input::placeholder { color: #a9a5a0; }

/* Top icons */
.top-icons {
  display: flex;
  align-items: center;
  gap: 18px;
}
.icon-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--ink);
  position: relative;
  transition: color 0.2s, transform 0.2s;
}
.icon-btn:hover { color: var(--brand-pink); transform: translateY(-1px); }
.icon-btn .badge {
  position: absolute;
  top: 0; right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--brand-pink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  display: grid;
  place-items: center;
}

/* --- Pill nav --- */
.pill-nav {
  background: var(--nav-bg);
  border-radius: 999px;
  padding: 16px 40px;
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.pill-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.pill-nav a:hover { color: var(--brand-pink); }
.pill-nav a .caret {
  font-size: 9px;
  opacity: 0.6;
}

/* --- Category carousel --- */
.cat-carousel-section {
  padding: 24px 0 40px;
  background: #fff;
}
.cat-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.carousel-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e6e4e0;
  color: var(--ink);
  font-size: 18px;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: all 0.2s;
  z-index: 2;
}
.carousel-arrow:hover {
  background: var(--brand-pink);
  color: #fff;
  border-color: var(--brand-pink);
}
.carousel-track {
  flex: 1;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.carousel-track::-webkit-scrollbar { display: none; }

.cat-circle {
  flex-shrink: 0;
  width: 120px;
  text-align: center;
  cursor: pointer;
}
.cat-circle .ring {
  width: 98px;
  height: 98px;
  border-radius: 50%;
  border: 3px solid var(--ring, var(--blush));
  padding: 5px;
  margin: 0 auto 10px;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cat-circle:hover .ring {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 10px 24px rgba(0,0,0,0.1);
}
.cat-circle .ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.cat-circle .cat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1.3;
}

/* --- Full-width hero banner --- */
.hero-banner {
  position: relative;
  padding: 0;
  margin: 0;
  height: clamp(460px, 65vh, 680px);
  overflow: hidden;
}
.hero-banner::before { display: none; }
.hero-banner::after { display: none; }
.hero-banner img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-banner .hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.25) 0%,
    rgba(0,0,0,0.15) 40%,
    rgba(0,0,0,0.35) 100%
  );
  z-index: 1;
}
.hero-banner .hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 24px;
}
.hero-banner h1 {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  color: #fff;
  font-size: clamp(2rem, 5.2vw, 4.8rem);
  line-height: 1.1;
  max-width: 1100px;
  margin: 0 auto 28px;
  text-shadow: 0 2px 18px rgba(0,0,0,0.35);
}
.hero-banner .sub {
  color: #fff;
  font-size: clamp(0.95rem, 1.4vw, 1.2rem);
  font-weight: 500;
  max-width: 900px;
  margin: 0 auto 34px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.35);
}
.btn-pink {
  background: var(--brand-pink);
  color: #fff;
  padding: 18px 42px;
  font-size: 17px;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(233, 30, 120, 0.35);
  transition: all 0.25s ease;
  display: inline-block;
}
.btn-pink:hover {
  background: #c71867;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(233, 30, 120, 0.45);
  color: #fff;
}

/* --- Floating chat bubble --- */
.chat-bubble {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand-pink);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(233, 30, 120, 0.5);
  z-index: 999;
  transition: transform 0.2s;
  animation: pulse-chat 2.5s ease-in-out infinite;
}
.chat-bubble:hover { transform: scale(1.08); }
@keyframes pulse-chat {
  0%, 100% { box-shadow: 0 8px 28px rgba(233, 30, 120, 0.5), 0 0 0 0 rgba(233, 30, 120, 0.4); }
  50% { box-shadow: 0 8px 28px rgba(233, 30, 120, 0.5), 0 0 0 14px rgba(233, 30, 120, 0); }
}

/* --- Responsive tweaks for new layout --- */
@media (max-width: 1100px) {
  .top-row {
    grid-template-columns: auto 1fr auto;
    gap: 20px;
  }
  .hours-block { display: none; }
  .pill-nav { padding: 14px 24px; gap: 14px; }
  .pill-nav a { font-size: 14px; }
}
@media (max-width: 760px) {
  .top-row {
    grid-template-columns: auto auto;
    gap: 14px;
    padding: 14px 0;
  }
  .search-bar {
    grid-column: 1 / -1;
    order: 3;
    padding: 11px 18px;
  }
  .brand-main { font-size: 32px; }
  .brand-sub { font-size: 17px; margin-left: 30px; }
  .top-icons { gap: 10px; }
  .icon-btn { width: 38px; height: 38px; }
  .pill-nav {
    border-radius: 20px;
    padding: 12px 18px;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }
  .pill-nav::-webkit-scrollbar { display: none; }
  .hero-banner { height: 420px; }
  .cat-circle { width: 96px; }
  .cat-circle .ring { width: 78px; height: 78px; }
}

/* =============================================
   Dropdown menus for pill nav
   ============================================= */
.pill-nav { position: relative; }
.nav-item {
  position: relative;
}
.nav-item > .nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 4px 0;
  transition: color 0.2s;
}
.nav-item > .nav-link:hover,
.nav-item.open > .nav-link {
  color: var(--brand-pink);
}
.nav-item > .nav-link .caret {
  font-size: 9px;
  opacity: 0.6;
  transition: transform 0.2s;
}
.nav-item.open > .nav-link .caret,
.nav-item:hover > .nav-link .caret {
  transform: rotate(180deg);
  opacity: 1;
}

.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #fff;
  border-radius: 14px;
  padding: 10px;
  min-width: 220px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.06);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  z-index: 200;
}
.dropdown::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 14px;
  height: 14px;
  background: #fff;
  box-shadow: -2px -2px 5px rgba(0,0,0,0.03);
}

.nav-item:hover > .dropdown,
.nav-item.open > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--ink);
  border-radius: 8px;
  transition: all 0.15s;
  white-space: nowrap;
}
.dropdown a:hover {
  background: var(--cream-2);
  color: var(--brand-pink);
  transform: translateX(2px);
}
.dropdown a .emoji {
  font-size: 16px;
  width: 22px;
  display: inline-block;
  text-align: center;
}

/* Mega dropdown — for Our Products with lots of categories */
.dropdown.mega {
  min-width: 520px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  padding: 14px;
}
.dropdown.mega a { font-size: 13.5px; padding: 9px 12px; }
.dropdown.mega .dd-heading {
  grid-column: 1 / -1;
  font-family: 'Fraunces', serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-pink);
  padding: 6px 12px 10px;
  border-bottom: 1px solid #f0ede7;
  margin-bottom: 4px;
}

/* Mobile: dropdowns stack as accordions */
@media (max-width: 760px) {
  .dropdown,
  .dropdown.mega {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
    box-shadow: none;
    background: transparent;
    min-width: 0;
    padding: 4px 0 8px 16px;
    grid-template-columns: 1fr;
  }
  .dropdown::before { display: none; }
  .nav-item.open > .dropdown,
  .nav-item.open > .dropdown.mega {
    display: block;
  }
  .nav-item:hover > .dropdown { display: none; }
  .nav-item.open:hover > .dropdown { display: block; }
  .dropdown a {
    padding: 8px 10px;
    font-size: 13.5px;
  }
}

/* Image fallback — when an img errors, the parent gets .img-fail,
   we hide the broken img and show emoji from data-emoji attr */
.ring.img-fail,
.product-image.img-fail {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cream-2), var(--blush));
}
.ring.img-fail img,
.product-image.img-fail img { display: none; }
.ring.img-fail::after {
  content: attr(data-emoji);
  font-size: 38px;
}
.product-image.img-fail::after {
  content: "🎂";
  font-size: 80px;
  opacity: 0.6;
}

/* =============================================
   Nav dropdowns
   ============================================= */
.pill-nav {
  position: relative;
  align-items: stretch;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-item > a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 0;
  transition: color 0.2s;
}
.nav-item > a:hover { color: var(--brand-pink); }

.nav-item .caret {
  display: inline-block;
  font-size: 9px;
  opacity: 0.6;
  transition: transform 0.25s ease;
}
.has-dropdown:hover > a .caret,
.has-dropdown.open > a .caret {
  transform: rotate(180deg);
}

/* hover "bridge" so the menu doesn't close while moving the cursor down */
.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -10px;
  right: -10px;
  height: 22px;
  z-index: 40;
}

.dropdown {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 240px;
  background: #fff;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
  z-index: 50;
}

/* little tip arrow */
.dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  border-left: 1px solid rgba(0, 0, 0, 0.04);
}

.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown,
.has-dropdown.open > .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}

.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
}
.dropdown a:hover {
  background: #fce9f0;
  color: var(--brand-pink);
  padding-left: 18px;
}
.dropdown a::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-pink);
  opacity: 0;
  transition: opacity 0.18s ease;
}
.dropdown a:hover::before { opacity: 1; }

/* Two-column "mega menu" variant */
.dropdown.mega {
  min-width: 460px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 8px;
}
.dropdown.mega .dropdown-header {
  grid-column: 1 / -1;
  padding: 8px 14px 10px;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--berry-deep);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid #f0eeea;
  margin-bottom: 6px;
}

/* Responsive: stack dropdown on mobile */
@media (max-width: 760px) {
  .pill-nav {
    align-items: center;
  }
  .nav-item { flex-shrink: 0; }
  .has-dropdown .dropdown {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    transform: translateY(100%);
    min-width: 100%;
    max-height: 70vh;
    overflow-y: auto;
    border-radius: 20px 20px 0 0;
    padding: 20px;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.18);
  }
  .has-dropdown .dropdown::before { display: none; }
  .has-dropdown.open .dropdown {
    transform: translateY(0);
  }
  .has-dropdown:hover .dropdown {
    /* disable hover on touch */
    transform: translateY(100%);
  }
  .has-dropdown.open .dropdown {
    transform: translateY(0) !important;
  }
  .dropdown.mega {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   Dropdown menus for pill nav
   ============================================= */
.pill-nav { position: relative; }

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-item > a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  cursor: pointer;
  transition: color 0.2s;
}
.nav-item > a:hover { color: var(--brand-pink); }
.nav-item > a .caret {
  font-size: 9px;
  opacity: 0.6;
  transition: transform 0.25s;
}
.nav-item.has-dropdown.open > a .caret,
.nav-item.has-dropdown:hover > a .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 240px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0,0,0,0.04);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, transform 0.2s, visibility 0s 0.2s;
  z-index: 50;
}
/* little arrow on top */
.dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px;
  background: #fff;
  border-radius: 2px;
  box-shadow: -2px -2px 6px rgba(0,0,0,0.04);
}

.nav-item.has-dropdown:hover > .dropdown,
.nav-item.has-dropdown.open > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.2s, transform 0.2s, visibility 0s;
}

.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.dropdown a:hover {
  background: var(--cream);
  color: var(--brand-pink);
}
.dropdown a .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-pink);
  opacity: 0;
  transition: opacity 0.15s;
}
.dropdown a:hover .dot { opacity: 1; }

/* Mega menu for Our Products */
.dropdown.mega {
  min-width: 620px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 16px;
  left: 0;
  transform: translateX(0) translateY(-6px);
}
.nav-item.has-dropdown:hover > .dropdown.mega,
.nav-item.has-dropdown.open > .dropdown.mega {
  transform: translateX(0) translateY(0);
}
.dropdown.mega::before {
  left: 60px;
  transform: rotate(45deg);
}
.dropdown.mega a {
  padding: 8px 10px;
  font-size: 13px;
}
.dropdown.mega a img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--cream-2);
}
.dropdown.mega .cta-row {
  grid-column: 1 / -1;
  border-top: 1px solid #f0ede9;
  margin-top: 8px;
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 14px;
  padding-right: 14px;
}
.dropdown.mega .cta-row span {
  font-size: 13px;
  color: var(--ink-soft);
}
.dropdown.mega .cta-row a {
  padding: 8px 14px;
  color: var(--brand-pink);
  font-weight: 600;
}

/* Mobile: dropdowns stack below and don't use absolute positioning */
@media (max-width: 760px) {
  .dropdown, .dropdown.mega {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
    min-width: 0;
    width: 100%;
    grid-template-columns: 1fr;
    box-shadow: none;
    padding: 6px 0 6px 20px;
    margin-top: 4px;
  }
  .dropdown::before, .dropdown.mega::before { display: none; }
  .nav-item.has-dropdown.open > .dropdown,
  .nav-item.has-dropdown.open > .dropdown.mega { display: block; }
  .nav-item.has-dropdown:hover > .dropdown,
  .nav-item.has-dropdown:hover > .dropdown.mega { display: none; }
  .nav-item.has-dropdown.open > .dropdown { display: block; }
}

/* =============================================
   Broken-image fallback
   ============================================= */
/* When an image fails to load, .img-fail gets added to the parent.
   Hide the broken img entirely so the alt text doesn't display, and
   show a subtle decorative background instead. */
.img-fail img { display: none; }
.img-fail {
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.6) 0%, transparent 50%),
    linear-gradient(135deg, var(--blush) 0%, var(--cream-2) 100%);
  position: relative;
}
.img-fail::after {
  content: '🎂';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  opacity: 0.5;
}
.cat-circle .ring.img-fail::after { font-size: 32px; }
