/* ═══════════════════════════════════════════════════════
   DESIGN SYSTEM — StyleHub Fashion App
   Palette: White base · Orange accent · Red prices · Dark text
   Fonts: Plus Jakarta Sans (body) · Syne (display)
═══════════════════════════════════════════════════════ */

:root {
  --orange:       #FF6B2B;
  --orange-light: #FF8C55;
  --orange-pale:  #FFF0E8;
  --red:          #E53935;
  --black:        #1A1A1A;
  --dark:         #2D2D2D;
  --gray:         #8A8A8A;
  --gray-light:   #C4C4C4;
  --gray-pale:    #F5F5F5;
  --white:        #FFFFFF;
  --card-shadow:  0 4px 20px rgba(0,0,0,0.08);
  --card-shadow-hover: 0 8px 32px rgba(0,0,0,0.14);
  --radius-sm:    10px;
  --radius-md:    16px;
  --radius-lg:    24px;
  --radius-xl:    32px;
  --font-body:    'Plus Jakarta Sans', sans-serif;
  --font-display: 'Syne', sans-serif;
  --transition:   0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  font-family: var(--font-body);
  background: #f0f0f0;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input { font-family: inherit; border: none; outline: none; background: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ═══════════════════════════════════════════════════════
   APP BACKGROUND — Pink-to-Lavender gradient
═══════════════════════════════════════════════════════ */
.app-bg {
  min-height: 100vh;
  background: linear-gradient(135deg, #FF6B9D 0%, #C44DFF 50%, #8B5CF6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

/* ═══════════════════════════════════════════════════════
   PHONE SHELL
═══════════════════════════════════════════════════════ */
.phone-shell {
  width: 390px;
  height: 844px;
  background: var(--gray-pale);
  border-radius: 50px;
  box-shadow:
    0 0 0 10px #1a1a1a,
    0 0 0 12px #333,
    0 40px 80px rgba(0,0,0,0.5),
    0 20px 40px rgba(0,0,0,0.3);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* ── Notch / Status Bar ── */
.phone-notch {
  height: 50px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}
.phone-notch::after {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 120px; height: 30px;
  background: #1a1a1a;
  border-radius: 0 0 20px 20px;
}
.notch-time {
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 0.3px;
}
.notch-icons {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--black);
}

/* ── Screen Container ── */
.screen-container {
  flex: 1;
  overflow: hidden;
  position: relative;
  background: var(--white);
}

/* ── Individual Screens ── */
.screen {
  position: absolute;
  inset: 0;
  background: var(--white);
  opacity: 0;
  pointer-events: none;
  transform: translateX(30px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
}
.screen.active {
  opacity: 1;
  pointer-events: all;
  transform: translateX(0);
}
.screen-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: 16px;
  scrollbar-width: none;
}
.screen-scroll::-webkit-scrollbar { display: none; }

/* ═══════════════════════════════════════════════════════
   TOP BAR
═══════════════════════════════════════════════════════ */
.topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 10px;
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 5;
}
.topbar-title {
  flex: 1;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
}
.icon-btn {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--gray-pale);
  display: flex; align-items: center; justify-content: center;
  color: var(--dark);
  flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
  position: relative;
}
.icon-btn:hover { background: #ebebeb; transform: scale(0.96); }
.icon-btn:active { transform: scale(0.92); }

/* Cart badge */
.cart-badge {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--orange);
  color: white;
  font-size: 9px;
  font-weight: 700;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid white;
  transition: transform 0.2s;
}
.cart-badge.bump { animation: badge-bump 0.3s ease; }
@keyframes badge-bump {
  0% { transform: scale(1); }
  50% { transform: scale(1.5); }
  100% { transform: scale(1); }
}

/* ── Search Bar ── */
.search-bar {
  flex: 1;
  height: 40px;
  background: var(--gray-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 8px;
}
.search-icon { color: var(--gray); flex-shrink: 0; }
.search-bar input {
  flex: 1;
  font-size: 13px;
  color: var(--dark);
  min-width: 0;
}
.search-bar input::placeholder { color: var(--gray-light); }
.search-filters { display: flex; gap: 4px; }
.filter-btn {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray);
  transition: background var(--transition);
}
.filter-btn:hover { background: #e8e8e8; }

/* ═══════════════════════════════════════════════════════
   HERO BANNER
═══════════════════════════════════════════════════════ */
.hero-banner {
  margin: 12px 16px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 190px;
  position: relative;
  background: #111;
}
.hero-bg { position: absolute; inset: 0; }
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transform: scale(1.05);
  transition: transform 6s ease;
}
.hero-banner:hover .hero-img { transform: scale(1.1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 100%);
}
.hero-content {
  position: absolute;
  top: 24px; left: 20px;
}
.hero-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.3), -1px -1px 0 rgba(0,0,0,0.2);
  letter-spacing: -1px;
}
.hero-cta {
  position: absolute;
  bottom: 18px; right: 16px;
  background: var(--orange);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 50px;
  display: flex; align-items: center; gap: 6px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(255,107,43,0.4);
}
.hero-cta:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,107,43,0.5);
}
.hero-cta:active { transform: translateY(0); }

/* ═══════════════════════════════════════════════════════
   SECTION HEADERS
═══════════════════════════════════════════════════════ */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 10px;
}
.section-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.3px;
}
.see-all {
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  transition: opacity var(--transition);
}
.see-all:hover { opacity: 0.75; }
.sort-btn {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray);
  display: flex; align-items: center; gap: 3px;
}

/* ═══════════════════════════════════════════════════════
   CATEGORY CHIPS
═══════════════════════════════════════════════════════ */
.category-row {
  display: flex;
  gap: 10px;
  padding: 0 16px 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.category-row::-webkit-scrollbar { display: none; }
.category-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: var(--gray-pale);
  transition: background var(--transition), transform var(--transition);
}
.category-chip:hover { background: #ebebeb; transform: translateY(-2px); }
.category-chip.active { background: var(--orange-pale); }
.cat-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  color: var(--dark);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.category-chip.active .cat-icon { color: var(--orange); }
.category-chip span {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray);
}
.category-chip.active span { color: var(--orange); }

/* ═══════════════════════════════════════════════════════
   RECOMMEND ROW (Home)
═══════════════════════════════════════════════════════ */
.recommend-row {
  display: flex;
  gap: 12px;
  padding: 0 16px;
  overflow-x: auto;
  scrollbar-width: none;
}
.recommend-row::-webkit-scrollbar { display: none; }
.recommend-card {
  flex-shrink: 0;
  width: 180px;
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.recommend-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}
.rec-img { width: 100%; height: 100%; object-fit: cover; }
.rec-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  padding: 12px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.rec-info { display: flex; flex-direction: column; gap: 2px; }
.rec-price { font-size: 15px; font-weight: 800; color: white; }
.rec-name { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.85); }
.rec-actions { display: flex; flex-direction: column; gap: 6px; }
.rec-heart, .rec-cart {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  color: white;
  transition: background var(--transition), transform var(--transition);
}
.rec-heart:hover, .rec-cart:hover { background: rgba(255,255,255,0.35); transform: scale(1.1); }
.rec-heart.active { background: rgba(229,57,53,0.8); color: white; }

/* ═══════════════════════════════════════════════════════
   TRENDING ROW
═══════════════════════════════════════════════════════ */
.trending-row {
  display: flex;
  gap: 8px;
  padding: 0 16px 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.trending-row::-webkit-scrollbar { display: none; }
.trending-chip {
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 50px;
  background: var(--gray-pale);
  font-size: 12px;
  font-weight: 600;
  color: var(--gray);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.trending-chip.active {
  background: var(--orange);
  color: white;
}
.trending-chip:hover:not(.active) { background: #ebebeb; }

/* ═══════════════════════════════════════════════════════
   FILTER PILLS (Shop Screen)
═══════════════════════════════════════════════════════ */
.filter-pills {
  display: flex;
  gap: 8px;
  padding: 4px 16px 12px;
}
.pill {
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  background: var(--gray-pale);
  color: var(--gray);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.pill.active {
  background: var(--orange);
  color: white;
  box-shadow: 0 4px 12px rgba(255,107,43,0.35);
}
.pill:hover:not(.active) { background: #ebebeb; transform: translateY(-1px); }

/* ═══════════════════════════════════════════════════════
   PRODUCT GRID (Shop Screen)
═══════════════════════════════════════════════════════ */
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 16px 16px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}
.product-img-wrap {
  height: 140px;
  overflow: hidden;
  position: relative;
  background: var(--gray-pale);
}
.product-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.06); }
.product-badge {
  position: absolute;
  top: 8px; left: 8px;
  background: var(--orange);
  color: white;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.product-badge.sale { background: var(--red); }
.product-info { padding: 10px; }
.product-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-desc {
  font-size: 10.5px;
  color: var(--gray);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--red);
}
.product-actions { display: flex; gap: 6px; }
.action-heart, .action-cart {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--gray-pale);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.action-heart:hover { background: #ffe8e8; color: var(--red); transform: scale(1.1); }
.action-cart:hover { background: var(--orange-pale); color: var(--orange); transform: scale(1.1); }
.action-heart.active { background: #ffe8e8; color: var(--red); }
.action-heart.active svg { fill: var(--red); }

/* ═══════════════════════════════════════════════════════
   WISHLIST LIST (Wishlist Screen)
═══════════════════════════════════════════════════════ */
.wishlist-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 16px 16px;
}
.wishlist-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: slide-in 0.3s ease both;
}
.wishlist-card:hover {
  transform: translateX(4px);
  box-shadow: var(--card-shadow-hover);
}
@keyframes slide-in {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}
.wl-img-wrap {
  width: 72px; height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--gray-pale);
}
.wl-info { flex: 1; min-width: 0; }
.wl-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wl-desc {
  font-size: 10.5px;
  color: var(--gray);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 5px;
}
.wl-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--red);
}
.wl-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}
.wl-heart, .wl-cart {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--gray-pale);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.wl-heart:hover { background: #ffe8e8; color: var(--red); transform: scale(1.1); }
.wl-cart:hover { background: var(--orange-pale); color: var(--orange); transform: scale(1.1); }
.wl-heart.active { background: #ffe8e8; color: var(--red); }
.wl-heart.active svg { fill: var(--red); }

/* ═══════════════════════════════════════════════════════
   PROFILE SCREEN
═══════════════════════════════════════════════════════ */
.profile-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px 20px;
  background: linear-gradient(180deg, var(--orange-pale) 0%, var(--white) 100%);
}
.profile-avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: 0 8px 24px rgba(255,107,43,0.25);
  margin-bottom: 12px;
}
.profile-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 4px;
}
.profile-email {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 20px;
}
.profile-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 24px;
  box-shadow: var(--card-shadow);
  width: 100%;
}
.stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.stat-num {
  font-size: 20px;
  font-weight: 800;
  color: var(--black);
}
.stat-label {
  font-size: 11px;
  color: var(--gray);
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--gray-pale);
}
.profile-menu {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.profile-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  color: var(--dark);
  font-size: 14px;
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition);
}
.profile-item:hover {
  transform: translateX(4px);
  box-shadow: var(--card-shadow-hover);
}
.profile-item svg:first-child { color: var(--orange); }
.profile-item span { flex: 1; text-align: left; }
.profile-item svg:last-child { color: var(--gray-light); }
.profile-item.logout { color: var(--red); }
.profile-item.logout svg:first-child { color: var(--red); }

/* ═══════════════════════════════════════════════════════
   BOTTOM NAVIGATION
═══════════════════════════════════════════════════════ */
.bottom-nav {
  height: 72px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 8px;
  border-top: 1px solid rgba(0,0,0,0.06);
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--gray-light);
  transition: color var(--transition), transform var(--transition);
  position: relative;
}
.nav-item:hover { color: var(--gray); transform: translateY(-2px); }
.nav-item.active { color: var(--orange); }
.nav-item.active .nav-icon {
  filter: drop-shadow(0 2px 6px rgba(255,107,43,0.4));
}
.nav-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.nav-item.active::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%; transform: translateX(-50%);
  width: 24px; height: 3px;
  background: var(--orange);
  border-radius: 0 0 4px 4px;
}

/* ═══════════════════════════════════════════════════════
   TOAST NOTIFICATION
═══════════════════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--dark);
  color: white;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 50px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ═══════════════════════════════════════════════════════
   CART DRAWER
═══════════════════════════════════════════════════════ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 100;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-drawer {
  position: fixed;
  bottom: 0; left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 390px;
  max-height: 70vh;
  background: var(--white);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.2);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 101;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.cart-drawer.open { transform: translateX(-50%) translateY(0); }
.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 14px;
  border-bottom: 1px solid var(--gray-pale);
}
.cart-header h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--black);
}
.cart-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gray-pale);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray);
  transition: background var(--transition);
}
.cart-close:hover { background: #e0e0e0; }
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 12px 20px;
  scrollbar-width: none;
}
.cart-items::-webkit-scrollbar { display: none; }
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px 0;
  color: var(--gray-light);
  font-size: 14px;
}
.cart-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-pale);
  animation: slide-in 0.25s ease;
}
.cart-item-row:last-child { border-bottom: none; }
.cart-item-name {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
}
.cart-item-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
}
.cart-item-remove {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--gray-pale);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray);
  font-size: 14px;
  transition: background var(--transition), color var(--transition);
}
.cart-item-remove:hover { background: #ffe8e8; color: var(--red); }
.cart-footer {
  padding: 14px 20px 20px;
  border-top: 1px solid var(--gray-pale);
}
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
}
.total-amount { color: var(--orange); font-size: 18px; }
.checkout-btn {
  width: 100%;
  padding: 15px;
  background: var(--orange);
  color: white;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(255,107,43,0.4);
}
.checkout-btn:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,107,43,0.5);
}
.checkout-btn:active { transform: translateY(0); }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — Full-page on mobile
═══════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .app-bg {
    padding: 0;
    background: var(--white);
    align-items: flex-start;
  }
  .phone-shell {
    width: 100%;
    height: 100dvh;
    border-radius: 0;
    box-shadow: none;
  }
  .phone-notch::after { display: none; }
  .cart-drawer { width: 100%; }
}

/* ═══════════════════════════════════════════════════════
   ENTRANCE ANIMATIONS
═══════════════════════════════════════════════════════ */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.screen.active .hero-banner    { animation: fade-up 0.4s ease 0.05s both; }
.screen.active .section-header { animation: fade-up 0.4s ease 0.1s both; }
.screen.active .category-row   { animation: fade-up 0.4s ease 0.15s both; }
.screen.active .recommend-row  { animation: fade-up 0.4s ease 0.2s both; }
.screen.active .product-grid   { animation: fade-up 0.4s ease 0.15s both; }
.screen.active .wishlist-list  { animation: fade-up 0.4s ease 0.1s both; }
.screen.active .profile-hero   { animation: fade-up 0.4s ease 0.05s both; }
.screen.active .profile-menu   { animation: fade-up 0.4s ease 0.15s both; }