@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --lavender-deep: #6B5B95;
  --lavender-mid: #9B8DC4;
  --lavender-light: #C9BEE0;
  --lavender-pale: #EDE9F5;
  --lavender-blush: #F7F4FC;
  --cream: #FBF9F6;
  --petal-pink: #E8D5E3;
  --gold-accent: #C4A882;
  --dark: #2A2335;
  --text-body: #4A4258;
  --text-muted: #9B8FAA;
  --white: #FFFFFF;
  --shadow-soft: 0 8px 32px rgba(107, 91, 149, 0.12);
  --shadow-card: 0 4px 24px rgba(107, 91, 149, 0.10);
  --shadow-float: 0 16px 48px rgba(107, 91, 149, 0.20);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-full: 9999px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--lavender-blush);
  color: var(--text-body);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── SPLASH SCREEN ── */
#splash {
  position: fixed;
  inset: 0;
  background: linear-gradient(145deg, var(--lavender-deep) 0%, #8B6DB5 50%, var(--lavender-mid) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#splash.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-petals {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.petal {
  position: absolute;
  width: 8px;
  height: 12px;
  background: rgba(255,255,255,0.15);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  animation: float-petal linear infinite;
}

@keyframes float-petal {
  0% { transform: translateY(110vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}

.splash-logo {
  text-align: center;
  animation: splash-rise 1s ease forwards;
}

@keyframes splash-rise {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.splash-icon {
  font-size: 64px;
  display: block;
  margin-bottom: 16px;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.2));
}

.splash-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  font-weight: 300;
  color: var(--white);
  letter-spacing: 2px;
  line-height: 1.1;
}

.splash-subtitle {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-top: 8px;
}

.splash-loader {
  margin-top: 48px;
  width: 48px;
  height: 2px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  overflow: hidden;
}

.splash-loader-bar {
  height: 100%;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  animation: loader-fill 2s ease forwards;
}

@keyframes loader-fill {
  from { width: 0%; }
  to { width: 100%; }
}

/* ── HEADER ── */
.site-header {
  background: linear-gradient(160deg, var(--lavender-deep) 0%, #7A65AA 100%);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 24px rgba(107, 91, 149, 0.25);
}

.header-inner {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-logo-icon {
  font-size: 28px;
}

.header-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.5px;
}

.header-table-badge {
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  backdrop-filter: blur(8px);
}

.header-wave {
  height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 24'%3E%3Cpath d='M0,12 C300,24 900,0 1200,12 L1200,24 L0,24 Z' fill='%23F7F4FC'/%3E%3C/svg%3E") center/cover no-repeat;
}

/* ── CART BAR ── */
.cart-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--dark);
  color: var(--white);
  padding: 14px 24px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-float);
  z-index: 200;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  min-width: 260px;
  cursor: pointer;
  white-space: nowrap;
}

.cart-bar.visible {
  transform: translateX(-50%) translateY(0);
}

.cart-bar-icon {
  font-size: 20px;
  position: relative;
}

.cart-count-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--lavender-mid);
  color: white;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-bar-label {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
}

.cart-bar-total {
  font-size: 15px;
  font-weight: 600;
  color: var(--lavender-light);
}

.cart-bar-arrow {
  font-size: 16px;
  opacity: 0.7;
}

/* ── MAIN CONTENT ── */
.main-content {
  padding: 8px 0 120px;
}

/* ── WELCOME STRIP ── */
.welcome-strip {
  margin: 16px 16px 24px;
  background: linear-gradient(135deg, var(--white) 0%, var(--lavender-pale) 100%);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(155, 141, 196, 0.15);
  animation: slide-up 0.5s ease forwards;
}

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

.welcome-flower {
  font-size: 36px;
  flex-shrink: 0;
  animation: gentle-sway 3s ease-in-out infinite;
}

@keyframes gentle-sway {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(5deg); }
}

.welcome-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.2;
}

.welcome-text p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ── CATEGORY TABS ── */
.category-section {
  margin-bottom: 8px;
}

.category-tabs {
  display: flex;
  gap: 10px;
  padding: 0 16px 16px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.category-tabs::-webkit-scrollbar { display: none; }

.cat-tab {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 18px;
  background: var(--white);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-card);
  min-width: 80px;
}

.cat-tab:hover {
  border-color: var(--lavender-light);
  transform: translateY(-2px);
}

.cat-tab.active {
  background: linear-gradient(135deg, var(--lavender-deep), var(--lavender-mid));
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(107, 91, 149, 0.35);
  transform: translateY(-2px);
}

.cat-tab-icon {
  font-size: 24px;
}

.cat-tab-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

.cat-tab.active .cat-tab-label {
  color: rgba(255,255,255,0.9);
}

/* ── MENU SECTION ── */
.menu-section {
  padding: 0 16px;
}

.section-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--lavender-light), transparent);
}

.items-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ── MENU ITEM CARD ── */
.item-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  align-items: stretch;
  border: 1px solid rgba(155, 141, 196, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: card-appear 0.4s ease forwards;
  opacity: 0;
}

@keyframes card-appear {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.item-card:active {
  transform: scale(0.98);
}

.item-img-wrap {
  width: 110px;
  min-height: 110px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.item-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.item-card:hover .item-img-wrap img {
  transform: scale(1.05);
}

.item-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--lavender-pale), var(--petal-pink));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}

.item-info {
  flex: 1;
  padding: 14px 14px 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.item-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 4px;
}

.item-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 10px;
}

.item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.item-price {
  font-size: 16px;
  font-weight: 600;
  color: var(--lavender-deep);
}

.item-price span {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
}

.add-btn {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--lavender-deep), var(--lavender-mid));
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(107, 91, 149, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  line-height: 1;
  padding-bottom: 1px;
}

.add-btn:active {
  transform: scale(0.9);
}

/* Size selector */
.size-selector {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.size-btn {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--lavender-light);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'DM Sans', sans-serif;
}

.size-btn.selected {
  background: var(--lavender-deep);
  border-color: var(--lavender-deep);
  color: white;
}

/* ── CART OVERLAY ── */
.overlay-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(42, 35, 53, 0.5);
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.overlay-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.cart-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  z-index: 400;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.34, 1.1, 0.64, 1);
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.cart-sheet.open {
  transform: translateY(0);
}

.sheet-handle {
  width: 40px;
  height: 4px;
  background: var(--lavender-light);
  border-radius: 2px;
  margin: 12px auto 0;
  flex-shrink: 0;
}

.sheet-header {
  padding: 16px 20px 12px;
  border-bottom: 1px solid var(--lavender-pale);
  flex-shrink: 0;
}

.sheet-header h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--dark);
}

.sheet-body {
  overflow-y: auto;
  flex: 1;
  padding: 12px 20px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--lavender-pale);
}

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

.cart-item-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
}

.cart-item-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.cart-item-price {
  font-size: 15px;
  font-weight: 600;
  color: var(--lavender-deep);
  white-space: nowrap;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--lavender-light);
  background: white;
  color: var(--lavender-deep);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1;
}

.qty-btn:active { transform: scale(0.9); }

.qty-num {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  min-width: 20px;
  text-align: center;
}

.sheet-footer {
  padding: 16px 20px 28px;
  border-top: 1px solid var(--lavender-pale);
  flex-shrink: 0;
}

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.total-label {
  font-size: 14px;
  color: var(--text-muted);
}

.total-amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--dark);
}

.checkout-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--lavender-deep), var(--lavender-mid));
  color: white;
  border: none;
  border-radius: var(--radius-full);
  font-size: 16px;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(107, 91, 149, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  letter-spacing: 0.3px;
}

.checkout-btn:active {
  transform: scale(0.98);
  box-shadow: 0 4px 16px rgba(107, 91, 149, 0.3);
}

/* ── PAGES (checkout, payment, confirmation) ── */
.page {
  display: none;
  min-height: 100vh;
  animation: page-fade 0.4s ease;
}

.page.active {
  display: block;
}

@keyframes page-fade {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ORDER REVIEW PAGE */
.page-header {
  background: linear-gradient(160deg, var(--lavender-deep), #7A65AA);
  padding: 20px 20px 40px;
  position: relative;
}

.back-btn {
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'DM Sans', sans-serif;
  backdrop-filter: blur(8px);
  margin-bottom: 20px;
}

.page-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 300;
  color: white;
  letter-spacing: 0.5px;
}

.page-header p {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  margin-top: 4px;
}

.page-wave {
  height: 30px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 30'%3E%3Cpath d='M0,15 C300,30 900,0 1200,15 L1200,30 L0,30 Z' fill='%23F7F4FC'/%3E%3C/svg%3E") center/cover no-repeat;
}

.page-body {
  padding: 16px 16px 100px;
  background: var(--lavender-blush);
  min-height: calc(100vh - 140px);
}

.order-items-list {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 16px;
}

.order-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--lavender-pale);
}

.order-item-row:last-child { border-bottom: none; }

.order-item-left { flex: 1; }

.order-item-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
}

.order-item-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.order-item-price {
  font-size: 15px;
  font-weight: 600;
  color: var(--lavender-deep);
}

.order-total-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}

.order-total-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
  color: var(--text-muted);
}

.order-total-row.grand {
  border-top: 1px solid var(--lavender-pale);
  margin-top: 8px;
  padding-top: 14px;
  font-size: 17px;
  font-weight: 600;
  color: var(--dark);
}

/* PAYMENT METHOD */
.payment-method-section h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 14px;
}

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.pay-option {
  background: white;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-card);
}

.pay-option:hover {
  border-color: var(--lavender-light);
}

.pay-option.selected {
  border-color: var(--lavender-deep);
  background: var(--lavender-blush);
}

.pay-option-icon {
  font-size: 28px;
  width: 48px;
  height: 48px;
  background: var(--lavender-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pay-option-info h4 {
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
}

.pay-option-info p {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.pay-option-radio {
  margin-left: auto;
  width: 20px;
  height: 20px;
  border: 2px solid var(--lavender-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.pay-option.selected .pay-option-radio {
  border-color: var(--lavender-deep);
  background: var(--lavender-deep);
}

.pay-option.selected .pay-option-radio::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
}

/* Screenshot upload */
.screenshot-upload-section {
  background: white;
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  display: none;
}

.screenshot-upload-section.visible {
  display: block;
  animation: slide-up 0.3s ease;
}

.payment-number-display {
  background: var(--lavender-pale);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.payment-number-display span {
  font-size: 13px;
  color: var(--text-muted);
}

.payment-number-display strong {
  font-size: 18px;
  font-weight: 600;
  color: var(--lavender-deep);
  letter-spacing: 1px;
}

.upload-label {
  font-size: 13px;
  color: var(--text-body);
  font-weight: 500;
  margin-bottom: 10px;
  display: block;
}

.upload-area {
  border: 2px dashed var(--lavender-light);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--lavender-blush);
}

.upload-area:hover {
  border-color: var(--lavender-mid);
  background: var(--lavender-pale);
}

.upload-icon { font-size: 32px; margin-bottom: 8px; }

.upload-area p {
  font-size: 13px;
  color: var(--text-muted);
}

.upload-area input {
  display: none;
}

.upload-preview {
  width: 100%;
  border-radius: var(--radius-sm);
  margin-top: 12px;
  display: none;
  max-height: 200px;
  object-fit: cover;
}

/* Place order btn */
.place-order-btn {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, var(--lavender-deep), var(--lavender-mid));
  color: white;
  border: none;
  border-radius: var(--radius-full);
  font-size: 17px;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(107, 91, 149, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  letter-spacing: 0.3px;
}

.place-order-btn:active {
  transform: scale(0.98);
}

.place-order-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ── CONFIRMATION PAGE ── */
.confirmation-page {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--lavender-deep) 0%, #8B6DB5 40%, var(--lavender-blush) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
}

.confirm-animation {
  width: 100px;
  height: 100px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 48px;
  animation: pop-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255,255,255,0.3);
}

@keyframes pop-in {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.confirm-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 300;
  color: white;
  margin-bottom: 8px;
  animation: slide-up 0.5s 0.3s ease both;
}

.confirm-subtitle {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
  animation: slide-up 0.5s 0.4s ease both;
}

.status-tracker {
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 24px;
  width: 100%;
  max-width: 320px;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  animation: slide-up 0.5s 0.5s ease both;
}

.status-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
}

.status-step:not(:last-child) {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.status-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.status-dot.done {
  background: rgba(255,255,255,0.25);
}

.status-dot.active {
  background: white;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.4); }
  50% { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
}

.status-dot.pending {
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.2);
}

.status-text {
  text-align: left;
}

.status-text h4 {
  font-size: 14px;
  font-weight: 500;
  color: white;
}

.status-text p {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-top: 2px;
}

.order-ref {
  margin-top: 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  animation: slide-up 0.5s 0.6s ease both;
}

.floating-petals-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.confirmation-page > * {
  position: relative;
  z-index: 1;
}

/* ── EMPTY CART ── */
.empty-cart {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
}

.empty-cart-icon {
  font-size: 48px;
  margin-bottom: 12px;
  opacity: 0.5;
}

/* ── UTILITY ── */
.hidden { display: none !important; }

.ripple {
  position: relative;
  overflow: hidden;
}
