#content #produs {
  width: 100%;
  padding: 0;
  position: relative;
}

#content .cnt-1 #produs {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 37px;
}

.cf:before,
.cf:after {
  content: none;
}

#content #galerie {
  width: 100%;
  height: auto;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

#content #detalii {
  width: 100%;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  position: sticky;
  top: 2rem;
  bottom: 2rem;
  height: fit-content;
  /* overflow: hidden; */
  padding-left: 2px;
  min-width: 395px;
}

#content #detalii .col.w425 .lista-1,
#content #detalii .col.w425 .spec {
  border: none !important;
  outline: none;
}

.content-wrapper .cnt-1,
#content .cnt-1 {
  box-shadow: none;
}

/* TOP DESCRIPTION */

.product__top--description {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background-color: var(--clr-black);
  height: 100px;
  display: flex;
  align-items: center;
  transition: transform 0.2s ease 0s;
  transform: translateY(-100%);
}

.show__top--description {
  transform: translateY(0%);
}

.top__description--wrapper {
  width: 100%;
  height: 100%;
  padding: 0 43px;
}

.top__description--wrapper .top__description--container .logo {
  width: 100%;
  height: 100%;
}

.top__description--wrapper .top__description--container .logo img,
.top__description--wrapper
  .top__description--container
  .top__description--product
  .productimage
  img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.top__description--wrapper
  .top__description--container
  .top__description--product
  .productimage {
  width: 70px;
  height: 70px;
}

.top__description--container {
  display: grid;
  grid-template-columns: 242px 1fr auto;
  gap: 25px;
  height: 100%;
}

.top__description--container .productprice {
  display: flex;
  align-items: center;
  width: max-content;
}

.top__description--container .productprice .mainproductprice,
.price__and--resealed .mainproductprice {
  display: flex;
  align-items: center;
}

.top__description--container .productprice .mainproductprice .pret {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  margin-right: 38px;
}

.top__description--container
  .productprice
  .mainproductprice
  .pret
  .product__sale--price {
  margin-top: 2px;
}

.top__description--container
  .productprice
  .mainproductprice
  .pret
  .product__sale--price
  .pret-vechi {
  margin-top: -3px;
}

.top__description--container .productprice .mainproductprice .promo-image img,
.price__and--resealed .promo-image img {
  max-height: 50px;
}

.top__description--product {
  display: grid;
  grid-template-areas: "IMG TITLE" "IMG REVIEWS";
  grid-template-columns: 70px 1fr;
  align-items: center;
  column-gap: 10px;
  row-gap: 4px;
}

.top__description--product .title {
  font-family: var(--ff-hg);
  font-size: 22px;
  font-weight: 600;
}

.top__description--product .producttitle {
  align-self: end;
}

.top__description--product .producttitle .articles {
  display: none;
}

.top__description--product .jratingaverage {
  align-self: start;
}

.top__description--container .addtocartarea * {
  padding: 0;
  margin: 0;
}

.top__description--container .addtocartarea {
  display: flex;
}

.top__description--container .addtocartarea .dr {
  width: 138px;
}

/* GALLERY */

.main__gallery--images {
  display: grid;
  grid-template-columns: repeat(2, calc(50% - 18px));
  grid-template-rows: repeat(2, calc(50% - 18px));
  aspect-ratio: 1/1;
  gap: 18px;
}

#content #galerie .main__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
  max-width: 487px;
  max-height: 487px;
}

#content #galerie .lista-imagini {
  position: relative;
  width: auto !important;
  height: auto !important;
  margin: 0;
}

#content #galerie .lista-imagini ul {
  display: flex;
  gap: 18px;
}

#content #galerie .main__image {
  background-color: var(--clr-accentgrey);
  display: flex;
  aspect-ratio: 1/1;
}

#content #galerie .main__gallery--images .main__image img {
  margin: 0;
  align-self: center;
  justify-self: center;
  width: 100%;
  height: 100%;
  object-fit: contain;
  -o-object-fit: contain;
  position: relative;
}

#galerie {
  display: none;
}

.gallery__image--png {
  object-fit: contain !important;
  padding: 2rem;
}

.gallery__image--jpg {
  object-fit: cover !important;
}

#content #galerie img {
  inset: 0 auto auto auto;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#content #galerie .lista-imagini ul {
  width: auto !important;
}

#content #galerie .lista-imagini ul li {
  font-size: 14px;
  line-height: 1;
  width: 74px !important;
  height: 74px !important;
  background: var(--clr-accentgrey);
}

#content #galerie .lista-imagini ul li a {
  width: 74px;
  height: 74px;
  margin: 0;
}

#content #galerie .lista-imagini ul li a:hover,
#content #galerie .lista-imagini ul li a.selectat {
  width: 74px;
  height: 74px;
}

#content #galerie .lista-imagini ul li.last {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--clr-accentgrey);
}

.mobile__gallery {
  display: none;
}

/* GALLERY END */

.product__lead {
  background: transparent;
  padding: 4rem 0;
  font-family: var(--ff-hg);
  font-size: 1 6px;
  font-weight: 400;
  line-height: 22px;
}

/* .product__lead--text {
    height: 92px;
    overflow: hidden;
} */

.show__productlead--text {
  height: auto;
}

.product__lead a {
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 16px;
}

.product__lead a div {
  border-bottom: 1px solid white;
  padding-bottom: 6px;
}

/* GALLERY END */

/* DETALII */

#detalii .producator {
  order: 1;
}

#detalii .product__type {
  order: 2;
}

#detalii .product-title {
  order: 3;
}

#detalii .product__review--score {
  order: 4;
}

#detalii #product_code_master,
#detalii .mobile__gallery {
  order: 5;
}

#detalii .price__and--resealed {
  order: 6;
}

#detalii .col {
  order: 7;
}

#detalii .product__details {
  order: 8;
}

#detalii .addtocartarea,
#detalii .mobile__product--lead {
  order: 9;
}

#detalii .promo__packages {
  order: 10;
}

/* DETALII END */

.price__and--resealed {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 19px;
  border-top: 1px solid var(--clr-border);
  /* border-bottom: 1px solid var(--clr-border); */
  padding-bottom: 19px;
}

#content #detalii .col.w425 {
  padding: 0;
  border: none;
}

#content #detalii .col.w425 .spec {
  /* padding-bottom: 37px; */
  width: 100%;
}

/* .stock__status {
    margin-top: 20px;
} */

.product__info,
.stock__status,
.other__stock--status {
  border-top: 1px solid var(--clr-border);
  margin-bottom: -4px;
  padding-top: 4px;
  padding-bottom: 8px;
}

.return__interval,
.warranty__period {
  /* border-bottom: 1px solid var(--clr-border); */
  padding-bottom: 8px;
}

.product__info .product__info--title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 3px;
  width: 100%;
  color: var(--clr-lightgrey);
  font-family: var(--ff-rf);
  font-size: 13px;
  font-weight: 500;
}

.product__badge--name {
  max-width: 90%;
}

.stock__text,
.other__stock--text,
.stock__status a {
  color: var(--clr-lightgrey);
  font-family: var(--ff-rf);
  font-size: 13px;
  font-weight: 500;
}

.stock__status a {
  color: var(--clr-orange);
}

.financial__solutions--title {
  gap: 4px;
}

.product__info--button {
  margin-left: auto;
}

.financial__solutions--title svg:first-child {
  margin: 0 2px;
}

.return__interval--title svg,
.warranty__period--title svg {
  margin: 2px 3px 2px 3px;
}

.showroom__availability {
  display: flex;
  flex-direction: column;
  transition: 0.5s ease 0s;
}

.showroom__availability--title,
.test__showroom--title {
  cursor: pointer;
}

.showroom__availability--details,
.test__showroom--details {
  margin-bottom: 0px;
  padding-left: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-height: 0px;
  overflow: hidden;
  transition: margin-bottom 0.45s ease 0s;
}

.show__showroom--details {
  max-height: 5000px;
}

.showroom__availability--title:hover,
.financial__solutions--title:hover,
.test__showroom--title:hover {
  color: var(--clr-darkgrey);
}

/* DESCRIPTION */

.tabsholder {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
}

#content .tabsholder .cnt-4,
#content .tabsholder .cnt-5 {
  width: 100%;
  margin: 0;
  background: var(--clr-black);
}

#content .tabsholder .cnt-4 {
  padding: 0;
}

#content .tabsholder .cnt-4.description.external {
  padding: 8rem 4rem;
}

.description__title,
.complementary__products--title,
.reviews__title {
  font-family: var(--ff-aga);
  font-weight: 500;
  font-size: 19px;
  width: 100%;
  height: 90px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid white;
  cursor: pointer;
}

.description__title--icon,
.complementary__products--icon,
.reviews__icon {
  padding-right: 32px;
  font-weight: 200;
  display: flex;
  justify-content: center;
  align-items: center;
}

#content .tabsholder .cnt-4 .tab h2 {
  line-height: 30px;
}

.description__content h2,
.description__content h1 {
  font-family: var(--ff-aga) !important;
  font-weight: 600 !important;
  font-size: 32px;
  line-height: 30px;
}

.description__content p {
  font-family: var(--ff-hg);
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
}

/* SPECS */

.product__specs--container,
.product__reviews--container {
  margin: 0 auto;
  max-width: 1000px;
}

.product__reviews--container h2 {
  margin-bottom: 78px;
}

.tab h2 {
  font-family: var(--ff-aga);
  font-weight: 500;
  font-size: 32px;
  padding: 0 62px;
  padding-bottom: 39px;
  line-height: 1;
}

.products__specs--title {
  border-bottom: 1px solid #989898;
}

.attributes__content--container,
.product__reviews--container {
  display: flex;
  width: 100%;
  flex-direction: column;
  padding: 46px 62px;
}

.attributes__content--container > div:nth-child(odd) {
  background-color: #ffffff;
}

.attributes__content--container > div:nth-child(even) {
  background-color: #eeeeee;
}

.attributes__content--container div.product__link {
  background-color: transparent;
}

.attribute__name {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 56px;
  padding: 0 23px;
  cursor: pointer;
}

.attribute__name div {
  font-family: var(--ff-aga);
  font-size: 19px;
  font-weight: 500;
  color: #131213;
}

.attribute__value {
  font-family: var(--ff-hg);
  font-weight: 400;
  font-size: 13px;
  line-height: 17px;
  color: black;
  padding: 23px;
  max-height: 5000px;
  overflow: hidden;
  transition: 1s ease 0s;
}

.hide__attribute--value {
  max-height: 0px;
}

/* Complementary products */

.complementary__products--container {
  max-height: 0px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  overflow: hidden;
  transition: 1s ease;
}

.show__complementary--products {
  max-height: 566px;
}

.forgot__product,
.product__reviews--container > h2 {
  font-family: var(--ff-aga) !important;
  font-weight: 500;
  font-size: 27px;
  color: white;
}

.complementary__products--list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 19px;
}

.complementary__product a {
  text-decoration: none;
}

.complementary__product .img {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.complementary__product .img img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  background-color: #212121;
  padding: 2rem;
}

.complementary__product--title {
  font-family: var(--ff-hg);
  font-size: 22px;
  font-weight: 600;
  color: white;
}

.complementary__product--price {
  font-family: var(--ff-aga);
  font-weight: 600;
  font-size: 30px;
  color: white;
  transition: color 0.2s ease;
}

.complementary__product--price span {
  font-size: 17px;
  vertical-align: top;
}

/* REVIEWS */

.product__reviews--container {
  display: flex;
  flex-direction: column;
  /* gap: 78px; */
}

.product__reviews--top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 288px;
  background-color: var(--clr-white-background);
  padding: 28px;
}

.average__review--score {
  width: fit-content;
  align-self: center;
  justify-self: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.review__score {
  font-family: var(--ff-hg);
  font-weight: 500;
  font-size: 54px;
  color: black;
}

.reviews__count {
  font-family: var(--ff-hg);
  font-size: 16px;
  font-weight: 400;
  color: #464646;
  margin-top: 8px;
}

.number__of--stars {
  display: flex;
  gap: 2px;
  align-items: center;
}

.stars__number {
  font-family: var(--ff-hg);
  font-weight: 400;
  font-size: 13px;
  color: #212121;
}

.filtered__reviews--count {
  align-self: center;
  justify-self: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.filtered__review {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reviews__count--bar {
  width: 210px;
  height: 7px;
  background-color: #d9d9d9;
  position: relative;
}

.count__bar--orange {
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--clr-orange);
  height: 100%;
  width: 0%;
  transition: 2s ease;
}

.number__of--reviews {
  font-family: var(--ff-hg);
  font-size: 13px;
  font-weight: 400;
}

.product__reviews--bottom {
  display: flex;
  flex-direction: column;
}

.view__more--reviews {
  font-family: var(--ff-aga);
  font-weight: 600;
  font-size: 18px;
  color: white;
  background: var(--clr-black);
  border: 1px solid var(--clr-white-background);
  width: 221px;
  height: 47px;
  align-self: center;
  cursor: pointer;
  margin: 4rem 0;
}

.view__more--reviews:hover {
  filter: brightness(120%);
}

.view__more--reviews div {
  margin-top: 4px;
}

/* PRODUCT ARTICLES */

.product__blog--section {
  width: 100%;
  padding: 72px;
  background: var(--clr-white-background);
  color: var(--clr-black);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 114px;
}

.blog__section--title {
  font-family: var(--ff-aga);
  font-weight: 500;
  font-size: 32px;
  width: 297px;
  text-align: center;
  line-height: 32px;
  color: var(--clr-black);
}

.product__blog--articles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 18px;
  justify-content: center;
}

.product__blog--article {
  text-decoration: none !important;
  display: flex;
  flex-direction: column;
  gap: 31px;
}

.blog__article--text {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product__blog--article h3 {
  font-family: var(--ff-aga);
  font-weight: 600;
  font-size: 26px;
  line-height: 26px;
  color: var(--clr-black);
}

.product__blog--article p {
  font-family: var(--ff-hg);
  font-size: 16px;
  font-weight: 400;
  color: var(--clr-black);
  line-height: 22px;
}

.product__blog--article h3,
.product__blog--article p {
  padding: 0 8px;
}

.product__article--image {
  width: 100%;
  height: 310px;
  object-fit: cover;
}

/* WHY AVSTORE */

.why__avstore--title {
  font-family: var(--ff-aga);
  font-size: 32px;
  font-weight: 500;
  color: var(--clr-black);
}

.why__avstore--section {
  width: 100%;
  padding: 79px 17px;
  background: var(--clr-white-background);
  color: var(--clr-black);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 78px;
}

.why__avstore--content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.avstore__content--row {
  display: flex;
  align-items: center;
  gap: 46px;
}

.avstore__content--row img,
.avstore__content--row .why__avstore--text {
  width: 50%;
}

.avstore__content--row img {
  max-height: 550px;
  object-fit: contain;
}

.why__avstore--text {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.why__avstore--text h2 {
  font-family: var(--ff-aga);
  font-weight: 500;
  font-size: 44px;
  color: var(--clr-black);
  line-height: 49px;
}

.why__avstore--text p,
.why__avstore--disclaimer {
  font-family: var(--ff-hg);
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  color: var(--clr-black);
}

.why__avstore--disclaimer {
  margin-top: 48px;
}

@media screen and (max-width: 1030px) {
  .new__navbar,
  .new__navbar--header,
  .content-wrapper,
  #content {
    padding: 0 8px !important;
  }

  .product__specs--container,
  .products__specs--title,
  .attributes__content--container,
  .complementary__products--container {
    padding: 0 !important;
  }

  #content .tabsholder .cnt-4.description.external {
    padding: 79px 17px;
  }

  .avstore__content--second img {
    order: -1;
  }

  .product__reviews--container {
    padding: 0 !important;
  }

  .product__reviews--top {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    padding-bottom: 57px;
  }

  .product__reviews--bottom .review {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
  }
}

@media screen and (max-width: 876px) {
  #content .cnt-1 #produs {
    grid-template-columns: 1fr;
  }

  #content #galerie {
    display: none;
  }

  .mobile__gallery {
    display: block !important;
    gap: 9px;
  }

  .mobile__gallery .mobile__gallery--list {
    scrollbar-width: thin;
    /* For Firefox */
    scrollbar-color: grey transparent;
    /* For Firefox */
  }

  /* WebKit browsers */
  .mobile__gallery--list::-webkit-scrollbar {
    height: 2px;
    /* Adjust the thickness of the scrollbar */
  }

  .mobile__gallery--list::-webkit-scrollbar-thumb {
    background: grey;
    /* Color of the scrollbar thumb */
    border-radius: 1px;
    /* Round the edges */
  }

  .mobile__gallery--list::-webkit-scrollbar-track {
    background: transparent;
    /* No background */
  }

  /* Hide side arrows in WebKit browsers */
  .mobile__gallery--list::-webkit-scrollbar-button {
    display: none;
  }

  .mobile__gallery .mobile__gallery--list .mobile__list--container {
    display: flex;
    gap: 8px;
    width: max-content;
    padding: 10px 0;
  }

  .mobile__gallery--hero {
    width: 100%;
    aspect-ratio: 1/1;
  }

  .mobile__gallery--hero img,
  .mobile__gallery--hero video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #2b2c2e;
  }

  .mobile__gallery .mobile__gallery--list .mobile__gallerylist--child {
    width: 45px;
    height: 45px;
    object-fit: contain;
    background: #2b2c2e;
    padding: 5px;
  }

  .mobile__gallery
    .mobile__gallery--list
    .mobile__gallerylist--child[extension=".png"] {
    object-fit: contain;
  }

  .mobile__gallery
    .mobile__gallery--list
    .mobile__gallerylist--child[extension=".jpg"] {
    object-fit: cover;
    padding: 0;
  }

  #content #detalii {
    min-width: 344px !important;
  }

  .mobile__product--lead {
    display: block !important;
  }

  #content .tabsholder {
    margin-top: 0;
  }

  #content .tabsholder .cnt-4 .tab h2 {
    padding: 0 !important;
  }

  .description__content table tbody tr {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  #tab-2-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
  }
}
