/* =============================================
   PRIME DISH - MAIN STYLESHEET
   Crave it. We chop it. You love it.
============================================= */

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

/* ---- CSS Variables ---- */
:root {
  --primary: #FF6600;
  --primary-dark: #cc5200;
  --primary-light: #ff8533;
  --bg: #0A0A0A;
  --bg-2: #111111;
  --bg-3: #161616;
  --card-bg: #1A1A1A;
  --card-bg-2: #202020;
  --border: #2a2a2a;
  --text: #FFFFFF;
  --text-muted: #888888;
  --text-dim: #555555;
  --success: #22c55e;
  --warning: #eab308;
  --danger: #ef4444;
  --info: #3b82f6;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px #00000066;
  --shadow-orange: 0 4px 24px #ff660040;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

/* ---- Reset & Base ---- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
  width: 6px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

/* =============================================
   UTILITY CLASSES
============================================= */
.section {
  padding: 80px 0;
}

.section-sm {
  padding: 50px 0;
}

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

.section-header .subtitle {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
  display: block;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: 1px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-header h2 span {
  color: var(--primary);
}

.section-header p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 500px;
  margin: 0 auto;
}

.text-primary {
  color: var(--primary) !important;
}

.text-muted {
  color: var(--text) !important;
}

/* =============================================
   BUTTONS
============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn i {
  font-size: 16px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange);
}

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

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 102, 0, 0.12);
  color: var(--primary);
  border: 1.5px solid rgba(255, 102, 0, 0.2);
}

.btn-ghost:hover {
  background: rgba(255, 102, 0, 0.2);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 17px;
  border-radius: var(--radius-lg);
}

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

/* =============================================
   BADGES
============================================= */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}

.badge-primary {
  background: #ff660026;
  color: var(--primary);
}

.badge-success {
  background: #22c55e26;
  color: var(--success);
}

.badge-danger {
  background: #ef444426;
  color: var(--danger);
}

.badge-warning {
  background: #eab30826;
  color: var(--warning);
}

.badge-info {
  background: #3b82f626;
  color: var(--info);
}

.badge-neutral {
  background: #ffffff14;
  color: var(--text-muted);
}

/* =============================================
   FORMS
============================================= */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-control,
select.form-control {
  background: var(--card-bg) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
  border-radius: var(--radius) !important;
  padding: 12px 16px !important;
  font-size: 14px !important;
  transition: all 0.3s ease !important;
  box-shadow: none !important;
}

.form-control:focus,
select.form-control:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(227, 69, 0, 0.15) !important;
  outline: none !important;
  background: var(--card-bg) !important;
  color: var(--text) !important;
}

.form-control::placeholder {
  color: var(--text-muted) !important;
  opacity: 0.7 !important;
}

select.form-control {
  appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23777777' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  padding-right: 36px !important;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Input group icon spacing */
.input-group {
  position: relative;
}

.input-group .form-control {
  padding-left: 44px !important;
}

.input-group .input-icon {
  position: absolute;
  left: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: var(--text-muted) !important;
  font-size: 17px !important;
  z-index: 10;
  display: flex !important;
  align-items: center !important;
}

/* =============================================
   CARDS
============================================= */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
}

.card:hover {
  border-color: rgba(255, 102, 0, 0.3);
}

/* =============================================
   NAVBAR
============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 14px 0;
  background: #0a0a0af2;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.navbar.scrolled,
.navbar.fixed-top.scrolled {
  padding: 10px 0;
  position: fixed;
  top: 0;
}

/* NOTE: navbar-collapse mobile rules live in css/responsive.css */

.navbar.scrolled .navbar-brand,
.navbar.fixed-top.scrolled .navbar-brand {
  color: var(--text);
}

.navbar.scrolled .nav-link,
.navbar.fixed-top.scrolled .nav-link {
  color: var(--text-muted) !important;
}

/* Keep layout to Bootstrap; only theme/typography */
.navbar-brand {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 3px;
  color: var(--text);
}

.navbar-brand:hover {
  color: var(--text) !important;
}

.navbar-brand span {
  color: var(--primary);
}

.nav-item {
  margin-left: 20px;
}

.navbar-nav .nav-link {
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}

.navbar-nav .nav-link:hover {
  color: var(--text);
  background: #ffffff0f;
}

.navbar-nav .nav-link.active {
  color: var(--text);
  background: #ffffff0f;
}

/* =============================================
   NAVBAR DROPDOWN (User Menu)
============================================= */
/* Style the user dropdown toggle like the other navbar action buttons */
.navbar-actions .dropdown>.dropdown-toggle {
  height: 40px;
  min-width: 110px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  background: var(--card-bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text);
  text-decoration: none;
  width: auto;
  /* override .cart-profile width:100% */
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  outline: none;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}

.navbar-actions .dropdown>.dropdown-toggle:hover {
  border-color: var(--primary);
}

/* Hide Bootstrap default caret on the toggle */
.navbar-actions .dropdown>.dropdown-toggle::after {
  display: none;
}

/* Style the dropdown menu panel */
.navbar-actions .dropdown-menu {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  margin-top: 12px;
  box-shadow: var(--shadow);
  min-width: 200px;
}

.dropdown-toggle::after {
  margin-left: 8px;
}

.dropdown button:hover {
  background: #f8f9fa;
  border-radius: 10px;
}

/* Center `.dropdown-menu-start` under its toggle on all viewports */
.dropdown .dropdown-menu.dropdown-menu-end.show {
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  transform-origin: top center !important;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* prime exact: plain cart icon, no box — icon + absolute badge */
.navbar-actions .cart-btn,
.navbar-mobile-right .cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text);
  font-size: 20px;
  width: auto;
  height: auto;
  padding: 4px;
  cursor: pointer;
  transition: color .15s ease;
  text-decoration: none;
}

.navbar-actions .cart-btn:hover,
.navbar-mobile-right .cart-btn:hover {
  color: var(--primary);
  background: none;
  border: none;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 9999px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 4px;
  border: 2px solid #0A0A0A;
}

/* NOTE: Dashboard pill button lives in the USER section (navbar link order). */

/* Bell button hover */
.navbar-actions .topbar-icon-btn.bell:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* =============================================
   FOOTER (site footer — second after navbar,
   before the page-link sections)
============================================= */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}

/* NOTE: footer layout uses Bootstrap grid (.row / .col-*) in base.html */
.footer-brand h2 {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.footer-brand h2 span {
  color: var(--primary);
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.7;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--card-bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 16px;
  transition: var(--transition);
}

.social-link:hover {
  background: #ff66001f;
  border-color: var(--primary);
  color: var(--primary);
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a {
  color: var(--primary);
}

/* =============================================
   HERO SECTION (Home link)
============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 50%, #ff66001f 0%, transparent 70%),
                radial-gradient(ellipse 40% 40% at 10% 80%, #ff66000f 0%, transparent 60%);
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ff66001f;
  border: 1px solid #ff660040;
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 24px;
  animation: fadeInDown 0.6s ease;
}

.hero-badge i {
  font-size: 14px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 88px);
  line-height: 1;
  letter-spacing: 2px;
  margin-bottom: 24px;
  animation: fadeInUp 0.7s ease 0.1s both;
}

.hero-title .line-1 {
  display: block;
  color: var(--text);
}

.hero-title .line-2 {
  display: block;
  color: var(--text);
}

.hero-title .line-3 {
  display: block;
  color: var(--primary);
}

.hero-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 420px;
  margin-bottom: 36px;
  animation: fadeInUp 0.7s ease 0.2s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s ease 0.3s both;
}

.hero-play {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
}

.hero-play:hover {
  color: var(--text);
}

.play-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.hero-play:hover .play-icon {
  border-color: var(--primary);
  background: rgba(255, 102, 0, 0.12);
  color: var(--primary);
}

.play-icon i {
  font-size: 15px;
  color: var(--text);
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s ease 0.4s both;
}

.hero-stat .num {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: 1px;
  color: var(--primary);
  line-height: 1.1;
}

.hero-stat .label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInRight 0.8s ease 0.2s both;
}

.hero-img-wrap {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.hero-img-circle {
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, #ff66002e 0%, #ff66000d 60%, transparent 80%);
  border: 1px solid #ff660026;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
}

.hero-float-card {
  position: absolute;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
  backdrop-filter: blur(10px);
  animation: float 3s ease-in-out infinite;
}

.hero-float-card.card-1 {
  bottom: 40px;
  left: -20px;
  animation-delay: 0s;
}

.hero-float-card.card-2 {
  top: 60px;
  right: -20px;
  animation-delay: 1.5s;
}

.hero-float-card .fc-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 102, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 18px;
}

.hero-float-card .fc-text {
  line-height: 1.3;
}

.hero-float-card .fc-text strong {
  font-size: 14px;
  display: block;
}

.hero-float-card .fc-text span {
  font-size: 12px;
  color: var(--text-muted);
}

/* =============================================
   FEATURES BAR (Home link)
============================================= */
.features-bar {
  background: var(--bg-3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

.features-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
}

.feature-item .fi-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255, 102, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 20px;
  flex-shrink: 0;
}

.feature-item .fi-text h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.feature-item .fi-text p {
  font-size: 12px;
  color: var(--text-muted);
}

/* =============================================
   CATEGORIES (Home link)
============================================= */
.categories {
  background: var(--bg-2);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: var(--transition);
}

.category-card:hover {
  border-color: rgba(255, 102, 0, 0.35);
  transform: translateY(-4px);
}

.category-card:hover::before {
  transform: scaleX(1);
}

.cat-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 102, 0, 0.1);
  border: 2px solid rgba(255, 102, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 32px;
  color: var(--primary);
  transition: var(--transition);
}

.category-card:hover .cat-icon-wrap {
  background: rgba(255, 102, 0, 0.18);
  border-color: var(--primary);
}

.category-card h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.category-card span {
  font-size: 12px;
  color: var(--text-muted);
}

/* =============================================
   WHY CHOOSE US (Home link)
============================================= */
.why-us {}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}

.why-card:hover {
  border-color: rgba(255, 102, 0, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.why-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 102, 0, 0.1);
  border: 1.5px solid rgba(255, 102, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 26px;
  color: var(--primary);
  transition: var(--transition);
}

.why-card:hover .why-icon {
  background: rgba(255, 102, 0, 0.18);
  transform: scale(1.1);
}

.why-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =============================================
   HOW IT WORKS (Home link)
============================================= */
.how-it-works {
  background: var(--bg-2);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(to right, var(--primary) 0%, rgba(255, 102, 0, 0.2) 100%);
  z-index: 0;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--primary);
  position: relative;
  transition: var(--transition);
}

.step-num i {
  font-size: 26px;
}

.step-card:hover .step-num {
  border-color: var(--primary);
  background: rgba(255, 102, 0, 0.1);
}

.step-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
  display: block;
}

.step-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =============================================
   NEW FEATURES (Home link)
============================================= */
.new-features {
  background: var(--bg-2);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: rgba(255, 102, 0, 0.3);
  transform: translateY(-4px);
}

.feature-card .fc-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: rgba(255, 102, 0, 0.1);
  border: 1.5px solid rgba(255, 102, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 24px;
  margin-bottom: 18px;
  transition: var(--transition);
}

.feature-card:hover .fc-icon {
  background: rgba(255, 102, 0, 0.18);
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =============================================
   APP DOWNLOAD / CTA (Home link)
============================================= */
.app-cta {
  background: linear-gradient(135deg, rgba(255, 102, 0, 0.1) 0%, rgba(255, 102, 0, 0.03) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.app-cta .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.app-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.app-cta h2 span {
  color: var(--primary);
}

.app-cta p {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 15px;
}

.app-stores {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
}

.store-btn:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
}

.store-btn i {
  font-size: 28px;
  color: var(--text);
}

.store-btn .sb-text {
  line-height: 1.3;
}

.store-btn .sb-text small {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
}

.store-btn .sb-text strong {
  font-size: 15px;
}

.app-mockup {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-frame {
  width: 280px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 16px;
  position: relative;
}

.phone-notch {
  width: 100px;
  height: 24px;
  background: var(--bg-3);
  border-radius: 12px;
  margin: 0 auto 16px;
}

.phone-screen {
  background: var(--bg-3);
  border-radius: 28px;
  padding: 20px;
  min-height: 400px;
}

.phone-screen h5 {
  font-size: 13px;
  color: var(--primary);
  margin-bottom: 8px;
  font-weight: 700;
  letter-spacing: 1px;
}

.phone-screen p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* =============================================
   TESTIMONIALS (Home link)
============================================= */
.testimonials {}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: rgba(255, 102, 0, 0.25);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-stars i {
  color: var(--warning);
  font-size: 14px;
}

.testimonial-card blockquote {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 102, 0, 0.12);
  border: 1.5px solid rgba(255, 102, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--primary);
  font-weight: 700;
}

.author-info h5 {
  font-size: 14px;
  font-weight: 700;
}

.author-info span {
  font-size: 12px;
  color: var(--text-muted);
}

/* =============================================
   MENU FILTER (Menu link)
============================================= */
.menu-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 100px;
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: rgba(255, 102, 0, 0.12);
  border-color: var(--primary);
  color: var(--primary);
}

/* =============================================
   MENU PREVIEW (Menu link)
============================================= */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ── jQuery UI autocomplete (menu search) — Prime Dish dark theme ── */
.ui-autocomplete {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 4px;
  max-height: 260px;
  overflow-y: auto;
  z-index: 1050 !important;
}

.ui-autocomplete .ui-menu-item {
  list-style: none;
  margin: 0;
}

.ui-autocomplete .ui-menu-item-wrapper {
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text);
  border-radius: 8px;
  cursor: pointer;
  display: block;
}

.ui-autocomplete .ui-menu-item-wrapper.ui-state-active {
  background: rgba(255, 102, 0, 0.12);
  border-color: transparent;
  color: var(--primary);
  margin: 0;
}

.menu-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.menu-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 102, 0, 0.3);
  box-shadow: var(--shadow);
}

.menu-card-img {
  position: relative;
  height: 180px;
  background: var(--bg-3);
  overflow: hidden;
}

.menu-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-card-img .food-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-3);
}

.menu-card-img .food-placeholder i {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(255, 102, 0, 0.1);
  border: 1.5px solid rgba(255, 102, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--primary);
  transition: var(--transition);
}

.menu-card:hover .food-placeholder i {
  background: rgba(255, 102, 0, 0.18);
  transform: scale(1.1);
}

.menu-card-body {
  padding: 16px;
}

.menu-card-body h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.menu-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.menu-time {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.menu-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
}

.add-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  font-size: 18px;
  transition: var(--transition);
}

.add-btn:hover {
  background: var(--primary-light);
  transform: scale(1.1);
}

/* =============================================
   MENU CARD DETAILS (Menu link)
============================================= */
.menu-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--primary);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.menu-card-discount {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #dc3545;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 50px;
}

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

.fav-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 14px;
  transition: var(--transition);
  flex-shrink: 0;
}

.fav-btn:hover { color: var(--danger); border-color: var(--danger); background: #ef44441a; }
.fav-btn.active { color: var(--danger); border-color: #ef444466; background: #ef444426; }

.star-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  padding: 2px 8px 2px 4px;
  border-radius: 6px;
  user-select: none;
}

.star-rating strong {
  color: var(--text);
  min-width: 22px;
  text-align: center;
}

.star-rating span {
  color: var(--text-muted);
  font-size: 12px;
}

/* =============================================
   QUICK-VIEW MODAL (Menu link)
============================================= */
.modal-content {
  background: #111 !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg) !important;
  color: var(--text) !important;
}

.modal-header {
  border-bottom: 1px solid var(--border) !important;
  padding: 20px 24px !important;
}

.modal-header .btn-close {
  filter: invert(1);
}

.modal-footer {
  border-top: 1px solid var(--border) !important;
  padding: 16px 24px !important;
}

.qv-img-wrap {
  position: relative;
  margin-bottom: 20px;
}

.qv-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
}

.qv-placeholder {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: var(--text-dim);
  background: var(--bg3);
  border-radius: var(--radius);
}

.qv-info-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0;
}

.qv-info-item {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  text-align: center;
}

.qv-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.qv-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}

.qv-old-price {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 400;
  display: block;
}

.qv-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 0 12px;
}

.qv-ingredients {
  margin-bottom: 14px;
}

.qv-ingredients small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.qv-ingredients p {
  font-size: 13px;
  color: var(--text);
  margin: 6px 0 0;
  line-height: 1.6;
}

.qv-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.qv-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

.qv-stat i {
  font-size: 16px;
}

.qv-stat strong {
  color: var(--text);
}

.btn-add-cart {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--t);
}

.btn-add-cart:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-o);
}

/* NOTE: quick-view + menu-card mobile sizes live in css/responsive.css */

/* =============================================
   ABOUT (About link — inner-page hero shared by
   About / Menu / Cart / Contact pages)
============================================= */
.page-hero {
  padding: 140px 0 60px;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(255, 102, 0, 0.1) 0%, transparent 70%);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.page-hero h1 span {
  color: var(--primary);
}

.page-hero p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 24px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-size: 13px;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb i {
  font-size: 10px;
}

.breadcrumb span {
  color: var(--primary);
}

/* =============================================
   CONTACT (Contact link — page reuses ABOUT hero
   above + FORMS + CARDS; contact-form toast hook
   lives in js/main.js)
============================================= */
.contact-form {
  width: 100%;
}

/* =============================================
   CART & CHECKOUT (Cart link)
============================================= */
/* ---- Layout + summary column ---- */
.cart-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.cart-items-col {
  flex: 1;
  min-width: 0;
}

.cart-summary {
  width: 380px;
  flex-shrink: 0;
}

.cart-summary-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 100px;
}

.cart-summary-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 8px 0;
  color: var(--text-muted);
}

.summary-line.total {
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 12px;
}

.promo-box {
  display: flex;
  gap: 8px;
  margin: 16px 0;
}

.promo-box input {
  flex: 1;
  padding: 10px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-3);
  color: var(--text);
  font-size: 14px;
  outline: none;
}

.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.payment-method {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 14px;
  color: var(--text-muted);
  transition: var(--transition);
}

.payment-method input[type="radio"] {
  accent-color: var(--primary);
}

.payment-method.selected,
.payment-method:has(input:checked) {
  border-color: var(--primary);
  background: rgba(var(--primary-rgb, 37, 139, 79), 0.05);
  color: var(--text);
  font-weight: 600;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
}

.qty-btn:hover {
  background: var(--primary);
}

.qty-btn:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.food-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  background: var(--bg-3);
  border-radius: var(--radius);
}

/* ── Address modal — same dark color as menu qv modal (#111) ── */
#addressPickerModal .modal-content,
#deleteCartModal .modal-content,
#clearCartModal .modal-content {
  background: #111 !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg) !important;
  color: var(--text) !important;
}

#addressPickerModal .modal-header,
#deleteCartModal .modal-header,
#clearCartModal .modal-header {
  border-bottom: 1px solid var(--border) !important;
  padding: 20px 24px !important;
  background: #111 !important;
}

#addressPickerModal .modal-header .btn-close,
#deleteCartModal .modal-header .btn-close,
#clearCartModal .modal-header .btn-close,
#addressPickerModal .btn-close,
#deleteCartModal .btn-close,
#clearCartModal .btn-close {
  filter: invert(1) !important;
  opacity: 0.8;
}

#addressPickerModal .modal-footer,
#deleteCartModal .modal-footer,
#clearCartModal .modal-footer {
  border-top: 1px solid var(--border) !important;
  padding: 16px 24px !important;
  background: #111 !important;
}

#addressPickerModal .modal-body {
  background: #111 !important;
}

#addressPickerModal hr {
  border-color: var(--border) !important;
  opacity: 1;
}

/* ---- Checkout page ---- */
.cart-layout {
  padding: 24px 0 60px;
}

/* ── Card Container ── */
.cart-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  padding: 24px;
  margin-bottom: 20px;
}

.cart-card-title {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}

.cart-card-title .text-primary,
.cart-card-title i.text-primary,
.cart-card-title .bi.text-primary {
  color: var(--primary) !important;
}

/* ── Delivery Method toggle (Delivery / Pickup) ── */
.dm-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.dm-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 10px;
  border-radius: 12px;
  background: transparent;
  border: 1.5px solid transparent;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all .2s ease;
  width: 100%;
}

.dm-tab i {
  font-size: 20px;
}

.dm-tab.active {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(255, 102, 0, 0.06);
}

.dm-tab:not(.active):hover {
  color: var(--text);
}

.dm-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 16px 0 20px;
}

/* ── Pickup location card ── */
.pickup-card {
  border: 1.5px solid var(--primary);
  background: rgba(255, 102, 0, 0.05);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.pickup-card>i {
  color: var(--primary);
  font-size: 20px;
  flex-shrink: 0;
}

.pickup-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}

.pickup-addr {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-top: 4px;
}

/* ── Item Rows (inside cart items card) ── */
.checkout-item-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.checkout-item-row:first-child {
  padding-top: 0;
}

.checkout-item-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

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

.checkout-item-details {
  flex: 1;
  min-width: 0;
}

.checkout-item-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 2px;
}

.checkout-item-price {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
}

.checkout-item-remove {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 16px;
  padding: 4px;
  transition: color 0.2s;
}

.checkout-item-remove:hover {
  color: var(--danger);
}

/* ── Quantity Controls ── */
.qty-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s;
}

.qty-btn:hover {
  background: var(--bg-3);
}

.qty-btn:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.qty-num {
  font-weight: 700;
  min-width: 20px;
  text-align: center;
  font-size: 15px;
}

/* ── Clear Cart Button ── */
.clear-cart-btn {
  background: transparent;
  border: 1px solid var(--danger);
  color: var(--danger);
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.clear-cart-btn:hover {
  background: var(--danger);
  color: #fff;
}

/* ── Promo Code ── */
.promo-input {
  flex: 1;
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-3);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  outline: none;
  transition: border-color 0.2s;
}

.promo-input::placeholder {
  text-transform: none;
  letter-spacing: normal;
}

.promo-input:focus {
  border-color: var(--primary);
}

.promo-feedback {
  font-size: 13px;
  font-weight: 600;
  margin-top: 8px;
  display: none;
}

.promo-feedback.success {
  color: var(--success);
  display: block;
}

.promo-feedback.error {
  color: var(--danger);
  display: block;
}

/* ── Empty Cart View ── */
.cart-empty-view {
  text-align: center;
  padding: 80px 20px;
}

.cart-empty-view .empty-icon {
  font-size: 64px;
  margin-bottom: 20px;
}

.cart-empty-view h3 {
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 8px;
  color: var(--text);
}

.cart-empty-view p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
}

/* ── Success Overlay Modal ── */
.success-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.success-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.success-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  padding: 48px 32px;
  text-align: center;
  max-width: 440px;
  width: 90%;
  transform: scale(0.85);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-overlay.show .success-card {
  transform: scale(1);
}

.success-checkmark {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  margin: 0 auto 24px;
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.25);
}

.success-checkmark i {
  animation: scaleInSpring 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes scaleInSpring {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

/* ── Flash messages (Django messages framework) ──
   A page that sets a message MUST render it, otherwise the message
   survives in the session and pops up on the next unrelated page. */
.flash-messages {
  margin-bottom: 16px;
}

.flash-messages .alert {
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 10px;
}

.flash-messages .alert:last-child {
  margin-bottom: 0;
}

.flash-messages .alert-success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #86efac;
}

.flash-messages .alert-danger {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

.flash-messages .alert-warning {
  background: rgba(234, 179, 8, 0.12);
  border: 1px solid rgba(234, 179, 8, 0.35);
  color: #fde047;
}

.flash-messages .alert-info {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #93c5fd;
}

.flash-messages .btn-close {
  filter: invert(1);
  opacity: 0.7;
}

/* ── Address Option Card (in modal) ── */
.address-option-card {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--card-bg);
}

.address-option-card:hover {
  border-color: var(--text-muted);
  transform: translateY(-1px);
}

.address-option-card.active {
  border-color: var(--primary);
  background: rgba(255, 102, 0, 0.08);
  box-shadow: 0 0 0 1px var(--primary), 0 6px 20px rgba(255, 102, 0, 0.22);
}

.address-option-card.active .addr-card-label {
  color: var(--primary);
}

.address-option-card .form-check-input {
  accent-color: var(--primary);
  margin-top: 3px;
  flex: none;
}

.addr-card-label {
  font-weight: 700;
  font-size: 14px;
  text-transform: capitalize;
}

.addr-card-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.addr-default-pill {
  font-size: 11px;
  background: var(--primary);
  color: #fff;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 600;
}

/* ── Custom radio buttons (replaces native browser radios) ──
   Still real inputs, so the picker JS (checked = ...) keeps working */
.address-option-card .form-check {
  min-height: 0;
  margin-bottom: 0;
  padding-left: 0;
  display: flex;
  flex-shrink: 0;
}

.address-option-card .form-check-input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  border-radius: 50%;
  border: 2px solid var(--text-muted);
  background: transparent;
  cursor: pointer;
  flex: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.address-option-card .form-check-input[type="radio"]:hover {
  border-color: var(--primary);
}

.address-option-card .form-check-input[type="radio"]:checked {
  border-color: var(--primary);
  background: radial-gradient(circle at center, var(--primary) 0 5px, transparent 5.5px);
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.18);
}

.address-option-card .form-check-input[type="radio"]:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ── Address Modal (shared by Cart + Settings "Add Address") ── */
.addr-picker-dialog {
  max-width: 520px;
}

.addr-picker-title {
  font-size: 1.05rem;
}

.addr-modal .modal-body {
  padding: 20px 24px;
}

/* Two-up row for State + LGA (stacks on small screens — see responsive.css) */
.addr-modal-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.addr-modal .form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.addr-modal .form-control {
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 14px;
}

.addr-modal .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.12);
}

.addr-modal .form-control:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Pill buttons — Cancel / Add Address */
.addr-btn-cancel,
.addr-btn-submit {
  border-radius: 50px;
  min-width: 90px;
  font-size: 0.87rem;
  font-weight: 600;
}

.addr-btn-cancel {
  background: var(--bg-3);
  color: var(--text);
  border: 1px solid var(--border);
}

.addr-btn-cancel:hover {
  background: var(--bg-2);
  color: var(--text);
  border-color: var(--text-muted);
}

/* Shared card-modal look — mirrors user.css so pages on base.html
   (e.g. cart) get the same modal design as the profile address modals */
.modal-card {
  border-radius: 16px;
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-card-head {
  border-bottom: 1px solid var(--border);
}

.modal-card-body {
  padding: 20px 24px;
}

.modal-card-foot {
  border-top: 1px solid var(--border);
}

.btn-pill {
  border-radius: 50px;
  min-width: 90px;
  font-size: 0.87rem;
}

.btn-pill-light {
  border: 1px solid #dee2e6;
}

/* Two-column form row (same as profile modals) */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* "Add New Address" trigger inside the address picker */
.addr-add-trigger {
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  border: 1.5px dashed rgba(255, 102, 0, 0.55);
  color: var(--primary);
  background: rgba(255, 102, 0, 0.06);
}

.addr-add-trigger:hover {
  background: rgba(255, 102, 0, 0.14);
  border-color: var(--primary);
  color: var(--primary);
}

.addr-empty-state {
  color: var(--text-muted);
  font-size: 14px;
  text-align: center;
  padding: 24px 0;
}

.addr-empty-state i {
  font-size: 28px;
  display: block;
  margin-bottom: 8px;
}

/* ── Confetti Particles ── */
.confetti-particle {
  position: absolute;
  top: -10px;
  border-radius: 2px;
  opacity: 0;
  pointer-events: none;
  animation: confettiFall linear forwards;
}

@keyframes confettiFall {
  0% {
    opacity: 1;
    transform: translateY(0) rotate(0deg) scale(1);
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(100vh) rotate(720deg) scale(0.5);
  }
}

/* =============================================
   NOTIFICATIONS (Notification bell link)
   Bell + dropdown — single source of truth for the
   navbar bell on home / menu / cart / user pages.
   (Admin keeps its own variant in css/admin.css.)
============================================= */
@keyframes notifFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ---- Bell button + count badge: round button, red badge ---- */
.bell-btn {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  font-size: 16px;
  position: relative;
  transition: all .15s ease
}

.bell-btn:hover {
  background: rgba(255, 102, 0, .08);
  border-color: var(--border);
  color: var(--primary)
}

.bell-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  min-width: 17px;
  height: 17px;
  border-radius: 999px;
  background: var(--danger);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 4px;
  border: 2px solid #0A0A0A
}

/* ---- Dropdown panel ---- */
.notif-dropdown {
  width: 340px;
  max-width: 92vw;
  padding: 0;
  overflow: hidden;
  background: #131315;
  border: 1px solid #26262b;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .55);
  animation: notifFadeIn .2s ease
}

.notif-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 12px
}

.notif-head-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  color: #fff
}

.notif-count {
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px
}

.notif-mark {
  background: none;
  border: none;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  padding: 0
}

.notif-mark:hover {
  text-decoration: underline
}

.notif-list {
  max-height: 340px;
  overflow-y: auto;
  padding: 4px 8px 8px
}

.notif-list::-webkit-scrollbar {
  width: 6px
}

.notif-list::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px
}

.notif-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 12px;
  text-decoration: none;
  position: relative;
  transition: background .2s
}

.notif-item:hover {
  background: #1b1b1e
}

.notif-item.unread {
  background: rgba(255, 102, 0, .06)
}

.notif-item.unread:hover {
  background: rgba(255, 102, 0, .1)
}

/* ---- Type icon tiles ---- */
.notif-ico {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  border: 1px solid
}

.notif-ico.order {
  background: rgba(255, 102, 0, .12);
  color: var(--primary);
  border-color: rgba(255, 102, 0, .25)
}

.notif-ico.payment {
  background: rgba(34, 197, 94, .12);
  color: #22c55e;
  border-color: rgba(34, 197, 94, .25)
}

.notif-ico.food {
  background: rgba(234, 179, 8, .12);
  color: #eab308;
  border-color: rgba(234, 179, 8, .25)
}

.notif-ico.user {
  background: rgba(59, 130, 246, .12);
  color: #60a5fa;
  border-color: rgba(59, 130, 246, .25)
}

.notif-ico.system {
  background: rgba(168, 85, 247, .12);
  color: #c084fc;
  border-color: rgba(168, 85, 247, .25)
}

/* ---- Item text ---- */
.notif-body {
  min-width: 0;
  flex: 1
}

.notif-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.notif-text {
  font-size: 12.5px;
  color: #9aa0aa;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 2px
}

.notif-time {
  font-size: 11px;
  color: #6b6f78;
  margin-top: 4px
}

.notif-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  margin-top: 8px
}

.notif-empty {
  text-align: center;
  padding: 36px 20px;
  color: #9aa0aa;
  font-size: 13px
}

.notif-empty i {
  font-size: 30px;
  display: block;
  margin-bottom: 10px;
  color: #4a4d55
}

/* ---- User dropdown — same structure as ADMIN (admin.css) ---- */
/* Header / body / footer match admin exactly */
.notif-dropdown-header {
  padding: 12px 16px;
  border-bottom: 1px solid #26262b;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.notif-dropdown-header .fw-bold {
  font-size: 14px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.unread-count {
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}

.notif-dropdown-body {
  max-height: 320px;
  overflow-y: auto;
}

.notif-dd-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #26262b;
  transition: background .15s;
  text-decoration: none;
  cursor: pointer;
  position: relative;
}

.notif-dd-item:last-child {
  border-bottom: none;
}

.notif-dd-item:hover {
  background: #1b1b1e;
}

.notif-dd-item.unread {
  background: rgba(255, 102, 0, .06);
}

.notif-dd-item.unread:hover {
  background: rgba(255, 102, 0, .1);
}

/* ---- Circle icon — CSS only, no image ---- */
.notif-dd-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  border: 1px solid;
}

.notif-dd-icon.order {
  background: rgba(255, 102, 0, .12);
  color: var(--primary);
  border-color: rgba(255, 102, 0, .25);
}

.notif-dd-icon.payment {
  background: rgba(34, 197, 94, .12);
  color: #22c55e;
  border-color: rgba(34, 197, 94, .25);
}

.notif-dd-icon.food {
  background: rgba(234, 179, 8, .12);
  color: #eab308;
  border-color: rgba(234, 179, 8, .25);
}

.notif-dd-icon.user {
  background: rgba(59, 130, 246, .12);
  color: #60a5fa;
  border-color: rgba(59, 130, 246, .25);
}

.notif-dd-icon.system {
  background: rgba(168, 85, 247, .12);
  color: #c084fc;
  border-color: rgba(168, 85, 247, .25);
}

.notif-dd-text {
  flex: 1;
  min-width: 0;
}

.notif-dd-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notif-dd-desc {
  font-size: 12.5px;
  color: #9aa0aa;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 2px;
}

.notif-dd-time {
  font-size: 11px;
  color: #6b6f78;
  margin-top: 4px;
}

.notif-dropdown-footer {
  display: block;
  padding: 12px 16px;
  text-align: center;
  font-size: 13px;
  color: var(--primary);
  text-decoration: none;
  border-top: 1px solid #26262b;
  font-weight: 600;
  transition: background .15s;
}

.notif-dropdown-footer:hover {
  background: #1b1b1e;
  color: var(--primary);
}

/* =============================================
   TOAST NOTIFICATION (Notifications link)
============================================= */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  max-width: 360px;
  box-shadow: var(--shadow);
  animation: slideInRight 0.3s ease;
}

.toast i {
  font-size: 20px;
  color: var(--primary);
}

.toast-msg {
  font-size: 14px;
}

.toast.success {
  border-left-color: var(--success);
}

.toast.success i {
  color: var(--success);
}

.toast.danger {
  border-left-color: var(--danger);
}

.toast.danger i {
  color: var(--danger);
}

/* =============================================
   ADD-TO-CART TOAST ("chop bag" receipt, Notifications link)
   Merged from css/notifications.css — menu page receipt toast.
   Mobile positioning lives in css/responsive.css.
============================================= */
:root {
  --pd-toast-life: 3200ms;
}

.pd-cart-toast {
  --pd-accent: var(--primary, #FF6600);
  position: fixed;
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(19, 19, 21, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid #2b2b30;
  border-radius: 18px;
  padding: 12px 12px 16px 12px;
  color: #fff;
  font-family: var(--font-body, 'DM Sans', system-ui, sans-serif);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 102, 0, 0.14), 0 6px 24px rgba(255, 102, 0, 0.16);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  /* staged entrance: rise + fade + tiny settle */
  transform: translateY(16px) scale(0.98);
}

/* visible state — JS toggles .show, then .leaving for the exit fade */
.pd-cart-toast.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition: transform 0.38s cubic-bezier(0.21, 1.02, 0.55, 1.08), opacity 0.28s ease;
}

.pd-cart-toast.leaving {
  opacity: 0;
  transform: translateY(10px) scale(0.97);
  transition: transform 0.4s ease, opacity 0.4s ease;
}

/* dish / bag icon with one playful pop */
.pd-cart-ico {
  position: relative;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  color: #fff;
  background: linear-gradient(135deg, #FF6600, #cc5200);
  box-shadow: 0 6px 18px rgba(255, 102, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.pd-cart-toast.show .pd-cart-ico {
  animation: pdPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.05s both;
}

.pd-cart-toast.pd-error .pd-cart-ico {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* copy — receipt style: what went in + where it lives */
.pd-cart-txt {
  min-width: 0;
  flex: 1;
  line-height: 1.3;
}

.pd-cart-txt strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pd-cart-txt span {
  display: block;
  font-size: 12.5px;
  color: #b9bdc6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

.pd-cart-txt span b {
  color: var(--primary, #FF6600);
  font-weight: 800;
}

/* View cart pill — the one action that matters */
.pd-cart-view {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: #111;
  font-size: 13px;
  font-weight: 800;
  padding: 9px 14px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease;
}

.pd-cart-view:hover {
  background: var(--primary, #FF6600);
  color: #fff;
  transform: translateY(-1px);
  text-decoration: none;
}

.pd-cart-view:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.pd-cart-view i {
  font-size: 13px;
}

/* dismiss */
.pd-cart-x {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #333338;
  background: transparent;
  color: #8a8f99;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.pd-cart-x:hover {
  color: #fff;
  border-color: #55555c;
}

.pd-cart-x:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ember drain bar — the visible "seconds" */
.pd-cart-bar {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 7px;
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.pd-cart-bar i {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #ffb37a, var(--primary, #FF6600));
  transform-origin: left center;
}

.pd-cart-toast.show .pd-cart-bar i {
  animation: pdDrain var(--pd-toast-life) linear 0.1s both;
}

.pd-cart-toast.pd-error .pd-cart-bar i {
  background: linear-gradient(90deg, #fca5a5, #ef4444);
}

/* cart badge bump when the count ticks */
.cart-count.pd-bump {
  animation: pdBump 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes pdPop {
  0% {
    transform: scale(0.4) rotate(-14deg);
  }

  60% {
    transform: scale(1.14) rotate(3deg);
  }

  100% {
    transform: scale(1) rotate(0);
  }
}

@keyframes pdDrain {
  from {
    transform: scaleX(1);
  }

  to {
    transform: scaleX(0);
  }
}

@keyframes pdBump {
  0% {
    transform: scale(1);
  }

  40% {
    transform: scale(1.45);
  }

  100% {
    transform: scale(1);
  }
}

/* Desktop: dock top-right under the fixed navbar (mobile in responsive.css) */
@media (min-width: 769px) {
  .pd-cart-toast {
    top: 84px;
    right: 20px;
    width: 370px;
  }
}

/* motion-sensitive users: instant fade only, no pop / drain sweep */
@media (prefers-reduced-motion: reduce) {

  .pd-cart-toast,
  .pd-cart-toast.show,
  .pd-cart-toast.leaving {
    transform: none;
    transition: opacity 0.15s ease;
  }

  .pd-cart-toast.show .pd-cart-ico,
  .pd-cart-toast.show .pd-cart-bar i,
  .cart-count.pd-bump {
    animation: none;
  }

  .pd-cart-bar {
    display: none;
  }
}

/* =============================================
   USER (Hi user + Dashboard link)
============================================= */
/* ---- Dashboard pill — outline sm (navbar link order) ---- */
.dashboard-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 18px;
  border: 2px solid var(--primary); 
  border-radius: 9999px;
  background: var(--primary);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  transition: all .25s ease;
}

.dashboard-pill-btn:hover {
  background: var(--primary-light);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-orange);
}

/* =============================================
   ANIMATIONS
============================================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(24px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-6px);
  }

  40% {
    transform: translateX(6px);
  }

  60% {
    transform: translateX(-4px);
  }

  80% {
    transform: translateX(4px);
  }
}

@keyframes pulseRing {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 102, 0, .25);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(255, 102, 0, .0);
  }
}

/* NOTE: empty views use page-specific classes (.cart-empty-view,
   .addr-empty-state, .orders-empty) — no generic empty-state. */

/* =============================================
   LOADING / SPINNER
============================================= */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  display: inline-block;
}

/* =============================================
   BACK TO TOP
============================================= */
#back-to-top {
  position: fixed;
  bottom: 80px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  border: none;
  box-shadow: var(--shadow-orange);
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}

#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

#back-to-top:hover {
  background: var(--primary-light);
}