
.main-img img {
  position: relative;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  /* -webkit-mask-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,1)), to(rgba(0,0,0,0))); */
  mask-image: linear-gradient(to bottom, rgb(0 0 0 / 113%) 55%, transparent 100%);
}

.head-section {
  position: absolute;
  top: 10px;
  width: 94%;
  background: transparent;
  display: flex;
  justify-content: space-between;
}
.head-section a{
  color: black;
}

.back-arrow {
  background: white;
  width: 35px;
  height: 35px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.right-cont {}

.right-cont ul {
  padding-left: 0;
  display: grid;
  flex-wrap: wrap;
  gap: 10px;
}

.right-cont ul li {
  list-style: none;
  background: white;
  width: 35px;
  height: 35px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-section {
  position: absolute;
  bottom: 0;
  width: 100%;
  left: 0;
}

.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding: 0 10px;
  position: relative;
}

.skin-img {
  background: white;
  border-radius: 50px;
  padding: 8px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-weight: 500;
  font-size: 14px;
}

.change-ring {
  background: white;
  border-radius: 50px;
  padding: 8px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-weight: 500;
  font-size: 14px;
}

.foot div {}

.toggle-group {
  background: #00000057;
  border: 1px solid white;
  border-radius: 51px;
  display: flex;
}

.toggle-group ul {
  margin-bottom: 0;
}

.toggle-sec {
  background: #d1d1d180;
  position: relative;
  bottom: 0;
  width: 100%;
  left: 0;
  padding: 10px 0 0 0;
  border-radius: 10px 10px 0px 0px;
  border-top: 3px solid #ffffffbd;
  margin-top: 22px;
}

.nav-pills .nav-link {
  padding: 8px 11px;
  color: white;
  border-radius: 50px;
  transition: all .5s ease-in-out;
  font-size: 14px;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
  background: #265CFF;
  color: white;
  font-weight: 500;
  border-radius: 50px;
}

.imags ul {
  padding: 0;
  display: flex;
  gap: 10px;
  margin-bottom: 0;
}

.imags ul li {
  list-style: none;
  border: 2px solid grey;
  border-radius: 10px;
  width: 74px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.imags ul li img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 7px;
}

.imags ul li.active {
  border: #265CFF 2px solid;
  border-radius: 10px;
}

.ring-dis {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 25px;
  background: #ffcb6554;
  padding: 10px;
}
.bodr svg{
  border: 1px solid #ffc107;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  margin: -23px auto;
  color: #fd9122;
  background: white;
  transform: rotate(180deg);
  transition: all 1s ease-in-out;
}
.bodr.abc svg{
  transform: rotate(0deg);
  transition: all 1s ease-in-out;
}
.imags {
  padding: 25px 10px 0;
}
.imags h6{
  font-size: 16px;
  margin-bottom: 10px;
  color: black;
}
.ring-img img {
  width: 77px;
  height: 100%;
  object-fit: cover;
}

.text h5 {
  font-size: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: initial;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  margin-bottom: 0;
}

.text {}

.text p {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
}

.btnadd .btn-add {
  border: 0px;
  background-image: linear-gradient(270deg, #fd9122, #4066fe);
  color: white;
  border-radius: 50px;
  padding: 9px 12px;
  display: flex;
  text-wrap: nowrap;
}
.main-flex{
    display: flex;
    gap: 10px;
    align-items: center;
}

.gender{
    width: 33px;
    margin-right: 0;
}
.gender .nav{
  background: white;
  border-radius: 50px;
  border: 1.5px solid white;
}
.gender .nav-link.active{
  background: #01010178;
  color: white;
  border-radius: 0 0px 50px 50px;
}
.gender .nav-link:first-child.active{
  border-radius: 50px 50px 0px 0px;
}
.gender .nav-link{color: black;border-radius: 0 0px 50px 50px;width: 100%;padding: 5px 2px !important;}

/* -choose ring */
.offcanvas.offcanvas-bottom{ background: #fcf8f8d6;  border-radius: 10px 10px 0px 0px;
  border-top: 3px solid #ffffffbd;}
.offcanvas-body{}
.offcanvas-title{
    text-align: center;
    margin: 0 auto;
    font-weight: 600;
}
.rings{}
.rings h6{
    color: #696868;
    font-size: 15px;
    letter-spacing: 3px;
}
.rings ul{
    display: flex;
    flex-wrap: wrap;
    padding: 0;
}
.rings ul li{
    flex: 1 0 21%; /* explanation below */
    margin: 5px;
    height: 99px;
    background-color: white;
    list-style: none;
}
.rings ul li img{}
.gems{}
.gems h6{
  color: #696868;
  font-size: 15px;
  letter-spacing: 3px;
}
.gems ul{
  display: flex;
  flex-wrap: wrap;
  padding: 0;
}
.gems ul li{
  flex: 1 0 21%; /* explanation below */
  margin: 5px;
  height: 99px;
  background-color: white;
  list-style: none;
}
.gems ul li img{}

/* -------skin-tone */
.skin-tone {
  position: relative;
  padding-bottom:2%;
  bottom: 0;
  width: 95%;
  z-index: 100;
  margin: 0 auto;
}

.skin-tone .Close {
  background: #444;
  color: #ccc;
}
.skin-tone  #skintone {
  display: none;
}
.skin-tone input[type=range] {
  -webkit-appearance: none;
  margin: 10px 0;
  width: 100%;
  background: transparent;
}
.skin-tone input[type=range]:focus {
  outline: none;
}
.skin-tone input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 12.8px;
  cursor: pointer;
  box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
  background-image: linear-gradient(45deg, #DAA778, #8c4301);
  border-radius: 25px;
  border: 0px solid #000101;
}
.skin-tone input[type=range]::-webkit-slider-thumb {
  box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
  border: 2px solid #ffffff;
  height: 30px;
  width: 30px;
  border-radius: 50px;
  background: #DAA778;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -10px;
}


/* -----------------change ring---------- */
.ring.offcanvas-bottom {
  background: #fcf8f800;
  border-radius: 0;
  border: 0;
}
.continue, .cancel-btn{
  background: white;
  opacity: 1;
  flex-wrap: nowrap;
  display: flex;
  line-height: 1;
  width: 27%;
  border-radius: 50px;
  box-shadow: -1px -2px 4px #00000026;
  justify-content: center;
  padding: 10px 10px;
  border: 0;
  gap: 5px;
}
.ring .offcanvas-body{
  background: rgba(255, 255, 255, 0.742);
}
 .offcanvas-backdrop.show {
  opacity: 0;
}
.slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 22%;
  gap: .3rem;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  cursor: grab;
  margin: 20px 0;
  padding-inline: 0rem;
}
.slider::-webkit-scrollbar {
  display: none;
}
.slide img {
  inline-size: 100%;
  aspect-ratio: 4 / 4;
  object-fit: cover;
  border-radius: 100%;
  background: white;
  box-shadow: 0px 0px 6px 0px #00000042;
  margin: 0;
}
.slider .slide{
  margin: 10px;
}
.slide.active{
  border: 4px inset #265CFF;
  border-radius: 100%;
}
@media (max-width: 440px) {
  h2 {
    font-size: 1.5rem;
  }
  .slider {
    grid-auto-columns: 40%;
  }
}
