/* Hero Section */
.hero-section-common {
/*  background-image: url("https://rapro.com.tr/app-assets/images/header_resim/1717992123_tool-hero_(1).webp");*/
  background-size: cover;
  background-position: center;
}

.hero-section-common::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
}

/* Search Form Styles */
.search-form {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  background: white;
  padding: 1rem;
  color: #262626;
  width: 100%;
}

.search-form .search-icon {
  color: #666;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
}

.search-form .search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  padding: 0.5rem;
  width: 100%;
  min-width: 0;
}

.search-form .search-button {
  background: var(--accent-color);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
  white-space: nowrap;
}

.search-form .search-button:hover {
  background: #0056b3;
}

/* Breadcrumb Styles */
.breadcrumb {
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.breadcrumb__left {
  display: flex;
  align-items: center;
}

.breadcrumb__left ol {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb__left a {
  color: white;
  text-decoration: none;
}

.breadcrumb__left .active {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb__right {
  display: flex;
  align-items: center;
}

.breadcrumb__right a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  text-decoration: none;
}

.breadcrumb__right i {
  font-size: 1.2rem;
}

.breadcrumb__pdf-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .hero-section-common {
    min-height: 200px;
  }

  .hero-content-common {
    padding: 1rem 0;
  }

  .search-form {
    flex-direction: column;
    gap: 0.5rem;
  }

  .search-form .search-input {
    width: 100%;
  }

  .search-form .search-button {
    width: 100%;
  }

  .breadcrumb__list {
    flex-wrap: wrap;
  }

  .container {
    padding: 0;
  }

  .products__header {
    padding: 1rem 0;
    margin: 0;
  }

  .products__content {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Products Section */
.products {
  width: 100%;
}

.products__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
  margin-right: -1.3rem;
  margin-left: -1rem;
}

.products__count {
  font-size: 1.1rem;
}

.products__actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.products__content {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 2rem;
  align-items: start;
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
}

/* Button Styles */
.btn {
  background: white!important;
  color: #000!important;
  border: 1px solid #ddd!important;
  padding: 0.75rem 1.5rem!important;
  font-size: 0.875rem!important;
  cursor: pointer!important;
  display: flex!important;
  align-items: center!important;
  gap: 0.5rem!important;
  transition: all 0.3s!important;
  height: 3.125rem!important;
}

.btn:hover {
  background-color: #fff;
  border-color: #e6e6e6;
  border-radius: 0.125rem;
  color: #000;
}

.btn--view {
  width: 48px;
  height: 48px;
  padding: 0;
  justify-content: center;
  border-radius: 0;
}

.btn--view--active {
  background: #f2f0f0;
  color: #000;
  border-color: #c3bfbf;
}

/* Select Styles */
.select {
  min-width: 140px;
  outline: none;
  border: 1px solid #e6e6e6;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1em;
  padding-right: 2.5rem;
  padding: 1rem;
}

.select:focus {
  outline: none;
  border-color: #e6e6e6;
}

.select--full {
  width: 100%;
}

/* Filter Styles */
.filter {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.filter__header {
  border-bottom: 1px solid #eee;
}

.filter__section {
  background: white;
  border: 1px solid #eee;
  border-radius: 4px;
  overflow: hidden;
}

.filter__section-header {
  padding: 1.5rem;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.filter__section-header:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

.filter__title {
  color: #000;
  font-size: 1rem;
  text-transform: uppercase;
  margin: 0;
  font-family: inherit;
  font-weight: 700;
}

.filter__toggle-icon {
  transition: transform 0.3s ease;
}

.filter__section-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.filter__section-content--hidden {
  display: none;
}

.filter__subsection {
  margin-top: 0.5rem;
}

.filter__subsection-title {
  font-size: 0.9rem;
  font-weight: normal;
  color: #666;
}

/* Checkbox Styles */
.checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.checkbox__mask {
  width: 18px;
  height: 18px;
  border: 2px solid #ddd;
  border-radius: 3px;
  position: relative;
  flex-shrink: 0;
}

.checkbox__input:checked + .checkbox__mask::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid #007bff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox__label {
  font-size: 0.9rem;
}

/* Products Grid */
.products__grid {
  width: 100%;
  overflow: visible;
  margin-bottom: 4rem;
}

.products__grid-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  align-content: start;
  width: 100%;
}

.products__grid-content--view-2 {
  grid-template-columns: repeat(2, 1fr);
}

.products__grid-content--view-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Product Card */
.product-card {
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  border: 0.0625rem solid #e6e6e6;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.product-card > *:last-child {
  margin-bottom: 0 !important;
}

.product-card__header {
  display: flex;
 /* justify-content: space-between;*/
  align-items: center;
  margin-bottom: 1rem;
  min-width: 0;
}

.product-card__image {
  display: block;
  width: 100%;
  margin-bottom: 1rem;
  overflow: hidden;
  aspect-ratio: 1;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.product-card__title {
  text-align: center;
  margin-bottom: 0.5rem;
  min-width: 0;
}

.product-card__title a {
  color: #333;
  text-decoration: none;
  font-size: 1rem;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card__status {
  text-align: left;
  margin-bottom: 0.5rem;
}

.product-card__details {
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.product-card__detail-group {
  /*border-bottom: 1px solid #eee;*/
  border-top: .0625rem solid #e6e6e6;
  font-size: 0.75rem;
  min-width: 0;
}

.product-card__detail-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  min-width: 0;
}

.product-card__detail-label {
  color: #333;
/*  min-width: 100px;*/
  flex-shrink: 0;
}

.product-card__detail-content {
  color: #666;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Tag List */
.tag-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0.75rem;
}

.tag-list__items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list__item {
  display: flex;
  align-items: center;
}

.tag {
  display: inline-flex;
  align-items: center;
  background-color: #e6e6e6;
  padding: 10px 15px;
  color: #262626;
  font-size: 0.75rem;
  user-select: none;
}

.tag--active {
  background-color: #e6e6e6;
  font-weight: 600;
}

.tag__remove-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  margin-left: 6px;
  padding: 0;
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.btn-clear-all {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  padding: 2px 4px;
  user-select: none;
  transition: color 0.3s ease;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .products__content {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }

  .products__grid-content--view-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .products__grid-content--view-3,
  .products__grid-content--view-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .products__grid-content--view-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .btn--pdf {
    display: none;
  }
  .view-options {
    display: none !important;
  }
  .filter__header {
    display: none !important;
  }
}

@media (max-width: 576px) {
  .product-card {
    padding: 0.75rem;
  }

  .breadcrumb__list {
    font-size: 0.9rem;
  }

  .products__count {
    font-size: 1rem;
  }
}

.view-options {
  display: flex;
  gap: 0.5rem;
}

.view-options .btn-view {
  width: 48px; /* sabit genişlik */
  height: 48px; /* sabit yükseklik */
  padding: 0; /* iç boşluğu sıfırla */
  justify-content: center;
  border-radius: 0;
  background: white;
  color: #000;
  border: 0.2px solid #ddd;
  padding: 0.75rem 1.5rem;
  border-radius: 0px;
  font-size: 0.875rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
}

.view-options .btn-view:hover {
  border-color: #999;
  background: #ddd;
}

.view-options .btn-view.active {
  background: #f2f0f0;
  color: #000;
  border-color: #c3bfbf;
}
.view-options .btn-view i {
  font-size: 1.25rem; /* örnek: 20px */
  border-radius: 0 !important;
}

.tag-list-col--small {
  /* Gerekirse sütun genişliği ayarlacam */
}

/* Liste */
.tag-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0.75rem;
}

/* Her bir tag-list öğesi */
.tag-list__item {
  display: flex;
  align-items: center;
}

/* Tag görünümü */
.tag {
  display: inline-flex;
  align-items: center;
  background-color: #e6e6e6;

  padding: 10px 15px;
  color: #262626;
  font-size: 0.75rem;
  user-select: none;
}

/* Aktif tag için farklı arka plan */
.tag--active {
  background-color: #e6e6e6;
  font-weight: 600;
}

/* Kaldırma butonu */
.tag__remove-btn {
  background: transparent;
  border: none;

  cursor: pointer;
  margin-left: 6px;
  padding: 0;
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

/* "Tümünü Kaldır" butonu */
.btn-clear-all {
  background: none;
  border: none;

  cursor: pointer;
  font-size: 13px;
  padding: 2px 4px;
  user-select: none;
  transition: color 0.3s ease;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .search-form {
    flex-direction: column;
    gap: 10px;
  }

  .search-input {
    width: 100%;
  }

  .search-button {
    width: 100%;
  }
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal__content {
  background-color: #fff;
  padding: 2rem;
  width: 90%;
  max-width: var(--container-width);
  height: 90vh;
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}

.modal__close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
}

.modal__header {
  margin-bottom: 0rem;
  position: sticky;
  top: 0;
  background-color: #fff;
  z-index: 1;
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal__title-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.modal__title {
  font-size: 2rem;
  font-weight: 500;
  margin: 0;
  font-weight: bold;
  color: #000;
  margin-bottom: 1.5rem;
}

.modal__code {
  color: #666;
  font-size: 0.9rem;
}

.modal__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex: 1;
  overflow: hidden;
}

.modal__left {
  width: 100%;
  height: 100%;
  position: sticky;
  top: 0;
}

.modal__right {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  padding-right: 1rem;
}

.modal__image {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal__image-small {
  display: none;
}

.modal__image-large {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.modal__section-title {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1rem;

  font-weight: bold;
}

.modal__divider {
  border: none;
  border-top: 1px solid #ddd;
}

.modal__specs-list {
  list-style: none;
  padding: 0;
  color: #000;
  font-weight: bold;
}

.modal__specs-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-weight: bold;
}

.modal__vehicle-brands {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.modal__brand-title {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.modal__vehicle-table {
  width: 100%;
  border-collapse: collapse;
}

.modal__vehicle-table th,
.modal__vehicle-table td {
  padding: 0.5rem;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.modal__vehicle-table th {
  font-weight: 500;
  color: #666;
}

.modal__oem-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.modal__oem-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
}

.modal__oem-value {
  color: #666;
}

@media (max-width: 768px) {
  .modal__body {
    grid-template-columns: 1fr;
    height: auto;
  }

  .modal__left {
    position: relative;
    height: 300px;
  }

  .modal__right {
    overflow-y: visible;
    padding-right: 0;
  }
}

.modal__brand-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 1.25rem 2rem;
  background-color: rgba(0, 0, 0, 0.02);
  border: 1px solid #eee;
}

.modal__brand-title {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0;
}

.modal__brand-toggle-icon {
  transition: transform 0.3s ease;
}

.modal__brand-content {
  display: block;
}

.modal__brand-header.collapsed .modal__brand-toggle-icon {
  transform: rotate(-90deg);
}

.modal__brand-header.collapsed + .modal__brand-content {
  display: none;
}

/* Pagination Styles */
.products__pagination {
  margin-top: 2rem;
  text-align: center;
}

.pagination {
  display: inline-flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.5rem;
}

.pagination__item {
  display: inline-flex;
}

.pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border: 1px solid #ddd;

  background: #fff;
  color: #333;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.pagination__link:hover:not(:disabled) {
  background: #f5f5f5;
  border-color: #ccc;
}

.pagination__link--active {
  background: #f5f5f5;
}

.pagination__item--disabled .pagination__link {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination__item--next .pagination__link {
  padding: 0 1rem;
}

/* PDF Modal Genel Stil */
.pdf-modal {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
}

.pdf-modal__content {
  background: #fff;

  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  padding: 32px 24px 24px 24px;
  width: 90%;
  max-width: var(--container-width);
  position: relative;
  animation: modalFadeIn 0.25s;
}

@keyframes modalFadeIn {
  from {
    transform: translateY(40px) scale(0.98);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.pdf-modal__close-btn {
  position: absolute;
  top: 1px;
  right: 18px;
  font-size: 1.7rem;
  color: #888;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}
.pdf-modal__close-btn:hover {
  color: #e74c3c;
}

/* PDF Modal Body ikiye bölünmüş yapı */
.pdf-modal__body {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
  text-align: left;
  gap: 24px;
}

.pdf-modal__body-left {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.pdf-modal__body-left h3 {
  margin-bottom: 8px;
  font-size: 2rem;
  font-weight: bold;
  color: #000;
}

.pdf-modal__body-left p {
  margin-bottom: 0;
  color: #444;
}

.pdf-modal__body-right {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  list-style: none;
}

.pdf-modal__body-right button,
.pdf-modal__body-right a {
  margin: 0;
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  background: #f7b500;
  color: #222;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;

  line-height: 1.2;
  font-family: inherit;
  box-sizing: border-box;
  display: inline-block;
  vertical-align: middle;
  outline: none;
}
.pdf-modal__body-right button:hover,
.pdf-modal__body-right a:hover {
  background: #e6a200;
  color: #fff;
}

/* PDF Modal Product List Styles */
.pdf-modal__products-list {
  width: 100%;
  max-height: 90vh; /* Modal yüksekliğinin %60'ı kadar maksimum yükseklik */
  overflow-y: auto; /* Dikey scroll ekle */
}

.product-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-box {
  display: flex;
  align-items: center;
  gap: 1rem;

  border: 1px solid #eee;
}

.product-box img {
  width: 200px;
  height: auto;
  object-fit: contain;
}

.product-info {
  flex: 1;
  min-width: 0;
}

.product-info strong {
  display: inline-block;
  background-color: #f7b500;
  padding: 0.5rem 1rem;
  color: #333;
  margin-bottom: 0.25rem;
}

.product-info h4 {
  margin: 0 0 0.25rem 0;
  font-size: 1rem;
  color: #333;
}

.product-info p {
  margin: 0;
  color: #666;
  font-size: 0.875rem;
}

.product-box button {
  background: transparent;
  color: #666;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  transition: color 0.2s;
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.product-box button:hover {
  color: #c3bfbf;
  background: transparent;
}

.product-box button i {
  font-size: 1.5rem;
}


.c-label--secondary {
    padding: .5rem;
}

.c-label--primary, .c-label--secondary {
    background-color: #ffdf00;
    border-radius: .125rem;
    font-size: .875rem;
    font-weight: 700;
    line-height: 1.4285714286;
}

.c-label {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex
;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: .375rem .5rem;

    color: #262626;
    font-size: .75rem;
}

.u-align-items-center {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.u-flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
;
}


.product-card__code {
    display: inline-block;
    margin-left: .5rem;
    font-weight: 700;
}


