/* ====================================
   Aranoz — Xüsusi Komponent Stilləri
   ==================================== */

/* --- Header/Breadcrumb iç-içə girmə düzəlişi --- */
.breadcrumb {
  padding-top: 80px !important;
}
section.section_padding:first-of-type {
  padding-top: 30px;
}

/* --- Səbət Badge --- */
.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: linear-gradient(135deg, #ff3368, #ff6b6b);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(255, 51, 104, 0.4);
  animation: badgePop 0.3s ease;
}

.dropdown.cart {
  position: relative;
}

@keyframes badgePop {
  0% { transform: scale(0); }
  60% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* --- Bildiriş (Notification) --- */
.aranoz-notification {
  position: fixed;
  top: 20px;
  right: -400px;
  z-index: 99999;
  background: #fff;
  border-radius: 12px;
  padding: 16px 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  border-left: 4px solid #ff3368;
  transition: right 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  max-width: 350px;
}

.aranoz-notification.show {
  right: 20px;
}

.aranoz-notification .notif-content {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.aranoz-notification .notif-content i {
  color: #28a745;
  font-size: 22px;
}

/* --- Axtarış Dropdown --- */
.search-results-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 60px;
  background: #fff;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  display: none;
  z-index: 9999;
  max-height: 400px;
  overflow-y: auto;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s ease;
}

.search-result-item:hover {
  background: #f8f9fa;
}

.search-result-item img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 8px;
}

.search-result-info h5 {
  font-size: 14px;
  margin: 0 0 4px;
  color: #333;
  font-weight: 600;
}

.search-result-info h5 mark {
  background: #fff3cd;
  padding: 0 2px;
  border-radius: 2px;
}

.search-result-info span {
  font-size: 13px;
  color: #ff3368;
  font-weight: 700;
}

.search-no-result {
  padding: 24px;
  text-align: center;
  color: #888;
}

.search-no-result i {
  font-size: 28px;
  display: block;
  margin-bottom: 8px;
}

.search-more {
  padding: 12px;
  text-align: center;
  border-top: 1px solid #eee;
}

.search-more a {
  color: #ff3368;
  font-weight: 600;
  text-decoration: none;
  font-size: 13px;
}

.search-more a:hover {
  text-decoration: underline;
}

/* --- Məhsul Kartı Hover Effekti --- */
.single_product_item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
}

.single_product_item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.single_product_item img {
  transition: transform 0.4s ease;
}

.single_product_item:hover img {
  transform: scale(1.05);
}

.single_product_text .add_cart {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.single_product_text .add_cart:hover {
  color: #ff3368 !important;
  transform: translateX(4px);
}

/* --- Səbət Silmə Düyməsi --- */
.cart-remove-btn {
  color: #dc3545;
  font-size: 14px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.cart-remove-btn:hover {
  background: #dc3545;
  color: #fff !important;
}

/* --- Boş Səbət --- */
.cart_inner .table td[colspan="4"] h4 {
  font-weight: 400;
}

/* --- Axtarış Input Focus --- */
.search-inner .form-control:focus {
  box-shadow: none;
  border-bottom: 2px solid #ff3368;
}

/* --- Navbar altında boşluq (breadcrumb iç-içə girməsin) --- */
.breadcrumb {
  margin-top: 80px;
}

/* --- Google Login Düyməsi --- */
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  border: 2px solid #e0e0e0;
  color: #555;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  width: 100%;
}

.btn-google:hover {
  border-color: #4285f4;
  background: #f8f9ff;
  color: #4285f4;
  box-shadow: 0 4px 12px rgba(66, 133, 244, 0.2);
  transform: translateY(-2px);
}

.btn-google img {
  width: 20px;
  height: 20px;
}

.divider-text {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
  color: #999;
  font-size: 13px;
}

.divider-text::before,
.divider-text::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #e0e0e0;
}

.divider-text::before { margin-right: 12px; }
.divider-text::after { margin-left: 12px; }

/* =============================================
   RESPONSIVE — Bütün Ekran Ölçüləri
   ============================================= */

/* --- Banner slider overflow fix (bütün ekranlar) --- */
.banner_part {
  overflow: hidden;
}
.banner_slider.owl-carousel .owl-stage {
  display: flex;
  align-items: center;
}
.banner_slider.owl-carousel .owl-item {
  min-height: 100%;
}

/* ---------- Tablet (768px - 991px) ---------- */
@media (max-width: 991px) {
  /* Banner */
  .banner_part {
    min-height: auto;
    padding: 40px 0 30px;
  }
  .banner_part .banner_text h1 {
    font-size: 26px;
  }
  .banner_part .single_banner_slider .col-md-8 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* Breadcrumb */
  .breadcrumb {
    margin-top: 60px;
    padding-top: 60px !important;
  }
  .breadcrumb_iner h2 {
    font-size: 24px;
  }

  /* Məhsul Detail — şəkil və mətn alt-alta */
  .single_product_details_area .col-lg-5 {
    margin-top: 30px;
  }

  /* Admin cədvəllər */
  .table-responsive {
    font-size: 13px;
  }
  .table-responsive .btn-sm {
    font-size: 11px;
    padding: 4px 10px;
  }

  /* 3D konteyner */
  #threejs-container {
    height: 350px !important;
  }

  /* Axtarış dropdown */
  .search-results-dropdown {
    right: 0;
    left: 0;
  }

  /* Bildiriş */
  .aranoz-notification {
    max-width: 280px;
  }
}

/* ---------- Mobil (576px - 767px) ---------- */
@media (max-width: 767px) {
  /* Breadcrumb */
  .breadcrumb {
    margin-top: 55px;
    padding-top: 50px !important;
    min-height: auto;
  }
  .breadcrumb_iner h2 {
    font-size: 20px;
  }
  .breadcrumb_iner p {
    font-size: 13px;
  }

  /* Ana səhifə banner */
  .banner_part .banner_text h1 {
    font-size: 24px !important;
  }
  .banner_part .banner_text p {
    font-size: 13px;
  }

  /* Məhsul kartları */
  .single_product_item {
    margin-bottom: 20px;
  }
  .single_product_item img {
    max-height: 200px;
    object-fit: contain;
  }

  /* Section padding azalt */
  .section_padding {
    padding: 40px 0 !important;
  }

  /* Məhsul Detail */
  .single_product_text h2 {
    font-size: 22px !important;
  }
  .single_product_text h3 {
    font-size: 22px !important;
  }

  /* Detail ikonlu xüsusiyyətlər */
  .single_product_text [style*="display: flex"][style*="gap: 15px"] {
    flex-direction: column;
    gap: 8px !important;
  }

  /* 3D konteyner */
  #threejs-container {
    height: 280px !important;
  }

  /* Kateqoriya filtr düymələri */
  .product_filter {
    flex-wrap: wrap;
    gap: 6px;
  }
  .product_filter button {
    font-size: 12px;
    padding: 6px 12px;
  }

  /* Admin Dashboard kartları */
  .admin-stat-card {
    margin-bottom: 15px;
  }

  /* Admin cədvəl sütunları */
  .table-responsive table {
    min-width: 500px;
  }

  /* Footer */
  .footer-area .col-sm-6 {
    margin-bottom: 20px;
  }

  /* Checkout — kartlar */
  #checkout-form .form-control {
    font-size: 14px;
  }

  /* Cart səhifəsi */
  .cart_inner .table td img {
    width: 50px !important;
    height: 50px !important;
  }

  /* Axtarış dropdown */
  .search-results-dropdown {
    right: 0;
    left: 0;
    max-height: 300px;
  }
  .search-result-item {
    padding: 10px 12px;
    gap: 10px;
  }
  .search-result-item img {
    width: 40px;
    height: 40px;
  }

  /* Bildiriş */
  .aranoz-notification {
    max-width: 260px;
    padding: 12px 16px;
    font-size: 13px;
  }

  /* Google düyməsi */
  .btn-google {
    padding: 10px 16px;
    font-size: 14px;
  }
}

/* ---------- Kiçik Mobil (max 575px) ---------- */
@media (max-width: 575px) {
  /* Container padding */
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Banner */
  .banner_part {
    min-height: auto;
  }
  .banner_part .banner_text h1 {
    font-size: 20px !important;
    line-height: 1.3;
  }

  /* Breadcrumb */
  .breadcrumb {
    margin-top: 50px;
    padding-top: 40px !important;
  }
  .breadcrumb_iner h2 {
    font-size: 18px;
  }

  /* Section tittle */
  .section_tittle h2 {
    font-size: 22px;
  }

  /* Detail səhifəsi düymələr */
  .single_product_details_area [style*="display: flex"][style*="gap: 12px"] {
    flex-direction: column;
  }
  .single_product_details_area .btn_3,
  .single_product_details_area .btn_1 {
    width: 100%;
    text-align: center;
  }

  /* Detail kateqoriya/mövcudluq kartları */
  .single_product_text [style*="display: flex"][style*="gap: 20px"] {
    flex-direction: column;
    gap: 10px !important;
  }

  /* 3D konteyner */
  #threejs-container {
    height: 240px !important;
  }

  /* Admin form-lar */
  .section_padding form .form-control,
  .section_padding form textarea {
    font-size: 14px;
  }

  /* Cart */
  .cart_inner {
    padding: 0;
  }

  /* Oxşar məhsullar */
  .product_list .col-lg-3 {
    padding: 0 8px;
  }

  /* Footer social ikonlar */
  .footer-area .social_icon a {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

  /* 3D toggle düyməsi */
  #view3dBtn {
    font-size: 14px;
    padding: 10px !important;
  }
}

/* ---------- Böyük Desktop (1400px+) ---------- */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  .single_product_item img {
    max-height: 350px;
  }
}

