﻿.detail-top-section {
  border: 1px solid rgb(225 225 225);
  border-radius: var(--b-radius-10);
  position: relative;
}
.sectionicon {
  display: flex;
  position: absolute;
  right: -19px;
  background: var(--accent-color);
  min-height: 37px;
  border-radius: 25px;
  outline: 2px solid var(--accent-color);
  border: 3px solid #ffffff;
  text-align: center;
  vertical-align: middle;
  top: 21px;
  transition: all ease-in-out 0.5s;
  flex-direction: column;
  align-items: center;
  width: 37px;
  max-height: 37px;
  max-width: 37px;
}

.sectionicon svg {
  width: 26px;
  height: 26px;
  text-align: center;
  top: 3px;
  position: relative;
  flex: 0 0 auto;
}

.sectionicon strong {
  line-height: 37px;
  display: block;
  width: 0px;
  height: 0px;
  overflow: hidden;
  flex: 1 0 auto;
  font-size: 0;
  writing-mode: vertical-lr;
  transition: all ease-in-out 0.3s;
  color: #fff;
  transform: rotate(180deg);
}

.sectionicon:hover strong {
  font-size: 13px;
  font-weight: 100;
  width: max-content;
  height: max-content;
  margin: 15px 0;
}

.sectionicon:hover {
  max-height: 200px;
}
.addTocompare {
  color: white !important;
  padding: 16px 24px;
  width: 100%;
  text-align: center;
  border: none;
  background: var(--accent-color);
  font-weight: 900;
  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;
  position: sticky;
  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;
}
