/* ==========================================================================
   FreshMart Mobile Grocery App - Main Stylesheet
   Created with modern aesthetics: glassmorphism, responsive frames & micro-interactions
   ========================================================================== */

:root {
  --primary-orange: #FFA439;
  --primary-orange-hover: #F29524;
  --banner-orange: #FF7B1C;
  --accent-red: #E63946;
  --bg-cream: #FAF1E4;
  --bg-cream-light: #FFF8EE;
  --text-dark: #1E1E1E;
  --text-muted: #8E8E93;
  --text-light-gray: #AEAEB2;
  --card-white: #FFFFFF;
  --phone-bg: #FAF1E4;
  --phone-width: 395px;
  --phone-height: 820px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --radius-full: 9999px;
  --shadow-subtle: 0 4px 16px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-floating: 0 12px 32px rgba(255, 123, 28, 0.25);
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
  font-family: var(--font-main);
  background: #111418;
  color: #FFFFFF;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  overflow-x: hidden;
  position: relative;
}

/* Ambient Ambient Glows */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

.glow-1 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #FFA439, transparent 70%);
  top: -100px;
  left: 15%;
}

.glow-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #FF5E36, transparent 70%);
  bottom: -80px;
  right: 15%;
}

/* ==========================================================================
   Desktop Presentation Controls Panel
   ========================================================================== */
.desktop-panel {
  width: 340px;
  margin-right: 48px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  z-index: 10;
}

.panel-header .brand-badge {
  display: inline-block;
  background: rgba(255, 164, 57, 0.15);
  color: #FFA439;
  border: 1px solid rgba(255, 164, 57, 0.35);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.panel-header h1 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.25;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.panel-subtitle {
  font-size: 0.92rem;
  color: #9CA3AF;
  line-height: 1.5;
}

.screen-switch-tabs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px;
  border-radius: var(--radius-lg);
}

.switcher-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #9CA3AF;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}

.switch-tab-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  color: #D1D5DB;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: left;
  transition: all 0.25s ease;
}

.switch-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateX(4px);
}

.switch-tab-btn.active {
  background: linear-gradient(135deg, rgba(255, 164, 57, 0.2), rgba(255, 123, 28, 0.1));
  border-color: rgba(255, 164, 57, 0.6);
  color: #FFFFFF;
}

.switch-tab-btn .icon {
  font-size: 1.4rem;
}

.switch-tab-btn .btn-info strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #FFFFFF;
}

.switch-tab-btn .btn-info small {
  display: block;
  font-size: 0.75rem;
  color: #9CA3AF;
}

.desktop-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px;
  border-radius: var(--radius-lg);
}

.cart-summary-box {
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: #E5E7EB;
}

.summary-row strong {
  font-size: 1.1rem;
  color: #FFA439;
}

.badge-count {
  background: #FFA439;
  color: #000;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.tips-box {
  font-size: 0.8rem;
  color: #9CA3AF;
  line-height: 1.45;
}

/* ==========================================================================
   Mobile Phone Mockup Container & Hardware Frame
   ========================================================================== */
.phone-viewport-container {
  z-index: 10;
  perspective: 1000px;
}

.phone-device-frame {
  width: var(--phone-width);
  height: var(--phone-height);
  background: #000000;
  border-radius: 46px;
  padding: 10px;
  box-shadow: 
    0 0 0 3px #2C2C2E,
    0 0 0 7px #1C1C1E,
    0 25px 65px -10px rgba(0, 0, 0, 0.8),
    0 10px 25px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Top Notch & Status Bar */
.phone-notch-bar {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  height: 38px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  color: #111111;
  pointer-events: none;
}

/* Dynamic color for status bar when on dark or light background */
.status-time {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: #111111;
}

.phone-camera-punch {
  width: 14px;
  height: 14px;
  background: #0B0E14;
  border-radius: 50%;
  box-shadow: inset 0 0 2px rgba(255, 255, 255, 0.3);
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #111111;
}

.sys-icon {
  width: 16px;
  height: 16px;
}

/* Phone Gesture Bar */
.phone-home-indicator {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 135px;
  height: 4px;
  background: #111111;
  border-radius: 4px;
  z-index: 90;
  pointer-events: none;
}

/* Screen Wrapper */
.screens-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: var(--phone-bg);
}

/* App Screens base */
.app-screen {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.3s ease, transform 0.3s ease;
  overflow: hidden;
  background: var(--phone-bg);
}

.app-screen.active {
  display: flex;
  opacity: 1;
  transform: scale(1);
}

/* ==========================================================================
   SCREEN 1: ONBOARDING SCREEN STYLING
   ========================================================================== */
.screen-onboarding {
  background: #FFFFFF;
}

.onboard-top-section {
  position: relative;
  width: 100%;
  height: 52%;
  background: #EAA938;
  overflow: visible;
}

.onboard-hero-card {
  position: relative;
  width: 100%;
  height: 100%;
  background: #EAA938;
}

.hero-couple-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Bottom curve mask */
.hero-curve-mask {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 42px;
  background: #FFFFFF;
  clip-path: ellipse(65% 100% at 50% 100%);
}

/* Basket badge at bottom center of curve */
.basket-badge-wrapper {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.basket-circle {
  width: 66px;
  height: 66px;
  background: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #FFF;
}

.basket-icon-art {
  font-size: 2.2rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
  animation: floatBasket 3s ease-in-out infinite alternate;
}

@keyframes floatBasket {
  0% { transform: translateY(0); }
  100% { transform: translateY(-3px); }
}

.onboard-bottom-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 45px 28px 36px 28px;
  text-align: center;
  background: #FFFFFF;
}

.onboard-title {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.25;
  color: #0F172A;
  letter-spacing: -0.5px;
  margin-top: 15px;
}

.btn-primary-orange {
  width: 100%;
  background: #FDB042;
  color: #111111;
  border: none;
  padding: 16px 24px;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-main);
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(253, 176, 66, 0.4);
  transition: all 0.25s ease;
  margin-bottom: 10px;
}

.btn-primary-orange:hover {
  background: #F5A330;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(253, 176, 66, 0.5);
}

.btn-primary-orange:active {
  transform: scale(0.98);
}

/* ==========================================================================
   SCREEN 2: HOME SCREEN STYLING
   ========================================================================== */
.screen-home {
  background: var(--phone-bg);
  padding-top: 48px;
}

/* Home Header */
.home-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 18px 12px 18px;
}

.icon-round-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #FFFFFF;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3.5px;
  cursor: pointer;
  box-shadow: var(--shadow-subtle);
  color: #111111;
  transition: all 0.2s ease;
  position: relative;
}

.icon-round-btn:active {
  transform: scale(0.92);
}

.menu-bar {
  width: 16px;
  height: 2.2px;
  background: #4B5563;
  border-radius: 2px;
}

.location-picker {
  text-align: center;
}

.loc-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 0.8rem;
  color: #1F2937;
  font-weight: 600;
}

.pin-icon {
  font-size: 0.95rem;
}

.loc-address {
  font-size: 0.82rem;
  font-weight: 600;
  color: #1F2937;
  letter-spacing: -0.2px;
  margin-top: 2px;
}

.notif-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 7px;
  height: 7px;
  background: #EF4444;
  border-radius: 50%;
  border: 1.5px solid #FFFFFF;
}

/* Search Bar & Filter */
.search-section {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px 14px 18px;
}

.search-input-box {
  flex: 1;
  background: #FFFFFF;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  padding: 0 16px;
  height: 46px;
  box-shadow: var(--shadow-subtle);
}

.search-icon {
  color: #9CA3AF;
  margin-right: 10px;
  flex-shrink: 0;
}

.search-input-box input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 0.88rem;
  font-family: var(--font-main);
  color: #111111;
}

.search-input-box input::placeholder {
  color: #9CA3AF;
}

.filter-btn {
  width: 46px;
  height: 46px;
  background: #FDB042;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111111;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(253, 176, 66, 0.35);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

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

/* Home Scrollable Content Area */
.home-scroll-area {
  flex: 1;
  overflow-y: auto;
  padding: 0 18px 90px 18px;
  scrollbar-width: none;
}

.home-scroll-area::-webkit-scrollbar {
  display: none;
}

/* Promo Card Banner */
.promo-card-orange {
  position: relative;
  background: #FF7B1C;
  border-radius: 20px;
  height: 170px;
  padding: 16px 18px;
  color: #FFFFFF;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(255, 123, 28, 0.3);
}

.promo-pill-black {
  position: absolute;
  top: 14px;
  left: 16px;
  background: #111111;
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 12px;
  letter-spacing: 0.5px;
}

.promo-text-wrap {
  position: relative;
  z-index: 2;
  max-width: 60%;
  margin-top: 36px;
}

.promo-text-wrap h2 {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.btn-open-now {
  background: #FFFFFF;
  color: #FF7B1C;
  border: none;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.btn-open-now:active {
  transform: scale(0.95);
}

.promo-img-wrap {
  position: absolute;
  right: -5px;
  bottom: 0;
  width: 145px;
  height: 100%;
}

.promo-girl-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Categories Header & Pills */
.categories-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.categories-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111111;
}

.see-all-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: #FF7B1C;
  text-decoration: none;
}

.category-pills-row {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 16px;
  scrollbar-width: none;
}

.category-pills-row::-webkit-scrollbar {
  display: none;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 600;
  color: #9CA3AF;
  cursor: pointer;
  white-space: nowrap;
  padding: 4px 8px;
  transition: all 0.2s ease;
}

.cat-pill.active {
  color: #111111;
  font-weight: 700;
}

.cat-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #FF7B1C;
  color: #FFFFFF;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 800;
}

/* Products 2-Column Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.product-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.card-thumb-wrap {
  position: relative;
  background: #ECEFF2;
  border-radius: 16px;
  height: 110px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-thumb {
  transform: scale(1.05);
}

.heart-fav-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #EF4444;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.heart-fav-btn.active {
  color: #DC2626;
  background: #FFFFFF;
  animation: heartPop 0.3s ease;
}

@keyframes heartPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

.card-info {
  padding: 10px 4px 4px 4px;
}

.prod-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 6px;
}

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

.price-tags {
  display: flex;
  flex-direction: column;
}

.old-price {
  font-size: 0.78rem;
  color: #10B981;
  text-decoration: line-through;
  font-weight: 600;
}

.current-price {
  font-size: 0.92rem;
  font-weight: 800;
  color: #EF4444;
}

.current-price.highlight-red {
  color: #EF4444;
}

.btn-add-circle {
  width: 32px;
  height: 32px;
  background: #111111;
  color: #FFFFFF;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-add-circle:hover {
  background: #FF7B1C;
  transform: scale(1.1);
}

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

/* Bottom Navigation Bar */
.bottom-nav-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: #FFFFFF;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 10px 14px 10px;
  z-index: 80;
}

.nav-item {
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #9CA3AF;
  font-family: var(--font-main);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
}

.nav-item.active {
  color: #111111;
}

.cart-pill-bubble {
  position: absolute;
  top: -4px;
  right: 6px;
  background: #FF7B1C;
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   SCREEN 3: ORDER / PRODUCT DETAIL SCREEN STYLING
   ========================================================================== */
.screen-order {
  background: #E5E7EB;
  padding-top: 48px;
}

.order-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 18px 8px 18px;
}

.order-nav-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111111;
}

/* Hero image of product */
.order-hero-container {
  position: relative;
  height: 250px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
}

.order-main-img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.2));
  transition: transform 0.4s ease;
}

.order-hero-container:hover .order-main-img {
  transform: scale(1.06) rotate(3deg);
}

/* All bargain capsule bar */
.bargain-capsule-bar {
  position: absolute;
  bottom: 12px;
  left: 20px;
  right: 20px;
  background: #111111;
  color: #FFFFFF;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  z-index: 5;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.bargain-text {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.2px;
}

/* Toggle switch */
.toggle-pill-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  cursor: pointer;
}

.toggle-pill-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #374151;
  transition: .3s;
  border-radius: 24px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

.toggle-pill-switch input:checked + .toggle-slider {
  background-color: #FF7B1C;
}

.toggle-pill-switch input:checked + .toggle-slider:before {
  transform: translateX(20px);
}

/* Bottom Sheet Details */
.order-detail-sheet {
  flex: 1;
  background: #FFFFFF;
  border-top-left-radius: 36px;
  border-top-right-radius: 36px;
  padding: 20px 22px 30px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.05);
}

.sheet-top-badge-row {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

.badge-black-pill {
  background: #111111;
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: var(--radius-full);
  letter-spacing: 0.3px;
}

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

.sheet-title-star {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sheet-title-star h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #111111;
  letter-spacing: -0.3px;
}

.star-rating {
  font-size: 1.1rem;
}

.sheet-price-kg {
  display: flex;
  align-items: baseline;
}

.price-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: #111111;
}

.unit-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111111;
}

.sheet-desc-section {
  margin-bottom: 14px;
}

.sheet-desc-section h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 6px;
}

.desc-text {
  font-size: 0.82rem;
  color: #6B7280;
  line-height: 1.45;
}

/* Ingredients Section */
.sheet-ingredients-section {
  margin-bottom: 18px;
}

.sheet-ingredients-section h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #111111;
  margin-bottom: 10px;
}

.ingredient-card {
  display: flex;
  align-items: center;
  background: #FFF0DB;
  border-radius: 18px;
  padding: 10px 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ingredient-card:hover {
  background: #FEE7C8;
}

.ing-thumb-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  background: #FFFFFF;
  margin-right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ing-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ing-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ing-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #111111;
}

.ing-weight {
  font-size: 0.8rem;
  color: #9CA3AF;
  font-weight: 600;
}

.custom-checkbox-wrap {
  position: relative;
  width: 24px;
  height: 24px;
}

.custom-checkbox-wrap input {
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 24px;
  width: 24px;
  background-color: #111111;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.custom-checkbox-wrap input:checked ~ .checkmark {
  background-color: #111111;
}

.checkmark:after {
  content: "";
  display: block;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

.custom-checkbox-wrap input:not(:checked) ~ .checkmark {
  background-color: #E5E7EB;
}

.custom-checkbox-wrap input:not(:checked) ~ .checkmark:after {
  display: none;
}

/* Sheet Actions Footer */
.sheet-actions-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 4px;
}

.qty-counter-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1.5px solid #FDB042;
  border-radius: var(--radius-full);
  padding: 6px 14px;
  width: 110px;
  height: 48px;
}

.qty-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FF7B1C;
  font-size: 1.2rem;
  transition: transform 0.15s ease;
}

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

.qty-number {
  font-size: 1rem;
  font-weight: 700;
  color: #111111;
}

.btn-add-to-cart {
  flex: 1;
  background: #FF7B1C;
  color: #111111;
  border: none;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(255, 123, 28, 0.4);
  transition: all 0.25s ease;
}

.btn-add-to-cart:hover {
  background: #F06E0E;
  transform: translateY(-2px);
}

.btn-add-to-cart:active {
  transform: scale(0.98);
}

/* ==========================================================================
   Toast Notification
   ========================================================================== */
.toast-popup {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 1000;
}

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

/* Responsive adjustments */
@media (max-width: 900px) {
  body {
    flex-direction: column;
    padding: 20px 10px;
    gap: 30px;
  }

  .desktop-panel {
    width: 100%;
    max-width: 420px;
    margin-right: 0;
  }
}
