/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f5f5f5;
  color: #222;
  padding-bottom: 70px;
}
[dir="rtl"] body, [dir="rtl"] * {
  font-family: 'Noto Sans Arabic', 'Segoe UI', Arial, sans-serif;
}
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }

/* ===== HEADER ===== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: #e91e8c; color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.header-top {
  display: flex; align-items: center;
  padding: 10px 12px; gap: 4px;
}
.icon-btn {
  position: relative; color: #fff;
  font-size: 18px; padding: 6px;
  border-radius: 50%; transition: background .2s;
}
.icon-btn:hover { background: rgba(255,255,255,.2); }
.logo {
  flex: 1; text-align: center;
  font-size: 22px; font-weight: 900;
  letter-spacing: 2px; font-style: italic;
}
.badge {
  position: absolute; top: 0; right: 0;
  background: #ff4444; color: #fff;
  font-size: 10px; font-weight: 700;
  border-radius: 50%; min-width: 16px; height: 16px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 2px;
}

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
  display: flex; gap: 2px;
  background: rgba(0,0,0,.2);
  border-radius: 16px; padding: 2px;
}
.lang-btn {
  color: rgba(255,255,255,.75);
  font-size: 11px; font-weight: 700;
  padding: 3px 7px; border-radius: 14px;
  transition: all .2s; white-space: nowrap;
}
.lang-btn.active {
  background: #fff; color: #e91e8c;
}
.lang-btn:hover:not(.active) { color: #fff; }

/* ===== SEARCH BAR ===== */
.search-bar { display: none; padding: 0 12px 10px; gap: 8px; }
.search-bar.open { display: flex; }
.search-bar input {
  flex: 1; padding: 8px 14px;
  border-radius: 20px; border: none;
  font-size: 14px; outline: none;
}
.search-bar button {
  background: rgba(255,255,255,.2); color: #fff;
  border-radius: 50%; width: 36px; height: 36px; font-size: 15px;
}

/* ===== CATEGORY TABS ===== */
.cat-tabs {
  display: flex; overflow-x: auto;
  scrollbar-width: none; padding: 0 8px 8px; gap: 4px;
}
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab {
  color: rgba(255,255,255,.8); font-size: 13px;
  padding: 4px 14px; border-radius: 20px;
  white-space: nowrap; transition: all .2s; font-weight: 500;
}
.cat-tab.active, .cat-tab:hover {
  background: rgba(255,255,255,.25); color: #fff;
}

/* ===== DRAWER ===== */
.drawer-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.5); z-index: 200;
}
.drawer-overlay.open { display: block; }
.drawer {
  position: fixed; left: -280px; top: 0; bottom: 0;
  width: 280px; background: #fff; z-index: 201;
  transition: left .3s ease; display: flex; flex-direction: column;
}
.drawer.open { left: 0; }
[dir="rtl"] .drawer { left: auto; right: -280px; transition: right .3s ease; }
[dir="rtl"] .drawer.open { right: 0; left: auto; }
.drawer-head {
  background: #e91e8c; color: #fff; padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between;
}
.drawer-menu { list-style: none; padding: 10px 0; flex: 1; }
.drawer-menu li a {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 20px; font-size: 15px; color: #333; transition: background .2s;
}
.drawer-menu li a:hover { background: #fce4ec; color: #e91e8c; }
.drawer-menu li a i { width: 20px; color: #e91e8c; }
.drawer-footer {
  padding: 16px; display: flex; gap: 10px; border-top: 1px solid #eee;
}
.btn-outline {
  flex: 1; padding: 10px; border: 2px solid #e91e8c;
  color: #e91e8c; border-radius: 22px; font-weight: 600;
  font-size: 14px; transition: all .2s;
}
.btn-outline:hover { background: #e91e8c; color: #fff; }
.btn-primary {
  flex: 1; padding: 10px; background: #e91e8c;
  color: #fff; border-radius: 22px; font-weight: 600;
  font-size: 14px; transition: all .2s;
}
.btn-primary:hover { background: #c2185b; }

/* ===== MAIN CONTENT ===== */
.main-content { max-width: 600px; margin: 0 auto; }

/* ===== HERO SLIDER ===== */
.hero-slider { position: relative; overflow: hidden; height: 165px; }
@media (min-width: 480px) { .hero-slider { height: 200px; } }
@media (min-width: 768px) { .hero-slider { height: 260px; } }

.hero-slides { display: flex; height: 100%; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.hero-slide {
  min-width: 100%; height: 100%;
  position: relative; overflow: hidden;
  background: #111;
}

/* Full-width banner image */
.hero-slide-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}

/* Video overlay (replaces image) */
.hero-slide-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.hero-slide-video iframe,
.hero-slide-video video {
  width: 100%; height: 100%;
  border: none; object-fit: cover;
}

/* Dots */
.hero-dots {
  position: absolute; bottom: 8px; left: 50%;
  transform: translateX(-50%); display: flex; gap: 5px; z-index: 3;
}
.hero-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.45); cursor: pointer; transition: all .3s;
  box-shadow: 0 0 3px rgba(0,0,0,.3);
}
.hero-dot.active { background: #e91e8c; width: 18px; border-radius: 3px; }

/* ===== CITY VIDEO SECTION ===== */
.city-video-section {
  margin: 0 10px 12px;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 4px 20px rgba(0,0,0,.22);
}
.city-video-header {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  background: linear-gradient(90deg, #00562b, #1d8a50);
  color: #fff; font-size: 13px; font-weight: 700;
}
.city-video-header span.city-sub {
  margin-left: auto; font-size: 10px; opacity: .75; font-weight: 400;
}
.city-video-wrap {
  position: relative; padding-bottom: 38%; height: 0;
}
.city-video-wrap iframe,
.city-video-wrap video {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; border: none; object-fit: cover;
}

/* ===== INFO BAR ===== */
.info-bar {
  display: flex; background: #fff7e8;
  border: 1px solid #ffe0b2; margin: 10px;
  border-radius: 10px; padding: 10px 0;
}
.info-item {
  flex: 1; display: flex; align-items: center;
  justify-content: center; gap: 8px; padding: 4px 6px;
}
.info-item i { color: #e91e8c; font-size: 18px; }
.info-item strong { display: block; font-size: 12px; color: #333; }
.info-item small { font-size: 10px; color: #888; }
.info-divider { width: 1px; background: #ffe0b2; margin: 4px 0; }

/* ===== SECTION ===== */
.section { padding: 6px 10px 10px; }
.section-title { font-size: 16px; font-weight: 700; color: #222; margin-bottom: 12px; }

/* ===== CATEGORY CIRCLES ===== */
.cat-circles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px 8px; }
.cat-circle {
  display: flex; flex-direction: column;
  align-items: center; gap: 6px; cursor: pointer;
}
.circle-img {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; border: 1.5px solid #e8e8e8;
  overflow: hidden; background: #f5f5f5;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  transition: transform .2s, box-shadow .2s;
}
.circle-img img {
  width: 100%; height: 100%; object-fit: cover;
}
.cat-circle:hover .circle-img {
  transform: scale(1.1);
  box-shadow: 0 4px 14px rgba(233,30,140,.25);
}
.cat-circle span { font-size: 11px; color: #333; text-align: center; font-weight: 500; line-height: 1.2; }

/* ===== FLASH DEALS ===== */
.flash-deals-banner {
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(90deg, #e91e8c, #ff5722);
  color: #fff; padding: 10px 14px; margin: 6px 10px; border-radius: 10px;
}
.flash-left {
  display: flex; align-items: center;
  gap: 8px; font-weight: 700; font-size: 16px;
}
.flash-left i { font-size: 20px; }
.countdown {
  background: rgba(0,0,0,.25); padding: 3px 10px;
  border-radius: 6px; font-size: 14px; font-weight: 700; letter-spacing: 1px;
}
.flash-more { font-size: 13px; color: rgba(255,255,255,.9); font-weight: 600; }
.flash-products {
  display: flex; overflow-x: auto;
  gap: 10px; padding: 6px 10px 12px; scrollbar-width: none;
}
.flash-products::-webkit-scrollbar { display: none; }

/* ===== TWO COL BANNER ===== */
.two-col-banner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; padding: 6px 10px 10px;
}
.two-col-card {
  background: #fff; border-radius: 10px;
  overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.two-col-head {
  display: flex; align-items: center;
  justify-content: space-between; padding: 10px 10px 6px;
}
.two-col-title { font-size: 13px; font-weight: 700; }
.two-col-more { font-size: 11px; color: #e91e8c; font-weight: 600; }
.two-col-products {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4px; padding: 0 4px 8px;
}

/* ===== PRODUCT CARD ===== */
.product-card {
  background: #fff; border-radius: 10px; overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.07);
  cursor: pointer; transition: transform .2s, box-shadow .2s; position: relative;
}
.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
.product-card.small { border-radius: 8px; }
.product-img-wrap {
  position: relative; overflow: hidden;
  background: #f8f8f8; aspect-ratio: 3/4;
}
.product-img-wrap img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .4s;
}
.product-card:hover .product-img-wrap img { transform: scale(1.06); }
.discount-badge {
  position: absolute; top: 6px; left: 6px;
  background: #e91e8c; color: #fff;
  font-size: 10px; font-weight: 700;
  padding: 2px 6px; border-radius: 4px;
}
[dir="rtl"] .discount-badge { left: auto; right: 6px; }
.wish-btn {
  position: absolute; top: 6px; right: 6px;
  width: 28px; height: 28px;
  background: rgba(255,255,255,.85); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: #bbb; transition: all .2s;
  backdrop-filter: blur(4px);
}
[dir="rtl"] .wish-btn { right: auto; left: 6px; }
.wish-btn.active, .wish-btn:hover { color: #e91e8c; }
.product-info { padding: 8px; }
.product-name {
  font-size: 12px; color: #333;
  overflow: hidden; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  line-height: 1.4; margin-bottom: 5px;
}
.product-prices { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.price-current { font-size: 14px; font-weight: 700; color: #e91e8c; }
.price-original { font-size: 11px; color: #aaa; text-decoration: line-through; }
.price-vat-badge { font-size: 10px; font-weight: 600; color: #059669; background: #e6f7f0; border: 1px solid #b2dfdb; border-radius: 4px; padding: 1px 5px; white-space: nowrap; }
.product-meta {
  display: flex; align-items: center;
  justify-content: space-between; margin-top: 4px;
}
.product-rating { font-size: 10px; color: #ff9800; }
.product-sold { font-size: 10px; color: #999; }
.stock-badge { font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 20px; margin-top: 4px; display: inline-block; }
.stock-badge.out { background: #fde8e8; color: #c0392b; }
.stock-badge.low { background: #fff3cd; color: #b45309; }
.stock-badge.ok  { background: #e8f5e9; color: #2e7d32; }
.add-cart-btn {
  display: block; width: calc(100% - 16px);
  margin: 0 8px 8px; padding: 7px;
  background: #e91e8c; color: #fff;
  font-weight: 600; font-size: 12px;
  border-radius: 20px; text-align: center; transition: background .2s;
}
.add-cart-btn:hover { background: #c2185b; }

/* Flash card */
.flash-card {
  min-width: 130px; background: #fff; border-radius: 10px;
  overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.07);
  cursor: pointer; transition: transform .2s;
}
.flash-card:hover { transform: translateY(-2px); }
.flash-card .product-img-wrap { aspect-ratio: 1/1; }

/* ===== PRODUCTS HEADER ===== */
.products-header {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: 10px; flex-wrap: wrap; gap: 6px;
}
.sort-row { display: flex; gap: 5px; flex-wrap: wrap; }
.sort-btn {
  font-size: 11px; padding: 4px 10px;
  border: 1px solid #ddd; border-radius: 14px;
  color: #666; background: #fff; transition: all .2s;
}
.sort-btn.active, .sort-btn:hover {
  border-color: #e91e8c; color: #e91e8c; background: #fce4ec;
}
.products-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.load-more-btn {
  display: block; width: 100%; margin-top: 14px; padding: 12px;
  background: #fff; border: 2px solid #e91e8c;
  color: #e91e8c; border-radius: 22px;
  font-weight: 700; font-size: 14px; transition: all .2s;
}
.load-more-btn:hover { background: #e91e8c; color: #fff; }

/* ===== PREMIUM BOTTOM NAV ===== */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #fff;
  display: flex; z-index: 100;
  height: 68px;
  padding: 0 2px calc(env(safe-area-inset-bottom, 0px));
  overflow: visible;
  box-shadow: 0 -1px 0 rgba(0,0,0,.06), 0 -6px 24px rgba(0,0,0,.08);
}
/* Shimmer border on top */
.bottom-nav::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2.5px;
  background: linear-gradient(90deg,#e91e8c,#c026d3,#7c3aed,#e91e8c);
  background-size: 200% 100%;
  animation: navTopShimmer 2.5s linear infinite;
  border-radius: 0 0 2px 2px;
}
@keyframes navTopShimmer {
  0%   { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}
.bot-btn {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2px; padding: 6px 2px 8px;
  color: #aaa; font-size: 10px; font-weight: 700;
  letter-spacing: .2px; transition: color .2s;
  position: relative; overflow: visible;
}
.bot-icon-wrap {
  position: relative;
  width: 48px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  transition: all .3s cubic-bezier(.34,1.56,.64,1);
}
.bot-btn i {
  font-size: 22px; position: relative; z-index: 1;
  transition: all .3s cubic-bezier(.34,1.56,.64,1);
}
/* Sparkle stars */
.bot-icon-wrap::before {
  content: '✦';
  position: absolute; top: -7px; right: 0;
  font-size: 10px; color: #e91e8c;
  opacity: 0; pointer-events: none;
}
.bot-icon-wrap::after {
  content: '✦';
  position: absolute; bottom: -5px; left: 0;
  font-size: 7px; color: #7c3aed;
  opacity: 0; pointer-events: none;
}
.bot-btn.active .bot-icon-wrap::before {
  opacity: 1; animation: sparkleA 1.4s ease-in-out infinite;
}
.bot-btn.active .bot-icon-wrap::after {
  opacity: 1; animation: sparkleB 1.8s ease-in-out infinite .4s;
}
@keyframes sparkleA {
  0%,100% { transform: scale(1) rotate(0deg); opacity: 1; }
  50%      { transform: scale(2) rotate(45deg); opacity: 0; }
}
@keyframes sparkleB {
  0%,100% { transform: scale(1.5) rotate(20deg); opacity: .7; }
  50%      { transform: scale(.5) rotate(-45deg); opacity: 1; }
}
/* Active state */
.bot-btn.active { color: #e91e8c; }
.bot-btn.active .bot-icon-wrap {
  background: linear-gradient(135deg, rgba(233,30,140,.12), rgba(124,58,237,.1));
  transform: translateY(-5px) scale(1.07);
  box-shadow: 0 4px 18px rgba(233,30,140,.25), 0 8px 32px rgba(124,58,237,.15);
}
.bot-btn.active i {
  transform: scale(1.2);
  color: #e91e8c;
  filter: drop-shadow(0 2px 6px rgba(233,30,140,.5));
}
.bot-btn.active span {
  color: #e91e8c; font-weight: 800;
}
/* Animated underline dot */
.bot-btn::after {
  content: '';
  position: absolute; bottom: 2px; left: 50%;
  width: 22px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, #e91e8c, #7c3aed, #e91e8c);
  background-size: 200% 100%;
  animation: dotMove 2s linear infinite;
  box-shadow: 0 0 8px rgba(233,30,140,.5);
  transform: translateX(-50%) scaleX(0);
  transition: transform .28s cubic-bezier(.34,1.56,.64,1);
}
.bot-btn.active::after { transform: translateX(-50%) scaleX(1); }
@keyframes dotMove {
  0%   { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}
/* Tap feedback */
.bot-btn:not(.active):active .bot-icon-wrap {
  background: rgba(233,30,140,.07);
  transform: scale(.9);
}
/* Cart badge */
.bot-nav-badge {
  position: absolute;
  top: -5px; right: -5px;
  min-width: 17px; height: 17px;
  background: linear-gradient(135deg, #e91e8c, #f43f5e);
  color: #fff; font-size: 9.5px; font-weight: 800;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px; border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(233,30,140,.5);
  line-height: 1;
  animation: badgePop .3s cubic-bezier(.34,1.56,.64,1);
}
@keyframes badgePop {
  0%   { transform: scale(0) rotate(-15deg); opacity: 0; }
  70%  { transform: scale(1.25) rotate(4deg); }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}

/* ===== CART SHEET ===== */
.cart-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.45); z-index: 200;
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
}
.cart-overlay.open { display: block; animation: fadeIn .25s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.cart-sidebar {
  position: fixed; bottom: -100%; left: 0; right: 0;
  max-height: 92vh; background: #fff;
  border-radius: 24px 24px 0 0;
  z-index: 201; transition: bottom .38s cubic-bezier(.32,0,.36,1);
  display: flex; flex-direction: column;
  box-shadow: 0 -8px 40px rgba(0,0,0,.18);
}
.cart-sidebar.open { bottom: 0; transition: bottom .38s cubic-bezier(.22,1,.36,1); }

.cart-drag-handle {
  width: 40px; height: 4px; background: #e2e2e2;
  border-radius: 2px; margin: 10px auto 0; flex-shrink: 0;
}

.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px 14px; flex-shrink: 0;
  background: linear-gradient(135deg, #e91e8c 0%, #c2185b 100%);
  color: #fff;
}
.cart-head-left { display: flex; align-items: center; gap: 8px; }
.cart-head-left i { font-size: 18px; opacity: .9; }
.cart-head-left h3 { font-size: 17px; font-weight: 800; letter-spacing: .3px; }
.cart-head-count {
  background: rgba(255,255,255,.25); color: #fff;
  font-size: 11px; font-weight: 800;
  padding: 2px 8px; border-radius: 10px; min-width: 22px;
  text-align: center;
}
.cart-close-btn {
  width: 32px; height: 32px; background: rgba(255,255,255,.2);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px; transition: background .2s;
}
.cart-close-btn:hover { background: rgba(255,255,255,.35); }

.cart-items { flex: 1; overflow-y: auto; padding: 10px 12px; }
/* ===== ORDER CONFIRMED SCREEN ===== */
.cart-confirmed {
  display: none; flex-direction: column; align-items: center;
  padding: 28px 20px 32px; flex: 1; overflow-y: auto;
}
.cc-anim-wrap { margin-bottom: 18px; }
.cc-circle {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, #e91e8c22, #8b2be222);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.cc-svg { width: 52px; height: 52px; }
.cc-ring {
  stroke: #e91e8c; stroke-width: 3;
  stroke-dasharray: 151; stroke-dashoffset: 151;
  transition: stroke-dashoffset .7s ease .1s;
}
.cc-tick {
  stroke: #e91e8c; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 36; stroke-dashoffset: 36;
  transition: stroke-dashoffset .4s ease .65s;
}
.cart-confirmed.animate .cc-ring  { stroke-dashoffset: 0; }
.cart-confirmed.animate .cc-tick  { stroke-dashoffset: 0; }
.cc-title {
  font-size: 20px; font-weight: 900; color: #111;
  text-align: center; margin-bottom: 6px;
}
.cc-sub   { font-size: 14px; color: #888; text-align: center; margin-bottom: 12px; }
.cc-id    { font-size: 12px; color: #bbb; margin-bottom: 4px; letter-spacing: .5px; }
.cc-total { font-size: 22px; font-weight: 900; color: #e91e8c; margin-bottom: 22px; }
/* Mini track timeline */
.cc-track {
  display: flex; align-items: center; width: 100%; margin-bottom: 26px;
  padding: 0 4px;
}
.cc-step { display: flex; flex-direction: column; align-items: center; gap: 5px; flex-shrink: 0; }
.cc-dot {
  width: 28px; height: 28px; border-radius: 50%;
  background: #eee; color: #ccc;
  display: flex; align-items: center; justify-content: center; font-size: 11px;
}
.cc-step.done .cc-dot  { background: linear-gradient(135deg,#e91e8c,#8b2be2); color: #fff; }
.cc-step.next .cc-dot  { background: #fce4ec; color: #e91e8c; border: 2px solid #e91e8c; }
.cc-slabel { font-size: 9px; color: #aaa; font-weight: 600; text-align: center; max-width: 52px; }
.cc-step.done .cc-slabel { color: #e91e8c; }
.cc-step.next .cc-slabel { color: #e91e8c; }
.cc-tline { flex: 1; height: 2px; background: #eee; margin-bottom: 14px; }
.cc-tline.done { background: linear-gradient(90deg,#e91e8c,#8b2be2); }
/* Buttons */
.cc-btns { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.cc-track-btn {
  width: 100%; padding: 13px; border-radius: 26px;
  background: linear-gradient(135deg,#e91e8c,#8b2be2);
  color: #fff; font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.cc-cont-btn {
  width: 100%; padding: 11px; border-radius: 26px;
  background: none; border: 1.5px solid #e0e0e0;
  color: #666; font-size: 14px; font-weight: 600;
}

.empty-cart {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; height: 220px; gap: 8px;
}
.empty-cart-icon { font-size: 54px; filter: grayscale(.3); }
.empty-cart-title { font-size: 16px; font-weight: 700; color: #333; }
.empty-cart-sub { font-size: 13px; color: #aaa; }

.cart-item {
  display: flex; gap: 12px; padding: 10px 4px;
  border-bottom: 1px solid #f5f5f5; align-items: center;
}
.cart-item-img {
  width: 72px; height: 72px; border-radius: 12px; overflow: hidden;
  flex-shrink: 0; background: #f7f7f7;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 13px; font-weight: 600; color: #222; margin-bottom: 4px; line-height: 1.35; }
.cart-item-price { font-size: 15px; font-weight: 800; color: #e91e8c; margin-bottom: 8px; }
.cart-qty { display: flex; align-items: center; gap: 8px; }
.qty-btn {
  width: 28px; height: 28px;
  border: 1.5px solid #eee; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; color: #e91e8c; transition: all .2s;
}
.qty-btn:active { background: #e91e8c; color: #fff; border-color: #e91e8c; transform: scale(.9); }
.qty-num { font-size: 15px; font-weight: 700; min-width: 22px; text-align: center; color: #111; }
.remove-item { color: #ddd; font-size: 15px; padding: 4px; margin-inline-start: auto; transition: color .2s; }
.remove-item:active { color: #e91e8c; }

/* Cart footer */
.cart-footer { border-top: 1px solid #f0f0f0; background: #fff; flex-shrink: 0; }

.cart-del-prog {
  margin: 12px 14px 0;
  background: linear-gradient(135deg, #fff8fc, #fff);
  border: 1.5px solid #fce7f3;
  border-radius: 14px; padding: 10px 12px 10px;
}
.cart-del-prog-top {
  display: flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; color: #555; margin-bottom: 8px;
}
.cart-del-truck { font-size: 16px; }
.cart-del-bar-bg {
  height: 6px; background: #f0f0f0; border-radius: 3px; overflow: hidden;
}
.cart-del-bar-fill {
  height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, #e91e8c, #ff6b6b);
  transition: width .6s cubic-bezier(.34,1.2,.64,1);
  min-width: 4px;
}
.cart-del-bar-fill.full { background: linear-gradient(90deg, #059669, #34d399); }
.cart-del-prog.free-del .cart-del-prog-top { color: #059669; }
.cart-del-prog.free-del { background: linear-gradient(135deg, #f0fdf4, #fff); border-color: #a7f3d0; }

.cart-summary { padding: 10px 14px 2px; }
.cart-srow {
  display: flex; justify-content: space-between; align-items: center;
  padding: 5px 0; font-size: 13px;
}
.cart-srow-label { color: #888; display: flex; align-items: center; gap: 5px; }
.cart-srow-label i { font-size: 11px; color: #ccc; }
.cart-srow-val { font-weight: 700; color: #333; font-size: 13.5px; }
.cart-srow-val.pink { color: #e91e8c; }
.cart-srow-val.green { color: #059669; }
.cart-vat-row .cart-srow-label { color: #059669; }
.cart-vat-row .cart-srow-label i { color: #059669; }
.cart-vat-val { color: #059669 !important; font-size: 12.5px !important; }
.pay-vat-row { color: #059669 !important; font-size: 13px; }

.cart-total-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0 8px;
  border-top: 1.5px dashed #eee; margin-top: 6px;
}
.cart-total-label { font-size: 14px; font-weight: 700; color: #333; }
.cart-total-val { font-size: 22px; font-weight: 900; color: #e91e8c; }

.cart-addr-warn {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 14px; margin: 8px 12px 0; border-radius: 10px;
  font-size: 12px; font-weight: 600; cursor: pointer;
  background: #fff3cd; color: #b45309; border: 1px solid #fde68a;
  transition: opacity .15s;
}
.cart-addr-warn:active { opacity: .7; }
[data-theme="dark"] .cart-addr-warn { background: #3a2a00; color: #fde68a; border-color: #5a4200; }
[data-theme="dark"] .cart-addr-warn[style*="#e8f5e9"] { background: #0d2a0d !important; color: #86efac !important; border-color: #1a4a1a !important; }

.btn-checkout {
  margin: 8px 14px 14px;
  width: calc(100% - 28px); padding: 15px 20px;
  background: linear-gradient(135deg, #e91e8c 0%, #c2185b 100%);
  color: #fff; font-size: 16px; font-weight: 800;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 6px 24px rgba(233,30,140,.4);
  transition: transform .15s, box-shadow .15s, opacity .15s;
  letter-spacing: .3px;
}
.btn-checkout:active { transform: scale(.97); box-shadow: 0 3px 12px rgba(233,30,140,.3); opacity: .92; }

/* ===== PRODUCT MODAL ===== */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 300; }
.modal-overlay.open { display: block; }
.product-modal {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  background: #fff; border-radius: 20px 20px 0 0;
  z-index: 301; max-height: 90vh; overflow-y: auto;
}
.product-modal.open { display: block; }
.modal-close {
  position: absolute; top: 12px; right: 14px;
  width: 32px; height: 32px; background: #f5f5f5;
  border-radius: 50%; font-size: 15px; color: #555;
  display: flex; align-items: center; justify-content: center; z-index: 1;
}
[dir="rtl"] .modal-close { right: auto; left: 14px; }
.modal-body { padding-bottom: 20px; }
.modal-img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.modal-video-wrap { position: relative; width: 100%; padding-top: 56.25%; background: #000; }
.modal-video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Gallery thumbnails */
.modal-gallery { position: relative; }
.modal-thumbs {
  display: flex; gap: 6px; padding: 8px 10px;
  overflow-x: auto; scrollbar-width: none;
  background: #f5f5f5;
}
.modal-thumbs::-webkit-scrollbar { display: none; }
.modal-thumb {
  width: 58px; height: 58px; object-fit: cover;
  border-radius: 8px; cursor: pointer; flex-shrink: 0;
  border: 2.5px solid transparent; opacity: .65;
  transition: all .2s; background: #eee;
}
.modal-thumb.active { border-color: #e91e8c; opacity: 1; box-shadow: 0 2px 8px rgba(233,30,140,.3); }
.modal-thumb:hover { opacity: .9; }
[data-theme="dark"] .modal-thumbs { background: #1a1a1a; }
[data-theme="dark"] .modal-thumb { opacity: .5; background: #222; }
[data-theme="dark"] .modal-thumb.active { opacity: 1; }
.modal-info { padding: 16px; }
.modal-name { font-size: 16px; font-weight: 600; color: #222; margin-bottom: 10px; }
.modal-prices { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.modal-price-current { font-size: 22px; font-weight: 800; color: #e91e8c; }
.modal-price-orig { font-size: 15px; color: #aaa; text-decoration: line-through; }
.modal-discount { background: #fce4ec; color: #e91e8c; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 4px; }
.modal-vat-badge { font-size: 11px; font-weight: 600; color: #059669; background: #e6f7f0; border: 1px solid #b2dfdb; border-radius: 4px; padding: 2px 7px; display: flex; align-items: center; gap: 4px; }
.modal-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.stars { color: #ff9800; font-size: 14px; }
.rating-count { font-size: 13px; color: #888; }
.modal-stock { font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 8px; margin-bottom: 10px; display: inline-flex; align-items: center; gap: 6px; }
.modal-stock.out { background: #fde8e8; color: #c0392b; }
.modal-stock.low { background: #fff3cd; color: #b45309; }
.modal-stock.ok  { background: #e8f5e9; color: #2e7d32; }
.modal-divider { height: 1px; background: #f0f0f0; margin: 12px 0; }
.modal-desc { font-size: 13px; color: #555; line-height: 1.7; white-space: pre-line; }
.modal-section-title { font-size: 13px; font-weight: 700; color: #555; margin-bottom: 8px; }
.size-options, .color-options { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.size-opt {
  padding: 5px 14px; border: 1.5px solid #ddd;
  border-radius: 6px; font-size: 13px; cursor: pointer; transition: all .2s;
}
.size-opt.active, .size-opt:hover { border-color: #e91e8c; color: #e91e8c; background: #fce4ec; }
.color-opt {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2.5px solid transparent; cursor: pointer; transition: border-color .2s;
}
.color-opt.active, .color-opt:hover { border-color: #e91e8c; }
/* Quantity selector row */
.modal-qty-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px 4px;
}
.modal-qty-label { font-size: 13px; font-weight: 700; color: #444; flex-shrink: 0; }
.modal-qty-ctrl {
  display: flex; align-items: center; gap: 0;
  border: 2px solid #e91e8c; border-radius: 30px; overflow: hidden; flex-shrink: 0;
}
.mq-btn {
  width: 36px; height: 36px; background: none; color: #e91e8c;
  font-size: 13px; display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.mq-btn:active { background: #fce4ec; }
.mq-num {
  min-width: 32px; text-align: center;
  font-size: 16px; font-weight: 800; color: #111;
}
.modal-qty-price {
  margin-left: auto; font-size: 17px; font-weight: 900; color: #e91e8c;
}

.modal-actions { padding: 10px 16px 0; display: flex; gap: 10px; }
.btn-wishlist {
  width: 48px; height: 48px; border: 2px solid #e91e8c;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: #e91e8c; flex-shrink: 0; transition: all .2s;
}
.btn-wishlist.active, .btn-wishlist:hover { background: #e91e8c; color: #fff; }
.btn-add-cart {
  flex: 1; padding: 13px; background: #e91e8c; color: #fff;
  font-size: 15px; font-weight: 700; border-radius: 26px; transition: background .2s;
}
.btn-add-cart:hover { background: #c2185b; }

/* ===== DELIVERY ESTIMATE TIMELINE ===== */
.del-est { margin: 14px 16px 6px; background: #f8fffe; border: 1.5px solid #d1fae5; border-radius: 14px; padding: 14px 16px; }
.del-est-head { font-size: 12px; font-weight: 700; color: #059669; margin-bottom: 14px; display: flex; align-items: center; gap: 6px; text-transform: uppercase; letter-spacing: .4px; }
.del-est-track { display: flex; align-items: flex-start; justify-content: space-between; }
.det-step { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 0 0 auto; }
.det-node { width: 40px; height: 40px; border-radius: 50%; background: #1a1a2e; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.det-active .det-node { background: linear-gradient(135deg,#e91e8c,#8b2be2); box-shadow: 0 3px 12px rgba(233,30,140,.35); }
.det-info { text-align: center; }
.det-date { font-size: 10px; font-weight: 700; color: #333; white-space: nowrap; }
.det-lbl { font-size: 10px; color: #888; margin-top: 1px; white-space: nowrap; }
.det-line { flex: 1; height: 2px; background: linear-gradient(90deg,#d1fae5,#6ee7b7); margin-top: 19px; min-width: 18px; border-radius: 2px; }
[data-theme="dark"] .del-est { background: rgba(5,150,105,.08); border-color: rgba(5,150,105,.25); }
[data-theme="dark"] .del-est-head { color: #34d399; }
[data-theme="dark"] .det-node { background: #2a2a3e; }
[data-theme="dark"] .det-date { color: #ccc; }
[data-theme="dark"] .det-lbl { color: #666; }
[data-theme="dark"] .det-line { background: linear-gradient(90deg,rgba(52,211,153,.2),rgba(52,211,153,.5)); }

/* ===== TOAST ===== */
.toast {
  display: none; position: fixed; bottom: 85px; left: 50%;
  transform: translateX(-50%); background: rgba(0,0,0,.85);
  color: #fff; padding: 10px 20px; border-radius: 22px;
  font-size: 14px; z-index: 400; white-space: nowrap;
}
.toast.show { display: block; animation: fadeInOut 2.5s forwards; }
@keyframes fadeInOut {
  0% { opacity: 0; transform: translateX(-50%) translateY(10px); }
  15% { opacity: 1; transform: translateX(-50%) translateY(0); }
  80% { opacity: 1; }
  100% { opacity: 0; }
}

.no-results { grid-column: 1/-1; text-align: center; padding: 40px; color: #aaa; }
.no-results i { font-size: 40px; margin-bottom: 10px; }

/* ===== HELP CENTER ===== */

/* WhatsApp FAB */
.wa-fab {
  position: fixed; right: 14px; bottom: 140px; z-index: 200;
  background: #25d366;
  color: #fff; border-radius: 50%;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; text-decoration: none;
  box-shadow: 0 4px 18px rgba(37,211,102,.45);
  transition: transform .2s, box-shadow .2s;
}
.wa-fab:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,.6); }
.wa-fab i { font-size: 24px; }
.wa-fab-label { display: none; }
[dir="rtl"] .wa-fab { right: auto; left: 14px; }

/* Floating button */
.hc-fab {
  position: fixed; right: 14px; bottom: 80px; z-index: 200;
  background: linear-gradient(135deg, #e91e8c, #9c27b0);
  color: #fff; border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; cursor: pointer;
  box-shadow: 0 4px 18px rgba(233,30,140,.45);
  transition: transform .2s, box-shadow .2s;
}
.hc-fab:hover { transform: scale(1.06); box-shadow: 0 6px 24px rgba(233,30,140,.6); }
.hc-fab i { font-size: 22px; }
.hc-fab-label { display: none; }
.hc-fab-dot {
  position: absolute; top: 6px; right: 6px;
  width: 9px; height: 9px; border-radius: 50%;
  background: #4ade80; border: 2px solid #fff;
  animation: hcPulse 2s ease-in-out infinite;
}
@keyframes hcPulse { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.4);opacity:.7} }
[dir="rtl"] .hc-fab { right: auto; left: 14px; }

/* Backdrop */
.hc-backdrop {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.45); z-index: 300;
  animation: hcFadeIn .2s ease;
}
.hc-backdrop.open { display: block; }
@keyframes hcFadeIn { from{opacity:0} to{opacity:1} }

/* Panel */
.hc-panel {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 400;
  background: #fff; border-radius: 20px 20px 0 0;
  padding-bottom: env(safe-area-inset-bottom, 16px);
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  max-height: 90vh; overflow-y: auto;
}
.hc-panel.open { transform: translateY(0); }
[data-theme="dark"] .hc-panel { background: #1a1a1a; }

/* Header */
.hc-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 16px 12px;
  background: linear-gradient(135deg, #e91e8c 0%, #9c27b0 100%);
  border-radius: 20px 20px 0 0;
  color: #fff;
}
.hc-header-left { display: flex; align-items: center; gap: 10px; }
.hc-online-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: #4ade80; border: 2px solid rgba(255,255,255,.5);
  flex-shrink: 0; animation: hcPulse 2s ease-in-out infinite;
}
.hc-title { font-size: 14px; font-weight: 800; }
.hc-subtitle { font-size: 11px; opacity: .85; margin-top: 1px; }
.hc-close {
  background: rgba(255,255,255,.2); border: none;
  color: #fff; width: 32px; height: 32px; border-radius: 50%;
  font-size: 14px; cursor: pointer; display: flex; align-items: center; justify-content: center;
}

/* WhatsApp CTA */
.hc-wa-wrap { padding: 14px 16px 8px; }
.hc-wa-btn {
  display: flex; align-items: center; gap: 12px;
  background: #25d366; color: #fff;
  border-radius: 14px; padding: 14px 16px;
  text-decoration: none; width: 100%; box-sizing: border-box;
  font-size: 14px;
  box-shadow: 0 4px 14px rgba(37,211,102,.35);
  transition: transform .15s, box-shadow .15s;
}
.hc-wa-btn:hover { transform: scale(1.02); box-shadow: 0 6px 20px rgba(37,211,102,.5); }
.hc-wa-btn i:first-child { font-size: 28px; flex-shrink: 0; }

/* Quick options */
.hc-options { padding: 4px 16px; display: flex; flex-direction: column; gap: 4px; }
.hc-opt {
  display: flex; align-items: center; gap: 12px;
  background: #f8f8f8; border: none; border-radius: 12px;
  padding: 13px 14px; cursor: pointer; width: 100%; text-align: left;
  font-size: 13px; font-weight: 600; color: #222;
  transition: background .15s;
}
.hc-opt:hover { background: #f0f0f0; }
.hc-opt i:first-child { font-size: 18px; width: 22px; flex-shrink: 0; }
.hc-arr { margin-left: auto; color: #aaa; font-size: 11px; transition: transform .2s; }
[data-theme="dark"] .hc-opt { background: #252525; color: #ddd; }
[data-theme="dark"] .hc-opt:hover { background: #2a2a2a; }

/* FAQ */
.hc-faq {
  padding: 0 16px 16px;
  max-height: 0; overflow: hidden;
  transition: max-height .35s cubic-bezier(.4,0,.2,1);
}
.hc-faq.open { max-height: 600px; }
.hc-faq-item { border-bottom: 1px solid #f0f0f0; }
[data-theme="dark"] .hc-faq-item { border-color: #2a2a2a; }
.hc-faq-q {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; background: none; border: none;
  padding: 13px 0; text-align: left; font-size: 13px;
  font-weight: 600; color: #333; cursor: pointer; gap: 10px;
}
[data-theme="dark"] .hc-faq-q { color: #ddd; }
.hc-faq-q i { color: #e91e8c; font-size: 12px; flex-shrink: 0; transition: transform .2s; }
.hc-faq-q.open i { transform: rotate(45deg); }
.hc-faq-a {
  font-size: 12px; color: #666; line-height: 1.7;
  padding: 0 0 12px; display: none;
}
[data-theme="dark"] .hc-faq-a { color: #aaa; }
.hc-faq-a.open { display: block; }

@media (min-width: 600px) {
  .main-content { border-left: 1px solid #eee; border-right: 1px solid #eee; }
}

/* ===== ME / ACCOUNT PANEL ===== */
.me-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.45); z-index: 120;
}
.me-overlay.open { display: block; }

.me-panel {
  position: fixed; top: 0; bottom: 70px; left: 0; right: 0;
  background: #f4f4f6; z-index: 121;
  overflow-y: auto; overflow-x: hidden;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  max-width: 600px; margin: 0 auto;
}
.me-panel.open { transform: translateX(0); }
[dir="rtl"] .me-panel { transform: translateX(-100%); }
[dir="rtl"] .me-panel.open { transform: translateX(0); }

/* ---- Profile page header ---- */
.me-page-head {
  background: #fff; border-bottom: 1px solid #efefef;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; position: sticky; top: 0; z-index: 5;
}
.me-back-btn {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #f5f5f5; font-size: 16px; color: #333; cursor: pointer;
  transition: background .15s;
}
.me-back-btn:active { background: #eee; }
.me-page-title { font-size: 17px; font-weight: 800; color: #111; }

/* ---- Profile hero ---- */
.me-profile-hero {
  background: #fff; margin: 12px 12px 0;
  border-radius: 18px; padding: 20px 18px;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
}
.me-hero-row {
  display: flex; align-items: center; gap: 16px;
}
.me-big-avatar-wrap {
  width: 70px; height: 70px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #e91e8c, #ff6b6b);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; box-shadow: 0 3px 12px rgba(233,30,140,.3);
}
.me-big-avatar-wrap img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  display: none;
}
.me-big-initial { font-size: 28px; font-weight: 900; color: #fff; }
.me-big-avatar {
  width: 70px; height: 70px; border-radius: 50%; flex-shrink: 0;
  background: #f0f0f0; display: flex; align-items: center;
  justify-content: center; font-size: 32px; color: #bbb;
}
.me-hero-info { flex: 1; min-width: 0; }
.me-hero-name { font-size: 16px; font-weight: 800; color: #111; }
.me-hero-email { font-size: 12px; color: #999; margin-top: 3px; word-break: break-all; }
.me-edit-pill {
  flex-shrink: 0; background: #f4f4f6; color: #333;
  border-radius: 20px; padding: 7px 18px;
  font-size: 13px; font-weight: 700; cursor: pointer;
  border: 1.5px solid #e0e0e0; transition: background .15s;
}
.me-edit-pill:active { background: #e8e8e8; }

/* ---- Shared card block ---- */
.me-card-block {
  background: #fff; margin: 10px 12px 0;
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
}
.me-block-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; cursor: pointer;
  border-bottom: 1px solid #f5f5f5;
}
.me-card-block:last-of-type .me-block-header:only-child { border-bottom: none; }
.me-block-title { font-size: 15px; font-weight: 700; color: #111; }
.me-chev-r { font-size: 12px; color: #ccc; }

/* ---- Address card ---- */
.me-addr-card {
  background: #f7f7f9; margin: 0 16px 14px;
  border-radius: 12px; padding: 14px 16px;
  border: 1px solid #eee;
}
.me-addr-name-row { font-size: 14px; font-weight: 800; color: #111; margin-bottom: 4px; }
.me-addr-line { font-size: 13px; color: #555; line-height: 1.5; }
.me-add-addr-row {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; font-size: 14px; font-weight: 600; color: #e91e8c;
  cursor: pointer;
}
.me-add-addr-row i { font-size: 18px; }

/* ---- Orders empty ---- */
.me-orders-empty {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 18px; font-size: 14px; color: #aaa;
}
.me-orders-empty i { font-size: 20px; }

/* ---- My Orders Cards ---- */
.mo-empty { display:flex; align-items:center; gap:10px; padding:18px 18px; font-size:14px; color:#aaa; }
.mo-empty i { font-size:22px; }
.mo-card {
  margin: 0 12px 12px; border-radius: 16px;
  background: #f8f8fb; border: 1.5px solid #eee;
  overflow: hidden;
}
.mo-card-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px 10px; border-bottom: 1px solid #eee;
}
.mo-id { font-size: 13px; font-weight: 800; color: #111; letter-spacing: .3px; }
.mo-date { font-size: 11px; color: #999; margin-top: 2px; }
.mo-status-pill {
  font-size: 11px; font-weight: 700; padding: 4px 10px;
  border-radius: 20px; display: flex; align-items: center; gap: 5px; white-space: nowrap;
}
.mo-items-row { display: flex; align-items: center; gap: 8px; padding: 10px 14px 4px; flex-wrap: wrap; }
.mo-item-thumb {
  position: relative; width: 48px; height: 48px; border-radius: 10px;
  overflow: hidden; background: #eee; flex-shrink: 0;
  border: 1.5px solid #e0e0e0;
}
.mo-item-thumb img { width:100%; height:100%; object-fit:cover; }
.mo-item-qty {
  position: absolute; bottom: 0; right: 0;
  background: rgba(0,0,0,.6); color: #fff;
  font-size: 9px; font-weight: 700; padding: 1px 4px;
  border-radius: 5px 0 0 0;
}
.mo-item-more {
  width: 48px; height: 48px; border-radius: 10px;
  background: #eee; display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #888;
}
.mo-names { font-size: 11px; color: #888; padding: 2px 14px 10px; line-height: 1.5; }

/* Timeline */
.mo-timeline {
  display: flex; align-items: center;
  padding: 10px 14px 8px; overflow-x: auto;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.mo-timeline::-webkit-scrollbar { display: none; }
.mo-step { display: flex; flex-direction: column; align-items: center; gap: 4px; flex-shrink: 0; }
.mo-dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: #e0e0e0; color: #bbb;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800; transition: all .3s;
}
.mo-step.done .mo-dot { background: linear-gradient(135deg,#e91e8c,#8b2be2); color: #fff; }
.mo-step-label { font-size: 9px; color: #aaa; text-align: center; max-width: 52px; font-weight: 600; }
.mo-step.done .mo-step-label { color: #e91e8c; }
.mo-line { flex: 1; height: 2px; background: #e0e0e0; min-width: 24px; margin-bottom: 14px; transition: all .3s; }
.mo-line.done { background: linear-gradient(90deg,#e91e8c,#8b2be2); }
.mo-cancelled-bar {
  margin: 6px 14px 8px; padding: 8px 12px; border-radius: 10px;
  background: #fde8e8; color: #c0392b; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; gap: 8px;
}
.mo-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 14px 12px; border-top: 1px solid #eee;
}
.mo-total-label { font-size: 12px; color: #888; font-weight: 600; }
.mo-total-val { font-size: 15px; font-weight: 900; color: #111; }

.mo-confirm-btn {
  width: calc(100% - 28px); margin: 0 14px 14px;
  padding: 13px 16px; border: none; border-radius: 12px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff; font-size: 14px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 4px 14px rgba(16,185,129,.35);
  transition: transform .15s, box-shadow .15s;
}
.mo-confirm-btn:active { transform: scale(.97); box-shadow: 0 2px 8px rgba(16,185,129,.25); }
.mo-confirmed-badge {
  width: calc(100% - 28px); margin: 0 14px 14px;
  padding: 11px 16px; border-radius: 12px;
  background: #f0fdf4; border: 1.5px solid #86efac;
  color: #059669; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
[data-theme="dark"] .mo-confirm-btn { box-shadow: 0 4px 14px rgba(16,185,129,.2); }
[data-theme="dark"] .mo-confirmed-badge { background: rgba(16,185,129,.08); border-color: rgba(16,185,129,.3); color: #34d399; }

/* ---- Account menu list ---- */
.me-list-block {}
.me-list-item {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 18px; border-bottom: 1px solid #f5f5f5;
  cursor: pointer; transition: background .15s;
}
.me-list-item:last-child { border-bottom: none; }
.me-list-item:active { background: #f9f9f9; }
.me-list-item > span { flex: 1; font-size: 14px; color: #222; font-weight: 500; }
.me-list-icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.me-list-icon.pink   { background: #fce4ec; color: #e91e8c; }
.me-list-icon.purple { background: #ede7f6; color: #7c3aed; }
.me-list-icon.gray   { background: #f3f3f3; color: #555; }
.me-list-icon.red    { background: #fde8e8; color: #e53935; }
.me-list-badge {
  background: #e91e8c; color: #fff; font-size: 11px; font-weight: 800;
  border-radius: 12px; padding: 2px 8px; min-width: 22px; text-align: center;
}

/* ---- Help button ---- */
.me-help-fab {
  margin: 12px 12px 20px; background: #ffd700;
  border-radius: 30px; padding: 14px 20px;
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 14px; cursor: pointer;
  justify-content: center; color: #333; width: calc(100% - 24px);
  box-shadow: 0 3px 12px rgba(255,215,0,.5);
}
.me-help-fab i { font-size: 22px; color: #25d366; }

/* ===== SETTINGS PANEL ===== */
.settings-panel {
  position: fixed; top: 0; bottom: 70px; left: 0; right: 0;
  background: #f2f2f2; z-index: 122;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  max-width: 600px; margin: 0 auto;
}
.settings-panel.open { transform: translateX(0); }
[dir="rtl"] .settings-panel { transform: translateX(-100%); }
[dir="rtl"] .settings-panel.open { transform: translateX(0); }

.settings-head {
  background: #fff; border-bottom: 1px solid #eee;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; font-size: 16px; font-weight: 700; color: #111;
  position: sticky; top: 0; z-index: 5;
}

.settings-body { padding: 12px 10px; }
.settings-group {
  background: #fff; border-radius: 14px; overflow: hidden;
  margin-bottom: 12px; box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.settings-item {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; border-bottom: 1px solid #f5f5f5;
  cursor: pointer; transition: background .15s;
}
.settings-item:last-child { border-bottom: none; }
.settings-item:active { background: #f9f9f9; }
.settings-item > i:first-child { width: 22px; color: #555; font-size: 17px; }
.settings-item > span { flex: 1; font-size: 14px; color: #222; font-weight: 500; }
.settings-item > i:last-child { color: #ccc; font-size: 12px; }
.settings-val { font-size: 13px; color: #888; }
/* Sound toggle switch */
.snd-toggle {
  width: 44px; height: 26px; border-radius: 13px;
  background: #ddd; position: relative; transition: background .25s;
  flex-shrink: 0; cursor: pointer;
}
.snd-toggle::after {
  content: ''; position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.25);
  transition: transform .25s;
}
.snd-toggle.on { background: linear-gradient(135deg,#e91e8c,#8b2be2); }
.snd-toggle.on::after { transform: translateX(18px); }

.settings-signout-wrap, .settings-sell-wrap {
  background: #fff; border-radius: 14px;
  margin-bottom: 12px; overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.settings-signout-btn {
  width: 100%; display: flex; align-items: center; justify-content: center;
  gap: 10px; padding: 16px; font-size: 15px; font-weight: 700; color: #e91e8c;
}
.settings-sell-btn {
  width: 100%; padding: 16px; text-align: center;
  font-size: 14px; font-weight: 700; color: #0066cc;
}

.settings-social {
  display: flex; justify-content: center; gap: 14px; padding: 12px 0 16px;
}
.soc-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; display: flex; align-items: center;
  justify-content: center; font-size: 18px; color: #555;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
  transition: transform .15s;
}
.soc-btn:active { transform: scale(.92); }
.soc-tiktok { background: #010101 !important; color: #fff !important; }
.soc-fb { background: #1877f2 !important; color: #fff !important; }
.soc-ig { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888) !important; color: #fff !important; }
.soc-wa { background: #25d366 !important; color: #fff !important; }

.me-social-row {
  display: flex; justify-content: center; gap: 14px;
  padding: 4px 10px 14px;
}

.settings-links {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 6px 10px; padding: 0 16px 24px; font-size: 12px;
}
.settings-links a { color: #666; }
.settings-links span { color: #ccc; }

/* ===== LOCATION SAVED BADGE (still used in location modal) ===== */
.me-location-saved {
  margin-left: auto; margin-right: 4px;
  display: inline-flex; align-items: center; gap: 4px;
  background: linear-gradient(135deg, #00b96b, #00d68f);
  color: #fff; font-size: 10px; font-weight: 800;
  padding: 4px 10px; border-radius: 20px;
  letter-spacing: .4px; text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0,185,107,.45);
  animation: savedPulse 2.5s ease-in-out infinite;
}
.me-location-saved::before {
  content: '●'; font-size: 7px; opacity: .9;
  animation: savedDot 2.5s ease-in-out infinite;
}
@keyframes savedPulse {
  0%, 100% { box-shadow: 0 2px 8px rgba(0,185,107,.4); }
  50%       { box-shadow: 0 3px 14px rgba(0,185,107,.75); }
}
@keyframes savedDot {
  0%, 100% { opacity: .6; }
  50%       { opacity: 1; }
}

/* ===== LOCATION MODAL ===== */
.loc-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.5); z-index: 200;
}
.loc-overlay.open { display: block; }
.loc-modal {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #fff; z-index: 201;
  border-radius: 20px 20px 0 0;
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  max-width: 600px; margin: 0 auto;
  max-height: 90vh; overflow-y: auto;
}
.loc-modal.open { transform: translateY(0); }
.loc-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid #eee;
  font-size: 16px; font-weight: 700; color: #111;
  position: sticky; top: 0; background: #fff; z-index: 2;
}
.loc-body { padding: 16px; }
.loc-field { margin-bottom: 14px; }
.loc-field label {
  display: block; font-size: 13px; font-weight: 700;
  color: #333; margin-bottom: 6px;
}
.loc-field input, .loc-field textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid #e0e0e0; border-radius: 10px;
  font-size: 14px; font-family: inherit; outline: none;
  transition: border-color .2s;
}
.loc-field input:focus, .loc-field textarea:focus {
  border-color: #e91e8c;
}
.loc-field textarea { resize: none; }
.loc-save-btn {
  width: 100%; background: #e91e8c; color: #fff;
  padding: 14px; border-radius: 12px;
  font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-top: 6px;
  transition: background .2s;
}
.loc-save-btn:active { background: #c2185b; }

/* ===== AUTH MODAL ===== */
.auth-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.6); z-index: 300;
  backdrop-filter: blur(4px);
}
.auth-overlay.open { display: block; }
.auth-modal {
  position: fixed; left: 50%; top: 50%;
  transform: translate(-50%, -48%) scale(.92);
  background: #fff; border-radius: 24px;
  padding: 28px 22px 22px; width: calc(100% - 36px); max-width: 380px;
  z-index: 301; opacity: 0; pointer-events: none;
  transition: transform .32s cubic-bezier(.34,1.56,.64,1), opacity .22s;
  box-shadow: 0 24px 64px rgba(0,0,0,.3);
}
.auth-modal.open {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1; pointer-events: all;
}
.auth-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px; border-radius: 50%;
  background: #f2f2f2; color: #666; font-size: 14px;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.auth-logo-wrap { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-bottom: 8px; }
.auth-brand-name { font-size: 17px; font-weight: 900; color: #e91e8c; letter-spacing: 2px; }
.auth-title { font-size: 21px; font-weight: 800; color: #111; text-align: center; margin-bottom: 3px; }
.auth-subtitle { font-size: 13px; color: #999; text-align: center; margin-bottom: 18px; }
.btn-google-signin {
  width: 100%; display: flex; align-items: center; justify-content: center;
  gap: 10px; padding: 13px 16px; border-radius: 12px;
  border: 1.5px solid #ddd; background: #fff;
  font-size: 14px; font-weight: 600; color: #333; cursor: pointer;
  box-shadow: 0 1px 6px rgba(0,0,0,.08); transition: background .15s;
}
.btn-google-signin:active { background: #f5f5f5; }
.btn-google-signin img { width: 22px; height: 22px; }
.btn-facebook-signin {
  width: 100%; display: flex; align-items: center; justify-content: center;
  gap: 10px; padding: 13px 16px; border-radius: 12px; margin-top: 10px;
  border: none; background: #1877F2;
  font-size: 14px; font-weight: 600; color: #fff; cursor: pointer;
  box-shadow: 0 2px 8px rgba(24,119,242,.3); transition: background .15s, transform .1s;
}
.btn-facebook-signin:active { background: #1565c0; transform: scale(0.98); }
.btn-apple-signin {
  width: 100%; display: flex; align-items: center; justify-content: center;
  gap: 10px; padding: 13px 16px; border-radius: 12px; margin-top: 10px;
  border: none; background: #000;
  font-size: 14px; font-weight: 600; color: #fff; cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.22); transition: background .15s, transform .1s;
}
.btn-apple-signin:active { background: #222; transform: scale(0.98); }
[data-theme=dark] .btn-apple-signin { background: #fff; color: #000; }
[data-theme=dark] .btn-apple-signin:active { background: #e0e0e0; }
.auth-divider {
  display: flex; align-items: center; gap: 8px;
  margin: 14px 0; color: #bbb; font-size: 11px;
}
.auth-divider::before, .auth-divider::after { content:''; flex:1; height:1px; background:#eee; }
.auth-field {
  display: flex; align-items: center; gap: 10px;
  border: 1.5px solid #ebebeb; border-radius: 12px;
  padding: 11px 14px; margin-bottom: 10px;
  background: #fafafa; transition: border-color .2s, background .2s;
}
.auth-field:focus-within { border-color: #e91e8c; background: #fff; }
.auth-field > i { color: #ccc; font-size: 15px; width: 16px; }
.auth-field input {
  flex: 1; border: none; background: none; outline: none;
  font-size: 14px; font-family: inherit; color: #222;
}
.btn-auth-submit {
  width: 100%; background: #e91e8c; color: #fff;
  padding: 14px; border-radius: 12px; font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-top: 2px; cursor: pointer; transition: background .2s;
}
.btn-auth-submit:active { background: #c2185b; }
.auth-terms { font-size: 11px; color: #bbb; text-align: center; margin-top: 12px; }
.auth-terms a { color: #e91e8c; }

/* Me panel — kept for backward compat */
#meUserAvatar { display: none; }

/* ===== WIDE SOCIAL BARS ===== */
.me-social-bars {
  display: flex; flex-direction: column; gap: 8px;
}
.soc-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 16px; border-radius: 12px;
  font-size: 15px; font-weight: 700; color: #fff;
  transition: opacity .15s, transform .15s;
}
.soc-bar:active { opacity: .85; transform: scale(.98); }
.soc-bar i:first-child { font-size: 20px; width: 24px; text-align: center; }
.soc-bar span { flex: 1; }
.soc-arr { font-size: 12px; opacity: .7; }
.soc-bar.soc-tiktok { background: #111; }
.soc-bar.soc-fb     { background: #1877f2; }
.soc-bar.soc-ig     { background: linear-gradient(90deg,#f09433,#dc2743,#bc1888); }
.soc-bar.soc-wa     { background: #25d366; }

/* ===== EX GLOBAL LOGO ===== */
.logo-ring-wrap {
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
}
.header-logo-wrap {
  width: 45px; height: 45px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  border: 2px solid #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.header-logo-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== MAP LOCATION PICKER ===== */
.loc-gps-btn {
  width: 100%; background: #1a73e8; color: #fff;
  padding: 12px; border-radius: 10px;
  font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-bottom: 12px;
  transition: background .2s;
}
.loc-gps-btn:active { background: #1558b0; }
.loc-gps-btn.loading { background: #888; pointer-events: none; }
.loc-map-wrap {
  border-radius: 12px; overflow: hidden;
  margin-bottom: 14px; border: 2px solid #e0e0e0;
}
#locMap { height: 200px; width: 100%; }
.loc-map-hint {
  background: #f8f8f8; text-align: center;
  font-size: 12px; color: #888; padding: 6px;
}

/* ===== PAYMENT MODAL ===== */
.pay-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.55); z-index: 250;
}
.pay-overlay.open { display: block; }
.pay-modal {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #f5f5f5; z-index: 251;
  border-radius: 20px 20px 0 0;
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  max-width: 600px; margin: 0 auto;
  max-height: 92vh; overflow-y: auto;
}
.pay-modal.open { transform: translateY(0); }
.pay-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; background: #fff;
  border-bottom: 1px solid #eee;
  font-size: 16px; font-weight: 700; color: #111;
  position: sticky; top: 0; z-index: 2;
  border-radius: 20px 20px 0 0;
}
.pay-body { padding: 14px 14px 24px; }

/* Order summary */
.pay-summary {
  background: #fff; border-radius: 14px;
  padding: 14px 16px; margin-bottom: 14px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.pay-summary-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; color: #555; padding: 5px 0;
  border-bottom: 1px solid #f5f5f5;
}
.pay-summary-row:last-child { border-bottom: none; }
.pay-free { color: #0a8f4a; font-weight: 700; font-size: 13px; }
.pay-delivery-fee { color: #e91e8c; font-weight: 700; font-size: 13px; }
.pay-grand { font-size: 15px; color: #111; font-weight: 700; padding-top: 10px; }

/* Payment method selection */
.pay-methods-title {
  font-size: 13px; font-weight: 700; color: #888;
  text-transform: uppercase; letter-spacing: .5px;
  margin-bottom: 10px; padding-left: 4px;
}
.pay-method-card {
  background: #fff; border-radius: 14px;
  padding: 14px 16px; margin-bottom: 10px;
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; border: 2px solid transparent;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  transition: border-color .2s, box-shadow .2s;
}
.pay-method-card.active {
  border-color: #e91e8c;
  box-shadow: 0 2px 12px rgba(233,30,140,.15);
}
.pay-method-left { display: flex; align-items: center; gap: 12px; }
.pay-method-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff; flex-shrink: 0; overflow: hidden;
}
.pay-icon-cards { background: #f5f5f5; padding: 6px; }
.pay-icon-cards img { height: 22px; width: auto; object-fit: contain; }
.pay-method-name { font-size: 14px; font-weight: 700; color: #111; }
.pay-method-sub { font-size: 12px; color: #999; margin-top: 2px; }
.pay-method-check { font-size: 20px; color: #ddd; transition: color .2s; }
.pay-method-card.active .pay-method-check { color: #e91e8c; }

/* Card logos strip */
.pay-cards-strip {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 4px; margin-bottom: 4px; flex-wrap: wrap;
}
.pay-cards-strip img { height: 24px; width: auto; object-fit: contain; filter: grayscale(.3); }
.pay-strip-crypto {
  font-size: 11px; font-weight: 800; color: #F3BA2F;
  background: #1a1a1a; border-radius: 6px; padding: 3px 7px;
  letter-spacing: .5px;
}
/* Binance Pay form */
.binance-box {
  background: linear-gradient(160deg, #1e2026, #181a20);
  border-radius: 16px; padding: 14px 14px 12px;
  margin-top: 12px; border: 1px solid #2c2f36;
}
.binance-box-header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.binance-bnc-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: linear-gradient(135deg, #F3BA2F, #F0A500);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 10px rgba(243,186,47,.35);
}
.binance-box-title-wrap { flex: 1; }
.binance-box-title { font-size: 14px; font-weight: 800; color: #F3BA2F; }
.binance-box-net { font-size: 10.5px; color: #666; margin-top: 1px; }
.binance-usdt-pill {
  background: rgba(243,186,47,.12);
  border: 1px solid rgba(243,186,47,.3);
  border-radius: 10px; padding: 5px 10px;
}
.binance-usdt-val { font-size: 13px; font-weight: 800; color: #F3BA2F; }
.binance-id-wrap {
  background: rgba(243,186,47,.07); border: 1.5px solid rgba(243,186,47,.25);
  border-radius: 12px; padding: 12px 14px; margin-bottom: 10px;
}
.binance-id-lbl { font-size: 10.5px; color: #888; margin-bottom: 6px; letter-spacing: .5px; text-transform: uppercase; }
.binance-id-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.binance-id-num {
  font-size: 26px; font-weight: 900; color: #F3BA2F;
  letter-spacing: 3px; font-family: 'Courier New', monospace;
}
.binance-id-hint { font-size: 10.5px; color: #555; margin-top: 6px; line-height: 1.4; }
.binance-copy-btn {
  background: rgba(243,186,47,.18); border: 1px solid rgba(243,186,47,.35);
  border-radius: 8px; padding: 6px 9px; color: #F3BA2F;
  font-size: 13px; flex-shrink: 0; transition: background .2s;
}
.binance-copy-btn:active { background: rgba(243,186,47,.4); transform: scale(.95); }
.binance-amount-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 0 8px; font-size: 12px; color: #888;
}
.binance-amount-val { font-weight: 700; color: #F3BA2F; font-size: 13px; }
/* Reference input */
.binance-ref-wrap { margin-top: 10px; }
.binance-ref-lbl { font-size: 11px; color: #888; margin-bottom: 6px; display: flex; align-items: center; gap: 5px; }
.binance-ref-lbl i { color: #F3BA2F; }
.binance-ref-input {
  width: 100%; padding: 10px 12px;
  background: rgba(255,255,255,.07); border: 1.5px solid #2c2f36;
  border-radius: 10px; color: #f0f0f0; font-size: 14px; font-weight: 600;
  letter-spacing: 1px;
  transition: border-color .2s;
}
.binance-ref-input::placeholder { color: #555; font-weight: 400; letter-spacing: 0; }
.binance-ref-input:focus { border-color: #F3BA2F; outline: none; background: rgba(243,186,47,.05); }
.binance-ref-hint { font-size: 10.5px; color: #555; margin-top: 5px; }

/* Verifying animation */
.bnc-verify-anim {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 28px 0; gap: 14px;
}
.bnc-spinner {
  width: 44px; height: 44px;
  border: 4px solid rgba(243,186,47,.2);
  border-top-color: #F3BA2F;
  border-radius: 50%;
  animation: bncSpin .8s linear infinite;
}
@keyframes bncSpin { to { transform: rotate(360deg); } }
.bnc-verify-text { font-size: 14px; font-weight: 600; color: #F3BA2F; letter-spacing: .5px; }

/* Success state */
.bnc-success {
  display: flex; flex-direction: column; align-items: center;
  padding: 20px 0 10px; gap: 8px;
  animation: bncSuccessIn .5s cubic-bezier(.34,1.56,.64,1);
}
@keyframes bncSuccessIn {
  from { transform: scale(.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.bnc-success-icon i {
  font-size: 52px; color: #34d399;
  filter: drop-shadow(0 4px 12px rgba(52,211,153,.4));
}
.bnc-success-title { font-size: 20px; font-weight: 900; color: #fff; }
.bnc-order-badge {
  background: rgba(52,211,153,.15); border: 1px solid rgba(52,211,153,.4);
  border-radius: 10px; padding: 5px 16px;
  font-size: 15px; font-weight: 800; color: #34d399;
  letter-spacing: 1.5px;
}
.bnc-success-sub { font-size: 12px; color: #888; text-align: center; line-height: 1.6; margin-top: 4px; }

/* Card form */
.card-form-wrap {
  background: #fff; border-radius: 14px;
  padding: 16px; margin-top: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.card-field { margin-bottom: 12px; }
.card-field label {
  display: block; font-size: 12px; font-weight: 700;
  color: #555; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .3px;
}
.card-field input, .card-input-wrap input {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid #e8e8e8; border-radius: 10px;
  font-size: 15px; font-family: inherit; outline: none;
  transition: border-color .2s; letter-spacing: 1px;
}
.card-field input:focus { border-color: #e91e8c; }
.card-input-wrap { position: relative; }
.card-type-icon {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  font-size: 22px; pointer-events: none;
}
.card-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Pay button */
.btn-pay-now {
  width: 100%; background: #e91e8c; color: #fff;
  padding: 16px; border-radius: 14px;
  font-size: 16px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-top: 14px; cursor: pointer;
  transition: background .2s, transform .15s;
  box-shadow: 0 4px 18px rgba(233,30,140,.35);
}
.btn-pay-now:active { background: #c2185b; transform: scale(.98); }
.pay-secure-badge {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; font-size: 12px; color: #aaa; margin-top: 12px;
}
.pay-secure-badge i { color: #0a8f4a; }

/* ===== CUSTOMER REVIEWS ===== */
.reviews-section {
  margin: 8px 0 0; background: #fff;
  padding: 20px 0 8px;
}
.reviews-header { padding: 0 14px; }
.reviews-title-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.reviews-title { font-size: 17px; font-weight: 800; color: #111; }
.reviews-total { font-size: 12px; color: #e91e8c; font-weight: 700;
  background: #fce4ec; padding: 4px 10px; border-radius: 20px; }

/* Rating summary */
.rating-summary {
  display: flex; gap: 16px; align-items: center;
  background: linear-gradient(135deg,#fff8f9,#fff);
  border: 1.5px solid #fce4ec; border-radius: 16px;
  padding: 14px 16px; margin-bottom: 14px;
}
.rating-big {
  display: flex; flex-direction: column; align-items: center;
  gap: 4px; flex-shrink: 0; min-width: 72px;
}
.rating-num {
  font-size: 42px; font-weight: 900; color: #111; line-height: 1;
}
.rating-stars-big { color: #ffd700; font-size: 16px; letter-spacing: 1px; }
.rating-out { font-size: 10px; color: #999; font-weight: 600; }
.rating-bars { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.rating-bar-row {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: #666; font-weight: 600;
}
.rating-bar-row > span:first-child { width: 20px; text-align: right; }
.rating-bar-row > span:last-child { width: 26px; color: #999; }
.r-bar {
  flex: 1; height: 7px; background: #f0f0f0;
  border-radius: 4px; overflow: hidden;
}
.r-fill { height: 100%; border-radius: 4px; transition: width .8s ease; }

/* Tag filters */
.review-tags {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 12px;
  scrollbar-width: none;
}
.review-tags::-webkit-scrollbar { display: none; }
.review-tag {
  flex-shrink: 0; padding: 6px 14px; border-radius: 20px;
  font-size: 12px; font-weight: 600; cursor: pointer;
  border: 1.5px solid #e8e8e8; background: #fff; color: #555;
  transition: all .2s;
}
.review-tag.active {
  background: #e91e8c; color: #fff; border-color: #e91e8c;
}

/* Review cards list */
.reviews-list { padding: 0 14px; }
.review-card {
  background: #fff; border-radius: 16px;
  border: 1.5px solid #f0f0f0;
  padding: 16px; margin-bottom: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
  transition: box-shadow .2s;
}
.review-card:active { box-shadow: 0 4px 20px rgba(0,0,0,.1); }
.review-top {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 10px;
}
.reviewer-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 900; color: #fff; flex-shrink: 0;
}
.reviewer-info { flex: 1; }
.reviewer-name {
  font-size: 14px; font-weight: 700; color: #111;
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.verified-badge {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 10px; color: #0a8f4a; font-weight: 600;
  background: #e8f8f0; padding: 2px 7px; border-radius: 20px;
}
.verified-badge i { font-size: 9px; }
.reviewer-date { font-size: 11px; color: #bbb; margin-top: 2px; }
.review-stars {
  color: #ffd700; font-size: 14px; letter-spacing: 1px; flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(255,215,0,.4));
}
.review-product-tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; color: #888; background: #f8f8f8;
  padding: 4px 10px; border-radius: 8px; margin-bottom: 10px;
  font-weight: 600;
}
.review-product-tag i { color: #e91e8c; }
.review-text {
  font-size: 13px; color: #333; line-height: 1.65;
  margin-bottom: 12px;
}
.review-photos {
  display: flex; gap: 8px; margin-bottom: 12px;
}
.review-photos img {
  width: 72px; height: 72px; border-radius: 10px;
  object-fit: cover; border: 1.5px solid #f0f0f0;
  cursor: pointer; transition: transform .15s;
}
.review-photos img:active { transform: scale(.97); }
.review-footer {
  display: flex; align-items: center; gap: 10px;
  padding-top: 10px; border-top: 1px solid #f5f5f5;
}
.review-helpful {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; color: #888; font-weight: 600;
  border: 1.5px solid #e8e8e8; border-radius: 20px;
  padding: 5px 12px; cursor: pointer; background: #fff;
  transition: all .2s;
}
.review-helpful.liked {
  color: #e91e8c; border-color: #e91e8c; background: #fce4ec;
}
.review-helpful-txt { font-size: 11px; color: #bbb; flex: 1; }

/* Write review button */
.btn-write-review {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; width: calc(100% - 28px); margin: 8px 14px 20px;
  padding: 14px; border-radius: 14px;
  background: linear-gradient(135deg,#e91e8c,#ff6b6b);
  color: #fff; font-size: 15px; font-weight: 800;
  box-shadow: 0 4px 18px rgba(233,30,140,.3);
  cursor: pointer; transition: transform .15s, box-shadow .15s;
}
.btn-write-review:active { transform: scale(.98); }

/* Write Review Modal */
.wr-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.55); z-index: 220;
}
.wr-overlay.open { display: block; }
.wr-modal {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #fff; z-index: 221;
  border-radius: 20px 20px 0 0;
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  max-width: 600px; margin: 0 auto;
  max-height: 88vh; overflow-y: auto;
}
.wr-modal.open { transform: translateY(0); }
.wr-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid #eee;
  font-size: 16px; font-weight: 700; color: #111;
  position: sticky; top: 0; background: #fff; z-index: 2;
}
.wr-body { padding: 18px 16px 24px; }
.wr-subtitle { font-size: 13px; color: #999; text-align: center; margin-bottom: 16px; }
.wr-stars {
  display: flex; justify-content: center; gap: 10px;
  margin-bottom: 6px;
}
.wr-star {
  font-size: 38px; color: #e0e0e0; cursor: pointer;
  transition: color .15s, transform .15s;
}
.wr-star.on { color: #ffd700; filter: drop-shadow(0 2px 4px rgba(255,215,0,.6)); }
.wr-star:active { transform: scale(1.3); }
.wr-star-label {
  text-align: center; font-size: 13px; font-weight: 700;
  color: #e91e8c; margin-bottom: 16px; min-height: 20px;
}
.wr-textarea {
  width: 100%; padding: 14px;
  border: 1.5px solid #ebebeb; border-radius: 12px;
  font-size: 14px; font-family: inherit; outline: none;
  resize: none; min-height: 110px; margin-bottom: 14px;
  background: #fafafa; transition: border-color .2s;
}
.wr-textarea:focus { border-color: #e91e8c; background: #fff; }

/* ===== REVIEWS ENTRY STRIP ===== */
.rev-entry-strip {
  display: flex; align-items: center; justify-content: space-between;
  background: #fff; border: 1.5px solid #f0f0f0; border-radius: 16px;
  padding: 14px 16px; margin: 0 0 16px; cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.06); transition: box-shadow .2s;
}
.rev-entry-strip:active { box-shadow: 0 4px 16px rgba(233,30,140,.18); }
.rev-entry-left { display: flex; align-items: center; gap: 10px; }
.rev-entry-stars { color: #ffd700; font-size: 20px; letter-spacing: 2px; line-height: 1; }
.rev-entry-score { font-size: 22px; font-weight: 800; color: #222; }
.rev-entry-divider { width: 1px; height: 20px; background: #e8e8e8; }
.rev-entry-count { font-size: 13px; color: #888; font-weight: 500; }
.rev-entry-arrow { color: #e91e8c; font-size: 13px; }

/* ===== REVIEWS MODAL ===== */
.rev-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.45);
  z-index: 2000; opacity: 0; pointer-events: none; transition: opacity .28s;
}
.rev-overlay.open { opacity: 1; pointer-events: all; }
.rev-modal {
  position: fixed; inset: 0; background: #f5f6f8;
  z-index: 2001; transform: translateY(100%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column; overflow: hidden;
}
.rev-modal.open { transform: translateY(0); }

/* Header */
.rev-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; background: #fff;
  border-bottom: 1px solid #efefef; flex-shrink: 0;
}
.rev-head .icon-btn {
  color: #333; font-size: 18px; background: none;
  border: none; cursor: pointer; padding: 6px; line-height: 1;
}
.rev-head > span { font-size: 17px; font-weight: 700; color: #111; }
.rev-head-write {
  background: #e91e8c; color: #fff; border: none; border-radius: 50%;
  width: 34px; height: 34px; display: flex; align-items: center;
  justify-content: center; font-size: 13px; cursor: pointer; flex-shrink: 0;
}

/* Summary card */
.rev-summary-wrap {
  display: flex; align-items: stretch; gap: 0;
  background: #fff; margin: 12px 16px 0; border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06); overflow: hidden; flex-shrink: 0;
}
.rev-rating-col {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 20px 18px; min-width: 110px; border-inline-end: 1px solid #f0f0f0;
}
.rev-big-num { font-size: 52px; font-weight: 900; color: #111; line-height: 1; }
.rev-big-stars { font-size: 20px; margin: 6px 0 4px; letter-spacing: 1px; }
.rev-big-count { font-size: 11px; color: #aaa; font-weight: 500; text-align: center; }
.rev-bars-col { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 16px 14px; }
.rev-bar-row { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.rev-bar-row > span:first-child { min-width: 22px; font-weight: 700; color: #555; text-align: end; }
.rev-bar-row > span:last-child { min-width: 28px; font-weight: 600; color: #999; text-align: start; }
.rev-bar { flex: 1; height: 6px; background: #f0f0f0; border-radius: 6px; overflow: hidden; }
.rev-bar-fill { height: 100%; border-radius: 6px; transition: width .7s cubic-bezier(.4,0,.2,1); }

/* Filters */
.rev-filter-row {
  display: flex; gap: 8px; padding: 12px 16px 0;
  overflow-x: auto; flex-shrink: 0; scrollbar-width: none;
}
.rev-filter-row::-webkit-scrollbar { display: none; }
.rev-filter {
  flex-shrink: 0; padding: 8px 16px; border-radius: 22px;
  border: 1.5px solid #e0e0e0; background: #fff;
  font-size: 13px; font-weight: 600; color: #555; cursor: pointer;
  transition: all .18s; white-space: nowrap;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.rev-filter.active { background: #e91e8c; color: #fff; border-color: #e91e8c; box-shadow: 0 3px 10px rgba(233,30,140,.3); }

/* Review list */
.rev-list {
  flex: 1; overflow-y: auto; padding: 12px 16px 96px;
  display: flex; flex-direction: column; gap: 12px;
}
.rev-empty { text-align: center; padding: 60px 20px; color: #ccc; }
.rev-empty i { font-size: 44px; margin-bottom: 14px; display: block; }
.rev-empty p { font-size: 15px; }

/* Review Card */
.rev-card {
  background: #fff; border-radius: 16px;
  padding: 16px 16px 14px; box-shadow: 0 2px 8px rgba(0,0,0,.07);
}
.rev-card-top {
  display: flex; align-items: flex-start; gap: 12px; margin-bottom: 10px;
}
.rev-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 800; color: #fff;
}
.rev-card-info { flex: 1; min-width: 0; }
.rev-card-name {
  font-size: 14px; font-weight: 700; color: #111;
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.rev-verified {
  font-size: 11px; color: #00b96b; font-weight: 600;
  display: inline-flex; align-items: center; gap: 3px;
  background: #e6f9f1; padding: 2px 7px; border-radius: 10px;
}
.rev-card-meta { font-size: 11px; color: #bbb; margin-top: 3px; }
.rev-card-stars { font-size: 15px; flex-shrink: 0; letter-spacing: 1px; }
.rev-card-product {
  font-size: 12px; color: #666; font-weight: 600; margin-bottom: 8px;
  display: inline-flex; align-items: center; gap: 5px;
  background: #f7f7f7; padding: 4px 10px; border-radius: 8px;
}
.rev-card-product i { color: #e91e8c; }
.rev-card-text { font-size: 14px; color: #444; line-height: 1.65; margin-bottom: 10px; }
.rev-card-photos { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 10px; scrollbar-width: none; }
.rev-card-photos::-webkit-scrollbar { display: none; }
.rev-card-photos img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.rev-card-footer { display: flex; align-items: center; padding-top: 2px; }

/* Write bar */
.rev-write-bar {
  position: absolute; bottom: 0; inset-inline-start: 0; inset-inline-end: 0;
  padding: 10px 16px env(safe-area-inset-bottom, 16px);
  background: linear-gradient(transparent, #f5f6f8 35%);
}
.btn-write-review-full {
  width: 100%; padding: 15px; border-radius: 14px;
  background: linear-gradient(135deg, #e91e8c, #ff6b9d);
  color: #fff; font-size: 16px; font-weight: 700; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 4px 18px rgba(233,30,140,.4); transition: opacity .2s;
}
.btn-write-review-full:active { opacity: .85; }

/* ===== EMOJI REACTIONS ===== */
.rev-reactions {
  display: flex; align-items: center; gap: 6px;
  flex-wrap: wrap; position: relative; padding-top: 4px;
}
.react-bubbles { display: flex; gap: 6px; flex-wrap: wrap; }
.react-bubble {
  display: inline-flex; align-items: center; gap: 4px;
  background: #f5f5f5; border: 1.5px solid #e8e8e8;
  border-radius: 20px; padding: 5px 10px;
  font-size: 16px; cursor: pointer; transition: all .15s; user-select: none;
}
.react-bubble:active { transform: scale(.9); }
.react-bubble.my-react { background: #fce4ec; border-color: #f48fb1; }
.react-cnt { font-size: 12px; font-weight: 700; color: #555; }
.react-add-btn {
  display: inline-flex; align-items: center; gap: 3px;
  background: #f5f5f5; border: 1.5px dashed #ccc;
  border-radius: 20px; padding: 5px 10px; font-size: 15px; color: #999;
  cursor: pointer; transition: all .15s;
}
.react-add-btn:active { background: #fce4ec; border-color: #e91e8c; color: #e91e8c; }
.react-plus-icon { font-size: 9px; }
.react-total { font-size: 11px; color: #bbb; font-weight: 500; }

/* Emoji Picker */
.emoji-picker {
  position: absolute; bottom: calc(100% + 8px); inset-inline-start: 0;
  background: #fff; border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0,0,0,.16); border: 1px solid #f0f0f0;
  padding: 10px 12px; display: none;
  grid-template-columns: repeat(4,1fr); gap: 4px;
  z-index: 200; width: 184px;
}
.emoji-picker.open { display: grid; animation: epPop .15s ease; }
@keyframes epPop {
  from { opacity:0; transform: scale(.85) translateY(6px); }
  to   { opacity:1; transform: scale(1) translateY(0); }
}
.ep-emoji {
  font-size: 24px; text-align: center; padding: 6px 4px;
  border-radius: 10px; cursor: pointer; transition: background .12s, transform .12s;
}
.ep-emoji:hover, .ep-emoji:active { background: #f5f5f5; transform: scale(1.2); }
.ep-emoji.ep-active { background: #fce4ec; outline: 2px solid #e91e8c; }

/* Free delivery nudge in payment modal */
.pay-free-nudge {
  margin: 0 0 10px; min-height: 0;
}
.nudge-add, .nudge-free {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 12px;
  font-size: 13px; font-weight: 600; line-height: 1.4;
}
.nudge-add {
  background: #fff8e1; color: #b45309;
  border: 1.5px solid #fde68a;
}
.nudge-free {
  background: #ecfdf5; color: #065f46;
  border: 1.5px solid #6ee7b7;
}

/* ===== PROFESSIONAL POLISH — v7 ===== */

/* Body font upgrade */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Sharper product cards */
.product-card {
  border-radius: 14px;
  box-shadow: 0 1px 6px rgba(0,0,0,.08);
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,.13);
}
.product-name { font-size: 12.5px; font-weight: 500; color: #2c2c2c; }
.price-current { font-size: 15px; font-weight: 800; }
.add-cart-btn {
  font-size: 12.5px; font-weight: 700;
  border-radius: 10px; padding: 8px;
}

/* Better section titles */
.section-title {
  font-size: 17px; font-weight: 800; color: #111;
  letter-spacing: -.2px;
}

/* Better category circles */
.circle-img {
  width: 60px; height: 60px;
  box-shadow: 0 3px 10px rgba(0,0,0,.1);
}

/* Better info strip */
.info-strip {
  margin: 8px 10px;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

/* Review helpful button improvements */
.review-helpful {
  font-size: 12.5px; font-weight: 700;
  padding: 6px 14px;
  border-radius: 22px;
  gap: 6px;
}
.review-helpful-txt.helpful-count-txt { display: none; }

/* Flash deals banner */
.flash-deals-banner {
  border-radius: 14px;
  margin: 6px 10px;
  box-shadow: 0 3px 14px rgba(233,30,140,.25);
}

/* Auth modal button */
.btn-google {
  border-radius: 14px;
  font-size: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,.1);
}

/* Payment method cards */
.pay-method-card {
  border-radius: 14px;
}

/* Location modal improvements */
.loc-modal, .auth-modal, .wr-modal {
  border-radius: 26px 26px 0 0;
}

/* Cart sheet improvements */
.cart-sidebar {
  border-radius: 26px 26px 0 0;
}

/* Cart item image */
.cart-item-img {
  border-radius: 10px;
}

/* Bottom nav font */
.bot-btn { font-size: 10.5px; letter-spacing: .1px; }

/* Profile page bottom padding */
.me-panel { padding-bottom: 12px; }

/* Me page card blocks spacing */
.me-card-block:last-of-type { margin-bottom: 4px; }

/* Toast improvements */
#toast {
  border-radius: 14px;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: .1px;
  box-shadow: 0 8px 28px rgba(0,0,0,.22);
}

/* Better drawer */
.drawer {
  border-radius: 0 20px 20px 0;
}

/* White WhatsApp float */
.whatsapp-float {
  box-shadow: 0 4px 18px rgba(37,211,102,.45);
}

/* ===== SAUDI PRIDE BANNER ===== */
.saudi-pride-wrap {
  padding: 10px 16px 4px;
  display: flex; justify-content: center;
}
.saudi-pride-pill {
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(135deg, rgba(220,230,240,.65), rgba(200,215,230,.55));
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 40px;
  padding: 10px 24px;
  box-shadow: 0 4px 18px rgba(0,0,0,.08), inset 0 1px 0 rgba(255,255,255,.6);
}
.saudi-pride-text {
  font-size: 13px; font-weight: 800;
  color: #1a2a3a; letter-spacing: 2px;
  text-transform: uppercase; font-family: Georgia, 'Times New Roman', serif;
  white-space: nowrap;
}
.saudi-flag-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 0;
  flex-shrink: 0;
}
.saudi-flag-pole {
  width: 2.5px; height: 10px;
  background: linear-gradient(180deg, #c8a96e, #8B7355);
  border-radius: 1px 1px 0 0;
}
.saudi-flag-img-wrap {
  position: relative; overflow: hidden;
  border-radius: 3px;
  box-shadow: 0 3px 12px rgba(0,0,0,.3);
  animation: flagWave 3s ease-in-out infinite;
  transform-origin: left center;
}
.saudi-flag-img {
  width: 54px; height: 36px;
  object-fit: cover; display: block;
}
.saudi-flag-shimmer {
  position: absolute; inset: 0;
  background: linear-gradient(105deg,
    transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  background-size: 250% 100%;
  animation: flagShimmer 2.8s ease-in-out infinite;
}
@keyframes flagWave {
  0%, 100% { transform: perspective(140px) rotateY(0deg) skewY(0deg); }
  30%       { transform: perspective(140px) rotateY(5deg) skewY(1deg); }
  65%       { transform: perspective(140px) rotateY(-3deg) skewY(-.5deg); }
}
@keyframes flagShimmer {
  0%   { background-position: -150% 0; opacity: 0; }
  25%  { opacity: 1; }
  70%  { background-position: 250% 0; opacity: .8; }
  100% { background-position: 250% 0; opacity: 0; }
}

/* ===== CART ITEM REDESIGN ===== */
.cart-item-top {
  display: flex; align-items: flex-start; gap: 6px; margin-bottom: 3px;
}
.cart-item-name { font-size: 13px; font-weight: 600; color: #1a1a1a; flex: 1; line-height: 1.35; }
.remove-item {
  color: #ccc; font-size: 14px; padding: 2px 4px;
  margin-inline-start: 0; flex-shrink: 0;
  transition: color .2s;
}
.remove-item:active { color: #e91e8c; }
.cart-item-variant {
  font-size: 11.5px; color: #999; font-weight: 500;
  margin-bottom: 8px; letter-spacing: .2px;
}
.cart-item-bottom {
  display: flex; align-items: center; justify-content: space-between;
}
.cart-item-line-total {
  font-size: 15px; font-weight: 800; color: #e91e8c;
}

/* ===== SCROLL TO TOP ===== */
.scroll-top-btn {
  position: fixed; bottom: 88px; right: 16px;
  width: 42px; height: 42px; border-radius: 50%;
  background: #e91e8c; color: #fff;
  font-size: 16px; z-index: 99;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(233,30,140,.4);
  opacity: 0; transform: translateY(12px) scale(.85);
  transition: opacity .25s, transform .25s;
  pointer-events: none;
}
.scroll-top-btn.visible {
  opacity: 1; transform: translateY(0) scale(1); pointer-events: auto;
}
.scroll-top-btn:active { transform: scale(.92); }

/* ===== WISHLIST PANEL ===== */
.wish-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.45); z-index: 120;
}
.wish-overlay.open { display: block; }

.wish-panel {
  position: fixed; top: 0; bottom: 70px; left: 0; right: 0;
  background: #f4f4f6; z-index: 121;
  overflow-y: auto; overflow-x: hidden;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  max-width: 600px; margin: 0 auto;
}
.wish-panel.open { transform: translateX(0); }
[dir="rtl"] .wish-panel { transform: translateX(-100%); }
[dir="rtl"] .wish-panel.open { transform: translateX(0); }

.wish-head {
  background: #fff; border-bottom: 1px solid #efefef;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; position: sticky; top: 0; z-index: 5;
}
.wish-back-btn {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #f5f5f5; font-size: 16px; color: #333; cursor: pointer;
}
.wish-head-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 17px; font-weight: 800; color: #111;
}
.wish-head-count {
  background: #e91e8c; color: #fff;
  font-size: 12px; font-weight: 800;
  border-radius: 12px; padding: 2px 8px; min-width: 22px; text-align: center;
}

.wish-items { padding: 12px 12px 20px; }

/* Wishlist item card */
.wish-item {
  background: #fff; border-radius: 16px;
  display: flex; gap: 14px; padding: 14px;
  margin-bottom: 10px;
  box-shadow: 0 1px 6px rgba(0,0,0,.07);
  transition: transform .15s;
}
.wish-item:active { transform: scale(.99); }
.wish-item-img {
  position: relative; flex-shrink: 0;
  width: 90px; height: 90px; border-radius: 12px;
  overflow: hidden; background: #f7f7f7; cursor: pointer;
}
.wish-item-img img { width: 100%; height: 100%; object-fit: cover; }
.wish-item-disc {
  position: absolute; top: 5px; left: 5px;
  background: #e91e8c; color: #fff;
  font-size: 10px; font-weight: 700;
  padding: 2px 6px; border-radius: 4px;
}
.wish-item-info { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.wish-item-name {
  font-size: 13.5px; font-weight: 600; color: #1a1a1a;
  line-height: 1.35; cursor: pointer;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.wish-item-prices { display: flex; align-items: center; gap: 8px; }
.wish-item-price { font-size: 16px; font-weight: 800; color: #e91e8c; }
.wish-item-orig { font-size: 12px; color: #bbb; text-decoration: line-through; }
.wish-item-actions { display: flex; align-items: center; gap: 8px; margin-top: auto; }
.wish-add-cart {
  flex: 1; background: #e91e8c; color: #fff;
  border-radius: 22px; padding: 8px 14px;
  font-size: 12.5px; font-weight: 700;
  display: flex; align-items: center; gap: 6px;
  transition: background .2s;
}
.wish-add-cart:active { background: #c2185b; }
.wish-remove-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: #fce4ec; color: #e91e8c;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0; transition: background .2s;
}
.wish-remove-btn:active { background: #f48fb1; }

/* Empty state */
.wish-empty {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 60px 20px; text-align: center;
}
.wish-empty-icon { font-size: 64px; margin-bottom: 16px; }
.wish-empty-title { font-size: 18px; font-weight: 800; color: #222; margin-bottom: 8px; }
.wish-empty-sub { font-size: 14px; color: #999; line-height: 1.5; }

/* ===== DARK / LIGHT MODE ===== */
html, body { transition: background .35s, color .35s; }

/* Theme toggle button animation */
.theme-toggle-btn i { transition: transform .4s cubic-bezier(.34,1.56,.64,1); }
.theme-toggle-btn:active i { transform: rotate(30deg) scale(.85); }

/* ========== DARK MODE ========== */
[data-theme="dark"] body {
  background: #0d0d0d; color: #e0e0e0;
}
/* Sections & backgrounds */
[data-theme="dark"] .section-card,
[data-theme="dark"] .product-card,
[data-theme="dark"] .flash-card,
[data-theme="dark"] .review-card,
[data-theme="dark"] .me-card-block,
[data-theme="dark"] .me-addr-card,
[data-theme="dark"] .me-orders-empty,
[data-theme="dark"] .addr-form-card {
  background: #1a1a1a;
  box-shadow: 0 2px 12px rgba(0,0,0,.4);
}
[data-theme="dark"] .mo-card { background:#1a1a1a; border-color:#2a2a2a; }
[data-theme="dark"] .mo-card-top { border-bottom-color:#2a2a2a; }
[data-theme="dark"] .mo-id { color:#eee; }
[data-theme="dark"] .mo-date { color:#666; }
[data-theme="dark"] .mo-names { color:#555; }
[data-theme="dark"] .mo-items-row .mo-item-thumb { border-color:#333; background:#2a2a2a; }
[data-theme="dark"] .mo-item-more { background:#2a2a2a; color:#666; }
[data-theme="dark"] .mo-dot { background:#2a2a2a; }
[data-theme="dark"] .mo-line { background:#2a2a2a; }
[data-theme="dark"] .mo-step-label { color:#555; }
[data-theme="dark"] .mo-footer { border-top-color:#2a2a2a; }
[data-theme="dark"] .mo-total-label { color:#555; }
[data-theme="dark"] .mo-total-val { color:#eee; }
[data-theme="dark"] .mo-empty { color:#444; }
[data-theme="dark"] .product-name,
[data-theme="dark"] .product-title { color: #ddd; }
[data-theme="dark"] .product-orig,
[data-theme="dark"] .product-rating-val { color: #555; }

/* Header stays pink */
[data-theme="dark"] .header { background: #e91e8c; }

/* Category tabs */
[data-theme="dark"] .cat-tabs { background: #111; border-bottom-color: rgba(255,255,255,.06); }
[data-theme="dark"] .cat-tab { color: #666; }
[data-theme="dark"] .cat-tab.active { color: #e91e8c; border-bottom-color: #e91e8c; }

/* Category circles */
[data-theme="dark"] .cat-circle span { color: #bbb; }

/* Flash deals banner */
[data-theme="dark"] .flash-banner {
  background: linear-gradient(135deg, #1a0a0f 0%, #0d0d1a 100%);
}
[data-theme="dark"] .flash-card { background: #1e1e1e; }
[data-theme="dark"] .flash-name { color: #ddd; }

/* Saudi Pride banner */
[data-theme="dark"] .saudi-pride-bar { background: rgba(255,255,255,.04); }

/* Bottom nav */
[data-theme="dark"] .bottom-nav {
  background: #111;
  box-shadow: 0 -1px 0 rgba(255,255,255,.06), 0 -6px 24px rgba(0,0,0,.5);
}
[data-theme="dark"] .bot-btn { color: #888; }
[data-theme="dark"] .bot-btn.active { color: #e91e8c; }
[data-theme="dark"] .bot-btn.active span { color: #e91e8c; }
[data-theme="dark"] .bot-nav-badge { border-color: #111; }

/* Drawer */
[data-theme="dark"] .drawer { background: #111; }
[data-theme="dark"] .drawer-menu li a { color: #ccc; }
[data-theme="dark"] .drawer-menu li a:hover { background: rgba(233,30,140,.1); }

/* Cart sidebar */
[data-theme="dark"] .cart-sidebar { background: #111; }
[data-theme="dark"] .cart-item { background: #1a1a1a; border-color: rgba(255,255,255,.06); }
[data-theme="dark"] .cart-item-name { color: #ddd; }
[data-theme="dark"] .cart-item-variant { color: #777; }
[data-theme="dark"] .cart-empty-title { color: #ddd; }
[data-theme="dark"] .cart-head { border-bottom-color: rgba(255,255,255,.07); }
[data-theme="dark"] .cart-summary { background: #1a1a1a; border-top-color: rgba(255,255,255,.07); }
[data-theme="dark"] .cart-total-label,
[data-theme="dark"] .cart-total-val { color: #ccc; }

/* Me panel */
[data-theme="dark"] .me-panel { background: #0d0d0d; }
[data-theme="dark"] .me-page-head { background: #111; border-bottom-color: rgba(255,255,255,.07); }
[data-theme="dark"] .me-page-head-title { color: #eee; }
[data-theme="dark"] .me-profile-hero { background: #111; }
[data-theme="dark"] .me-block-header { color: #888; }
[data-theme="dark"] .me-list-item { border-bottom-color: rgba(255,255,255,.05); }
[data-theme="dark"] .me-list-item span { color: #ccc; }
[data-theme="dark"] .me-addr-name-row, [data-theme="dark"] .me-addr-line { color: #bbb; }

/* Wishlist panel */
[data-theme="dark"] .wish-panel { background: #0d0d0d; }
[data-theme="dark"] .wish-head { background: #111; border-bottom-color: rgba(255,255,255,.07); }
[data-theme="dark"] .wish-head-title { color: #eee; }
[data-theme="dark"] .wish-item { background: #1a1a1a; }
[data-theme="dark"] .wish-item-name { color: #ddd; }
[data-theme="dark"] .wish-empty-title { color: #ddd; }

/* Auth modal */
[data-theme="dark"] .auth-modal { background: #111; }
[data-theme="dark"] .auth-title { color: #eee; }
[data-theme="dark"] .auth-input { background: #222; border-color: rgba(255,255,255,.1); color: #eee; }
[data-theme="dark"] .auth-input::placeholder { color: #555; }

/* Reviews panel */
[data-theme="dark"] .reviews-panel { background: #0d0d0d; }
[data-theme="dark"] .reviews-head { background: #111; border-bottom-color: rgba(255,255,255,.07); }
[data-theme="dark"] .review-card { background: #1a1a1a; border-color: rgba(255,255,255,.06); }
[data-theme="dark"] .reviewer-name { color: #ddd; }
[data-theme="dark"] .review-text { color: #aaa; }
[data-theme="dark"] .review-product-tag { background: #222; color: #aaa; }

/* Product modal */
[data-theme="dark"] .modal-sheet { background: #111; }
[data-theme="dark"] .modal-name { color: #eee; }
[data-theme="dark"] .modal-desc { color: #aaa; }
[data-theme="dark"] .stock-badge.out { background: #3f0808; color: #fca5a5; }
[data-theme="dark"] .stock-badge.low { background: #3a2a00; color: #fde68a; }
[data-theme="dark"] .stock-badge.ok  { background: #0d2a0d; color: #86efac; }
[data-theme="dark"] .modal-stock.out { background: #3f0808; color: #fca5a5; }
[data-theme="dark"] .modal-stock.low { background: #3a2a00; color: #fde68a; }
[data-theme="dark"] .modal-stock.ok  { background: #0d2a0d; color: #86efac; }
[data-theme="dark"] .size-btn { background: #222; color: #ccc; border-color: rgba(255,255,255,.1); }
[data-theme="dark"] .size-btn.active { background: #e91e8c; color: #fff; border-color: #e91e8c; }

/* Search bar */
[data-theme="dark"] .search-bar { background: #111; }
[data-theme="dark"] #searchInput { background: #222; color: #eee; border-color: rgba(255,255,255,.1); }
[data-theme="dark"] #searchInput::placeholder { color: #555; }

/* Settings panel */
[data-theme="dark"] .settings-panel { background: #0d0d0d; }
[data-theme="dark"] .settings-head { background: #111; border-bottom-color: rgba(255,255,255,.07); }
[data-theme="dark"] .settings-item { border-bottom-color: rgba(255,255,255,.05); color: #ccc; }

/* Toast */
[data-theme="dark"] .toast { background: #222; color: #eee; }

/* Scroll top btn */
[data-theme="dark"] .scroll-top-btn { background: #1a1a1a; color: #e91e8c; box-shadow: 0 4px 16px rgba(0,0,0,.5); }

/* Section titles */
[data-theme="dark"] .section-title { color: #eee; }
[data-theme="dark"] .see-all-btn { color: #e91e8c; }

/* ===== COUPON PANEL ===== */
.coupon-card {
  display: flex; align-items: center; gap: 0;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(124,58,237,.15), 0 1px 4px rgba(0,0,0,.08);
  border: 1.5px solid rgba(124,58,237,.2);
  margin-bottom: 12px;
  position: relative;
}
.coupon-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg,#7c3aed,#e91e8c,#7c3aed);
  background-size: 200% 100%;
  animation: couponShimmer 2.5s linear infinite;
}
@keyframes couponShimmer {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}
.coupon-left {
  background: linear-gradient(135deg,#7c3aed,#a855f7);
  padding: 20px 14px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 72px; align-self: stretch;
}
.coupon-pct {
  font-size: 26px; font-weight: 900; color: #fff; line-height: 1;
}
.coupon-off {
  font-size: 11px; font-weight: 700; color: rgba(255,255,255,.85); letter-spacing: 1px;
}
.coupon-mid {
  flex: 1; padding: 14px 12px; border-left: 1.5px dashed rgba(124,58,237,.25);
}
.coupon-title {
  font-size: 13px; font-weight: 800; color: #222; margin-bottom: 4px;
}
.coupon-code {
  font-size: 18px; font-weight: 900; color: #7c3aed;
  letter-spacing: 2px; font-family: monospace;
  margin-bottom: 4px;
}
.coupon-desc {
  font-size: 11px; color: #999; line-height: 1.4;
}
.coupon-copy-btn {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 12px 14px; cursor: pointer;
  color: #7c3aed; font-size: 11px; font-weight: 700;
  transition: background .2s;
  border-left: 1.5px dashed rgba(124,58,237,.25);
}
.coupon-copy-btn i { font-size: 18px; }
.coupon-copy-btn:active { background: rgba(124,58,237,.08); }
.coupon-used-note {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: rgba(10,143,74,.08);
  border-radius: 12px;
  font-size: 13px; font-weight: 600; color: #0a8f4a;
  margin-bottom: 12px;
}
.coupon-howto {
  text-align: center; font-size: 12px; color: #bbb;
  padding: 8px 0;
}

/* ===== PAYMENT COUPON INPUT ===== */
.pay-coupon-row {
  padding: 0 16px 4px;
}
.pay-coupon-wrap {
  display: flex; align-items: center; gap: 0;
  border: 1.5px solid rgba(124,58,237,.3);
  border-radius: 12px; overflow: hidden;
  background: #fff;
  transition: border-color .2s;
}
.pay-coupon-wrap:focus-within { border-color: #7c3aed; }
.pay-coupon-icon {
  padding: 0 10px; color: #7c3aed; font-size: 15px;
}
.pay-coupon-input {
  flex: 1; border: none; outline: none;
  font-size: 14px; font-weight: 700; letter-spacing: 1.5px;
  padding: 11px 4px; background: transparent; color: #222;
  text-transform: uppercase;
}
.pay-coupon-input::placeholder { letter-spacing: 0; font-weight: 400; color: #bbb; text-transform: none; }
.pay-coupon-btn {
  background: linear-gradient(135deg,#7c3aed,#a855f7);
  color: #fff; font-size: 13px; font-weight: 800;
  padding: 0 16px; height: 44px;
  border-radius: 0 10px 10px 0;
  transition: opacity .2s;
}
.pay-coupon-btn:active { opacity: .85; }
.pay-coupon-msg {
  font-size: 12px; font-weight: 700;
  padding: 5px 4px 2px;
  min-height: 20px;
}
.pay-coupon-msg.success { color: #0a8f4a; }
.pay-coupon-msg.error { color: #e53935; }
.pay-discount-row { color: #0a8f4a; }

/* Dark mode */
[data-theme="dark"] .coupon-card { background: #1a1a1a; border-color: rgba(124,58,237,.25); }
[data-theme="dark"] .coupon-title { color: #eee; }
[data-theme="dark"] .pay-coupon-wrap { background: #1a1a1a; border-color: rgba(124,58,237,.3); }
[data-theme="dark"] .pay-coupon-input { color: #eee; }

/* ===== DARK MODE COMPREHENSIVE FIX ===== */
/* Cart sidebar */
[data-theme="dark"] .cart-sidebar { background: #111; }
[data-theme="dark"] .cart-drag-handle { background: #333; }
[data-theme="dark"] .cart-item { border-bottom-color: rgba(255,255,255,.06); }
[data-theme="dark"] .cart-item-img { background: #2a2a2a; }
[data-theme="dark"] .cart-item-name { color: #ddd; }
[data-theme="dark"] .cart-item-top { color: #ddd; }
[data-theme="dark"] .cart-item-variant { color: #666; }
[data-theme="dark"] .cart-item-line-total { color: #e91e8c; }
[data-theme="dark"] .qty-btn { border-color: #333; color: #e91e8c; }
[data-theme="dark"] .qty-num { color: #eee; }
[data-theme="dark"] .remove-item { color: #444; }
[data-theme="dark"] .empty-cart-title { color: #ccc; }
[data-theme="dark"] .cart-footer { background: #111; border-top-color: rgba(255,255,255,.07); }
[data-theme="dark"] .cc-title { color: #eee; }
[data-theme="dark"] .cc-dot   { background: #2a2a2a; }
[data-theme="dark"] .cc-tline { background: #2a2a2a; }
[data-theme="dark"] .cc-slabel { color: #444; }
[data-theme="dark"] .cc-cont-btn { border-color: #333; color: #555; }
[data-theme="dark"] .cart-del-prog { background: #1a1a1a; border-color: rgba(233,30,140,.2); }
[data-theme="dark"] .cart-del-prog-top { color: #aaa; }
[data-theme="dark"] .cart-del-bar-bg { background: #2a2a2a; }
[data-theme="dark"] .cart-del-prog.free-del { background: rgba(5,150,105,.1); border-color: rgba(5,150,105,.3); }
[data-theme="dark"] .cart-summary { background: transparent; }
[data-theme="dark"] .cart-srow-label { color: #666; }
[data-theme="dark"] .cart-srow-val { color: #ccc; }
[data-theme="dark"] .cart-total-label { color: #ccc; }
[data-theme="dark"] .cart-total-row { border-top-color: rgba(255,255,255,.08); }

/* Product modal */
[data-theme="dark"] .product-modal { background: #111; }
[data-theme="dark"] .modal-close { background: rgba(255,255,255,.08); color: #ccc; }
[data-theme="dark"] .modal-name { color: #eee; }
[data-theme="dark"] .modal-desc { color: #888; }
[data-theme="dark"] .modal-price { color: #e91e8c; }
[data-theme="dark"] .modal-orig { color: #555; }
[data-theme="dark"] .size-label, [data-theme="dark"] .color-label { color: #aaa; }
[data-theme="dark"] .size-btn { background: #222; color: #ccc; border-color: #333; }
[data-theme="dark"] .size-btn.active { background: #e91e8c; color: #fff; border-color: #e91e8c; }
[data-theme="dark"] .modal-section-title { color: #aaa; }
[data-theme="dark"] .modal-sheet { background: #111; }

/* Payment modal */
[data-theme="dark"] .pay-modal { background: #111; }
[data-theme="dark"] .pay-head { background: #1a1a1a; border-bottom-color: rgba(255,255,255,.07); }
[data-theme="dark"] .pay-head span { color: #eee; }
[data-theme="dark"] .pay-body { background: #111; }
[data-theme="dark"] .pay-summary { background: #1a1a1a; border-color: rgba(255,255,255,.06); }
[data-theme="dark"] .pay-summary-row { color: #aaa; border-bottom-color: rgba(255,255,255,.06); }
[data-theme="dark"] .pay-summary-row span:first-child { color: #888; }
[data-theme="dark"] .pay-grand { color: #eee; }
[data-theme="dark"] .pay-methods-title { color: #888; }
[data-theme="dark"] .pay-method-card { background: #1a1a1a; border-color: rgba(255,255,255,.08); }
[data-theme="dark"] .pay-method-card.active { border-color: #e91e8c; background: rgba(233,30,140,.08); }
[data-theme="dark"] .pay-method-name { color: #ddd; }
[data-theme="dark"] .pay-method-sub { color: #777; }
[data-theme="dark"] .pay-method-check { color: #555; }
[data-theme="dark"] .pay-method-card.active .pay-method-check { color: #e91e8c; }
[data-theme="dark"] .pay-free-nudge { background: #1a1a1a; }
[data-theme="dark"] .nudge-add { color: #aaa; }

/* Body & page background */
[data-theme="dark"] .products-grid { background: transparent; }
[data-theme="dark"] .section { background: transparent; }
[data-theme="dark"] .section-header { background: transparent; }
[data-theme="dark"] .section-title { color: #eee; }

/* Product cards */
[data-theme="dark"] .product-card { background: #1a1a1a; border-color: rgba(255,255,255,.05); }
[data-theme="dark"] .product-card-body { background: #1a1a1a; }
[data-theme="dark"] .product-name { color: #ddd; }
[data-theme="dark"] .product-price { color: #e91e8c; }
[data-theme="dark"] .product-orig { color: #555; }
[data-theme="dark"] .product-rating span { color: #888; }
[data-theme="dark"] .btn-wishlist { color: #555; }
[data-theme="dark"] .btn-wishlist.active { color: #e91e8c; }
[data-theme="dark"] .modal-qty-label { color: #aaa; }
[data-theme="dark"] .mq-num { color: #eee; }

/* Flash deals */
[data-theme="dark"] .flash-banner { background: linear-gradient(135deg,#1a0a12,#110a1a); }
[data-theme="dark"] .flash-card { background: #1e1e1e; }
[data-theme="dark"] .flash-name { color: #ddd; }
[data-theme="dark"] .flash-price { color: #e91e8c; }
[data-theme="dark"] .flash-orig { color: #555; }
[data-theme="dark"] .flash-timer-box { background: #2a2a2a; color: #eee; }

/* Category circles */
[data-theme="dark"] .cat-circle { background: #1a1a1a; }
[data-theme="dark"] .cat-circle span { color: #aaa; }

/* Info bar */
[data-theme="dark"] .info-bar { background: #1a1a1a; border-color: #2a2a2a; }
[data-theme="dark"] .info-item { color: #aaa; }
[data-theme="dark"] .info-item i { color: #e91e8c; }
[data-theme="dark"] .info-item strong { color: #ddd; }
[data-theme="dark"] .info-item small { color: #888; }
[data-theme="dark"] .info-divider { background: #2a2a2a; }

/* Hero slides */
[data-theme="dark"] .slide-1 { background: linear-gradient(120deg,#1a1208,#120d04); }
[data-theme="dark"] .slide-2 { background: linear-gradient(120deg,#1a1208,#150f06); }
[data-theme="dark"] .slide-3 { background: linear-gradient(120deg,#0a1a10,#061208); }
[data-theme="dark"] .hero-sale-title { color: #eee; }
[data-theme="dark"] .hero-sub { color: #aaa; }

/* Review section */
[data-theme="dark"] .reviewer-name { color: #ddd; }
[data-theme="dark"] .reviewer-date { color: #666; }
[data-theme="dark"] .review-text { color: #aaa; }
[data-theme="dark"] .review-helpful { background: #222; border-color: rgba(255,255,255,.08); }
[data-theme="dark"] .review-helpful:active { background: #2a2a2a; }
[data-theme="dark"] .helpful-count-txt { color: #666; }

/* Me panel full */
[data-theme="dark"] .me-big-initial { background: linear-gradient(135deg,#1a1a1a,#222); color: #e91e8c; }
[data-theme="dark"] .me-hero-name { color: #eee; }
[data-theme="dark"] .me-hero-email { color: #888; }
[data-theme="dark"] .me-hero-row { background: #1a1a1a; border-color: rgba(255,255,255,.06); }
[data-theme="dark"] .me-stat-val { color: #eee; }
[data-theme="dark"] .me-stat-label { color: #777; }
[data-theme="dark"] .me-block-title { color: #888; }
[data-theme="dark"] .me-list-item { color: #ddd; border-bottom-color: rgba(255,255,255,.05); }
[data-theme="dark"] .me-chev-r { color: #444; }
[data-theme="dark"] .me-edit-pill { background: #2a2a2a; color: #ddd; border-color: rgba(255,255,255,.1); }
[data-theme="dark"] .me-no-login { background: #1a1a1a; color: #aaa; }

/* Settings panel */
[data-theme="dark"] .settings-panel { background: #0d0d0d; }
[data-theme="dark"] .settings-head { background: #111; border-bottom-color: rgba(255,255,255,.07); }
[data-theme="dark"] .settings-section-title { color: #777; }
[data-theme="dark"] .settings-item { color: #ccc; border-bottom-color: rgba(255,255,255,.05); }
[data-theme="dark"] .settings-item i { color: #666; }
[data-theme="dark"] .settings-about { background: #1a1a1a; color: #888; }

/* WhatsApp float button ok as is */
/* Saudi flag section */
[data-theme="dark"] .saudi-pride-bar { background: transparent; border-color: transparent; }
[data-theme="dark"] .saudi-pride-pill {
  background: linear-gradient(135deg, rgba(201,162,39,.12), rgba(255,215,100,.08));
  border-color: rgba(201,162,39,.3);
  box-shadow: 0 4px 18px rgba(0,0,0,.4), inset 0 1px 0 rgba(201,162,39,.1);
}
[data-theme="dark"] .saudi-pride-text { color: #e8d8a0; }

/* Binance pay section */
[data-theme="dark"] .bnc-box { background: #1a1a1a; border-color: rgba(255,255,255,.08); }
[data-theme="dark"] .bnc-input { background: #222; color: #eee; border-color: rgba(255,255,255,.1); }
[data-theme="dark"] .bnc-label { color: #aaa; }

/* Location map area */
[data-theme="dark"] .loc-modal { background: #111; }
[data-theme="dark"] .loc-head { background: #1a1a1a; border-bottom-color: rgba(255,255,255,.07); }

/* ===== PRODUCT SHARE / DEEP LINK ===== */
.modal-top-row {
  display: flex; align-items: flex-start; gap: 8px; margin-bottom: 6px;
}
.modal-top-row .modal-name { flex: 1; margin-bottom: 0; }
.modal-share-btn {
  width: 36px; height: 36px; flex-shrink: 0;
  background: rgba(233,30,140,.1); color: #e91e8c;
  border-radius: 10px; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .15s;
}
.modal-share-btn:active { background: rgba(233,30,140,.2); transform: scale(.9); }

.modal-link-bar {
  display: flex; align-items: center; gap: 8px;
  margin-top: 14px; padding: 10px 12px;
  background: rgba(233,30,140,.05);
  border: 1px solid rgba(233,30,140,.15);
  border-radius: 12px; overflow: hidden;
}
.modal-link-icon { color: #e91e8c; font-size: 13px; flex-shrink: 0; }
.modal-link-text {
  flex: 1; font-size: 11px; color: #999;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.modal-link-copy {
  display: flex; align-items: center; gap: 5px;
  background: #e91e8c; color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 5px 10px; border-radius: 8px;
  white-space: nowrap; transition: opacity .2s;
  flex-shrink: 0;
}
.modal-link-copy:active { opacity: .8; }

/* Dark mode */
[data-theme="dark"] .modal-link-bar { background: rgba(233,30,140,.08); border-color: rgba(233,30,140,.2); }
[data-theme="dark"] .modal-link-text { color: #666; }

/* ===== PWA INSTALL BANNER ===== */
.pwa-banner {
  position: fixed;
  bottom: 78px; left: 12px; right: 12px;
  background: #fff;
  border-radius: 18px;
  padding: 12px 14px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 8px 32px rgba(0,0,0,.18), 0 2px 8px rgba(233,30,140,.12);
  border: 1.5px solid rgba(233,30,140,.15);
  z-index: 99;
  transform: translateY(120%);
  transition: transform .4s cubic-bezier(.34,1.56,.64,1);
  gap: 10px;
}
.pwa-banner.show { transform: translateY(0); }
.pwa-banner-left { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.pwa-app-icon {
  width: 44px; height: 44px; border-radius: 12px; overflow: hidden;
  flex-shrink: 0; background: linear-gradient(135deg,#e91e8c,#8b2be2);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(233,30,140,.3);
}
.pwa-app-icon img { width: 32px; height: 32px; }
.pwa-banner-title { font-size: 14px; font-weight: 900; color: #111; }
.pwa-banner-sub { font-size: 11px; color: #888; margin-top: 1px; }
.pwa-banner-btns { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.pwa-dismiss {
  width: 28px; height: 28px; border-radius: 50%;
  background: #f5f5f5; color: #aaa; font-size: 11px;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.pwa-dismiss:active { background: #eee; }
.pwa-install-btn {
  display: flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, #e91e8c, #8b2be2);
  color: #fff; border: none; border-radius: 20px;
  padding: 8px 16px; font-size: 13px; font-weight: 800;
  cursor: pointer; white-space: nowrap;
  box-shadow: 0 4px 14px rgba(233,30,140,.4);
  transition: transform .15s, box-shadow .15s;
}
.pwa-install-btn:active { transform: scale(.95); box-shadow: 0 2px 8px rgba(233,30,140,.3); }

/* Dark mode */
[data-theme="dark"] .pwa-banner {
  background: #1a1a1a;
  border-color: rgba(233,30,140,.2);
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
}
[data-theme="dark"] .pwa-banner-title { color: #eee; }
[data-theme="dark"] .pwa-dismiss { background: #2a2a2a; color: #666; }

/* ===== DARK MODE: MISSING OVERRIDES ===== */
/* Super Deals / Trending two-col cards */
[data-theme="dark"] .two-col-card { background: #1a1a1a; box-shadow: 0 1px 6px rgba(0,0,0,.4); }
[data-theme="dark"] .two-col-title { color: #ddd; }
[data-theme="dark"] .two-col-head { border-bottom-color: rgba(255,255,255,.06); }

/* Wish heart button on product card */
[data-theme="dark"] .wish-btn { background: rgba(20,20,20,.75); color: #666; }
[data-theme="dark"] .wish-btn.active, [data-theme="dark"] .wish-btn:hover { color: #e91e8c; }

/* Section titles and headers */
[data-theme="dark"] .section-title { color: #eee; }
[data-theme="dark"] .products-header { background: transparent; }

/* Product meta */
[data-theme="dark"] .product-sold { color: #666; }
[data-theme="dark"] .product-meta { color: #888; }

/* Announcement banner (already gradient, stays visible) */
/* Flash deal timer */
[data-theme="dark"] .flash-see-all { color: #e91e8c; }

/* Category circles label */
[data-theme="dark"] .cat-circle span { color: #bbb; }
[data-theme="dark"] .cat-circle { background: #1a1a1a; }
[data-theme="dark"] .cat-circle-img-wrap { background: #222; }

/* Info bar first duplicate entry (override earlier redundant rule) */
[data-theme="dark"] .info-bar { background: #1a1a1a; border-color: #2a2a2a; }

/* Section backgrounds */
[data-theme="dark"] .two-col-banner { background: transparent; }
[data-theme="dark"] .section { background: transparent; }

/* Product image placeholders */
[data-theme="dark"] .product-img-wrap { background: #222; }
[data-theme="dark"] .flash-card .product-img-wrap { background: #222; }

/* ===== AI CHATBOT ===== */
.ai-chat-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 3000;
}
.ai-chat-overlay.open { display: block; }

.ai-chat-panel {
  position: fixed;
  bottom: 0; right: 0;
  width: 100%; max-width: 420px;
  height: 75vh; max-height: 600px;
  background: #fff;
  border-radius: 20px 20px 0 0;
  z-index: 3001;
  display: flex; flex-direction: column;
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 -4px 32px rgba(0,0,0,.18);
}
.ai-chat-panel.open { transform: translateY(0); }

.ai-chat-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 20px 20px 0 0;
  color: #fff;
}
.ai-chat-header-left { display: flex; align-items: center; gap: 10px; }
.ai-chat-avatar {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.ai-chat-title { font-weight: 700; font-size: 15px; }
.ai-chat-status { font-size: 11px; opacity: .85; display: flex; align-items: center; gap: 4px; }
.ai-online-dot {
  width: 7px; height: 7px;
  background: #4ade80;
  border-radius: 50%;
  display: inline-block;
}
.ai-chat-close {
  background: rgba(255,255,255,.2);
  border: none; color: #fff;
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}

.ai-chat-messages {
  flex: 1; overflow-y: auto;
  padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.ai-msg {
  max-width: 78%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.5;
  word-wrap: break-word;
}
.ai-msg-user {
  align-self: flex-end;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.ai-msg-assistant {
  align-self: flex-start;
  background: #f0f0f5;
  color: #222;
  border-bottom-left-radius: 4px;
}
.ai-typing { display: flex; gap: 5px; align-items: center; padding: 12px 14px; }
.ai-typing span {
  width: 8px; height: 8px;
  background: #999;
  border-radius: 50%;
  animation: aiTypingBounce 1.2s infinite;
}
.ai-typing span:nth-child(2) { animation-delay: .2s; }
.ai-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes aiTypingBounce {
  0%,80%,100% { transform: translateY(0); }
  40% { transform: translateY(-6px); }
}

.ai-chat-input-row {
  display: flex; gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid #eee;
  background: #fff;
  border-radius: 0 0 0 0;
}
.ai-chat-input {
  flex: 1;
  border: 1.5px solid #ddd;
  border-radius: 24px;
  padding: 10px 16px;
  font-size: 14px;
  outline: none;
  font-family: inherit;
}
.ai-chat-input:focus { border-color: #667eea; }
.ai-chat-send {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border: none; border-radius: 50%;
  color: #fff; cursor: pointer;
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform .15s;
}
.ai-chat-send:active { transform: scale(.92); }
.ai-chat-send:disabled { opacity: .5; cursor: not-allowed; }

/* FAB button */
.ai-chat-fab {
  position: fixed;
  bottom: 80px; right: 16px;
  width: 54px; height: 62px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border: none; border-radius: 28px;
  color: #fff; font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(102,126,234,.5);
  z-index: 2900;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  transition: transform .2s, box-shadow .2s;
}
.ai-chat-fab::before {
  content: 'AI';
  font-size: 12px; font-weight: 900;
  letter-spacing: 1px;
  color: #fff;
  line-height: 1;
}
.ai-chat-fab:hover { transform: scale(1.1); box-shadow: 0 6px 22px rgba(102,126,234,.6); }
.ai-chat-fab-badge {
  position: absolute; top: -2px; right: -2px;
  background: #e91e8c; color: #fff;
  width: 18px; height: 18px;
  border-radius: 50%; font-size: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}

/* Dark mode */
[data-theme="dark"] .ai-chat-panel { background: #1a1a1a; }
[data-theme="dark"] .ai-msg-assistant { background: #2a2a2a; color: #eee; }
[data-theme="dark"] .ai-chat-input-row { background: #1a1a1a; border-color: #333; }
[data-theme="dark"] .ai-chat-input { background: #2a2a2a; border-color: #444; color: #eee; }
[data-theme="dark"] .ai-chat-input:focus { border-color: #667eea; }

/* ===== ARCH CATEGORIES ===== */
.cat-arch-section {
  background: linear-gradient(180deg, #fdf6ec 0%, #fef9f3 60%, #fff 100%);
  padding: 20px 0 28px;
  position: relative;
  overflow: hidden;
}
.cat-arch-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #d4a055 30%, #f0d080 50%, #d4a055 70%, transparent 100%);
}
.cat-arch-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #e8c070 40%, #d4a055 50%, #e8c070 60%, transparent 100%);
}

/* Heading row */
.cat-arch-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 16px 14px;
}
.cat-arch-title {
  font-size: 15px;
  font-weight: 800;
  color: #7c4a1e;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
}
.cat-arch-line {
  flex: 1;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, #c9904a, transparent);
  max-width: 80px;
}

/* Scrollable grid */
.cat-arch-grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 6px 16px 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.cat-arch-grid::-webkit-scrollbar { display: none; }

/* Each card */
.cat-arch-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform .22s cubic-bezier(.34,1.56,.64,1);
  -webkit-tap-highlight-color: transparent;
}
.cat-arch-card:active { transform: scale(.93); }

/* Wrap holds gem + frame */
.cat-arch-wrap {
  position: relative;
}

/* Golden gem at top */
.cat-arch-gem {
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffe066, #c9a030, #8b6010);
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(180,120,20,.45);
  z-index: 3;
}
.cat-arch-gem::after {
  content: '';
  position: absolute;
  top: 2px; left: 3px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,.7);
}

/* Arch outer frame (gradient border) */
.cat-arch-frame {
  width: 82px;
  height: 100px;
  border-radius: 41px 41px 10px 10px;
  background: linear-gradient(160deg, #f0c060 0%, #c98030 40%, #e8b050 70%, #a06020 100%);
  padding: 2.5px;
  box-shadow:
    0 6px 20px rgba(180,100,20,.28),
    0 2px 6px rgba(0,0,0,.12),
    inset 0 1px 2px rgba(255,220,100,.4);
  position: relative;
  z-index: 1;
}

/* Arch inner (image container) */
.cat-arch-inner {
  width: 100%;
  height: 100%;
  border-radius: 38.5px 38.5px 8px 8px;
  overflow: hidden;
  background: #f5e8d8;
}
.cat-arch-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.cat-arch-card:hover .cat-arch-inner img { transform: scale(1.08); }

/* Label */
.cat-arch-card span {
  font-size: 11.5px;
  font-weight: 700;
  color: #6b3a10;
  text-align: center;
  letter-spacing: .4px;
  line-height: 1.2;
}

/* Active state — highlight */
.cat-arch-card.active-cat .cat-arch-frame {
  background: linear-gradient(160deg, #ff9a3c 0%, #e8691e 40%, #ff9a3c 70%, #c85010 100%);
  box-shadow: 0 6px 24px rgba(220,80,20,.5), 0 2px 6px rgba(0,0,0,.15);
}
.cat-arch-card.active-cat span { color: #c85010; }

/* Hover lift */
@media(hover: hover) {
  .cat-arch-card:hover { transform: translateY(-5px); }
}

/* Dark mode */
[data-theme="dark"] .cat-arch-section {
  background: linear-gradient(180deg, #1c1208 0%, #181410 60%, #1a1a1a 100%);
}
[data-theme="dark"] .cat-arch-title { color: #e0a050; }
[data-theme="dark"] .cat-arch-card span { color: #d4956a; }
[data-theme="dark"] .cat-arch-section::before {
  background: linear-gradient(90deg, transparent 0%, #8b5e20 30%, #c09040 50%, #8b5e20 70%, transparent 100%);
}

/* ===== AI SEARCH DROPDOWN ===== */
.search-bar { position: relative; }

.search-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,.18), 0 2px 8px rgba(0,0,0,.1);
  z-index: 2000;
  overflow: hidden;
  max-height: 380px;
  overflow-y: auto;
  border: 1px solid rgba(0,0,0,.06);
  animation: sdropIn .18s ease;
}
.search-dropdown.open { display: block; }

@keyframes sdropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sdrop-header {
  padding: 8px 14px 6px;
  font-size: 11px;
  font-weight: 700;
  color: #888;
  letter-spacing: .5px;
  text-transform: uppercase;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sdrop-ai-badge {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 20px;
  letter-spacing: .3px;
}

.sdrop-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background .15s;
  border-bottom: 1px solid #f8f8f8;
}
.sdrop-item:last-child { border-bottom: none; }
.sdrop-item:hover { background: #f5f0ff; }
.sdrop-item:active { background: #ede8ff; }

.sdrop-img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  background: #f0f0f0;
}

.sdrop-info { flex: 1; min-width: 0; }
.sdrop-name {
  font-size: 13px;
  font-weight: 600;
  color: #222;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sdrop-price {
  font-size: 12px;
  color: #e91e8c;
  font-weight: 700;
  margin-top: 2px;
}

.sdrop-arrow { color: #ccc; font-size: 11px; flex-shrink: 0; }

.sdrop-empty {
  padding: 20px;
  text-align: center;
  color: #aaa;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.sdrop-empty i { font-size: 22px; color: #ddd; }

.sdrop-ai-loading {
  padding: 16px;
  text-align: center;
  color: #888;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.sdrop-spinner {
  width: 16px; height: 16px;
  border: 2px solid #ddd;
  border-top-color: #764ba2;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: inline-block;
}

/* Dark mode */
[data-theme="dark"] .search-dropdown { background: #1e1e1e; border-color: #333; }
[data-theme="dark"] .sdrop-header { color: #666; border-color: #2a2a2a; }
[data-theme="dark"] .sdrop-item { border-color: #242424; }
[data-theme="dark"] .sdrop-item:hover { background: #2a2040; }
[data-theme="dark"] .sdrop-name { color: #eee; }
