/* =========================================================
   NOVA PHOENIX MOTORCYCLE - ONLINE MAĞAZA (STORE) STILLERI
   ========================================================= */

/* Mağaza Üst Hero / Başlık */
.store-hero {
  background: radial-gradient(circle at 50% 20%, rgba(240, 68, 56, 0.12) 0%, rgba(248, 250, 252, 0) 70%);
  padding: 40px 0 24px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.store-hero h1 {
  font-size: 34px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.store-hero p {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 600px;
  margin: 0 auto 20px;
}

/* Kategori ve Filtre Çubuğu */
.store-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 0;
  margin-bottom: 24px;
}

.category-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.category-pills::-webkit-scrollbar { display: none; }

.category-pill {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: #475569;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.category-pill:hover, .category-pill.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15);
}

.category-pill .pill-count {
  font-size: 11px;
  opacity: 0.8;
  background: rgba(255, 255, 255, 0.2);
  padding: 1px 6px;
  border-radius: 10px;
}

.store-search-box {
  position: relative;
  min-width: 260px;
  max-width: 380px;
  flex: 1;
}

.store-search-box input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background: #ffffff;
  font-size: 13.5px;
  color: #0f172a;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.store-search-box input:focus {
  border-color: #f04438;
  box-shadow: 0 0 0 3px rgba(240, 68, 56, 0.15);
}

.store-search-box .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #94a3b8;
}

/* Ürün Grid ve Kartları */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
  margin-bottom: 40px;
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

.product-card-img-wrap {
  position: relative;
  width: 100%;
  padding-top: 85%;
  background: #f8fafc;
  overflow: hidden;
}

.product-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.product-badge-stock {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  z-index: 2;
}

.badge-in-stock {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.badge-out-of-stock {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.product-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-cat {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: #f04438;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.product-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
}

.product-card-title:hover {
  color: #f04438;
}

.product-card-footer {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
}

.product-price {
  font-size: 19px;
  font-weight: 900;
  color: #0f172a;
  font-family: var(--font-heading);
}

.product-price span {
  font-size: 12px;
  font-weight: normal;
  color: var(--text-muted);
}

/* Ürün Detay Sayfası Stilleri */
.product-detail-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  margin: 36px 0 50px;
}

@media (max-width: 900px) {
  .product-detail-wrapper {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.gallery-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gallery-main {
  width: 100%;
  aspect-ratio: 4/3;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 0;
}

.gallery-thumb {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
  background: #f8fafc;
  flex-shrink: 0;
  transition: all 0.2s;
}

.gallery-thumb.active {
  border-color: #f04438;
}

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

/* Adet Seçici */
.qty-selector {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  border-radius: 8px;
  padding: 3px;
  border: 1px solid var(--border-color);
}

.qty-btn {
  width: 34px;
  height: 34px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.qty-btn:hover:not(:disabled) {
  background: #e2e8f0;
}

.qty-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.qty-input {
  width: 48px;
  text-align: center;
  background: transparent;
  border: none;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  outline: none;
}

/* Checkout Stepper */
.checkout-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 30px auto 40px;
  max-width: 780px;
  position: relative;
}

.checkout-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 2;
  cursor: default;
}

.step-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--border-color);
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  transition: all 0.3s;
}

.checkout-step.active .step-circle {
  background: #f04438;
  border-color: #f04438;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(240, 68, 56, 0.4);
}

.checkout-step.completed .step-circle {
  background: #10b981;
  border-color: #10b981;
  color: #ffffff;
}

.step-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #64748b;
}

.checkout-step.active .step-label {
  color: #f04438;
}

.checkout-stepper::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: var(--border-color);
  z-index: 1;
}

/* Sepet Rezervasyon Uyarısı */
.cart-ttl-banner {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: #1e40af;
  font-size: 13.5px;
}
