/* ══════════════════════════════════════════════════════
   Creative Cookery Classes — style.css
   Theme: Soft Blush & Ivory, Feminine / Elegant
══════════════════════════════════════════════════════ */
:root {
  --ivory:        #fdf5ee;
  --ivory-deep:   #f5e8d8;
  --blush:        #e8a898;
  --blush-light:  #f5d0c8;
  --blush-mid:    #d4887a;
  --blush-dark:   #b86050;
  --rose:         #b51a14;
  --rose-dark:    #9b0d09;
  --dusty:        #9b6060;
  --mauve:        #7a4a4a;
  --text:         #2e1a14;
  --text-mid:     #6b3a3a;
  --text-light:   #a06060;
  --gold:         #c8922a;
  --gold-light:   #e8b84a;
  --border:       #e8c8ba;
  --white:        #fffaf6;
}
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Jost', sans-serif;
  color: var(--text);
  overflow-x: hidden;
}
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--ivory-deep);
}
::-webkit-scrollbar-thumb {
  background: var(--blush-mid);
  border-radius: 10px;
}
#courses, #cakes {
  scroll-margin-top: 40px;
}

/* ══════════════════════════════════
   HEADER
══════════════════════════════════ */
header {
  position: sticky;
  top: 0;
  z-index: 300;
  background: rgba(253,248,242,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 48px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo — always visible, image + text side by side */
.logo {
  display: flex;
  align-items: center;
  gap: 0px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.3rem;
  font-weight: 600;
  color: var(--rose);
  letter-spacing: 0.3px;
  line-height: 1.25;
}
.logo-text em {
  color: var(--rose);
  font-style: italic;
}

/* Footer logo text colour override */
.footer-logo-text {
  color: var(--gold-light);
}
.footer-logo-text em {
  color: var(--gold-light) !important;
}

/* Hamburger button — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 400;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
nav a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--text-mid);
  text-decoration: none;
  transition: color .2s;
}
nav a:hover {
  color: var(--rose);
}
.nav-cta {
  background: var(--rose);
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 30px;
  letter-spacing: 1.2px !important;
  transition: background .2s, transform .15s !important;
}
.nav-cta:hover {
  background: var(--rose-dark) !important;
  transform: translateY(-1px);
}


/* ══════════════════════════════════
   HERO
══════════════════════════════════ */
.hero {
  min-height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-left: 60px;
  align-items: stretch;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--ivory) 55%, var(--blush-light) 100%);
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--blush-light) 0%, transparent 70%);
  right: -100px;
  top: -150px;
  opacity: 0.7;
}
.hero-bg::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-light) 0%, transparent 70%);
  left: 80px;
  bottom: 50px;
  opacity: 0.45;
}
.hero-left {
  position: relative;
  z-index: 1;
  padding: 80px 64px 50px 80px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 22px;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--rose);
}
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: italic;
  color: var(--rose);
  font-weight: 300;
}
.hero-sub {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  font-weight: 300;
  max-width: 420px;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.btn-primary {
  background: var(--rose);
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: 40px;
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-primary:hover {
  background: var(--rose-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196,95,82,0.3);
}
.btn-ghost {
  color: var(--text-mid);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
}
.btn-ghost:hover {
  color: var(--rose);
}
.btn-ghost::after {
  content: '→';
  transition: transform .2s;
}
.btn-ghost:hover::after {
  transform: translateX(4px);
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  align-items: flex-start;
  justify-content: space-between;
}
.stat {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: center;
  gap: 4px;
}
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--rose);
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--text-light);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
  line-height: 1;
}

/* Hero right floating cards */
.hero-right {
  position: relative;
  z-index: 1;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0px 60px 0 20px;
  top: 131px;
}
.hero-visual {
  position: relative;
  width: 380px;
  height: 440px;
}
.hv-card {
  position: absolute;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 12px 48px rgba(139,80,80,0.12);
  overflow: hidden;
  border: 1px solid var(--border);
}
.hv-main  {
  width: 340px; /* smaller */
  height: 340px;
  top: 40px;
  left: -40px;
  z-index: 3;
  animation: float1 5s ease-in-out infinite;
  background:linear-gradient(135deg,#fed7ce,#fdf8f2);
  box-shadow: none;
  padding: 10px;
}
.hv-img {
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
  width: 320px;
}
.hv-side  {
  width: 180px;
  height: 220px;
  bottom: 0;
  right: 0;
  z-index: 2;
  animation: float2 5s ease-in-out infinite 1.2s;
}
.hv-tiny  {
  width: 120px;
  height: 120px;
  top: 0;
  right: 30px;
  z-index: 1;
  animation: float3 5s ease-in-out infinite 0.6s;
}
@keyframes float1 {
  0%,
  100% {
    transform:translateY(0)
  }
  50% {
    transform:translateY(-10px)
  }
}
@keyframes float2 {
  0%,
  100% {
    transform:translateY(0)
  }
  50% {
    transform:translateY(-8px)
  }
}
@keyframes float3 {
  0%,
  100% {
    transform:translateY(0)
  }
  50% {
    transform:translateY(-6px)
  }
}
.hv-thumb {
  height: 62%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}
.hv-side .hv-thumb {
  height: 55%;
  font-size: 2.5rem;
}
.hv-tiny .hv-thumb {
  height: 60%;
  font-size: 2rem;
}

/* Logo thumb — shows the logo image centred, no emoji */
.hv-logo-thumb {
  height: 62%;
  background: var(--blush-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.hv-logo-img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}
.hv-info {
  padding: 14px 16px;
}
.hv-info .t {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}
.hv-info .s {
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: 3px;
}
.hv-badge {
  display: inline-block;
  background: var(--blush-light);
  color: var(--rose);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-top: 6px;
}


/* ══════════════════════════════════
   PAGE HERO (courses.html)
══════════════════════════════════ */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 80px 60px;
  min-height: 240px;
  display: flex;
  align-items: center;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--ivory) 55%, var(--blush-light) 100%);
  z-index: 0;
}
.page-hero-bg::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--blush-light) 0%, transparent 70%);
  right: -80px;
  top: -100px;
  opacity: 0.6;
}
.page-hero-content {
  position: relative;
  z-index: 1;
}
.page-hero-content h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 300;
  color: var(--text);
  line-height: 1.1;
  margin: 10px 0 12px;
}
.page-hero-content h1 em {
  color: var(--rose);
  font-style: italic;
}
.page-hero-content p {
  font-size: 1rem;
  color: var(--text-mid);
  font-weight: 300;
  max-width: 480px;
}


/* ══════════════════════════════════
   SECTION SHARED
══════════════════════════════════ */
.flourish {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px 0;
  color: var(--gold);
}
.flourish::before {
  content: '';
  flex: 1;
  max-width: 200px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-light));
}
.flourish::after  {
  content: '';
  flex: 1;
  max-width: 200px;
  height: 1px;
  background: linear-gradient(to left,  transparent, var(--gold-light));
}
.section-intro {
  text-align: center;
  padding: 72px 40px 20px;
}
.section-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 300;
  color: var(--text);
  line-height: 1.2;
}
.section-title em {
  color: var(--rose);
  font-style: italic;
}
.section-sub {
  font-size: 0.93rem;
  color: var(--text-light);
  max-width: 500px;
  margin: 14px auto 0;
  line-height: 1.75;
  font-weight: 300;
}


/* ══════════════════════════════════
   COURSES
══════════════════════════════════ */
.courses-wrapper {
  background: var(--white);
}
.cat-label {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 56px 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.cat-label h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  font-weight: 400;
  color: var(--text);
  white-space: nowrap;
}
.cat-label h3 em {
  font-style: italic;
  color: var(--rose);
}
.cat-rule {
  flex: 1;
  height: 1px;
  background: var(--border);
}
.cat-count {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-light);
  white-space: nowrap;
}
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
  padding: 0px 80px 64px;
  max-width: 1200px;
  margin: 0 auto;
}
.featured-grid {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1000px;
}
.course-card {
  background: var(--ivory);
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: transform .28s ease, box-shadow .28s ease, border-color .2s;
  box-shadow: 0 2px 10px rgba(139,80,80,0.04);
  animation: fadeUp .5s ease both;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(139,80,80,0.13);
  border-color: var(--blush-mid);
}
@keyframes fadeUp {
  from {
    opacity:0;
    transform:translateY(20px)
  }
  to {
    opacity:1;
    transform:translateY(0)
  }
}
.card-thumb {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.8rem;
  position: relative;
}
.card-thumb .thumb-tag {
  position: absolute;
  bottom: 10px;
  right: 12px;
  background: rgba(255,255,255,0.85);
  color: var(--rose);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}
.card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 7px;
  line-height: 1.3;
}
.card-desc {
  font-size: 0.83rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 16px;
  font-weight: 300;
  flex: 1;
}
.card-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  gap: 12px;
}
.card-price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  flex: 1;
  min-width: 0;
}
.card-price-col {
  min-width: 0;
}
.card-price-label {
  font-size: 0.62rem;
  color: var(--text-light);
  font-family: 'Jost';
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.card-price {
  font-family: 'Libre Baskerville', serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--rose);
  line-height: 1.1;
}
.card-price-sub {
  font-size: 0.65rem;
  color: var(--text-light);
  font-family: 'Jost';
  font-weight: 400;
}
.card-arrow {
  width: 30px;
  height: 30px;
  background: var(--blush-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--rose);
  transition: background .2s, transform .2s;
  flex-shrink: 0;
}
.course-card:hover .card-arrow {
  background: var(--rose);
  color: #fff;
  transform: scale(1.1);
}

/* All courses button */
.all-courses-row {
  text-align: center;
  padding: 0 0 64px;
}
.btn-all-courses {
  display: inline-block;
  background: transparent;
  color: var(--rose);
  border: 1.5px solid var(--rose);
  padding: 13px 36px;
  border-radius: 40px;
  font-family: 'Jost', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  transition: background .2s, color .2s, transform .15s;
}
.btn-all-courses:hover {
  background: var(--rose);
  color: #fff;
  transform: translateY(-2px);
}


/* ══════════════════════════════════
   CUSTOM CAKES
══════════════════════════════════ */
.cakes-section {
  background: linear-gradient(135deg, var(--text) 0%, var(--mauve) 60%, #962d21 100%);
  padding: 100px 80px;
  position: relative;
  overflow: hidden;
}
.cakes-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.cakes-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cakes-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
}
.cakes-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  font-weight: 300;
  color: #fdf8f2;
  line-height: 1.18;
  margin-bottom: 20px;
}
.cakes-title em {
  font-style: italic;
  color: var(--gold-light);
}
.cakes-desc {
  font-size: 0.95rem;
  color: rgba(253,248,242,0.65);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 36px;
}
.cakes-features {
  list-style: none;
  margin-bottom: 42px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cakes-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: rgba(253,248,242,0.8);
}
.feat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.btn-cakes {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold-light);
  padding: 13px 30px;
  border-radius: 40px;
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, color .2s, transform .15s;
}
.btn-cakes:hover {
  background: var(--gold);
  color: var(--text);
  transform: translateY(-2px);
}
.btn-cakes svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.cakes-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cake-tile {
  background: transparent !important;
  border: none !important;
  border-radius: 0;
  padding: 0 !important;
  overflow: visible;
  text-align: center;
  transition: transform .25s;
  width: 280px;
}

.cake-tile:hover {
  background: transparent !important;
  transform: translateY(-4px);
}
.cake-tile--center {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc((100% - 16px) / 2);
  max-width: 100%;
}
.cake-tile-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 600;
  color: #fdf8f2;
  margin-bottom: 4px;
}
.cake-tile-sub {
  font-size: 0.75rem;
  color: rgba(226,201,154,0.7);
}


/* ══════════════════════════════════
   ACTIVE NAV LINK
══════════════════════════════════ */
nav a.nav-active {
  color: var(--rose);
  font-weight: 600;
}

/* ══════════════════════════════════
   PAGE HERO VARIANTS
══════════════════════════════════ */
.page-hero--baking .page-hero-bg  {
  background: linear-gradient(135deg, var(--ivory) 45%, #f5e0da 100%);
}
.page-hero--cooking .page-hero-bg {
  background: linear-gradient(135deg, var(--ivory) 45%, #f5ecd8 100%);
}

/* ══════════════════════════════════
   FILTER BAR
══════════════════════════════════ */
.filter-bar {
  background: var(--white);
  position: sticky;
  top: 72px;
  z-index: 200;
  padding: 16px 0;
}
.filter-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px;

  display: flex;
  align-items: center;
  gap: 14px;
}
.search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;

  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: 40px;

  padding: 9px 16px;

  width: 100%;
  max-width: 350px;

  transition: border-color .2s;
}
.search-wrap:focus-within {
  border-color: var(--blush-mid);
}
.search-icon {
  font-size: 0.85rem;
  flex-shrink: 0;
}
.search-input {
  border: none;
  background: transparent;
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  color: var(--text);
  outline: none;
  width: 100%;
}
.search-input::placeholder {
  color: var(--text-light);
}
.search-clear {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: 0.75rem;
  padding: 0;
  display: none;
  transition: color .2s;
}
.search-clear:hover {
  color: var(--rose);
}
.search-clear.visible {
  display: block;
}
.filter-count {
  font-size: 0.8rem;
  color: var(--text-light);
  white-space: nowrap;

  display: flex;
  align-items: center;

  padding-left: 4px;
}
.no-results {
  text-align: center;
  padding: 72px 24px;
  max-width: 400px;
  margin: 0 auto;
}
.no-results-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}
.no-results p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* ══════════════════════════════════
   GOOGLE REVIEWS
══════════════════════════════════ */
.reviews-section {
  background: var(--ivory);
  padding-bottom: 72px;
}
.google-rating-row {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 20px 0 40px;
}
.g-stars {
  font-size: 1.4rem;
  color: #f5a623;
  letter-spacing: 2px;
}
.g-score {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--text);
}
.g-count {
  font-size: 0.82rem;
  color: var(--text-light);
}
.g-link {
  font-size: 0.78rem;
  color: var(--rose);
  text-decoration: none;
  font-weight: 600;
  transition: opacity .2s;
}
.g-link:hover {
  opacity: 0.7;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 80px;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .25s, box-shadow .25s;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(139,80,80,0.1);
}
.review-stars {
  font-size: 1rem;
  color: #f5a623;
  letter-spacing: 1px;
}
.review-text {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}
.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blush-light);
  color: var(--rose);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  flex-shrink: 0;
}
.review-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}
.review-date {
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: 2px;
  display: none;
}


/* ══════════════════════════════════
   VIDEO REVIEWS
══════════════════════════════════ */
.video-reviews-section {
  background: var(--white);
  padding-bottom: 80px;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 80px;
}
.video-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.video-embed {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 9/16;
  background: var(--ivory-deep);
  border: 1px solid var(--border);
  max-width: 200px;
}
.video-thumb {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  padding: 0;
  border: 0;
  background: var(--blush-light);
  cursor: pointer;
  overflow: hidden;
}
.video-thumb-media {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.video-thumb-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
.video-thumb:hover .video-thumb-play {
  transform: translate(-50%, -50%) scale(1.06);
}
.video-embed iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

/* Placeholder shown until real video is added */
.video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--blush-light);
  cursor: pointer;
}
.play-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--rose);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  padding-left: 3px;
}
.video-placeholder p {
  font-size: 0.78rem;
  color: var(--text-light);
}
.video-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 500;
}
.video-modal.open {
  display: flex;
}
.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.68);
}
.video-modal-dialog {
  position: relative;
  width: min(420px, 92vw);
  max-height: 88vh;
  z-index: 1;
}
.video-modal-player {
  width: 100%;
  max-height: 88vh;
  aspect-ratio: 9 / 16;
  display: block;
  object-fit: contain;
  border-radius: 14px;
  background: #000;
}
.video-modal-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.video-info {
  padding: 0 4px;
}
.video-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}
.video-course {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 3px;
}


/* ══════════════════════════════════
   DETAIL OVERLAY
══════════════════════════════════ */
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(46,31,31,0.55);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  backdrop-filter: blur(6px);
}
.overlay.open {
  display: flex;
}
.detail-panel {
  background: var(--white);
  border-radius: 24px;
  width: 100%;
  max-width: 700px;          /* ← wider panel */
  height: 90vh;              /* ← fixed height so it doesn't grow with content */
  display: flex;
  flex-direction: column;
  overflow: hidden;          /* ← clip children, not the panel itself */
  box-shadow: 0 32px 80px rgba(46,31,31,0.28);
  animation: panelIn .32s cubic-bezier(.16,1,.3,1);
  position: relative;
}
@keyframes panelIn {
  from { opacity:0; transform:translateY(40px) scale(.97) }
  to   { opacity:1; transform:translateY(0) scale(1) }
}

/* Close button — always fixed to top-right of panel */
.detail-close {
  position: absolute;
  top: 12px;
  right: 15px;
  z-index: 10;               /* ← always on top */
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgb(66, 66, 66);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  transition: background .2s;
}
.detail-close:hover { background: rgba(83, 83, 83, 0.915); }

/* Hero thumb — does NOT scroll */
.detail-hero-thumb {
  width: 100%;
  height: 320px;            /* taller in popup — portrait images look great here */
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5.5rem;
  position: relative;
}

/* Sticky title bar — appears when user scrolls past hero */
.detail-sticky-bar {
  display: none;
  position: sticky;
  top: 0;
  z-index: 9;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 12px 38px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  color: var(--text);
}
.detail-sticky-bar.visible { display: block; }

/* Scrollable body — this is the ONLY thing that scrolls */
.detail-scroll-area {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.detail-scroll-area::-webkit-scrollbar { width: 4px; }
.detail-scroll-area::-webkit-scrollbar-track { background: transparent; }
.detail-scroll-area::-webkit-scrollbar-thumb { background: var(--blush-mid); border-radius: 4px; }

/* Footer — does NOT scroll, always visible at bottom */
.det-footer {
  background: var(--ivory-deep);
  border-top: 1px solid var(--border);
  padding: 18px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  flex-shrink: 0;            /* ← never shrinks, always at bottom */
}
.detail-body-inner {
  padding: 32px 38px 0;
  overflow: 0;
}
.det-category {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 8px;
}
.det-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 12px;
  position: sticky;
  top: 0;
  margin-left: -38px;
  margin-right: -38px;
  padding: 10px 38px;
  background: var(--white);
  z-index: 9;
}
.det-title.stuck {
  border-bottom: 1px solid var(--border);
}
.det-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 24px;
}
.det-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}
.det-chip {
  background: var(--ivory-deep);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 6px 14px;
  font-size: 0.77rem;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 5px;
}
.det-topics-head {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
  margin-bottom: 16px;
}
.det-topics {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-bottom: 32px;
}
.det-topics li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-mid);
  line-height: 1.45;
}
.det-topics li::before {
  content: '✿';
  color: var(--gold);
  font-size: 0.6rem;
  margin-top: 4px;
  flex-shrink: 0;
}
.det-price {
  font-family: 'Libre Baskerville', serif;
  font-weight: 500;
  color: var(--rose);
  line-height: 1;
}
.det-price-grid {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.det-price-col {
  display: grid;
  gap: 3px;
}
.det-price-label {
  font-family: 'Jost';
  font-size: 0.68rem;
  color: var(--text-light);
  font-weight: 500;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.det-price-value {
  font-size: 1.2rem;
}
.det-price-sub {
  font-family: 'Jost';
  font-size: 0.76rem;
  color: var(--text-light);
  font-weight: 300;
}
.det-price-note {
  display: none;
}
.cta-btns {
  display: flex;
  gap: 10px;
  align-items: center;
}
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--rose);
  color: #fff;
  border: none;
  padding: 11px 20px;
  border-radius: 30px;
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, transform .15s;
}
.btn-wa:hover {
  background: var(--rose-dark);
  transform: scale(1.02);
}
.wa-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}
.wa-label {
  font-size: 0.88rem;
  font-weight: 700;
}
.wa-sub {
  font-size: 0.68rem;
  font-weight: 400;
  opacity: 0.85;
}
.enrol-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.enrol-label {
  font-size: 0.82rem;
  color: var(--text-light);
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
footer {
  background: var(--text);
  padding: 52px 80px 36px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand p {
  font-size: 0.83rem;
  color: rgba(253,248,242,0.45);
  line-height: 1.75;
  margin-top: 14px;
  font-weight: 300;
  max-width: 280px;
}
.footer-logo {
  margin-bottom: 4px;
}
.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 0.83rem;
  color: rgba(253,248,242,0.5);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color .2s;
  width: fit-content;
}
.footer-col a:hover {
  color: var(--blush-light);
}
.footer-bottom {
  border-top: 1px solid rgba(253,248,242,0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p {
  font-size: 0.76rem;
  color: rgba(253,248,242,0.28);
}


/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */
@media (max-width: 960px) {
  header {
    padding: 0 24px;
    height: 64px;
  }

  /* Show hamburger, hide desktop nav */
  .nav-toggle {
    display: flex;
  }
  nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(253,248,242,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 28px 32px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    z-index: 299;
  }
  nav.open {
    display: flex;
  }
  nav a {
    font-size: 0.9rem;
    letter-spacing: 1.5px;
  }
  .logo-text {
    font-size: 1.7rem;
  }
  .nav-cta {
    align-self: flex-start;
  }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-right {
    display: flex;
    position: relative;
  }
  .hero-left {
    padding: 56px 28px 48px;
  }
  .hero-stats {
    gap: 24px;
  }
  .page-hero {
    padding: 52px 28px 44px;
  }
  .courses-grid,
  .cat-label {
    padding-left: 20px;
    padding-right: 20px;
  }
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
    margin: 0 auto;
  }
  .cakes-section {
    padding: 64px 28px;
  }
  .cakes-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .cakes-right {
    display: none;
  }
  .filter-bar {
  top: 62px;
}
  .filter-bar-inner {
    padding: 0 24px;
  }
  .search-wrap {
    max-width: 100%;
  }
  .filter-count {
    display: none;
  }
  .reviews-grid,
  .video-grid {
    grid-template-columns: 1fr;
    padding: 0 24px;
  }
  footer {
    padding: 48px 24px 32px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand {
    grid-column: 1 / -1; /* full width */
  }
  .video-card {
  align-items: center;
  text-align: center;
}

.video-info {
  text-align: center;
}

.video-embed {
  margin: 0 auto;
}
}
@media (max-width: 540px) {
  .hero {
    padding-left: 0;
    padding-top: 0;
  }
  .stat {
  text-align: center;
}
  .featured-grid {
    grid-template-columns: repeat(1, 1fr);
    max-width: 350px;
  }
  .det-topics {
    grid-template-columns: 1fr;
  }
  .detail-body-inner {
    padding: 24px 20px 0;
  }
  .det-footer {
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 20px;
  }
  .cta-btns {
    align-items: flex-end;
  }
  .enrol-label {
    font-size: 0.8rem;
  }
  .det-price {
    line-height: 1;
  }
  .det-price-grid {
    gap: 40px;
  }
  .det-price-value {
    font-size: 1.1rem;
  }
  .det-price-sub {
    font-size: 0.68rem;
  }
  .det-price-note {
    font-size: 0.8rem;
  }
  .btn-wa {
    padding: 8px 14px;
    font-size: 0.72rem;
    border-radius: 24px;
  }
  .btn-wa svg {
    width: 14px;
    height: 14px;
  }
  .det-title {
    font-size: 1.6rem;
    margin-left: -20px;
    margin-right: -20px;
    padding: 10px 20px;
  }
  .detail-close {
    height: 30px;
    width: 30px;
    top: 12px;
  }
  .detail-sticky-bar {
    font-size: 1.6rem;
    padding-left: 20px ;
  }
}

/* ══════════════════════════════════
   HERO PHOTO (added)
══════════════════════════════════ */
.hero-photo-wrap {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 650px;
  width: 100%;
}

.hero-photo {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 24px;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}
.hero-logo-badge {
  position: absolute;
  bottom: 135px;
  right: 20px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--ivory);
  box-shadow: 0 8px 24px rgba(139,80,80,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.hero-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (max-width: 960px) {
  .hero-right {
    top: 121px;
    min-height: 550px;
  }
  .hero {
    padding-left: 30px;
  }
}
@media (max-width: 540px) {
  .hero-right {
    min-height: 440px;
  }
  .hero {
    padding-left: 0px;
  }
}
@media (max-width: 450px) {
  .hero-right {
    min-height: 400px;
  }
  .hero-photo {
    margin-bottom: 31px !important;
  }

}


/* ══════════════════════════════════
   LOGO SECTION DIVIDER (added)
══════════════════════════════════ */
.logo-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0 80px;
  background: transparent;
  flex-wrap: initial;
}
.logo-divider-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 70%; /* ← adjust this number to control line length */
  margin: 0 auto;
}
.logo-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border) 40%, var(--blush-mid) 100%);
}
.logo-divider-line:last-child {
  background: linear-gradient(to left, transparent, var(--border) 40%, var(--blush-mid) 100%);
}
.logo-divider-badge {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  flex-shrink: 0;
  transition: box-shadow .25s, transform .25s;
}
.logo-divider-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (max-width: 960px) {
  .logo-divider { padding: 28px 24px; }
}

/* ══════════════════════════════════
   DIPLOMA POPUP STYLES
══════════════════════════════════ */
#diplomaModules {
  width: 100%;
  margin-top: 10px;
}
.det-topics .dip-head {
  list-style: none;
  grid-column: 1 / -1;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px; margin-bottom: 4px;
}
.det-topics .dip-hl {
  list-style: none;
  grid-column: 1 / -1;
  font-size: 0.85rem; color: var(--text-mid);
  line-height: 1.5; padding: 1px 0;
  display: flex; align-items: flex-start; gap: 6px;
}
.dip-mod-head {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-weight: 600;
  color: var(--text);
  border-bottom: 2px solid var(--border);
  padding-bottom: 10px; margin: 20px 0 14px;
}
.dip-mod-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(70px, 1fr));
  gap: 12px;
  align-items: stretch;
  padding-bottom: 20px;
}
.dip-mod {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.dip-mod-title {
  display: flex; align-items: center; gap: 10px;
  background: var(--ivory-deep);
  padding: 10px 14px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem; font-weight: 600; color: var(--text);
}
.dip-mod-num {
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Jost', sans-serif; font-size: 0.72rem;
  flex-shrink: 0;
  background: #962d21; color: var(--ivory);
}
.dip-mod-items {
  list-style: none;
  padding: 10px 14px;
  display: grid; grid-template-columns: 1fr;
  gap: 5px 14px;
  flex: 1;
  align-content: start;
}
.dip-mod-items li {
  font-size: 0.8rem; color: var(--text-mid);
  line-height: 1.4; padding-left: 10px; position: relative;
}
.dip-mod-items li::before {
  content: '·'; position: absolute; left: 0;
  color: var(--gold); font-weight: 700;
}
@media (max-width: 600px) {
  .dip-mod-grid { grid-template-columns: 1fr; }
}
@media (min-width: 768px) {
  .dip-mod--wide {
    grid-column: 1 / -1;
  }
  .dip-mod--wide .dip-mod-items {
    grid-template-columns: 1fr 1fr;
  }
}

/* ══════════════════════════════════
   COURSE CARD — IMAGE CAROUSEL
══════════════════════════════════ */
.card-carousel {
  position: relative;
  width: 100%;
  height: 220px;           /* taller — gives portrait images room */
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
  background: #f0ece8;
}

.carousel-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  display: block;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 3;
}
.carousel-img.active { opacity: 1; }

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.85);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: background 0.2s;
  opacity: 1;
}
.card-carousel:hover .carousel-btn { opacity: 1; }
.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }
.carousel-btn:hover { background: #fff; }

.carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 3;
}
.carousel-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transition: background 0.2s;
  cursor: pointer;
}
.carousel-dot.active { background: #fff; }

/* Gallery hint badge — shows "📷 3 photos" on cards with multiple images */
.thumb-gallery-hint {
  position: absolute;
  bottom: 10px;
  left: 12px;
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 3px 9px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  z-index: 2;
}

/* Placeholder thumb when no images */
.card-thumb--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
  flex-shrink: 0;
  border-radius: 14px 14px 0 0;
  position: relative;
}
.thumb-placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(0,0,0,0.3);
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
}
.thumb-placeholder-inner svg { opacity: 0.4; }

.card-carousel .thumb-placeholder-inner,
.det-carousel .thumb-placeholder-inner {
  position: absolute;
  inset: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}


/* ══════════════════════════════════
   DETAIL OVERLAY — IMAGE CAROUSEL
══════════════════════════════════ */
.det-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.det-carousel-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.det-carousel-img.active { opacity: 1; }

.det-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.85);
  border: none;
  border-radius: 50%;
  width: 38px; height: 38px;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  transition: background 0.2s;
}
.det-carousel-prev { left: 12px; }
.det-carousel-next { right: 12px; }
.det-carousel-btn:hover { background: #fff; }

.det-carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 4;
}
.det-carousel-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.2s;
}
.det-carousel-dot.active { background: #fff; }

.det-hero-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(0,0,0,0.25);
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
}


/* ══════════════════════════════════
   VIDEO TESTIMONIALS CAROUSEL
══════════════════════════════════ */
.video-carousel-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 850px;
  margin: 0 auto;
  padding: 0 16px;
}

.video-thumb-image,
.active-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.video-carousel-viewport {
  flex: 1;
  overflow: hidden;
}

.video-carousel-track {
  display: flex;
  gap: 2px;
  transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}

.video-carousel-track .video-card {
  flex: 0 0 250px;
  width: 250px;
  min-width: 200px;
}

.video-carousel-btn {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border, #e8e0d8);
  background: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.video-carousel-btn:hover {
  background: var(--accent, #c17b4e);
  border-color: var(--accent, #c17b4e);
  color: #fff;
}

.video-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  padding-bottom: 8px;
}
.video-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.video-dot.active {
  background: var(--accent, #c17b4e);
  transform: scale(1.25);
}

/* Remove old .video-grid */
.video-grid { display: none; }

@media (max-width: 900px) {
  .video-carousel-track .video-card {
    flex: 0 0 calc((100% - 24px) / 2);
  }
}
@media (max-width: 600px) {
  .video-carousel-track .video-card {
    flex: 0 0 100%;
  }
  .video-carousel-wrap { gap: 8px; }
  .video-carousel-btn { width: 36px; height: 36px; font-size: 1.3rem; }
}
/* ══════════════════════════════════
   HERO ABOUT SNIPPET
══════════════════════════════════ */
.hero-about {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.75;
  font-weight: 300;
  max-width: 460px;
  margin-bottom: 28px;
  margin-top: -12px;
  border-left: 2px solid var(--rose);
  padding-left: 14px;
}

/* ══════════════════════════════════
   CAKE TILE CAROUSEL
══════════════════════════════════ */

.cake-tile-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 18px;
}

.cake-tile-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
  will-change: transform;
}
.cake-tile-carousel {
  overflow: hidden;
  position: relative;
  touch-action: pan-y;
}

.cake-tile-track {
  display: flex;
  transition: transform .35s ease;
  will-change: transform;
}

.cake-tile-slide {
  min-width: 100%;
  flex-shrink: 0;
}

.cake-tile-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.cake-tile-slide img.cake-tile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Carousel nav buttons */
.cake-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  color: #000;
  border: none;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity .2s, background .2s;
  z-index: 3;
}
.cake-carousel-prev { left: 8px; }
.cake-carousel-next { right: 8px; }
.cake-tile:hover .cake-carousel-btn { opacity: 1; }
.cake-carousel-btn:hover { background: rgba(255, 255, 255, 1); }

/* Dots */
.cake-carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 3;
}
.cake-carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transition: background .2s;
}
.cake-carousel-dot.active { background: #fff; }

/* Title/sub now needs padding since we removed tile padding */
.cake-tile-title, .cake-tile-sub {
  padding-left: 16px;
  padding-right: 16px;
}
.cake-tile-title { padding-top: 14px; }
.cake-tile-sub   { padding-bottom: 16px; }
