/* Yusuf Manav - Modern E-Commerce Platform Design System */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --ym-primary: #059669;
  --ym-primary-dark: #065f46;
  --ym-primary-light: #ecfdf5;
  --ym-primary-glow: rgba(5, 150, 105, 0.25);
  
  --ym-accent: #f59e0b;
  --ym-accent-dark: #d97706;
  --ym-accent-light: #fffbeb;

  --ym-dark: #0f172a;
  --ym-slate: #1e293b;
  --ym-muted: #64748b;
  --ym-light-muted: #94a3b8;
  
  --ym-bg-light: #f8fafc;
  --ym-card-bg: #ffffff;
  --ym-border: #e2e8f0;
  --ym-border-hover: #cbd5e1;

  --ym-radius-sm: 8px;
  --ym-radius-md: 14px;
  --ym-radius-lg: 20px;
  --ym-radius-xl: 28px;
  --ym-radius-pill: 9999px;

  --ym-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --ym-shadow-md: 0 4px 12px rgba(15, 23, 42, 0.07);
  --ym-shadow-lg: 0 10px 25px rgba(15, 23, 42, 0.09);
  --ym-shadow-hover: 0 16px 32px rgba(5, 150, 105, 0.12);

  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

body {
  font-family: var(--font-sans);
  background-color: var(--ym-bg-light);
  color: var(--ym-slate);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Announcement Bar */
.ym-topbar {
  background: linear-gradient(135deg, #065f46 0%, #047857 50%, #059669 100%);
  color: #ffffff;
  font-size: 0.85rem;
  padding: 7px 0;
  font-weight: 500;
}

/* Header & Navbar */
.ym-header {
  background: #ffffff;
  border-bottom: 1px solid var(--ym-border);
  position: sticky;
  top: 0;
  z-index: 1020;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.ym-brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s;
}

.ym-brand-logo:hover {
  transform: scale(1.02);
}

/* Live Search Input */
.ym-search-container {
  position: relative;
  width: 100%;
}

.ym-search-input {
  border-radius: var(--ym-radius-pill);
  padding: 12px 20px 12px 48px;
  border: 2px solid var(--ym-border);
  background: var(--ym-bg-light);
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

.ym-search-input:focus {
  background: #ffffff;
  border-color: var(--ym-primary);
  box-shadow: 0 0 0 4px var(--ym-primary-glow);
  outline: none;
}

.ym-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ym-muted);
  pointer-events: none;
}

.ym-search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: var(--ym-radius-md);
  box-shadow: var(--ym-shadow-lg);
  border: 1px solid var(--ym-border);
  z-index: 1050;
  max-height: 420px;
  overflow-y: auto;
  display: none;
}

.ym-search-item {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
  color: var(--ym-slate);
  transition: background 0.15s;
}

.ym-search-item:hover {
  background: var(--ym-primary-light);
}

/* Category Navbar - Strictly Single-Line */
.ym-cat-nav {
  background: #ffffff;
  border-bottom: 1px solid var(--ym-border);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  position: relative;
  z-index: 90;
}

.ym-cat-nav .container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  gap: 12px;
}

.ym-cat-scroll-container {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  overflow-x: auto !important;
  scrollbar-width: none;
  -ms-overflow-style: none;
  gap: 4px;
  flex-grow: 1;
  padding: 4px 0;
}

.ym-cat-scroll-container::-webkit-scrollbar {
  display: none;
}

.ym-cat-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  color: var(--ym-slate);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  border-radius: 8px;
  border-bottom: 2px solid transparent;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ym-cat-link:hover, .ym-cat-link.active {
  color: var(--ym-primary-dark);
  background: rgba(16, 185, 129, 0.08);
  border-bottom-color: var(--ym-primary);
  transform: translateY(-1px);
}

.ym-cat-btn {
  background: var(--ym-primary);
  color: #ffffff;
  border-radius: var(--ym-radius-sm);
  padding: 8px 16px;
  font-weight: 700;
  font-size: 0.88rem;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.ym-cat-btn:hover {
  background: var(--ym-primary-dark);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Product Card */
.ym-product-card {
  background: #ffffff;
  border: 1px solid var(--ym-border);
  border-radius: var(--ym-radius-md);
  padding: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--ym-shadow-sm);
}

.ym-product-card:hover {
  border-color: rgba(5, 150, 105, 0.35);
  transform: translateY(-4px);
  box-shadow: var(--ym-shadow-hover);
}

.ym-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--ym-radius-pill);
}

.ym-badge-deal {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #ffffff;
}

.ym-badge-fresh {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
}

.ym-badge-discount {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
}

.ym-favorite-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--ym-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ym-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
}

.ym-favorite-btn:hover, .ym-favorite-btn.active {
  color: #ef4444;
  background: #fee2e2;
  border-color: #fca5a5;
  transform: scale(1.1);
}

.ym-product-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--ym-radius-md);
  background: #f1f5f9;
  margin-bottom: 12px;
}

.ym-product-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  padding: 0;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ym-product-card:hover .ym-product-img {
  transform: scale(1.08);
}

.ym-product-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ym-slate);
  margin-bottom: 6px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
}

.ym-product-title:hover {
  color: var(--ym-primary);
}

.ym-unit-selector {
  font-size: 0.82rem;
  border-radius: 6px;
  padding: 4px 8px;
  border: 1px solid var(--ym-border);
  background: #f8fafc;
  color: var(--ym-slate);
  margin-bottom: 10px;
  cursor: pointer;
  width: 100%;
}

.ym-price-current {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ym-primary-dark);
}

.ym-price-old {
  font-size: 0.88rem;
  color: var(--ym-light-muted);
  text-decoration: line-through;
  margin-left: 6px;
}

.ym-btn-add {
  background: var(--ym-primary);
  color: #ffffff;
  border: none;
  border-radius: var(--ym-radius-sm);
  padding: 9px 14px;
  font-weight: 700;
  font-size: 0.88rem;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.ym-btn-add:hover {
  background: var(--ym-primary-dark);
  color: #ffffff;
  box-shadow: 0 4px 12px var(--ym-primary-glow);
}

/* Category Box */
.ym-cat-card {
  background: #ffffff;
  border: 1px solid var(--ym-border);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--ym-shadow-sm);
  position: relative;
  height: 100%;
}

.ym-cat-card:hover {
  border-color: var(--ym-primary);
  transform: translateY(-5px);
  box-shadow: var(--ym-shadow-lg);
}

.ym-cat-card-img-wrapper {
  position: relative;
  width: 100%;
  height: 150px;
  overflow: hidden;
  background: #f1f5f9;
}

.ym-cat-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.ym-cat-card:hover .ym-cat-card-img {
  transform: scale(1.08);
}

.ym-cat-card-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  background: #ffffff;
}

.ym-cat-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ym-slate);
  margin-bottom: 4px;
  line-height: 1.3;
}

.ym-cat-card:hover .ym-cat-card-title {
  color: var(--ym-primary-dark);
}

.ym-cat-card-count {
  font-size: 0.82rem;
  color: var(--ym-primary);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Trust Badges */
.ym-trust-bar {
  background: #ffffff;
  border: 1px solid var(--ym-border);
  border-radius: var(--ym-radius-md);
  padding: 20px 24px;
  box-shadow: var(--ym-shadow-sm);
}

.ym-trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ym-trust-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--ym-primary-light);
  color: var(--ym-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

/* Floating WhatsApp Button */
.ym-whatsapp-floating {
  position: fixed;
  bottom: 85px;
  right: 25px;
  z-index: 1040;
  background: #25d366;
  color: #ffffff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ym-whatsapp-floating:hover {
  transform: scale(1.12);
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5);
}

.ym-whatsapp-ping {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25d366;
  opacity: 0.6;
  animation: ym-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
  z-index: -1;
}

@keyframes ym-ping {
  75%, 100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Mobile Bottom Navigation */
.ym-mobile-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--ym-border);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
  z-index: 1030;
  display: none;
  padding: 6px 0;
}

@media (max-width: 991px) {
  .ym-mobile-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
  body {
    padding-bottom: 70px;
  }
  .ym-whatsapp-floating {
    bottom: 75px;
    right: 18px;
    width: 50px;
    height: 50px;
    font-size: 26px;
  }
}

.ym-mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--ym-muted);
  font-size: 0.72rem;
  font-weight: 600;
  gap: 2px;
  position: relative;
  padding: 4px 10px;
}

.ym-mobile-nav-item i {
  font-size: 1.25rem;
}

.ym-mobile-nav-item.active, .ym-mobile-nav-item:hover {
  color: var(--ym-primary);
}

.ym-badge-counter {
  position: absolute;
  top: 0;
  right: 12px;
  background: #ef4444;
  color: #ffffff;
  border-radius: 50%;
  font-size: 0.68rem;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* Stepper Quantity Button */
.ym-qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--ym-border);
  border-radius: var(--ym-radius-sm);
  background: #ffffff;
  overflow: hidden;
}

.ym-qty-btn {
  border: none;
  background: #f1f5f9;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  color: var(--ym-slate);
  transition: background 0.15s;
}

.ym-qty-btn:hover {
  background: #e2e8f0;
}

.ym-qty-input {
  width: 44px;
  height: 34px;
  text-align: center;
  border: none;
  font-weight: 700;
  font-size: 0.92rem;
}

/* Free Delivery Bar */
.ym-free-delivery-bar {
  background: #e2e8f0;
  border-radius: var(--ym-radius-pill);
  height: 8px;
  overflow: hidden;
  margin: 10px 0;
}

.ym-free-delivery-progress {
  background: linear-gradient(90deg, #10b981, #059669);
  height: 100%;
  border-radius: var(--ym-radius-pill);
  transition: width 0.4s ease;
}

/* Custom Toast Notification */
.ym-toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ym-toast {
  background: #0f172a;
  color: #ffffff;
  padding: 14px 20px;
  border-radius: var(--ym-radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  animation: ym-slide-up 0.3s ease;
}

.ym-toast.success {
  background: #065f46;
  border-left: 4px solid #10b981;
}

.ym-toast.error {
  background: #7f1d1d;
  border-left: 4px solid #ef4444;
}

@keyframes ym-slide-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer */
.ym-footer {
  background: #09121a;
  color: #cbd5e1;
  padding: 60px 0 20px;
  margin-top: 60px;
}

.ym-footer a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}

.ym-footer a:hover {
  color: #10b981;
}

.ym-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 40px;
  padding-top: 24px;
  font-size: 0.85rem;
}

/* ========================================================
   LIVE MARQUEE TICKER (KAYAN YAZILAR) & ANIMATIONS
   ======================================================== */
.ym-marquee-strip {
  background: linear-gradient(90deg, #022c22 0%, #064e3b 35%, #047857 70%, #064e3b 100%);
  color: #ffffff;
  padding: 8px 0;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 20px rgba(5, 150, 105, 0.18);
  border-radius: 12px;
  margin-bottom: 20px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.ym-marquee-inner {
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  user-select: none;
}

.ym-marquee-badge {
  flex-shrink: 0;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: var(--ym-radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 12px;
  margin-right: 16px;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.5);
  animation: ymPulseBadge 2s infinite ease-in-out;
  z-index: 3;
}

.ym-marquee-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: ymTickerScroll 36s linear infinite;
  will-change: transform;
}

.ym-marquee-inner:hover .ym-marquee-track {
  animation-play-state: paused;
}

.ym-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0 28px;
  color: #f8fafc;
}

.ym-marquee-item strong {
  color: #fde047;
  font-weight: 800;
}

.ym-marquee-item i {
  color: #34d399;
}

@keyframes ymTickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========================================================
   RICH INTERACTIVE ANIMATIONS & EFFECTS
   ======================================================== */

/* Product Card Enhanced Hover & Shine Sweep */
.ym-product-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.25s ease;
}

.ym-product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-25deg);
  pointer-events: none;
  z-index: 5;
  transition: none;
}

.ym-product-card:hover::before {
  left: 160%;
  transition: left 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.ym-product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px -8px rgba(5, 150, 105, 0.22), 0 4px 12px rgba(0, 0, 0, 0.05);
  border-color: rgba(16, 185, 129, 0.55);
}

/* Pulsing Badge Animations */
.ym-badge-deal {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #ffffff;
  animation: ymPulseBadge 2.2s infinite ease-in-out;
}

@keyframes ymPulseBadge {
  0%, 100% { transform: scale(1); box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3); }
  50% { transform: scale(1.06); box-shadow: 0 4px 12px rgba(239, 68, 68, 0.6); }
}

/* Live Viewing Dot Animation */
.ym-live-pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ef4444;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: ymDotPulse 1.6s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes ymDotPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Product Detail Primary Image Zoom on Hover */
.ym-detail-gallery-box {
  overflow: hidden;
  cursor: zoom-in;
}

.ym-detail-gallery-box img {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.ym-detail-gallery-box:hover img {
  transform: scale(1.12);
}

/* Trust Item Floating Hover */
.ym-trust-item {
  transition: transform 0.3s ease;
}

.ym-trust-item:hover {
  transform: translateY(-3px);
}

.ym-trust-item:hover .ym-trust-icon {
  transform: scale(1.1) rotate(5deg);
  transition: transform 0.3s ease;
}

/* ==========================================================
   1. VOICE SEARCH (SESLİ ARAMA) STYLES
   ========================================================== */
.ym-search-container {
  position: relative;
  display: flex;
  align-items: center;
}

.ym-search-input {
  padding-right: 48px !important;
}

.ym-voice-search-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 4;
}

.ym-voice-search-btn:hover {
  background: rgba(16, 185, 129, 0.12);
  color: var(--ym-primary);
  transform: translateY(-50%) scale(1.1);
}

.ym-voice-search-btn.listening {
  background: #ef4444;
  color: #ffffff;
  animation: ymVoiceListenPulse 1.4s infinite;
}

@keyframes ymVoiceListenPulse {
  0% { transform: translateY(-50%) scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6); }
  70% { transform: translateY(-50%) scale(1.15); box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
  100% { transform: translateY(-50%) scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.ym-voice-indicator {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #064e3b, #047857);
  border-radius: var(--ym-radius-pill);
  display: flex;
  align-items: center;
  padding: 0 16px;
  color: #ffffff;
  z-index: 5;
  box-shadow: 0 4px 16px rgba(6, 78, 59, 0.4);
  animation: fadeIn 0.2s ease-in-out;
}

.ym-voice-waves {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-right: 10px;
}

.ym-voice-wave-bar {
  width: 3px;
  height: 16px;
  background: #34d399;
  border-radius: 2px;
  animation: ymWaveAnim 1s ease-in-out infinite;
}

.ym-voice-wave-bar:nth-child(2) { animation-delay: 0.15s; }
.ym-voice-wave-bar:nth-child(3) { animation-delay: 0.3s; }
.ym-voice-wave-bar:nth-child(4) { animation-delay: 0.45s; }

@keyframes ymWaveAnim {
  0%, 100% { height: 6px; }
  50% { height: 22px; background: #facc15; }
}

/* ==========================================================
   2. AKILLI MANAV LİSTESİ (SMART GROCERY LIST)
   ========================================================== */
.ym-smart-list-trigger {
  background: #f0fdf4;
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--ym-primary-dark);
  transition: all 0.25s ease;
}

.ym-smart-list-trigger:hover {
  background: var(--ym-primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}

.ym-preset-chip {
  cursor: pointer;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
  transition: all 0.2s ease;
  user-select: none;
}

.ym-preset-chip:hover {
  background: #ecfdf5;
  border-color: #059669;
  color: #059669;
  transform: translateY(-1px);
}

.ym-smart-item-row {
  transition: background-color 0.2s ease;
}

.ym-smart-item-row:hover {
  background-color: #f8fafc;
}

/* ==========================================================
   3. PWA INSTALL BANNER
   ========================================================== */
.ym-pwa-install-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 1060;
  max-width: 480px;
  width: 92%;
  background: linear-gradient(135deg, #064e3b 0%, #047857 100%);
  color: #ffffff;
  border-radius: 20px;
  padding: 16px 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
}

.ym-pwa-install-banner.show {
  transform: translateX(-50%) translateY(0);
}

.ym-pwa-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #ffffff;
  padding: 3px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.ym-pwa-icon-box img {
  width: 100%;
  height: 100%;
  border-radius: 11px;
  object-fit: cover;
}

/* ==========================================================
   4. LOYALTY POINTS (MANAV PUAN) STYLES
   ========================================================== */
.ym-loyalty-pill {
  height: 42px;
  padding: 0 16px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #78350f !important;
  border: 1.5px solid #f59e0b;
  font-weight: 800;
  font-size: 0.86rem;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.2);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none !important;
  line-height: 1;
  white-space: nowrap;
  vertical-align: middle;
}

.ym-loyalty-pill i {
  font-size: 1rem;
  color: #d97706;
  line-height: 1;
  margin: 0;
}

.ym-loyalty-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(245, 158, 11, 0.35);
  background: linear-gradient(135deg, #fde68a 0%, #fcd34d 100%);
  color: #78350f !important;
}

/* ==========================================================
   5. HEADER FAVORITE BUTTON & BADGE (PIXEL-PERFECT)
   ========================================================== */
.ym-header-fav-btn {
  width: 42px;
  height: 42px;
  min-width: 42px;
  max-width: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid var(--ym-border);
  position: relative;
  padding: 0;
  text-decoration: none !important;
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  vertical-align: middle;
}

.ym-header-fav-btn i {
  font-size: 1.15rem;
  color: #ef4444;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  transition: transform 0.2s ease;
}

.ym-header-fav-btn:hover {
  background: #fef2f2;
  border-color: #f87171;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.15);
}

.ym-header-fav-btn:hover i {
  transform: scale(1.15);
}

.ym-header-fav-btn .ym-fav-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  line-height: 1;
  z-index: 2;
}

.ym-header-cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: #ef4444;
  color: #ffffff;
  border-radius: 9999px;
  font-size: 0.65rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  line-height: 1;
}


