/* ==========================================================================
   Niba's Cake Spot (@nibas_cake_spot) — Official Brand Palette & E-Commerce CSS
   Brand Colors Extracted Directly from Instagram Logo, Highlights & Posters:
   - Cream Ivory Backdrop: #FAF3EB / #F5E6D3 / #FFFDF9
   - Deep Cocoa Espresso:  #3E2318 / #4A2C2A / #26120B
   - Berry Rose Crimson:   #8D3B46 / #A8384B / #6E2C36
   - Pastel Blush Pink:    #F4C2C2 / #FADADD / #E89EB8
   - Biscoff Caramel Gold: #C68B59 / #D4A373 / #D4AF37
   ========================================================================== */

:root {
  --bg-cream: #FAF3EB;
  --bg-cream-alt: #F4E6D8;
  --bg-card: #FFFDF9;
  --cocoa-dark: #2C160E;
  --cocoa-primary: #3E2318;
  --cocoa-mid: #5C3828;
  --cocoa-muted: #7C5846;
  --berry-primary: #8D3B46;
  --berry-bright: #B83B52;
  --berry-dark: #5C222B;
  --blush-soft: #FADADD;
  --blush-mid: #F4C2C2;
  --blush-accent: #E89EB8;
  --caramel-gold: #C68B59;
  --gold-metallic: #D4AF37;
  --border-warm: rgba(62, 35, 24, 0.13);
  --shadow-soft: 0 10px 30px rgba(62, 35, 24, 0.08);
  --shadow-hover: 0 18px 42px rgba(62, 35, 24, 0.16);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-pill: 999px;
}

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

html {
  scroll-behavior: auto;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-cream);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(244, 194, 194, 0.35) 0%, transparent 36%),
    radial-gradient(circle at 88% 16%, rgba(198, 139, 89, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(244, 194, 194, 0.25) 0%, transparent 45%);
  color: var(--cocoa-primary);
  line-height: 1.55;
  overflow-x: hidden;
}

h1, h2, h3, h4, .serif-heading {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--cocoa-dark);
}

.script-accent {
  font-family: 'Dancing Script', cursive;
  color: var(--berry-primary);
}

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

button, select, input, textarea {
  font-family: inherit;
}

/* ==================== TOP ANNOUNCEMENT RIBBON ==================== */
.top-usp-bar {
  background: linear-gradient(90deg, var(--cocoa-dark), var(--cocoa-primary), var(--berry-dark), var(--cocoa-primary));
  color: var(--bg-cream);
  font-size: 0.82rem;
  padding: 8px 16px;
  text-align: center;
  border-bottom: 2px solid var(--caramel-gold);
}

.top-usp-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 22px;
}

.usp-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
}

.fssai-pill {
  background: rgba(212, 175, 55, 0.22);
  border: 1px solid var(--gold-metallic);
  color: #FFE8A3;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  font-weight: 700;
}

/* ==================== STICKY HEADER & NAVBAR ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(250, 243, 235, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-warm);
  box-shadow: 0 4px 20px rgba(62, 35, 24, 0.06);
}

.navbar-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.brand-identity {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-wrap {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--cocoa-primary), var(--berry-primary), var(--caramel-gold));
  box-shadow: 0 4px 14px rgba(62, 35, 24, 0.22);
  flex-shrink: 0;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bg-card);
}

.brand-titles h1 {
  font-size: 1.55rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.brand-tagline {
  font-family: 'Dancing Script', cursive;
  font-size: 1.15rem;
  color: var(--berry-primary);
  font-weight: 700;
}

.brand-handle-badge {
  display: inline-block;
  font-size: 0.72rem;
  background: var(--blush-soft);
  color: var(--berry-dark);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  margin-left: 6px;
  vertical-align: middle;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--cocoa-primary);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
}

.nav-link:hover {
  background: var(--blush-soft);
  color: var(--berry-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-quick-pay {
  background: linear-gradient(135deg, var(--berry-primary), var(--berry-dark));
  color: #FFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 14px rgba(141, 59, 70, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-quick-pay:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(141, 59, 70, 0.42);
}

.btn-cart-trigger {
  background: var(--cocoa-primary);
  color: var(--bg-cream);
  border: 2px solid var(--caramel-gold);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-cart-trigger:hover {
  background: var(--cocoa-dark);
  transform: translateY(-2px);
}

.cart-count-badge {
  background: var(--berry-bright);
  color: #FFF;
  font-size: 0.76rem;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

/* ==================== HERO & INSTAGRAM PROFILE BANNER ==================== */
.hero-section {
  max-width: 1360px;
  margin: 0 auto;
  padding: 28px 24px 18px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
  background: linear-gradient(135deg, #FFFDF9 0%, #FAF0E4 55%, #FCE6E8 100%);
  border: 2px solid rgba(198, 139, 89, 0.28);
  border-radius: 26px;
  padding: 34px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blush-soft);
  color: var(--berry-dark);
  border: 1px solid var(--blush-mid);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.hero-title {
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  line-height: 1.14;
  margin-bottom: 12px;
}

.hero-title span {
  color: var(--berry-primary);
}

.hero-subtitle {
  font-size: 1.02rem;
  color: var(--cocoa-mid);
  margin-bottom: 20px;
  max-width: 620px;
}

.hero-badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}

.hero-usp-item {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border-warm);
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cocoa-primary), var(--cocoa-dark));
  color: var(--bg-cream);
  border: 2px solid var(--caramel-gold);
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(62, 35, 24, 0.2);
  transition: all 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(62, 35, 24, 0.28);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--berry-primary);
  border: 2px solid var(--berry-primary);
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: var(--blush-soft);
  transform: translateY(-2px);
}

/* Hero Right Visual Collage */
.hero-visual-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  position: relative;
}

.hero-showcase-card {
  background: var(--bg-card);
  padding: 8px;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(62, 35, 24, 0.15);
  border: 1px solid rgba(198, 139, 89, 0.35);
  cursor: pointer;
  transition: transform 0.3s ease;
  position: relative;
}

.hero-showcase-card:hover {
  transform: translateY(-6px) rotate(-1deg);
}

.hero-showcase-card img {
  width: 100%;
  height: 225px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.hero-showcase-card .card-cap {
  padding: 8px 6px 4px;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==================== INSTAGRAM STORY HIGHLIGHTS BAR ==================== */
.ig-profile-strip {
  max-width: 1360px;
  margin: 8px auto 24px;
  padding: 0 24px;
}

.ig-strip-card {
  background: var(--bg-card);
  border: 1px solid var(--border-warm);
  border-radius: 20px;
  padding: 18px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: var(--shadow-soft);
}

.ig-bio-block {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ig-bio-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 3px solid var(--berry-primary);
  padding: 2px;
  object-fit: cover;
}

.ig-bio-text h3 {
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ig-bio-stats {
  display: flex;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--cocoa-mid);
  margin: 3px 0;
}

.ig-bio-lines {
  font-size: 0.8rem;
  color: var(--cocoa-muted);
}

.ig-highlights-list {
  display: flex;
  align-items: center;
  gap: 18px;
}

.ig-highlight-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  transition: transform 0.2s;
}

.ig-highlight-btn:hover {
  transform: scale(1.07);
}

.ig-highlight-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(45deg, var(--caramel-gold), var(--berry-primary), var(--blush-accent));
  box-shadow: 0 4px 12px rgba(141, 59, 70, 0.2);
}

.ig-highlight-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #FFF;
}

.ig-highlight-btn span {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--cocoa-primary);
}

/* ==================== CATALOG FILTER & SEARCH BAR ==================== */
.catalog-section {
  max-width: 1360px;
  margin: 0 auto;
  padding: 16px 24px 48px;
}

.section-header-center {
  text-align: center;
  margin-bottom: 24px;
}

.section-header-center h2 {
  font-size: clamp(1.75rem, 2.6vw, 2.35rem);
  margin-bottom: 6px;
}

.section-header-center p {
  color: var(--cocoa-muted);
  max-width: 680px;
  margin: 0 auto;
  font-size: 0.95rem;
}

.catalog-controls-bar {
  background: var(--bg-card);
  border: 1px solid var(--border-warm);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-soft);
}

.category-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.cat-filter-btn {
  background: var(--bg-cream);
  color: var(--cocoa-primary);
  border: 1px solid var(--border-warm);
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.cat-filter-btn:hover {
  background: var(--blush-soft);
  border-color: var(--berry-primary);
}

.cat-filter-btn.active {
  background: linear-gradient(135deg, var(--cocoa-primary), var(--berry-dark));
  color: #FFF;
  border-color: var(--caramel-gold);
  box-shadow: 0 4px 12px rgba(62, 35, 24, 0.22);
}

.cat-count-pill {
  background: rgba(255, 255, 255, 0.22);
  padding: 1px 7px;
  border-radius: var(--radius-pill);
  font-size: 0.73rem;
}

.cat-filter-btn:not(.active) .cat-count-pill {
  background: rgba(62, 35, 24, 0.09);
}

.search-sort-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px dashed var(--border-warm);
}

.search-box-wrap {
  flex: 1;
  min-width: 240px;
  position: relative;
}

.search-box-wrap input {
  width: 100%;
  padding: 10px 16px 10px 38px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-warm);
  background: var(--bg-cream);
  font-size: 0.9rem;
  color: var(--cocoa-dark);
}

.search-box-wrap .search-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.95rem;
}

.sort-meta-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.showing-count-text {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--berry-primary);
}

.sort-select {
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-warm);
  background: var(--bg-cream);
  color: var(--cocoa-dark);
  font-size: 0.85rem;
  font-weight: 600;
}

/* ==================== PRODUCT CARDS GRID ==================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(295px, 1fr));
  gap: 22px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid rgba(198, 139, 89, 0.26);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  will-change: transform;
}

.product-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--berry-primary);
}

.product-card-media {
  position: relative;
  height: 245px;
  background: #F4E9DF;
  overflow: hidden;
  cursor: pointer;
}

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-card-img {
  transform: scale(1.06);
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(44, 22, 14, 0.86);
  color: #FFE8A3;
  border: 1px solid var(--caramel-gold);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
}

.product-media-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 10px;
  background: linear-gradient(to top, rgba(44, 22, 14, 0.82), transparent);
  display: flex;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.25s ease;
}

.product-card:hover .product-media-overlay {
  opacity: 1;
  transform: translateY(0);
}

.overlay-pill-btn {
  background: rgba(255, 253, 249, 0.95);
  color: var(--cocoa-dark);
  border: 1px solid var(--caramel-gold);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.18s;
}

.overlay-pill-btn:hover {
  background: var(--berry-primary);
  color: #FFF;
}

.overlay-pill-btn.mode-3d-pill {
  background: linear-gradient(135deg, var(--berry-primary), var(--cocoa-primary));
  color: #FFF;
}

.product-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-cat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 0.73rem;
  font-weight: 700;
}

.product-cat-tag {
  color: var(--berry-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-organic-tag {
  background: #EBF5E8;
  color: #2E6B27;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
}

.product-title {
  font-size: 1.12rem;
  line-height: 1.28;
  margin-bottom: 6px;
  cursor: pointer;
}

.product-title:hover {
  color: var(--berry-primary);
}

.product-desc {
  font-size: 0.82rem;
  color: var(--cocoa-muted);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-variant-box {
  margin-top: auto;
  margin-bottom: 12px;
}

.variant-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cocoa-mid);
  margin-bottom: 4px;
}

.variant-select {
  width: 100%;
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid var(--border-warm);
  background: var(--bg-cream);
  font-size: 0.81rem;
  font-weight: 600;
  color: var(--cocoa-dark);
}

.product-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.price-block {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.price-current {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--cocoa-dark);
}

.price-original {
  font-size: 0.85rem;
  color: var(--cocoa-muted);
  text-decoration: line-through;
}

.view-mode-mini-btns {
  display: flex;
  gap: 5px;
}

.mini-mode-btn {
  background: var(--blush-soft);
  color: var(--berry-dark);
  border: 1px solid var(--blush-mid);
  padding: 4px 9px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.mini-mode-btn:hover {
  background: var(--berry-primary);
  color: #FFF;
}

.product-actions-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 8px;
}

.btn-add-cart {
  background: var(--cocoa-primary);
  color: #FFF;
  border: none;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.83rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-add-cart:hover {
  background: var(--cocoa-dark);
}

.btn-buy-now {
  background: linear-gradient(135deg, var(--berry-primary), var(--berry-bright));
  color: #FFF;
  border: none;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.83rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-buy-now:hover {
  opacity: 0.92;
}

/* ==================== OFFICIAL MENU HIGHLIGHT BOARD SECTION ==================== */
.official-menu-section {
  max-width: 1360px;
  margin: 0 auto 48px;
  padding: 0 24px;
}

.official-menu-wrapper {
  background: linear-gradient(135deg, #6E2C36 0%, #4A231E 60%, #3E2318 100%);
  color: var(--bg-cream);
  border-radius: 26px;
  padding: 34px;
  border: 2px solid var(--caramel-gold);
  box-shadow: var(--shadow-hover);
}

.official-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px dashed rgba(250, 243, 235, 0.25);
}

.official-menu-head h2 {
  color: #FFF;
  font-size: 1.9rem;
}

.official-menu-head p {
  color: var(--blush-soft);
  font-size: 0.92rem;
}

.menu-highlight-thumb-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 14px;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.menu-highlight-thumb-box img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid var(--gold-metallic);
}

.menu-board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.menu-board-card {
  background: rgba(255, 253, 249, 0.97);
  color: var(--cocoa-dark);
  border-radius: 16px;
  padding: 18px;
  border: 1px solid var(--caramel-gold);
}

.menu-board-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 2px solid var(--blush-mid);
}

.menu-board-icon {
  font-size: 1.6rem;
}

.menu-board-card-head h4 {
  font-size: 1.08rem;
}

.menu-board-card-head small {
  color: var(--cocoa-muted);
  font-size: 0.76rem;
}

.menu-board-list {
  list-style: none;
}

.menu-board-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px dashed rgba(62, 35, 24, 0.12);
  font-size: 0.84rem;
}

.menu-board-list li:last-child {
  border-bottom: none;
}

.menu-item-name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.menu-sale-pill {
  background: var(--berry-bright);
  color: #FFF;
  font-size: 0.68rem;
  padding: 1px 6px;
  border-radius: var(--radius-pill);
  font-weight: 700;
}

.menu-item-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-item-price {
  color: var(--berry-dark);
  font-size: 0.95rem;
}

.menu-quick-add {
  background: var(--cocoa-primary);
  color: #FFF;
  border: none;
  padding: 4px 9px;
  border-radius: 7px;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
}

.menu-quick-add:hover {
  background: var(--berry-primary);
}

/* ==================== ALL 36 INSTAGRAM POSTS & REELS ARCHIVE ==================== */
.ig-archive-section {
  max-width: 1360px;
  margin: 0 auto 48px;
  padding: 0 24px;
}

.ig-filter-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.ig-filter-pill {
  background: var(--bg-card);
  color: var(--cocoa-primary);
  border: 1px solid var(--border-warm);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}

.ig-filter-pill.active {
  background: var(--berry-primary);
  color: #FFF;
  border-color: var(--berry-primary);
}

.ig-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 16px;
}

.ig-post-card {
  background: var(--bg-card);
  border: 1px solid var(--border-warm);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.22s, box-shadow 0.22s;
  display: flex;
  flex-direction: column;
}

.ig-post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--berry-primary);
}

.ig-post-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #EFE3D5;
  overflow: hidden;
}

.ig-post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.ig-post-card:hover .ig-post-media img {
  transform: scale(1.06);
}

.ig-post-number {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(44, 22, 14, 0.85);
  color: #FFE8A3;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.ig-post-type-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(141, 59, 70, 0.9);
  color: #FFF;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.ig-post-hover {
  position: absolute;
  inset: 0;
  background: rgba(44, 22, 14, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.22s;
}

.ig-post-card:hover .ig-post-hover {
  opacity: 1;
}

.ig-hover-btns {
  display: flex;
  gap: 6px;
}

.ig-post-info {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ig-post-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 5px;
}

.ig-post-title-row h4 {
  font-size: 0.92rem;
  line-height: 1.25;
}

.ig-post-price {
  font-weight: 800;
  color: var(--berry-primary);
  font-size: 0.92rem;
  flex-shrink: 0;
}

.ig-post-caption-preview {
  font-size: 0.76rem;
  color: var(--cocoa-muted);
  margin-bottom: 10px;
  flex: 1;
}

.ig-post-footer {
  display: flex;
  gap: 6px;
  align-items: center;
}

.btn-ig-cart {
  flex: 1;
  background: var(--cocoa-primary);
  color: #FFF;
  border: none;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-ig-cart:hover {
  background: var(--berry-primary);
}

.ig-ext-link {
  background: var(--blush-soft);
  color: var(--berry-dark);
  padding: 6px 9px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 800;
}

/* ==================== CUSTOMER REVIEWS & PAYMENT BANNER ==================== */
.reviews-section {
  max-width: 1360px;
  margin: 0 auto 48px;
  padding: 0 24px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
  gap: 18px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-warm);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.review-stars {
  color: #E6A100;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.review-text {
  font-size: 0.88rem;
  font-style: italic;
  color: var(--cocoa-primary);
  margin-bottom: 14px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--caramel-gold);
}

.review-author strong {
  display: block;
  font-size: 0.84rem;
}

.review-author span {
  font-size: 0.75rem;
  color: var(--berry-primary);
}

/* ==================== INTERACTIVE ZOOM & 3D STUDIO MODAL ==================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(34, 16, 10, 0.76);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.modal-backdrop.open {
  display: flex;
}

.studio-modal-window {
  background: var(--bg-card);
  width: 100%;
  max-width: 1140px;
  max-height: 92vh;
  border-radius: 24px;
  border: 2px solid var(--caramel-gold);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  position: relative;
}

.modal-close-x {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 30;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-warm);
  background: var(--bg-card);
  color: var(--cocoa-dark);
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.modal-close-x:hover {
  background: var(--berry-primary);
  color: #FFF;
}

.studio-left-column {
  background: linear-gradient(145deg, #F5E7D8 0%, #FAF3EB 50%, #F9E0E3 100%);
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border-warm);
  min-height: 520px;
}

.studio-mode-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 253, 249, 0.9);
  border-bottom: 1px solid var(--border-warm);
  flex-wrap: wrap;
}

.mode-tab-group {
  display: flex;
  gap: 8px;
}

.studio-tab-btn {
  background: var(--bg-cream);
  color: var(--cocoa-primary);
  border: 1px solid var(--border-warm);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.84rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.studio-tab-btn.active {
  background: linear-gradient(135deg, var(--berry-primary), var(--cocoa-primary));
  color: #FFF;
  border-color: var(--caramel-gold);
  box-shadow: 0 4px 12px rgba(141, 59, 70, 0.3);
}

.poster-toggle-btn {
  background: var(--blush-soft);
  color: var(--berry-dark);
  border: 1px solid var(--berry-primary);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}

/* ZOOM STAGE */
.zoom-stage-container {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  cursor: crosshair;
  user-select: none;
}

#modalZoomImage {
  max-width: 100%;
  max-height: 410px;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(62, 35, 24, 0.2);
  transition: transform 0.08s ease-out;
  transform-origin: center center;
}

.zoom-loupe {
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  border: 3px solid var(--gold-metallic);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), inset 0 0 14px rgba(255, 255, 255, 0.5);
  pointer-events: none;
  display: none;
  z-index: 20;
  background-repeat: no-repeat;
  background-color: #FFF;
}

.zoom-toolbar {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(44, 22, 14, 0.88);
  color: #FFF;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  backdrop-filter: blur(8px);
  border: 1px solid var(--caramel-gold);
  z-index: 25;
  flex-wrap: wrap;
  justify-content: center;
  width: max-content;
  max-width: 94%;
}

.zoom-step-btn {
  background: rgba(255, 255, 255, 0.16);
  color: #FFF;
  border: none;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
}

.zoom-step-btn:hover, .zoom-step-btn.active {
  background: var(--berry-primary);
}

#zoomRangeSlider {
  width: 90px;
  accent-color: var(--caramel-gold);
}

/* 3D ANIMATED DISPLAY STAGE */
.threed-stage-container {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: grab;
  user-select: none;
}

.threed-stage-container:active {
  cursor: grabbing;
}

.threed-submode-bar {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 25;
  display: flex;
  gap: 6px;
  background: rgba(255, 253, 249, 0.92);
  padding: 4px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--caramel-gold);
  box-shadow: 0 4px 14px rgba(62, 35, 24, 0.12);
}

.submode-3d-btn {
  background: transparent;
  color: var(--cocoa-primary);
  border: none;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
}

.submode-3d-btn.active {
  background: var(--cocoa-primary);
  color: #FFE8A3;
}

/* CSS 3D HOLOGRAPHIC BAKERY PEDESTAL BOX */
.css3d-pedestal-scene {
  width: 100%;
  height: 390px;
  perspective: 1100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.css3d-pedestal-box {
  width: 265px;
  height: 265px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.06s linear;
}

.pedestal-face {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  backface-visibility: visible;
  overflow: hidden;
}

.pedestal-front {
  transform: translateZ(26px);
  background: var(--bg-card);
  border: 3px solid var(--gold-metallic);
  box-shadow: 0 14px 35px rgba(44, 22, 14, 0.35);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.pedestal-back {
  transform: rotateY(180deg) translateZ(26px);
  background: var(--cocoa-primary);
  border: 3px solid var(--gold-metallic);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.pedestal-front img, .pedestal-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pedestal-core-frame {
  position: absolute;
  inset: 8px;
  transform: translateZ(0px);
  border-radius: 16px;
  background: linear-gradient(135deg, var(--gold-metallic), var(--cocoa-primary), var(--berry-primary));
  border: 2px solid #FFE8A3;
  box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.45);
}

.pedestal-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.pedestal-floating-badge {
  position: absolute;
  top: -16px;
  left: 16px;
  transform: translateZ(54px);
  background: linear-gradient(135deg, var(--cocoa-dark), var(--berry-primary));
  color: #FFE8A3;
  border: 1.5px solid var(--gold-metallic);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.73rem;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.45s ease;
  max-width: 230px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pedestal-floating-price {
  position: absolute;
  bottom: -14px;
  right: 16px;
  transform: translateZ(60px);
  background: var(--gold-metallic);
  color: var(--cocoa-dark);
  border: 2px solid #FFF;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
  transition: transform 0.45s ease;
}

/* Exploded 3D Layer State */
.css3d-pedestal-box.exploded .pedestal-front {
  transform: translateZ(65px);
}
.css3d-pedestal-box.exploded .pedestal-back {
  transform: rotateY(180deg) translateZ(65px);
}
.css3d-pedestal-box.exploded .pedestal-floating-badge {
  transform: translateZ(105px) translateY(-10px);
}
.css3d-pedestal-box.exploded .pedestal-floating-price {
  transform: translateZ(110px) translateY(8px);
}

.pedestal-turntable-disc {
  width: 240px;
  height: 36px;
  margin-top: 26px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.55) 0%, rgba(62, 35, 24, 0.25) 65%, transparent 100%);
  border: 1px dashed rgba(198, 139, 89, 0.6);
  box-shadow: 0 12px 25px rgba(62, 35, 24, 0.22);
}

#sculpture3DCanvas {
  display: none;
  max-width: 100%;
}

.threed-toolbar {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(44, 22, 14, 0.9);
  color: #FFF;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  border: 1px solid var(--caramel-gold);
  z-index: 25;
  flex-wrap: wrap;
  justify-content: center;
  width: max-content;
  max-width: 95%;
}

/* STUDIO RIGHT DETAILS COLUMN */
.studio-right-column {
  padding: 26px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.studio-badge-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.studio-badge {
  background: var(--blush-soft);
  color: var(--berry-dark);
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
}

.studio-cat-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--caramel-gold);
  text-transform: uppercase;
}

.studio-title {
  font-size: 1.55rem;
  line-height: 1.2;
}

.studio-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg-cream);
  border-radius: 12px;
  border: 1px solid var(--border-warm);
}

.studio-price {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--berry-primary);
}

.studio-desc {
  font-size: 0.88rem;
  color: var(--cocoa-mid);
  white-space: pre-line;
  max-height: 120px;
  overflow-y: auto;
}

.studio-highlights-list {
  list-style: none;
  background: #FFF9F3;
  border: 1px dashed var(--caramel-gold);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.81rem;
}

.studio-highlights-list li {
  margin-bottom: 4px;
  font-weight: 600;
}

.studio-config-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: end;
}

.qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-warm);
  border-radius: 10px;
  background: var(--bg-cream);
  overflow: hidden;
}

.qty-stepper button {
  background: none;
  border: none;
  width: 34px;
  height: 36px;
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  color: var(--cocoa-dark);
}

.qty-stepper span {
  width: 32px;
  text-align: center;
  font-weight: 800;
  font-size: 0.92rem;
}

.studio-cta-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
}

/* ==================== CART DRAWER ==================== */
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1150;
  background: rgba(34, 16, 10, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  justify-content: flex-end;
}

.cart-drawer-backdrop.open {
  display: flex;
}

.cart-drawer-panel {
  width: 100%;
  max-width: 430px;
  background: var(--bg-card);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.3);
  border-left: 2px solid var(--caramel-gold);
}

.cart-drawer-header {
  padding: 18px 20px;
  background: var(--cocoa-primary);
  color: var(--bg-cream);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--caramel-gold);
}

.cart-drawer-header h3 {
  color: #FFF;
  font-size: 1.2rem;
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.cart-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bg-cream);
  border: 1px solid var(--border-warm);
  border-radius: 14px;
  margin-bottom: 10px;
}

.cart-item-thumb {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--caramel-gold);
}

.cart-item-details {
  flex: 1;
}

.cart-item-details h5 {
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.cart-item-variant {
  display: block;
  font-size: 0.74rem;
  color: var(--berry-primary);
  font-weight: 700;
}

.cart-item-price-line {
  font-size: 0.8rem;
  color: var(--cocoa-mid);
  margin-top: 2px;
}

.cart-item-qty-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-item-qty-controls button {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid var(--border-warm);
  background: #FFF;
  font-weight: 800;
  cursor: pointer;
}

.cart-drawer-footer {
  padding: 18px 20px;
  background: #FFF9F3;
  border-top: 1px solid var(--border-warm);
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 12px;
}

/* ==================== PAYMENT GATEWAY MODAL (8883264666) ==================== */
.pg-modal-window {
  background: var(--bg-card);
  width: 100%;
  max-width: 960px;
  max-height: 92vh;
  border-radius: 24px;
  border: 2px solid var(--gold-metallic);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
  overflow-y: auto;
  position: relative;
}

.pg-header-banner {
  background: linear-gradient(135deg, var(--cocoa-dark), var(--cocoa-primary), var(--berry-dark));
  color: #FFF;
  padding: 20px 26px;
  border-bottom: 2px solid var(--gold-metallic);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.pg-merchant-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pg-merchant-badge img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--gold-metallic);
}

.pg-merchant-badge h3 {
  color: #FFF;
  font-size: 1.25rem;
}

.pg-phone-highlight {
  background: rgba(212, 175, 55, 0.25);
  border: 1px solid var(--gold-metallic);
  color: #FFE8A3;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.9rem;
}

.pg-body-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 22px;
  padding: 24px;
}

.pg-form-group {
  margin-bottom: 12px;
}

.pg-form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cocoa-mid);
  margin-bottom: 4px;
}

.pg-form-group input, .pg-form-group select, .pg-form-group textarea {
  width: 100%;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-warm);
  background: var(--bg-cream);
  font-size: 0.86rem;
  color: var(--cocoa-dark);
}

.pg-method-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.pg-method-tab {
  flex: 1;
  background: var(--bg-cream);
  border: 1px solid var(--border-warm);
  padding: 9px 10px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
}

.pg-method-tab.active {
  background: var(--berry-primary);
  color: #FFF;
  border-color: var(--berry-primary);
}

.upi-gateway-card {
  background: #FFF9F3;
  border: 1.5px solid var(--caramel-gold);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
}

.upi-qr-wrap {
  display: inline-block;
  padding: 10px;
  background: #FFF;
  border-radius: 16px;
  border: 2px solid var(--cocoa-primary);
  box-shadow: 0 8px 20px rgba(62, 35, 24, 0.12);
  margin: 8px 0;
}

.upi-handles-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 10px 0;
}

.upi-handle-chip {
  background: var(--bg-cream);
  border: 1px solid var(--border-warm);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
}

.upi-handle-chip.active {
  background: var(--cocoa-primary);
  color: #FFE8A3;
  border-color: var(--gold-metallic);
}

.pg-totals-box {
  background: var(--bg-cream);
  border: 1px solid var(--border-warm);
  border-radius: 14px;
  padding: 14px;
  margin-top: 12px;
}

.pg-total-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
  margin-bottom: 6px;
}

.pg-total-line.grand {
  font-size: 1.18rem;
  font-weight: 900;
  color: var(--berry-primary);
  padding-top: 8px;
  border-top: 1px dashed var(--border-warm);
}

/* ==================== RECEIPT & STORY MODALS ==================== */
.receipt-modal-window, .story-modal-window {
  background: var(--bg-card);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  border-radius: 22px;
  border: 2px solid var(--gold-metallic);
  padding: 24px;
  overflow-y: auto;
  position: relative;
}

.receipt-card {
  background: #FFFDF9;
  border: 1px solid var(--caramel-gold);
  border-radius: 16px;
  padding: 20px;
}

.receipt-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 2px dashed var(--border-warm);
  margin-bottom: 14px;
}

.receipt-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--cocoa-primary);
}

.receipt-status-pill {
  display: inline-block;
  background: #E7F6E7;
  color: #1E6F1E;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-top: 4px;
}

.receipt-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
  font-size: 0.82rem;
  background: var(--bg-cream);
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 14px;
}

.receipt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.receipt-table th, .receipt-table td {
  padding: 8px;
  border-bottom: 1px solid var(--border-warm);
  text-align: left;
}

.receipt-grand-row {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--berry-primary);
}

/* ==================== FOOTER ==================== */
.site-footer {
  background: linear-gradient(180deg, var(--cocoa-primary) 0%, var(--cocoa-dark) 100%);
  color: var(--bg-cream);
  padding: 48px 24px 28px;
  border-top: 3px solid var(--caramel-gold);
}

.footer-grid {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-bottom: 28px;
}

.footer-col h4 {
  color: #FFE8A3;
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.footer-col p, .footer-col li {
  font-size: 0.86rem;
  color: rgba(250, 243, 235, 0.84);
  margin-bottom: 7px;
  list-style: none;
}

.footer-bottom {
  max-width: 1360px;
  margin: 0 auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(250, 243, 235, 0.7);
}

/* TOAST NOTIFICATIONS */
.toast-container {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nibas-toast {
  background: var(--cocoa-dark);
  color: #FFF;
  border: 1.5px solid var(--gold-metallic);
  padding: 12px 18px;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  font-weight: 700;
  animation: toastSlideIn 0.25s ease-out;
}

.nibas-toast.fade-out {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s;
}

@keyframes toastSlideIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE BREAKPOINTS & 2026 FULL-IMAGE + AUTO-TOUR + ADMIN + FULL-SCREEN COMMAND BAR OVERRIDES */

/* ==========================================================================
   1. 100% UNCUT IMAGES EVERYWHERE (Zero Partial Cut / Cropping)
   ========================================================================== */
.product-card-media {
  height: 265px !important;
  background: radial-gradient(circle at center, #FFFDF9 0%, #F5E8D8 100%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px !important;
}

.product-card-img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 10px;
}

.ig-post-media {
  aspect-ratio: 4 / 4.4 !important;
  background: radial-gradient(circle at center, #FFFDF9 0%, #F5E8D8 100%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 6px !important;
}

.ig-post-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 8px;
}

.pedestal-front img,
.pedestal-back img,
.pedestal-face img {
  width: 100% !important;
  height: calc(100% - 34px) !important;
  object-fit: contain !important;
  object-position: center !important;
  background: #FAF0E4 !important;
  padding: 6px !important;
}

.zoom-target-img,
#modalZoomImage {
  max-width: 100% !important;
  max-height: 100% !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}

.cart-item-thumb,
.menu-highlight-preview img,
.review-avatar {
  object-fit: contain !important;
  background: #FAF0E4 !important;
}

#storyModalImg {
  width: 100% !important;
  max-height: 56dvh !important;
  object-fit: contain !important;
  background: #1C100B !important;
}

/* ==========================================================================
   2. HEADER ADMIN BUTTON & TOP NAVIGATION REFINEMENTS
   ========================================================================== */
.btn-admin-trigger {
  background: linear-gradient(135deg, #FFF5E4 0%, #FCE6E8 100%);
  color: var(--cocoa-dark);
  border: 2px solid var(--caramel-gold);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.84rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-admin-trigger:hover {
  background: var(--gold-metallic);
  color: var(--cocoa-dark);
  transform: translateY(-1px);
}

/* ==========================================================================
   3. FIRST OPENING SCREEN: BIG ONE-LINE LOGO + TITLE & FULL-SCREEN 3D
      FLASH + GLITTERING SLIDE SHOWCASE (ZERO TEXT CLUTTER ON SLIDES)
   ========================================================================== */
.first-screen-showcase {
  position: relative;
  width: 100%;
  min-height: 100dvh;
  height: 100dvh;
  max-height: 100dvh;
  background:
    radial-gradient(circle at 50% 44%, rgba(212, 175, 55, 0.28) 0%, transparent 52%),
    radial-gradient(circle at 18% 22%, rgba(255, 115, 155, 0.26) 0%, transparent 45%),
    radial-gradient(circle at 82% 25%, rgba(255, 215, 100, 0.24) 0%, transparent 46%),
    linear-gradient(145deg, #1B0A10 0%, #381522 38%, #4A1C2A 64%, #1E0C12 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 10px 16px 10px;
  border-bottom: 3px solid var(--gold-metallic);
  box-shadow: 0 18px 50px rgba(28, 11, 15, 0.45);
}

/* Glittering Aura Orbs & Twinkling Sparkle Particles */
.glitter-backdrop-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.glitter-aura-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(55px);
  opacity: 0.55;
  animation: auraFloat 8s infinite alternate ease-in-out;
}

.glitter-aura-orb.orb-gold {
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(255, 222, 125, 0.65), transparent 70%);
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
}

.glitter-aura-orb.orb-rose {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(255, 105, 155, 0.55), transparent 70%);
  bottom: 8%;
  left: 8%;
  animation-delay: -3s;
}

.glitter-aura-orb.orb-crystal {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(255, 235, 175, 0.55), transparent 70%);
  top: 18%;
  right: 6%;
  animation-delay: -5s;
}

@keyframes auraFloat {
  0% { transform: scale(0.92) translateY(0); opacity: 0.45; }
  100% { transform: scale(1.12) translateY(-18px); opacity: 0.78; }
}

.glitter-sparkles-layer {
  position: absolute;
  inset: 0;
}

.glitter-star {
  position: absolute;
  color: #FFE8A3;
  font-size: 1rem;
  line-height: 1;
  text-shadow: 0 0 10px #FFD700, 0 0 20px #FF85A2;
  animation: glitterTwinkle 2.6s infinite ease-in-out;
  user-select: none;
}

.glitter-star.diamond {
  color: #FFFFFF;
  text-shadow: 0 0 12px #FFFFFF, 0 0 22px #FFD700;
}

@keyframes glitterTwinkle {
  0%, 100% { opacity: 0.2; transform: scale(0.65) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.35) rotate(45deg); }
}

/* --- Top Grand One-Line Royal Brand Header --- */
.royal-opening-header {
  position: relative;
  z-index: 10;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px 6px;
}

.royal-oneline-identity {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: nowrap;
  white-space: nowrap;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(212, 175, 55, 0.18) 50%, rgba(255, 182, 193, 0.14) 100%);
  border: 2px solid rgba(255, 232, 163, 0.72);
  border-radius: 999px;
  padding: 7px 28px 7px 10px;
  box-shadow:
    0 10px 32px rgba(0, 0, 0, 0.45),
    0 0 28px rgba(212, 175, 55, 0.38),
    inset 0 0 18px rgba(255, 232, 163, 0.22);
  backdrop-filter: blur(12px);
  max-width: 98vw;
}

.royal-logo-emblem {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(from 0deg, #FFE8A3, #D4AF37, #FF7EB3, #FFF, #D4AF37, #FFE8A3);
  box-shadow: 0 0 22px rgba(255, 215, 0, 0.8), 0 0 40px rgba(255, 126, 179, 0.45);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.royal-logo-emblem img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain !important;
  background: #FFFDF9;
  border: 2px solid #FFF;
}

.royal-oneline-heading {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  line-height: 1.08;
  margin: 0;
}

.royal-brand-title {
  font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.6rem, 3.3vw, 2.85rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, #FFFFFF 0%, #FFE8A3 40%, #FFD166 75%, #FFFFFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 12px rgba(212, 175, 55, 0.55));
}

.royal-brand-divider {
  color: #FFE8A3;
  font-size: clamp(1.3rem, 2.4vw, 2.2rem);
  font-weight: 400;
  opacity: 0.85;
}

.royal-brand-tagline {
  font-family: 'Dancing Script', 'Cormorant Garamond', cursive;
  font-size: clamp(1.55rem, 3.1vw, 2.65rem);
  font-weight: 700;
  background: linear-gradient(135deg, #FFD1DC 0%, #FF7597 48%, #FFE8A3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 14px rgba(255, 105, 145, 0.65));
}

/* --- Center Full-Screen 3D Perspective Slide Stage --- */
.fullscreen-3d-tour-stage {
  position: relative;
  z-index: 10;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 4px 8px;
}

.tour-3d-nav-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #FFE8A3;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.32), rgba(44, 22, 14, 0.85));
  color: #FFFDF9;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 18px rgba(212, 175, 55, 0.4);
  transition: all 0.22s ease;
  z-index: 15;
}

.tour-3d-nav-arrow:hover {
  background: linear-gradient(135deg, #FFE8A3, #D4AF37);
  color: #24130C;
  transform: scale(1.1);
}

.tour-3d-perspective-arena {
  flex: 1 1 auto;
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: 0.36fr 1.28fr 0.36fr;
  align-items: center;
  gap: 16px;
  perspective: 1500px;
  transform-style: preserve-3d;
}

/* Left & Right 3D Angled Wing Previews */
.tour-3d-wing {
  position: relative;
  height: clamp(230px, 48dvh, 450px);
  background: radial-gradient(circle at center, #FFFDF9 0%, #F3E2CE 100%);
  border: 2px solid rgba(255, 232, 163, 0.6);
  border-radius: 20px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.78;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(212, 175, 55, 0.25);
  transition: all 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.tour-3d-wing.wing-left {
  transform: perspective(1200px) rotateY(28deg) scale(0.9);
  transform-origin: right center;
}

.tour-3d-wing.wing-right {
  transform: perspective(1200px) rotateY(-28deg) scale(0.9);
  transform-origin: left center;
}

.tour-3d-wing:hover {
  opacity: 0.96;
  border-color: #FFF;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.6), 0 0 32px rgba(255, 215, 0, 0.55);
}

.tour-3d-wing img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 12px;
}

.wing-3d-gloss {
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.35) 0%, transparent 45%, rgba(28, 11, 15, 0.25) 100%);
  pointer-events: none;
}

/* Center Main Full-Screen 100% Uncut 3D Flash Slide Card */
.auto-tour-main-viewport {
  position: relative;
  width: 100%;
  height: clamp(320px, 65dvh, 660px);
  background:
    radial-gradient(circle at 50% 50%, #FFFFFF 0%, #FFF7EC 58%, #F4DFC5 100%);
  border: 3px solid #FFE8A3;
  border-radius: 26px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  box-shadow:
    0 0 0 4px rgba(212, 175, 55, 0.38),
    0 25px 65px rgba(0, 0, 0, 0.65),
    0 0 55px rgba(255, 215, 0, 0.45),
    inset 0 0 28px rgba(212, 175, 55, 0.25);
  transform: perspective(1400px) translateZ(20px);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.auto-tour-main-viewport:hover {
  transform: perspective(1400px) translateZ(34px) scale(1.012);
  box-shadow:
    0 0 0 4px #FFE8A3,
    0 30px 75px rgba(0, 0, 0, 0.72),
    0 0 75px rgba(255, 215, 0, 0.7);
}

.auto-tour-main-img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 16px;
  filter: drop-shadow(0 12px 24px rgba(62, 35, 24, 0.22));
}

/* 3D Flash Entrance Animation triggered on every slide change */
.auto-tour-main-img.slide-3d-flash-enter {
  animation: slide3DFlashPop 0.62s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes slide3DFlashPop {
  0% {
    opacity: 0.35;
    transform: perspective(1200px) rotateY(-18deg) scale(0.88) translateZ(-40px);
    filter: brightness(1.75) contrast(1.12) drop-shadow(0 0 35px rgba(255, 232, 163, 0.95));
  }
  55% {
    opacity: 1;
    transform: perspective(1200px) rotateY(4deg) scale(1.02) translateZ(14px);
    filter: brightness(1.18) drop-shadow(0 16px 32px rgba(212, 175, 55, 0.55));
  }
  100% {
    opacity: 1;
    transform: perspective(1200px) rotateY(0deg) scale(1) translateZ(0);
    filter: brightness(1) drop-shadow(0 12px 24px rgba(62, 35, 24, 0.22));
  }
}

/* Holographic 3D Light Flash Beam that sweeps across the slide */
.slide-3d-flash-beam {
  position: absolute;
  top: -20%;
  left: -130%;
  width: 75%;
  height: 140%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.55) 45%,
    rgba(255, 232, 163, 0.75) 52%,
    transparent 100%
  );
  transform: skewX(-24deg);
  pointer-events: none;
  z-index: 6;
}

.slide-3d-flash-beam.flash-active {
  animation: flashBeamSweep 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes flashBeamSweep {
  0% { left: -120%; opacity: 0.95; }
  100% { left: 160%; opacity: 0; }
}

/* Corner Glitter Stars inside Main Slide Frame */
.slide-corner-sparkles {
  position: absolute;
  inset: 10px;
  pointer-events: none;
  z-index: 5;
}

.c-sparkle {
  position: absolute;
  color: #D4AF37;
  font-size: 1.35rem;
  text-shadow: 0 0 10px #FFD700, 0 0 18px #FF6B8B;
  animation: glitterTwinkle 2s infinite ease-in-out;
}

.c-sparkle.s-tl { top: 4px; left: 8px; }
.c-sparkle.s-tr { top: 4px; right: 8px; animation-delay: -0.6s; }
.c-sparkle.s-bl { bottom: 4px; left: 8px; animation-delay: -1.2s; }
.c-sparkle.s-br { bottom: 4px; right: 8px; animation-delay: -1.7s; }

.auto-tour-zoom-chip {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(42, 24, 16, 0.85);
  border: 1.5px solid var(--gold-metallic);
  color: #FFE8A3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  z-index: 7;
}

/* --- Bottom Pure-Image Filmstrip Dock & Minimal Controls --- */
.fullscreen-tour-dock {
  position: relative;
  z-index: 10;
  flex-shrink: 0;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auto-tour-thumbs-rail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow-x: auto;
  padding: 3px 6px;
}

.auto-tour-thumb-btn {
  background: linear-gradient(180deg, #FFFDF9, #F5E6D3);
  border: 2px solid rgba(255, 232, 163, 0.45);
  border-radius: 12px;
  padding: 3px;
  width: 72px;
  height: 58px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  transition: all 0.22s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.auto-tour-thumb-btn img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 8px;
}

.auto-tour-thumb-btn.active {
  border-color: #FFE8A3;
  box-shadow: 0 0 0 2px #FF6B8B, 0 0 18px rgba(255, 215, 0, 0.85);
  transform: translateY(-3px) scale(1.08);
}

.fullscreen-tour-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 8px;
}

.auto-tour-counter-group {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 232, 163, 0.5);
  padding: 4px 12px;
  border-radius: 999px;
}

.auto-tour-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 10px #4ADE80;
  animation: pulsePay 1.6s infinite;
}

.auto-tour-live-dot.paused {
  background: #FBBF24;
  box-shadow: none;
  animation: none;
}

.auto-tour-counter-pill {
  color: #FFE8A3;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.auto-tour-controls-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.auto-tour-toggle-btn,
.tour-scroll-down-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.25);
  border: 1.5px solid #FFE8A3;
  color: #FFE8A3;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.auto-tour-toggle-btn.active {
  background: var(--gold-metallic);
  color: var(--cocoa-dark);
}

.auto-tour-progress-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  overflow: hidden;
}

.auto-tour-progress-fill {
  height: 100%;
  width: 14.28%;
  background: linear-gradient(90deg, #FFE8A3, #FF6B8B, #FFD700);
  border-radius: 999px;
  transition: width 0.35s ease;
}

.auto-tour-dots-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}

.auto-tour-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 232, 163, 0.55);
  background: rgba(255, 255, 255, 0.08);
  color: #FAF0E4;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.auto-tour-dot.active {
  background: linear-gradient(135deg, #FFE8A3, #D4AF37);
  color: var(--cocoa-dark);
  border-color: #FFF;
  transform: scale(1.12);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.7);
}

.sub-header-brand-mini {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--cocoa-dark);
}

/* ==========================================================================
   4. FULL-SCREEN RESPONSIVE MODALS & PINNED COMMAND / PAYMENT BUTTONS
   ========================================================================== */
.modal-backdrop {
  padding: 10px !important;
  overflow: hidden !important;
}

/* --- A. Product Studio Detail Pop-Up Modal --- */
.studio-modal-window {
  width: min(1240px, 98vw) !important;
  max-width: 98vw !important;
  height: min(94dvh, 860px) !important;
  max-height: 94dvh !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

.studio-modal-topbar {
  flex-shrink: 0 !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background: linear-gradient(90deg, var(--cocoa-dark), var(--cocoa-primary));
  border-bottom: 2px solid var(--gold-metallic);
}

.studio-mode-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mode-switch-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #FAF0E4;
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mode-switch-btn.active {
  background: var(--gold-metallic);
  color: var(--cocoa-dark);
  border-color: #FFF;
}

.modal-close-btn {
  position: static !important;
  width: auto !important;
  height: 36px !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.14) !important;
  color: #FFF !important;
  border: 1.5px solid rgba(255, 255, 255, 0.35) !important;
  font-size: 0.84rem !important;
  font-weight: 800 !important;
  cursor: pointer;
  flex-shrink: 0;
}

.modal-close-btn:hover {
  background: var(--berry-bright) !important;
  border-color: var(--berry-bright) !important;
}

.studio-modal-body-grid {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  display: grid !important;
  grid-template-columns: 1.15fr 0.95fr !important;
  overflow: hidden !important;
}

.studio-left-column {
  min-height: 0 !important;
  height: 100% !important;
  padding: 14px !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  background: radial-gradient(circle at center, #3A2218 0%, #1F110B 100%);
}

.visual-stage-container {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.visual-stage-container.hidden {
  display: none !important;
}

.zoom-viewport,
.threed-viewport {
  flex: 1 1 auto !important;
  min-height: 240px !important;
  position: relative !important;
  background: radial-gradient(circle at center, #FFFDF9 0%, #F3E5D5 100%) !important;
  border: 2px solid rgba(212, 175, 55, 0.55) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px !important;
}

.threed-viewport {
  background: radial-gradient(circle at center, #3E2418 0%, #1D0F0A 100%) !important;
}

#bakery3DCanvas {
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}

/* Non-overlapping toolbars below the image/3D stage */
.zoom-toolbar,
.threed-toolbar {
  position: static !important;
  transform: none !important;
  flex-shrink: 0 !important;
  width: 100% !important;
  background: rgba(25, 13, 8, 0.92) !important;
  border: 1px solid rgba(212, 175, 55, 0.45) !important;
  border-radius: 14px !important;
  padding: 8px 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

.studio-right-column {
  min-height: 0 !important;
  height: 100% !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  background: var(--bg-card);
}

.studio-details-scroll {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  padding: 18px 22px !important;
}

.studio-command-footer {
  flex-shrink: 0 !important;
  background: #FFFDF9 !important;
  border-top: 2px solid var(--caramel-gold) !important;
  padding: 12px 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  box-shadow: 0 -8px 22px rgba(62, 35, 24, 0.08) !important;
  z-index: 15 !important;
}

.studio-cta-buttons {
  flex: 1 1 auto !important;
  display: grid !important;
  grid-template-columns: 1fr 1.25fr !important;
  gap: 10px !important;
}

.btn-studio-cart,
.btn-studio-buy {
  padding: 12px 14px !important;
  border-radius: 12px !important;
  font-weight: 800 !important;
  font-size: 0.9rem !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  white-space: nowrap !important;
}

/* --- B. Payment Gateway Modal (8883264666) --- */
.pg-modal-window {
  width: min(1140px, 98vw) !important;
  max-width: 98vw !important;
  height: min(94dvh, 840px) !important;
  max-height: 94dvh !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

.pg-header {
  flex-shrink: 0 !important;
  padding: 12px 20px !important;
  background: linear-gradient(135deg, var(--cocoa-dark), var(--cocoa-primary));
  color: #FFF;
  border-bottom: 2px solid var(--gold-metallic);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pg-merchant-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pg-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--gold-metallic);
  object-fit: contain;
  background: #FFF;
}

.pg-verified-badge {
  display: inline-block;
  background: rgba(212, 175, 55, 0.22);
  border: 1px solid var(--gold-metallic);
  color: #FFE8A3;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 9px;
  border-radius: 999px;
}

.pg-header h3 {
  color: #FFF;
  font-size: 1.15rem;
  margin: 2px 0;
}

.pg-header p {
  font-size: 0.8rem;
  color: #FFE8A3;
}

.pg-close-btn {
  background: rgba(255, 255, 255, 0.14);
  color: #FFF;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.82rem;
  cursor: pointer;
  flex-shrink: 0;
}

.pg-body-grid {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  display: grid !important;
  grid-template-columns: 1fr 1.05fr !important;
  gap: 18px !important;
  padding: 16px 20px !important;
}

.pg-body-grid.hidden,
.pg-command-footer.hidden,
.pg-receipt-screen.hidden {
  display: none !important;
}

.pg-command-footer {
  flex-shrink: 0 !important;
  background: #FFFDF9 !important;
  border-top: 2px solid var(--caramel-gold) !important;
  padding: 12px 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  box-shadow: 0 -8px 24px rgba(62, 35, 24, 0.1) !important;
  z-index: 20 !important;
}

.pg-footer-total-block {
  display: flex;
  flex-direction: column;
}

.pg-footer-total-block span {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cocoa-mid);
}

.pg-footer-total-block strong {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--berry-primary);
  line-height: 1.1;
}

.pg-footer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-upi-app-link {
  background: var(--bg-cream);
  color: var(--cocoa-dark);
  border: 2px solid var(--caramel-gold);
  padding: 11px 16px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.86rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-pg-submit {
  background: linear-gradient(135deg, #1E7E34 0%, #145A23 100%);
  color: #FFF;
  border: 2px solid #A3E635;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.94rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(20, 90, 35, 0.25);
  transition: all 0.2s ease;
}

.btn-pg-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(20, 90, 35, 0.35);
}

.pg-receipt-screen {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 20px;
}

/* ==========================================================================
   5. FULL-SITE ADMIN PANEL MODAL (#adminPanelModal)
   ========================================================================== */
.admin-modal-window {
  background: var(--bg-card);
  width: min(1280px, 98vw);
  height: min(94dvh, 880px);
  max-height: 94dvh;
  border-radius: 22px;
  border: 2.5px solid var(--gold-metallic);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.admin-topbar {
  flex-shrink: 0;
  background: linear-gradient(135deg, #24130C 0%, #3E2318 100%);
  color: #FFF;
  padding: 12px 20px;
  border-bottom: 2px solid var(--gold-metallic);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-badge {
  background: var(--gold-metallic);
  color: var(--cocoa-dark);
  font-weight: 900;
  font-size: 0.74rem;
  padding: 4px 10px;
  border-radius: 999px;
}

.admin-title-wrap h3 {
  color: #FFF;
  font-size: 1.15rem;
}

.admin-title-wrap p {
  color: #FFE8A3;
  font-size: 0.78rem;
}

.admin-top-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.btn-admin-action,
.btn-admin-danger {
  background: rgba(255, 255, 255, 0.12);
  color: #FFF;
  border: 1px solid rgba(212, 175, 55, 0.55);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.btn-admin-danger {
  background: rgba(217, 79, 102, 0.24);
  border-color: #F4A7B9;
}

.admin-tabs-bar {
  flex-shrink: 0;
  background: #FAF0E4;
  border-bottom: 1.5px solid var(--border-warm);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
}

.admin-tab-btn {
  background: #FFFDF9;
  color: var(--cocoa-dark);
  border: 1.5px solid var(--border-warm);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.admin-tab-btn.active {
  background: var(--cocoa-primary);
  color: #FFE8A3;
  border-color: var(--gold-metallic);
}

.admin-body-workspace {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 18px 20px;
  background: #FDF8F2;
}

.admin-toolbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  background: #FFFDF9;
  border: 1px solid var(--border-warm);
  padding: 12px 16px;
  border-radius: 14px;
}

.admin-search-input {
  padding: 9px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--border-warm);
  min-width: 260px;
  font-size: 0.86rem;
}

.btn-admin-add {
  background: linear-gradient(135deg, var(--berry-primary), var(--berry-dark));
  color: #FFF;
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.86rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.admin-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
}

.admin-item-card {
  background: #FFFDF9;
  border: 1.5px solid var(--border-warm);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(62, 35, 24, 0.05);
}

.admin-item-top {
  display: flex;
  gap: 12px;
  align-items: center;
}

.admin-item-thumb {
  width: 76px;
  height: 76px;
  border-radius: 10px;
  border: 1px solid var(--border-warm);
  background: #FAF0E4;
  object-fit: contain !important;
  padding: 3px;
  flex-shrink: 0;
}

.admin-item-info {
  flex: 1;
  min-width: 0;
}

.admin-item-info h4 {
  font-size: 0.96rem;
  margin-bottom: 3px;
  color: var(--cocoa-dark);
}

.admin-item-info p {
  font-size: 0.78rem;
  color: var(--cocoa-mid);
  line-height: 1.35;
}

.admin-item-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.btn-admin-edit,
.btn-admin-del {
  flex: 1;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  border: 1px solid var(--border-warm);
}

.btn-admin-edit {
  background: #FAF0E4;
  color: var(--cocoa-dark);
}

.btn-admin-del {
  background: #FDE8EC;
  color: #B91C1C;
  border-color: #F4A7B9;
}

.admin-editor-box {
  background: #FFFDF9;
  border: 2px solid var(--caramel-gold);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 18px;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}

.admin-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-field.full {
  grid-column: 1 / -1;
}

.admin-field label {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--cocoa-mid);
}

.admin-field input,
.admin-field select,
.admin-field textarea {
  padding: 9px 12px;
  border-radius: 9px;
  border: 1.5px solid var(--border-warm);
  background: #FFF;
  font-size: 0.85rem;
  color: var(--cocoa-dark);
}

.admin-img-upload-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-img-preview {
  width: 68px;
  height: 68px;
  border-radius: 10px;
  border: 1.5px solid var(--caramel-gold);
  object-fit: contain !important;
  background: #FAF0E4;
  padding: 3px;
}

.btn-upload-file {
  background: var(--cocoa-primary);
  color: #FFE8A3;
  border: 1px solid var(--gold-metallic);
  padding: 8px 13px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.admin-command-footer {
  flex-shrink: 0;
  background: #FFFDF9;
  border-top: 2px solid var(--caramel-gold);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-status-msg {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cocoa-mid);
}

.admin-footer-btns {
  display: flex;
  gap: 10px;
}

.btn-admin-save {
  background: linear-gradient(135deg, #1E7E34, #145A23);
  color: #FFF;
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.86rem;
  cursor: pointer;
}

.btn-admin-close {
  background: var(--cocoa-primary);
  color: #FFE8A3;
  border: 1.5px solid var(--gold-metallic);
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.86rem;
  cursor: pointer;
}

/* ==========================================================================
   6. MOBILE STICKY COMMAND BAR & RESPONSIVE FULL-SCREEN BREAKPOINTS
   ========================================================================== */
.mobile-sticky-command-bar {
  display: none;
}

/* Make Zoom / 3D buttons on product cards always visible at bottom corner so touch screens never hide them */
@media (max-width: 1024px) {
  .product-media-overlay {
    opacity: 1 !important;
    background: linear-gradient(180deg, transparent 55%, rgba(34, 17, 10, 0.72) 100%) !important;
    align-items: flex-end !important;
    padding: 8px !important;
  }
}

@media (max-width: 960px) {
  body {
    padding-bottom: 66px;
  }

  .navbar-container {
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 14px;
  }

  .main-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 4px;
    gap: 6px;
  }

  .nav-link {
    white-space: nowrap;
    font-size: 0.8rem;
    padding: 6px 10px;
  }

  .royal-oneline-identity {
    gap: 10px;
    padding: 5px 16px 5px 6px;
  }

  .royal-logo-emblem {
    width: 54px;
    height: 54px;
  }

  .royal-oneline-heading {
    gap: 8px;
  }

  .royal-brand-title {
    font-size: clamp(1.15rem, 4.1vw, 1.85rem);
  }

  .royal-brand-tagline {
    font-size: clamp(1.08rem, 3.8vw, 1.75rem);
  }

  .tour-3d-perspective-arena {
    grid-template-columns: 1fr;
  }

  .tour-3d-wing {
    display: none;
  }

  .auto-tour-main-viewport {
    height: clamp(300px, 58dvh, 520px);
  }

  .auto-tour-thumbs-rail {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    justify-content: flex-start;
    gap: 8px;
    padding-bottom: 4px;
  }

  .auto-tour-thumb-btn {
    min-width: 66px;
    width: 66px;
    height: 52px;
    flex-shrink: 0;
  }

  /* Studio Modal on Tablet & Mobile: Stack cleanly with pinned bottom command bar */
  .studio-modal-window,
  .pg-modal-window,
  .admin-modal-window {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 96dvh !important;
    max-height: 96dvh !important;
    border-radius: 16px !important;
  }

  .studio-modal-body-grid {
    display: flex !important;
    flex-direction: column !important;
    overflow-y: auto !important;
  }

  .studio-left-column {
    height: auto !important;
    min-height: 290px !important;
    flex-shrink: 0 !important;
  }

  .zoom-viewport,
  .threed-viewport {
    min-height: 220px !important;
    max-height: 300px !important;
  }

  .studio-right-column {
    height: auto !important;
    overflow: visible !important;
    flex: 1 0 auto !important;
  }

  .studio-details-scroll {
    overflow: visible !important;
    padding: 14px 16px !important;
  }

  .studio-command-footer {
    position: sticky !important;
    bottom: 0 !important;
    flex-wrap: wrap !important;
  }

  .pg-body-grid {
    grid-template-columns: 1fr !important;
    padding: 14px !important;
  }

  /* Mobile Sticky Bottom Quick Command Bar */
  .mobile-sticky-command-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 950;
    background: linear-gradient(90deg, #24130C, #3A1F14);
    border-top: 2px solid var(--gold-metallic);
    padding: 8px 10px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
  }

  .m-cmd-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFDF9;
    border: 1px solid rgba(212, 175, 55, 0.45);
    padding: 8px 4px;
    border-radius: 10px;
    font-size: 0.74rem;
    font-weight: 800;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .m-cmd-pay {
    background: var(--gold-metallic);
    color: var(--cocoa-dark);
    border-color: #FFF;
  }
}

@media (max-width: 600px) {
  .nav-actions .btn-quick-pay span:last-child {
    font-size: 0.76rem;
  }

  .studio-command-footer {
    padding: 10px 12px !important;
    gap: 8px !important;
  }

  .studio-cta-buttons {
    width: 100% !important;
    grid-template-columns: 1fr 1fr !important;
  }

  .pg-command-footer {
    padding: 10px 12px !important;
  }

  .pg-footer-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.35fr;
  }

  .btn-upi-app-link,
  .btn-pg-submit {
    justify-content: center;
    text-align: center;
    font-size: 0.8rem;
    padding: 10px 8px;
  }
}
