/* FILTER */

.filter-box {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 15px;
}

.filter-group {
  margin-top: 20px;
}

.search-input,
.form-select {
  height: 45px;
  border-radius: 10px;
}

.product-body h5 {
  font-size: 24px;
}

.catalog-border {
  width: 100%;
  height: 2px;
  border-radius: 30px;
  background: linear-gradient(90deg, #0b243a29, #0b243ad1);
  margin-top: 14px;
  transition: .45s;
}

/* 

.filter-group label{
  font-size:18px;
  margin-bottom:10px;
  display:block;
}

.search-input,
.form-select{
  height:50px;
  width: 100%;
  display: block !important;
  border-radius:14px;
} */
select {
  display: block !important;
}

.nice-select.rence-nice-select {
  display: none !important;
}

.rence-nice-select {
  width: 100%;
  height: 45px;
  line-height: 52px;
  border-radius: 10px;
  border: 1px solid #ddd;
  padding-left: 10px;
  font-size: 15px;
  background: #fff;
  margin-top: 8px;
  box-shadow: none;
}

.rence-nice-select:focus {
  border-color: #0b243a;
}

.rence-nice-select .list {
  width: 100%;
  border-radius: 16px;
  border: 1px solid #ddd;
  margin-top: 8px;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.08);
}

.rence-nice-select .option {
  padding-left: 18px;
  padding-right: 18px;
  font-size: 15px;
}

.rence-nice-select .option:hover {

  background: #f5f5f5;

}

.rence-nice-select .option.selected {

  background: #0b243a;

  color: #fff;

}

.rence-nice-select::after {

  width: 8px;

  height: 8px;

  border-bottom: 2px solid #666;

  border-right: 2px solid #666;

  right: 18px;

}

/* PRODUCT CARD */

.product-card {
  background: #fff;
  padding: 3px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #0b243a47;
  margin-bottom: 25px;
}

.product-img {
  width: 100%;
  height: 260px;
  border-radius: 10px;
  object-fit: cover;
}

.product-body {
  padding: 15px 5px;
}

.btn-dark {
  background-color: #0b243a;
}

.badge-box {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 4px 8px;
  font-size: 14px;
}

/* DETAILS PAGE */

.main-box,
.product-info,
.section-box {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #0b243a52;
  padding: 15px;
}

.main-image,
.viewer-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 14px;
}

.thumb-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid #ddd;
  cursor: pointer;
}

.spec-item {
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid #0d2b45;
  padding: 10px;
  font-size: 18px;
}

.spec-badge {
  color: #0d2b45;
  font-weight: 700;
  /* border:1px solid #ddd; */
  /* border-radius:20px; */
  /* padding:5px 12px; */
}

.viewer-btn {
  border: 2px solid #0d2b45;
  color: #0d2b45;
  border-radius: 30px;
  padding: 8px 20px;
  background: #fff;
  font-weight: 600;
}

.section-box {
  margin-top: 25px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.12);
}

.section-title {
  padding: 22px;
  border-bottom: 1px solid #0b243a52;
  font-weight: 600;
  font-size: 24px;
  text-align: left;
  letter-spacing: 2px;
  color: var(--primary);
  margin: 0;
  background: #0b243a0d;
}

.related-body h4 {
  font-size: 20px;
}

.section-content {
  padding: 20px;
  font-size: 18px;
}

.spec-table {
  width: 100%;
}

.spec-table td {
  border: 1px dashed #ddd;
  padding: 14px;
}

.related-card {
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  padding: 8px;
}

.related-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.related-body {
  padding: 20px 5px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.related-body small {
  font-size: 18px;
}

.finish-btn {
  border: 2px solid #0d2b45;
  background: #fff;
  border-radius: 30px;
  padding: 8px 18px;
}

.finish-btn.active {
  background: #e7c96d;
}

a {
  text-decoration: none;
  color: black;
}

.specifications-wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.spec-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 15px;
}

.spec-box {
  border: 1px dashed #183045;
  border-radius: 0;
  padding: 18px;
  border-radius: 10px;
  /* background: #fff; */
}

.spec-box h6 {
  font-weight: 700;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--primary);
  padding-bottom: 10px;
  font-size: 22px;
}

.spec-box p {
  margin: 0;
  /* color: #555; */
  font-size: 18px;
}

/* =========================
   VIEW BUTTON
========================= */

.rence-view-btn {

  position: relative;

  width: 100%;

  height: 56px;

  border-radius: 50px;

  background: #0b243a;

  color: #fff;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 12px;

  overflow: hidden;

  font-size: 16px;

  font-weight: 700;

  transition: 0.4s;

  text-decoration: none;

  box-shadow:
    0 12px 25px rgba(11, 36, 58, 0.18);

}

/* GOLD EFFECT */

.rence-view-btn::before {

  content: "";

  position: absolute;

  top: 0;

  left: -100%;

  width: 100%;

  height: 100%;

  background:
    linear-gradient(120deg,
      transparent,
      rgba(255, 255, 255, 0.25),
      transparent);

  transition: 0.6s;

}

/* HOVER */

.rence-view-btn:hover {

  background: #d4af63;

  color: #000;

  transform: translateY(-3px);

}

.rence-view-btn:hover::before {

  left: 100%;

}

/* ICON */

.rence-view-btn i {

  transition: 0.4s;

}

.rence-view-btn:hover i {

  transform: translateX(5px);

}

.view-product-btn {
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  width: 100%;
}

.view-product-btn svg {
  filter: invert(1);
}

/* =========================
   RESPONSIVE DESIGN
========================= */

@media(max-width: 1199px) {
  .spec-row {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .related-body {
    flex-direction: column;
    gap: 8px;
    justify-content: flex-start;
    align-items: self-start;
  }
}

@media(max-width: 991px) {
  .filter-box {
    margin-bottom: 30px;
  }

  .main-image,
  .viewer-image {
    height: 400px;
  }

  .spec-row {
    grid-template-columns: 1fr 1fr;
  }

  .section-title {
    font-size: 22px;
    padding: 18px;
  }

  .section-content {
    padding: 15px;
  }
}

@media(max-width: 767px) {
  .product-img {
    height: 220px;
  }

  .main-image,
  .viewer-image {
    height: 300px;
  }

  .spec-item {
    font-size: 15px;
    padding: 8px;
  }

  .spec-box {
    padding: 15px;
  }

  .spec-box h6 {
    font-size: 18px;
  }

  .spec-box p {
    font-size: 16px;
  }

  .related-img {
    height: 220px;
  }

  .product-body h5,
  .related-body h4 {
    font-size: 18px;
  }

  .viewer-btn {
    width: 100%;
    margin-top: 15px;
  }
}

@media(max-width: 575px) {
  .product-img {
    height: 200px;
  }

  .main-image,
  .viewer-image {
    height: 250px;
  }

  .spec-row {
    grid-template-columns: 1fr;
  }

  .spec-item {
    font-size: 14px;
    /* flex-direction: column; */
    align-items: flex-start;
    gap: 5px;
  }

  .section-title {
    font-size: 18px;
    padding: 15px;
    letter-spacing: 1px;
  }

  .thumb-img {
    width: 55px;
    height: 55px;
  }

  .finish-btn {
    padding: 6px 14px;
    font-size: 14px;
  }
}