/* ============================================================
   ORINS - DESIGN SYSTEM
   ============================================================ */

/* ===== ROOT VARIABLES ===== */
:root {
  /* Primary Colors - Dari Logo (dominan pink, aksen putih & ungu) */
  --plum: #4e2172;
  --plum-dark: #33124d;
  --plum-light: #7a2e9e;
  --magenta: #ff2e93;
  --magenta-dark: #c40d6b;
  --mustard: #ffc94d;
  --chili: #ff5c8a;

  /* Neutral Colors */
  --cream: #fff5fa;
  --cream-2: #ffe0ef;
  --cream-dark: #ffd1e8;
  --ink: #2b1834;
  --ink-soft: #6e5d79;
  --ink-light: #a894b0;
  --line: #fbd6e8;
  --white: #ffffff;
  --black: #000000;

  /* Status Colors */
  --success: #2ecc71;
  --warning: #f39c12;
  --danger: #e74c3c;
  --info: #3498db;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(78, 33, 114, 0.1);
  --shadow-md: 0 4px 16px rgba(78, 33, 114, 0.15);
  --shadow-lg: 0 8px 32px rgba(78, 33, 114, 0.2);
  --shadow-xl: 0 12px 48px rgba(78, 33, 114, 0.25);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s ease;

  /* Fonts */
  --font-display: "Fredoka", sans-serif;
  --font-body: "Inter", sans-serif;
}

/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  position: relative;
  font-family: var(--font-body);
  background-color: var(--cream);
  background-image:
    radial-gradient(
      circle at 22px 22px,
      rgba(255, 46, 147, 0.07) 3px,
      transparent 3.2px
    ),
    radial-gradient(
      circle at 62px 62px,
      rgba(78, 33, 114, 0.06) 2.4px,
      transparent 2.6px
    );
  background-size: 84px 84px;
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Soft ambient color blobs behind the whole page — adds depth to the
   plain white/pink sections without competing with the content. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      620px circle at 92% -4%,
      rgba(255, 46, 147, 0.12),
      transparent 60%
    ),
    radial-gradient(
      520px circle at -8% 36%,
      rgba(78, 33, 114, 0.09),
      transparent 60%
    ),
    radial-gradient(
      460px circle at 104% 78%,
      rgba(255, 46, 147, 0.08),
      transparent 60%
    );
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6,
.font-display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}
h3 {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
}
h4 {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
}

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

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--cream-2);
}

::-webkit-scrollbar-thumb {
  background: var(--plum-light);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--plum);
}

/* ===== UTILITY ===== */
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-3xl) 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  gap: var(--space-md);
}

.section-head h2 {
  margin: 0 0 var(--space-xs);
  color: var(--plum-dark);
}

.section-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.see-all {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--magenta);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  white-space: nowrap;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.96);
}

.btn-primary {
  background: var(--magenta);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--magenta-dark);
  box-shadow: 0 8px 24px rgba(232, 23, 125, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--plum);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

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

.btn-ghost {
  background: var(--cream-2);
  color: var(--plum-dark);
}

.btn-ghost:hover {
  background: #ffc3e0;
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--plum);
  color: var(--plum);
  background: transparent;
}

.btn-outline:hover {
  background: var(--plum);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.75rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* ===== HEADER ===== */
header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.95);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: var(--space-md);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.brand img {
  height: 42px;
  width: auto;
  border-radius: var(--radius-sm);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text b {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--plum-dark);
}

.brand-text span {
  font-size: 0.6rem;
  color: var(--magenta);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.main-nav {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}

.main-nav a {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink-soft);
  transition: color var(--transition-fast);
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--magenta);
  transition: width var(--transition-base);
}

.main-nav a:hover {
  color: var(--magenta);
}

.main-nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-2);
  color: var(--plum-dark);
  transition: all var(--transition-fast);
}

.icon-btn:hover {
  background: #ffc3e0;
  transform: translateY(-2px);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

.badge-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--chili);
  border: 2px solid var(--white);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.3);
  }
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--magenta);
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--space-xs);
}

.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--cream-2);
  align-items: center;
  justify-content: center;
}

.hamburger svg {
  width: 20px;
  height: 20px;
  color: var(--plum-dark);
}

/* ===== MOBILE DRAWER ===== */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: none;
}

.drawer.open {
  display: block;
}

.drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(43, 24, 52, 0.45);
  backdrop-filter: blur(4px);
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 78%;
  max-width: 320px;
  background: var(--white);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  animation: slideIn 0.25s ease;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

.drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-icon {
  flex-shrink: 0;
  color: var(--magenta);
}

.drawer-panel a {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 13px 6px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: color var(--transition-fast);
}

.drawer-panel a:hover {
  color: var(--magenta);
}

.drawer-close {
  align-self: flex-end;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cream-2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  font-size: 1.2rem;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--plum-dark);
}

.hero-slides {
  position: relative;
  height: clamp(320px, 52vw, 560px);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) brightness(0.8);
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero-slide.active .bg {
  transform: scale(1);
}

.hero-slide .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(51, 18, 77, 0.92) 15%,
    rgba(51, 18, 77, 0.55) 55%,
    rgba(51, 18, 77, 0.15) 85%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 0 var(--space-lg);
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
}

.hero-content .inner {
  max-width: 520px;
  animation: fadeUp 0.8s ease 0.3s both;
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(255, 255, 255, 0.14);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-content h1 {
  margin: 0 0 var(--space-md);
  line-height: 1.08;
}

.hero-content p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 var(--space-lg);
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.hero-nav-dots {
  position: absolute;
  bottom: var(--space-lg);
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
}

.hero-nav-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: all var(--transition-base);
}

.hero-nav-dots button.active {
  width: 26px;
  background: var(--mustard);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(4px);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all var(--transition-base);
  font-size: 1.4rem;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.32);
}

.hero-arrow.left {
  left: var(--space-lg);
}

.hero-arrow.right {
  right: var(--space-lg);
}

/* ===== PROMO CARDS ===== */
.promo-scroll-wrap {
  position: relative;
}

.promo-track {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: var(--space-xs) var(--space-xs) var(--space-md);
  -webkit-overflow-scrolling: touch;
}

.promo-track::-webkit-scrollbar {
  display: none;
}

.promo-card {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: 280px;
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  position: relative;
  overflow: hidden;
  color: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base);
}

.promo-card:hover {
  transform: translateY(-4px) scale(1.02);
}

.promo-card.p1 {
  background: linear-gradient(135deg, #ff2e93, #c40d6b);
}
.promo-card.p2 {
  background: linear-gradient(135deg, #4e2172, #33124d);
}
.promo-card.p3 {
  background: linear-gradient(135deg, #ff6fb8, #7a2e9e);
}
.promo-card.p4 {
  background: linear-gradient(135deg, #c40d6b, #4e2172);
}

.promo-card .ring {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 14px solid rgba(255, 255, 255, 0.1);
  right: -40px;
  top: -40px;
}

.promo-tag {
  font-size: 0.65rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.2);
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.promo-card h4 {
  margin: 0 0 var(--space-xs);
  font-size: 1.1rem;
}

.promo-card p {
  margin: 0 0 var(--space-md);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
}

.promo-code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.14);
  border: 1.4px dashed rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-sm);
  padding: var(--space-sm) var(--space-md);
}

.promo-code-row span {
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 0.85rem;
}

.promo-copy-btn {
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--white);
  color: var(--ink);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.promo-copy-btn:active {
  transform: scale(0.92);
}

.carousel-arrows {
  display: flex;
  gap: var(--space-sm);
}

.carousel-arrows button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--plum-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  font-size: 1.1rem;
}

.carousel-arrows button:hover {
  background: #ffc3e0;
}

/* ===== MENU GRID ===== */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.menu-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all var(--transition-base);
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.menu-thumb {
  position: relative;
  aspect-ratio: 1/0.82;
  background-size: cover;
  background-position: center;
  background-color: var(--cream-2);
}

.fav-badge {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  background: var(--chili);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.menu-body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  flex: 1;
}

.menu-body h4 {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink);
}

.menu-body .desc {
  font-size: 0.75rem;
  color: var(--ink-soft);
  line-height: 1.4;
  min-height: 32px;
}

.menu-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.price {
  font-weight: 800;
  color: var(--plum-dark);
  font-size: 0.95rem;
}

.menu-actions {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.icon-add {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--cream-2);
  color: var(--plum-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.icon-add:hover {
  background: #ffc3e0;
  transform: scale(1.05);
}

/* ===== CATEGORIES ===== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.cat-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 180px;
  color: var(--white);
  display: flex;
  align-items: flex-end;
  padding: var(--space-lg);
  background-size: cover;
  background-position: center;
  transition: all var(--transition-base);
  cursor: pointer;
}

.cat-card:hover {
  transform: translateY(-4px) scale(1.02);
}

.cat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(43, 24, 52, 0.78),
    rgba(43, 24, 52, 0.05)
  );
}

.cat-card .lbl {
  position: relative;
  z-index: 1;
}

.cat-card .lbl b {
  font-family: var(--font-display);
  font-size: 1.2rem;
  display: block;
}

.cat-card .lbl span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

.see-all-menu {
  text-align: center;
  margin-top: var(--space-lg);
}

/* ===== ADS BLOCK ===== */
.ads-block {
  background: linear-gradient(
    120deg,
    #33124d 0%,
    #4e2172 45%,
    #c40d6b 85%,
    #ff2e93 100%
  );
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.ads-block::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 46, 147, 0.35),
    transparent 70%
  );
  right: -60px;
  top: -80px;
}

.ads-coin {
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6fb8, #7a2e9e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: #ffffff;
  font-size: 0.7rem;
  box-shadow: 0 8px 18px -6px rgba(0, 0, 0, 0.5);
}

.ads-coin.c1 {
  right: 70px;
  bottom: -18px;
  transform: rotate(-8deg);
}

.ads-coin.c2 {
  right: 150px;
  top: 20px;
  transform: rotate(10deg);
  opacity: 0.85;
  width: 44px;
  height: 44px;
  font-size: 0.55rem;
}

.ads-text {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.ads-text .ptag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(255, 201, 77, 0.22);
  color: var(--mustard);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.ads-text h3 {
  margin: 0 0 var(--space-sm);
  line-height: 1.2;
}

.ads-text p {
  margin: 0 0 var(--space-lg);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== HISTORY & REVIEWS ===== */
.hist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.hist-img-wrap {
  position: relative;
}

.hist-img {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 4/3.1;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.hist-badge {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.hist-badge b {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--magenta);
  display: block;
  line-height: 1;
}

.hist-badge span {
  font-size: 0.7rem;
  color: var(--ink-soft);
}

.hist-text h2 {
  margin: 0 0 var(--space-md);
  color: var(--plum-dark);
}

.hist-text p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.75;
  margin: 0 0 var(--space-md);
}

.reviews-strip {
  margin-top: var(--space-2xl);
}

.review-track {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  padding: var(--space-xs) var(--space-xs) var(--space-sm);
  -webkit-overflow-scrolling: touch;
}

.review-card {
  flex: 0 0 auto;
  width: 300px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

.review-card .stars {
  color: var(--mustard);
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-sm);
}

.star-ico {
  flex-shrink: 0;
}

.star-ico.empty {
  color: var(--line);
}

.review-card p {
  font-size: 0.85rem;
  color: var(--ink);
  line-height: 1.6;
  margin: 0 0 var(--space-md);
}

.reviewer {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.reviewer .av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cream-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--plum-dark);
  font-size: 0.8rem;
}

.reviewer b {
  font-size: 0.8rem;
  display: block;
}

.reviewer span {
  font-size: 0.7rem;
  color: var(--ink-soft);
}

/* ===== OUTLETS ===== */
.outlet-nearest {
  background: linear-gradient(135deg, #fff0f8, #ffe0ef);
  border: 1px solid #ffc3e0;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  gap: var(--space-lg);
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}

.outlet-nearest .locicon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: var(--chili);
  color: var(--white);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.outlet-nearest .info {
  flex: 1;
  min-width: 220px;
}

.outlet-nearest .info small {
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.outlet-nearest .info h4 {
  margin: var(--space-xs) 0;
  font-size: 1.05rem;
  color: var(--plum-dark);
}

.outlet-nearest .info p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.maps-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: var(--magenta);
  font-weight: 600;
  text-decoration: underline;
}

.outlet-status {
  font-size: 0.7rem;
  font-weight: 700;
  color: #1f8a54;
  background: #e3f5ea;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-sm);
}

.outlet-status .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1f8a54;
  animation: pulse-dot 2s infinite;
}

.outlet-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  max-height: 420px;
  overflow-y: auto;
  padding-right: var(--space-sm);
}

.outlet-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  display: flex;
  gap: var(--space-sm);
  transition: all var(--transition-base);
}

.outlet-item:hover {
  box-shadow: var(--shadow-md);
}

.outlet-item .num {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--cream-2);
  color: var(--plum-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.outlet-item h5 {
  margin: 0 0 var(--space-xs);
  font-size: 0.85rem;
  color: var(--ink);
}

.outlet-item p {
  margin: 0;
  font-size: 0.75rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.outlet-item .dist {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--magenta);
  margin-top: var(--space-xs);
  display: block;
}

/* ===== FOOTER ===== */
footer {
  background: var(--plum-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: var(--space-2xl) 0 var(--space-lg);
  margin-top: var(--space-lg);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: var(--space-xl);
}

.foot-brand {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
  margin-bottom: var(--space-sm);
}

.foot-brand img {
  height: 40px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 4px;
}

.foot-brand b {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.05rem;
}

footer h5 {
  color: var(--white);
  font-size: 0.85rem;
  margin: 0 0 var(--space-md);
  font-weight: 700;
}

footer p,
footer a {
  font-size: 0.8rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.72);
}

footer a:hover {
  color: var(--mustard);
}

.inline-ico {
  vertical-align: -2px;
  margin-right: 2px;
}

.foot-social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.foot-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  font-size: 1rem;
}

.foot-social a:hover {
  background: var(--magenta);
  transform: translateY(-2px);
}

.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  text-align: center;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ===== MODALS ===== */
.overlay-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

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

.overlay-bg {
  position: absolute;
  inset: 0;
  background: rgba(43, 24, 52, 0.55);
  backdrop-filter: blur(4px);
}

.modal-box {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 440px;
  padding: var(--space-xl);
  max-height: 88vh;
  overflow-y: auto;
  animation: popIn 0.25s ease;
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cream-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--plum-dark);
  font-size: 1.1rem;
}

.modal-box h3 {
  margin: 0 0 var(--space-xs);
  font-size: 1.2rem;
  color: var(--plum-dark);
}

.modal-box .sub {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin: 0 0 var(--space-lg);
}

.field {
  margin-bottom: var(--space-md);
}

.field label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink);
  display: block;
  margin-bottom: var(--space-xs);
}

.field input,
.field textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1.4px solid var(--line);
  font-size: 0.875rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition-fast);
  background: #fff8fb;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--magenta);
  background: var(--white);
}

.divider-or {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin: var(--space-md) 0;
  color: var(--ink-soft);
  font-size: 0.75rem;
}

.divider-or::before,
.divider-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  border: 1.4px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 11px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink);
  width: 100%;
  transition: all var(--transition-fast);
}

.google-btn:hover {
  background: var(--cream-2);
}

.switch-auth {
  text-align: center;
  margin-top: var(--space-md);
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.switch-auth b {
  color: var(--magenta);
  cursor: pointer;
}

/* ===== CART MODAL ===== */
.cart-item {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--line);
}

.cart-item img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

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

.cart-item h5 {
  margin: 0 0 var(--space-xs);
  font-size: 0.85rem;
}

.cart-item .topping-txt {
  font-size: 0.7rem;
  color: var(--ink-soft);
  margin: 0 0 var(--space-xs);
}

.qty-row {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.qty-btn {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-sm);
  background: var(--cream-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--plum-dark);
}

.promo-input-row {
  display: flex;
  gap: var(--space-sm);
  margin: var(--space-md) 0;
}

.promo-input-row input {
  flex: 1;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: var(--space-xs);
  color: var(--ink-soft);
}

.cart-summary-row.total {
  font-weight: 800;
  color: var(--ink);
  font-size: 1rem;
  border-top: 1px solid var(--line);
  padding-top: var(--space-sm);
  margin-top: var(--space-xs);
}

.empty-cart {
  text-align: center;
  padding: var(--space-xl) var(--space-sm);
  color: var(--ink-soft);
}

/* ===== TOPPING MODAL ===== */
.topping-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
}

.topping-row .t-name {
  font-weight: 600;
}

.topping-row .t-price {
  font-size: 0.75rem;
  color: var(--ink-soft);
}

.checkbox-round {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.checkbox-round.checked {
  background: var(--magenta);
  border-color: var(--magenta);
  color: var(--white);
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-xl);
  z-index: 800;
  opacity: 0;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== NOTIFICATION ITEMS ===== */
.notif-item {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--line);
}

.notif-item .n-ico {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
}

.notif-item h5 {
  margin: 0 0 var(--space-xs);
  font-size: 0.8rem;
}

.notif-item p {
  margin: 0;
  font-size: 0.75rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

.notif-item span.time {
  font-size: 0.65rem;
  color: #b6a9be;
}

/* Responsive breakpoints for these components now live in responsive.css,
   which is loaded after this file and is the single source of truth for
   media queries — avoids the two files fighting each other on mobile. */

/* ===== OUTLET ITEM ANIMATION ===== */
.outlet-item {
  transition: all 0.3s ease;
}

.outlet-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(78, 33, 114, 0.15);
  border-color: #4e2172;
}

/* ===== CITY FILTER BUTTON ===== */
.city-filter-btn {
  transition: all 0.2s ease;
}

.city-filter-btn:hover {
  transform: scale(1.05);
}

.city-filter-btn.active {
  background: var(--magenta);
  color: #fff;
  border-color: var(--magenta);
}

/* ===== NEAREST BOX ANIMATION ===== */
#nearestBox {
  transition: all 0.3s ease;
}

#nearestBox:hover {
  box-shadow: 0 4px 20px rgba(78, 33, 114, 0.12);
}

/* ===== PULSE DOT ANIMATION ===== */
@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.3);
  }
}
