﻿.detail-top-section {
  border: 1px solid rgb(225 225 225);
  border-radius: var(--b-radius-10);
  /* position: relative; */
}
.sectionicon {
  background: var(--accent-color);
  border-radius: 25px;
  outline: 2px solid var(--accent-color);
  border: 3px solid #ffffff;
  transition: all ease-in-out 0.5s;
  width: auto;
  /* margin-bottom: 1rem; */
}

.sectionicon strong {
  line-height: 37px;
  display: block;
  overflow: hidden;
  flex: 1 0 auto;
  transition: all ease-in-out 0.3s;
  color: #fff;
}

.addTocompare {
  color: white !important;
  padding: 16px 24px;
  width: 100%;
  text-align: center;
  border: none;
  background: var(--accent-color);
  border-radius: var(--b-radius-10);
  cursor: pointer;
  gap: 10px;
}
.border-bottom {
  border-bottom: 1px solid rgb(225 225 225);
}
#addtocomparesection,
#addtocomparesection img,
#addtocomparesection .Products,
#addtocomparesection .CompareItem {
  transition: all ease-in-out 0.3s;
  max-height: 50rem;
}
.dng-main:has(~ #ScrollTop[value]:is(:not([value="0"]))) #addtocomparesection {
  /* max-height: 15rem; */
  top: 4rem;
  background: #fff;
  z-index: 111;
}
.dng-main:has(~ #ScrollTop[value]:is(:not([value="0"])))
  #addtocomparesection
  img {
  max-height: 5rem;
  text-align: center;
}
.dng-main:has(~ #ScrollTop[value]:is(:not([value="0"])))
  #addtocomparesection
  .Products {
  height: 5rem;
}
.dng-main:has(~ #ScrollTop[value]:is(:not([value="0"])))
  #addtocomparesection
  .CompareItem {
  height: inherit;
}
div#comparsionitems h2 {
  font-size: 1rem;
}

.custom-reone-card > a {
  box-shadow: 0 0 4px -3px black;
  display: block;
  margin-bottom: 1rem;
}

.product-grid-item.position-relative.overflow-hidden {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-grid-item.position-relative.overflow-hidden p {
  margin: 0;
}
.detail-top-section--item h4 {
  font-size: 1rem;
}
input#comarsionSearch {
  border: none;
  box-shadow: 0 0 4px -2px black;
  border-radius: 0.4rem;
  height: 2rem;
  outline: none;
}
/* .compareitem {
  box-shadow: 0 0 4px -2px black;
} */

.row > .compareitem:nth-of-type(1),
.row > div > .compareitem:nth-of-type(1) {
  border-bottom: 1px solid black;
}

.row > .compareitem:nth-of-type(2):nth-last-of-type(2),
.row > div > .compareitem:nth-of-type(2):nth-last-of-type(2) {
  border-bottom: 1px solid black;
}

@media (min-width: 1200px) {
  .row > .compareitem:nth-of-type(1),
  .row > div > .compareitem:nth-of-type(1) {
    border-left: 1px solid black;
    border-bottom: none;
  }
  .row > .compareitem:nth-of-type(2):nth-last-of-type(2),
  .row > div > .compareitem:nth-of-type(2):nth-last-of-type(2) {
    border-left: 1px solid black;
    border-bottom: none;
  }
}
