:root {
  --nav-bg: #570102;
  --merlot: #570102;
  --cocoa: #3B2A24;
  --cocoa-soft: #6B5A52;
  --cream: #FFF4EC;
  --gold: #D79A2C;
  --gold-light: #F1C877;
  --blush: #F7DCE3;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  color: var(--cocoa);
  background: var(--cream);
  margin: 0;
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.playfair {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.25;
}

a {
  color: var(--merlot);
}

/* ---------- Nav ---------- */
.site-nav {
  background: var(--nav-bg, #570102);
  border-bottom: 1px solid rgba(215, 154, 44, .25);
  box-shadow: 0 2px 14px rgba(0, 0, 0, .18);
  position: sticky;
  top: 0;
  z-index: 1030;
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .65rem 0;
  min-height: 76px;
}

.site-logo {
  max-height: 58px;
  width: auto;
  display: block;
  transition: transform .2s ease;
}

.site-logo:hover {
  transform: scale(1.02);
}

@media (max-width:991px) {
  .site-nav__inner {
    padding: .45rem 0;
    min-height: 62px;
  }

  .site-logo {
    max-height: 46px;
  }
}

.site-nav__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: .95rem;
}

.site-nav__links>a,
.site-nav__dropdown-toggle {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: .35rem 0;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  transition: color .2s ease;
}

.site-nav__links>a:hover,
.site-nav__links>a.is-active,
.site-nav__dropdown-toggle:hover {
  color: var(--gold);
}

.site-nav .btn.d-lg-none {
  color: #fff;
  padding: .25rem .5rem;
}

.site-nav .btn.d-lg-none:hover {
  color: var(--gold);
}

.site-nav .btn-outline-warning {
  color: var(--gold);
  border-color: var(--gold);
  padding: .4rem .9rem;
  font-weight: 500;
  transition: all .2s ease;
}

.site-nav .btn-outline-warning:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #570102;
}

/* Mega dropdown */
.site-nav__dropdown {
  position: relative;
}

.site-nav__dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 14px;
}

.site-mega {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  display: none;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 14px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .16);
  padding: 1.8rem 2rem;
  min-width: 920px;
  z-index: 1050;
}

.site-nav__dropdown:hover .site-mega {
  display: block;
}

.site-mega h6 {
  margin-bottom: .8rem;
  font-size: 1.02rem;
  font-weight: 700;
}

.site-mega h6 a {
  color: var(--merlot);
  text-decoration: none;
}

.site-mega h6 a:hover {
  color: var(--gold);
}

.site-mega ul li a {
  display: block;
  padding: .3rem 0;
  color: #444;
  text-decoration: none;
  font-size: .9rem;
  transition: color .15s ease;
}

.site-mega ul li a:hover {
  color: var(--gold);
}

/* ---------- Breadcrumb + page hero ---------- */
.breadcrumb {
  background: transparent;
  padding: 1.2rem 0 .4rem;
  font-size: .9rem;
  margin-bottom: 0;
}

.breadcrumb a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.page-hero {
  padding: 2.6rem 0 1.4rem;
  text-align: center;
}

.page-hero .eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .8rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: .35rem;
}

.page-hero h1,
.page-hero h2,
.page-hero h3 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-top: .3rem;
  margin-bottom: .6rem;
  color: var(--cocoa);
}

.page-hero p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--cocoa-soft);
  font-size: 1.02rem;
}

/* ---------- Buttons ---------- */
.btn--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  background: var(--merlot);
  color: #fff;
  border: 0;
  padding: .7rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
  transition: all .2s ease;
}

.btn--primary:hover {
  background: #3d0101;
  color: #fff;
  transform: translateY(-1px);
}

.btn--ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  background: transparent;
  color: var(--merlot);
  border: 1.5px solid var(--merlot);
  padding: .65rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  font-size: .9rem;
  transition: all .2s ease;
}

.btn--ghost:hover {
  background: var(--merlot);
  color: #fff;
  transform: translateY(-1px);
}

.btn--gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  background: var(--gold);
  color: #fff;
  border: 0;
  padding: .75rem 1.7rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
  box-shadow: 0 4px 14px rgba(215, 154, 44, .3);
  transition: all .2s ease;
}

.btn--gold:hover {
  background: #b8821f;
  color: #fff;
  transform: translateY(-1px);
}

.btn--on-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(255, 244, 236, .65);
  padding: .65rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: .92rem;
  transition: all .2s ease;
}

.btn--on-dark:hover {
  background: var(--cream);
  color: var(--cocoa);
}

/* ---------- Sections ---------- */
.section {
  padding: 3.5rem 0;
}

.section--tight {
  padding: 2.2rem 0;
}

.section--blush {
  background: var(--blush);
  padding: 3.5rem 0;
}

.section--blush .eyebrow {
  display: inline-block;
  margin-bottom: .35rem;
}

.section--blush h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin: .2rem 0 1.2rem;
}

@media (max-width:768px) {

  .section,
  .section--blush {
    padding: 2.4rem 0;
  }

  .section--tight {
    padding: 1.6rem 0;
  }
}

.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .78rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: .3rem;
}

.section h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin: .2rem 0 1rem;
}

/* ---------- Hero carousel ---------- */
.hero-slide {
  position: relative;
  height: 62vh;
  min-height: 440px;
  max-height: 620px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.15) 50%, rgba(0, 0, 0, 0.05) 100%);
}

.hero-slide__caption {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 660px;
  padding: 2.5rem 1rem;
}

.hero-slide__caption h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: .75rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8), 0 0 5px rgba(0, 0, 0, 0.5);
}

.hero-slide__caption p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 1.4rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* ---------- Category chips ---------- */
.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.2rem;
}

.category-chip {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .04);
  border-radius: 999px;
  padding: .55rem 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .05);
  font-size: .92rem;
  font-weight: 500;
  color: var(--cocoa);
  transition: all .2s ease;
}

.category-chip i {
  color: var(--gold);
  font-size: 1rem;
}

.category-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .1);
  color: var(--gold);
}

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.6rem;
  margin-top: 1.8rem;
}

.product-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(0, 0, 0, .06);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
  text-decoration: none;
  color: inherit;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .11);
}

.product-card__img-wrap {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: hsl(var(--hue, 20), 65%, 92%);
}

.product-card__img-wrap img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}

.product-card:hover .product-card__img-wrap img {
  transform: scale(1.04);
}

.product-card__img-wrap .cake-fallback {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 50%;
  height: 50%;
  color: hsl(var(--hue, 20), 45%, 45%);
  opacity: .55;
  z-index: 1;
}

.product-card__price {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #fff;
  border-radius: 999px;
  padding: .3rem .85rem;
  font-weight: 700;
  font-size: .85rem;
  color: var(--merlot);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
  z-index: 3;
}

.product-card__body {
  padding: 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  flex: 1;
}

.product-card__body h3 {
  font-size: 1.02rem;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.35;
}

.product-card__body p {
  margin: 0;
  font-size: .82rem;
  color: var(--cocoa-soft);
}

.product-card .btn--ghost {
  padding: .45rem 1rem;
  font-size: .84rem;
  margin-top: .4rem;
}

/* ---------- Products catalog layout ---------- */
.products-layout {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.products-sidebar {
  width: 250px;
  flex: 0 0 250px;
}

.products-main {
  flex: 1;
  min-width: 0;
}

.info-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.4rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .05);
}

@media (max-width:991px) {
  .products-layout {
    flex-direction: column;
    gap: 1.5rem;
  }

  .products-sidebar {
    width: 100%;
    flex: none;
  }

  .products-sidebar .info-card {
    padding: 1rem 1.2rem;
  }

  .products-sidebar ul {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem .6rem;
  }

  .products-sidebar ul li {
    margin-bottom: 0 !important;
  }

  .products-sidebar ul li a {
    display: inline-block;
    padding: .35rem .75rem;
    background: #fdf8f5;
    border: 1px solid #ebdcd5;
    border-radius: 999px;
    font-size: .84rem;
  }
}

/* ---------- Split / hours ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hours-table {
  width: 100%;
  margin-top: 1rem;
  border-collapse: collapse;
}

.hours-table td {
  padding: .65rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--cocoa);
  color: var(--cream);
  border-radius: 22px;
  padding: 2.8rem 3.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.8rem;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 12px 36px rgba(87, 1, 2, .15);
}

.cta-banner h2 {
  color: var(--cream);
  margin: 0 0 .4rem;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
}

@media (max-width:768px) {
  .cta-banner {
    padding: 2rem 1.6rem;
  }
}

/* ---------- Contact & Checkout forms ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.8rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  margin-top: 1.2rem;
}

.info-row {
  display: flex;
  gap: 1rem;
}

.info-row i {
  color: var(--merlot);
  font-size: 1.3rem;
  margin-top: .1rem;
}

.contact-form {
  background: #fff;
  border-radius: 18px;
  padding: 2.2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .07);
}

@media (max-width:576px) {
  .contact-form {
    padding: 1.4rem;
  }
}

.form-row {
  margin-bottom: 1.15rem;
}

.form-row label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: .4rem;
  color: #444;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  padding: .7rem .95rem;
  font-family: inherit;
  font-size: .95rem;
  transition: border-color .2s;
  background: #fff;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--gold);
}

.form-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

@media (max-width:575px) {
  .form-two {
    grid-template-columns: 1fr;
  }
}

.form-note {
  padding: .85rem 1.1rem;
  border-radius: 10px;
  margin-bottom: 1.3rem;
  font-size: .9rem;
}

.form-note--success {
  background: #e6f4ea;
  color: #1e6b35;
}

.form-note--error {
  background: #fdecec;
  color: #a12121;
}

.map-embed {
  margin-top: 2rem;
  border-radius: 14px;
  overflow: hidden;
}

.map-embed iframe {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
}

/* ---------- Policy pages ---------- */
.policy {
  max-width: 840px;
  margin: auto;
  background: #fff;
  border-radius: 18px;
  padding: 2.4rem 2.8rem;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .05);
}

@media (max-width:768px) {
  .policy {
    padding: 1.6rem 1.4rem;
  }
}

.policy h2 {
  font-size: 1.35rem;
  margin-top: 1.8rem;
  color: var(--merlot);
}

.policy ul {
  padding-left: 1.4rem;
  line-height: 1.7;
}

.policy-contact {
  background: #fff;
  border-radius: 12px;
  padding: 1.2rem;
  margin-top: 1.2rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .05);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--merlot);
  color: #fff;
  padding: 3.8rem 0 1.8rem;
}

.site-footer__brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: .8rem;
}

.site-footer h5 {
  margin-bottom: 1.1rem;
}

.site-footer ul li {
  margin-bottom: .5rem;
}

.site-footer ul li a {
  color: rgba(255, 255, 255, .85) !important;
  transition: color .2s ease;
  display: inline-block;
  padding: .15rem 0;
}

.site-footer ul li a:hover {
  color: var(--gold) !important;
}

/* ---------- Product search ---------- */
.product-search {
  display: flex;
  gap: .7rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 1.6rem auto 0;
  max-width: 580px;
}

.product-search input[type=search] {
  flex: 1;
  min-width: 200px;
  border: 1.5px solid #ddd;
  border-radius: 999px;
  padding: .7rem 1.4rem;
  font-family: inherit;
  font-size: .95rem;
}

.product-search input[type=search]:focus {
  outline: none;
  border-color: var(--gold);
}

/* ---------- Empty state ---------- */
.empty-state {
  text-align: center;
  padding: 4rem 1rem;
}

.empty-state i {
  font-size: 3.2rem;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}

.empty-state h3 {
  margin: .4rem 0;
}

.empty-state p {
  color: var(--cocoa-soft);
  margin-bottom: 1.4rem;
}

/* ---------- Unified Responsive Breakpoints ---------- */
@media (max-width:991px) {

  .split,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .site-mega {
    min-width: 0;
    width: 100vw;
    left: 0;
    transform: none;
    border-radius: 0;
  }
}

@media (max-width:768px) {

  .section,
  .section--blush {
    padding: 2.2rem 0;
  }

  .section--tight {
    padding: 1.6rem 0;
  }

  .cta-banner {
    padding: 1.8rem 1.4rem;
    gap: 1.2rem;
    border-radius: 16px;
  }

  .policy {
    padding: 1.6rem 1.4rem;
  }

  .site-footer {
    padding: 2.8rem 0 1.5rem;
  }
}

@media (max-width:575px) {
  .hero-slide {
    min-height: 380px;
    height: 52vh;
  }

  .hero-slide__caption {
    padding: 1.5rem .75rem;
  }

  .hero-slide__caption h1 {
    font-size: 1.85rem;
  }

  .hero-slide__caption p {
    font-size: .95rem;
    margin-bottom: 1rem;
  }

  .category-strip {
    gap: .45rem;
    margin-top: .8rem;
  }

  .category-chip {
    padding: .4rem .8rem;
    font-size: .82rem;
    gap: .35rem;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
    gap: .85rem;
    margin-top: 1.2rem;
  }

  .product-card {
    border-radius: 14px;
  }

  .product-card__body {
    padding: .85rem .8rem;
    gap: .35rem;
  }

  .product-card__body h3 {
    font-size: .9rem;
  }

  .product-card__body p {
    font-size: .78rem;
  }

  .product-card__price {
    top: 8px;
    left: 8px;
    font-size: .76rem;
    padding: .2rem .6rem;
  }

  .product-card .btn--ghost {
    padding: .35rem .75rem;
    font-size: .78rem;
    width: 100%;
    justify-content: center;
  }

  .contact-form {
    padding: 1.25rem 1rem;
    border-radius: 14px;
  }

  .form-two {
    grid-template-columns: 1fr;
    gap: .8rem;
  }

  .btn--gold,
  .btn--primary,
  .btn--ghost,
  .btn--on-dark {
    padding: .6rem 1.2rem;
    font-size: .88rem;
  }
}