/* ==========================================================
   Yüksel Garage — Ana Sayfa | Online mağaza: sepet butonu, karşılama popup'ı
   ========================================================== */

/* Clean Frameless White Cart / Store Navbar Button */
.nav-cart-btn,
.nav-cart-btn:link,
.nav-cart-btn:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #ffffff !important;
  padding: 6px;
  text-decoration: none !important;
  transition: color 0.25s ease, transform 0.25s ease, filter 0.25s ease;
  cursor: pointer;
}

.nav-cart-btn:hover {
  color: #ff2247 !important;
  transform: scale(1.15);
  filter: drop-shadow(0 0 10px rgba(255, 34, 71, 0.7));
}

.nav-cart-btn:hover .nav-cart-icon path {
  stroke: #ff2247 !important;
}

.nav-cart-btn:hover .nav-cart-icon circle {
  fill: #ff2247 !important;
}

.nav-cart-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: block;
  transition: transform 0.25s ease, stroke 0.25s ease, fill 0.25s ease;
}



/* Lock scroll completely when popup is open */
html.popup-lock,
body.popup-lock {
  overflow: hidden !important;
  height: 100% !important;
  touch-action: none !important;
  overscroll-behavior: none !important;
}

/* ==========================================================================
   YÜKSEL GARAGE ONLINE MAĞAZA GİRİŞ POPUP (POPUP.JPG ARKA PLANLI)
   ========================================================================== */
.store-popup-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.22); /* Çok az karartma - ferah ve arkası net görünür */
  backdrop-filter: blur(2px);      /* Çok hafif blur */
  -webkit-backdrop-filter: blur(2px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;                      /* Yatay tam ekran şerit */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

.store-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Widescreen Infinite Horizontal Banner - Yatay sonsuz uzanan şerit */
.store-popup-m3-box {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  left: 0;
  right: 0;
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-top: 3px solid #ffffff;
  border-bottom: 3px solid #ffffff;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.75), 0 -10px 40px rgba(0, 0, 0, 0.35);
  background:
    linear-gradient(180deg, rgba(6, 10, 18, 0.40) 0%, rgba(6, 10, 18, 0.15) 45%, rgba(6, 10, 18, 0.65) 100%),
    url('/assets/popup.jpg') center 42% / cover no-repeat;
  color: #ffffff;
  transform: translateY(0);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: visible;
}

.store-popup-overlay.active .store-popup-m3-box {
  transform: translateY(0);
}

/* Floating Circular Close Button on Top Right Corner of the Banner */
.store-popup-floating-close {
  position: absolute;
  top: 18px;
  right: max(24px, calc((100vw - 1240px) / 2));
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid #e2e8f0;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  z-index: 10;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.store-popup-floating-close:hover {
  transform: scale(1.1) rotate(90deg);
  background-color: #f1f5f9;
  color: #d90429;
}

.store-popup-m3-content {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 36px 36px 30px;
  text-align: center;
  position: relative;
  z-index: 2;
}

/* Main Title */
.store-popup-m3-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.85rem;
  font-weight: 900;
  letter-spacing: 0.6px;
  color: #ffffff;
  text-transform: uppercase;
  margin: 0 0 10px;
  line-height: 1.2;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.95), 0 0 3px #000;
}

/* Brand Badges Header Row */
.store-popup-brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.store-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.brand-badge-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.4));
}

.badge-yg {
  background: rgba(12, 18, 32, 0.92);
  color: #ffffff;
  border: 1.5px solid #ffffff;
}

.badge-yg .badge-accent {
  color: #ffffff;
  font-weight: 900;
}

.badge-yg .badge-light {
  color: #ffffff;
  font-weight: 900;
}

.badge-partner {
  background: rgba(12, 18, 32, 0.92);
  color: #ffffff;
  border: 1.5px solid #ffffff;
}

/* BMW M Heritage 3-Color Slanted Stripes */
.bmw-m-stripe {
  display: inline-flex;
  height: 14px;
  gap: 2.5px;
  transform: skewX(-16deg);
  margin-right: 3px;
}

.bmw-m-stripe .stripe-m-blue {
  width: 4px;
  height: 100%;
  background: #0066b1;
  border-radius: 1px;
}

.bmw-m-stripe .stripe-m-dark {
  width: 4px;
  height: 100%;
  background: #262a5b;
  border-radius: 1px;
}

.bmw-m-stripe .stripe-m-red {
  width: 4px;
  height: 100%;
  background: #e21a22;
  border-radius: 1px;
}

.badge-partner-bmw {
  color: #ffffff;
  font-weight: 900;
}

.badge-partner-sub {
  color: #94a3b8;
  font-size: 0.74rem;
  font-weight: 700;
}

/* Horizontal 2-Column Content Layout */
.store-popup-horizontal-body {
  display: grid;
  grid-template-columns: 1.6fr 0.4fr;
  align-items: center;
  gap: 28px;
  margin-bottom: 22px;
  text-align: left;
}

.store-popup-col-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.store-popup-m3-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.02rem;
  color: #ffffff;
  line-height: 1.6;
  font-weight: 500;
  margin: 0;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

.store-popup-m3-desc strong {
  color: #ffffff;
  font-weight: 800;
}

.store-popup-trust-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.store-popup-trust-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95);
}

.store-popup-trust-bullets li svg {
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.9));
}

/* Right Column: 3D German Car Certification & Gold Seal Showcase */
.store-popup-col-right {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0;
}

.store-popup-guarantee-img {
  width: 100%;
  max-width: 175px;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 12px rgba(234, 179, 8, 0.15));
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.store-popup-guarantee-img:hover {
  transform: scale(1.06);
}

/* Primary Action CTA Button - Clean Rectangular Button */
.store-popup-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.store-popup-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #d90429;
  color: #ffffff !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-decoration: none !important;
  padding: 14px 52px;
  border-radius: 10px;
  border: 2px solid #ffffff;
  box-shadow: 0 6px 20px rgba(217, 4, 41, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.25);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  width: auto;
}

.store-popup-btn-primary:hover {
  transform: translateY(-2px);
  background: #ef233c;
  box-shadow: 0 10px 28px rgba(217, 4, 41, 0.65), 0 0 0 2px rgba(255, 255, 255, 0.4);
}

.store-popup-btn-primary svg {
  transition: transform 0.2s ease;
}

.store-popup-btn-primary:hover svg {
  transform: translateX(5px);
}

/* Cart Button Guidance Note */
.store-popup-cart-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  color: #ffffff;
  margin: 0;
  line-height: 1.45;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.store-popup-cart-hint svg {
  stroke: #ffffff;
}

.store-popup-cart-hint strong {
  color: #ffffff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Attention Pulse on Navbar Cart Button */
@keyframes navCartGlow {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.85);
  }
  50% {
    transform: scale(1.15);
    box-shadow: 0 0 0 14px rgba(255, 255, 255, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.nav-cart-btn.highlight-pulse {
  animation: navCartGlow 2s infinite ease-in-out;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .store-popup-m3-box {
    width: 95%;
  }
  .store-popup-m3-content {
    padding: 28px 18px 20px;
  }
  .store-popup-floating-close {
    top: -12px;
    right: -12px;
    width: 36px;
    height: 36px;
  }
  .store-popup-m3-title {
    font-size: 1.45rem;
    margin-bottom: 8px;
  }
  .store-popup-brand-row {
    margin-bottom: 14px;
    flex-wrap: wrap;
  }
  .store-popup-horizontal-body {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 18px;
    text-align: center;
  }
  .store-popup-trust-bullets li {
    justify-content: center;
  }
  .store-popup-btn-primary {
    font-size: 1rem;
    padding: 13px 28px;
    width: 100%;
  }
}

/* ==========================================================================
   YÜKSEL GARAGE ONLINE MAĞAZA ÇOK YAKINDA MODALI
   ========================================================================== */
.yg-coming-soon-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: rgba(0, 0, 0, 0.90);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vh, 40px) clamp(16px, 4vw, 32px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.yg-coming-soon-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.yg-coming-soon-box {
  position: relative;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  width: 100%;
  max-width: 520px;
  padding: clamp(28px, 4vh, 40px) clamp(24px, 4vw, 36px);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.95);
  transform: scale(0.96) translateY(12px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.yg-coming-soon-overlay.active .yg-coming-soon-box {
  transform: scale(1) translateY(0);
}

.yg-coming-soon-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.yg-coming-soon-close:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.08) rotate(90deg);
}

.yg-coming-soon-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: clamp(0.70rem, 1vw, 0.78rem);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: clamp(14px, 2vh, 18px);
  font-weight: 700;
}

.yg-coming-soon-tag .tag-slashes {
  color: #ff2247;
  font-weight: 800;
}

.yg-coming-soon-title {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.2vw, 2.3rem);
  font-weight: 900;
  letter-spacing: -1.2px;
  line-height: 1.08;
  text-transform: uppercase;
  margin: 0 0 clamp(16px, 2.5vh, 22px);
}

.yg-coming-soon-desc {
  color: rgba(255, 255, 255, 0.70);
  font-family: var(--font-sans);
  font-size: clamp(0.88rem, 1.1vw, 0.96rem);
  line-height: 1.65;
  margin: 0 0 clamp(28px, 4vh, 36px);
  letter-spacing: 0.1px;
}

.yg-coming-soon-desc strong {
  color: #ffffff;
  font-weight: 700;
}

.yg-coming-soon-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.yg-coming-soon-actions .btn {
  width: 100% !important;
  border-radius: 9999px !important;
  text-decoration: none !important;
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  box-sizing: border-box !important;
}

.yg-coming-soon-actions .btn.btn-white {
  background: #ffffff !important;
  color: #000000 !important;
  border: 1px solid #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 14px 20px 14px 28px !important;
}

.yg-coming-soon-actions .btn.btn-white:hover {
  background: #f2f2f2 !important;
  color: #000000 !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 255, 255, 0.25);
}

.yg-coming-soon-actions .btn.btn-ghost {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 15px 24px !important;
}

.yg-coming-soon-actions .btn.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}



