.mainContent {
   width: 100%;
   display: flex;
   align-items: center;
   justify-content: center;
   flex-direction: column;
   padding: 1rem 0;
}

.container1 {
   width: 94%;
   border-top-right-radius: 30px;
   border-top-left-radius: 30px;
   background-color: white;
   display: flex;
   align-items: start;
   justify-content: space-between;
   flex-wrap: wrap;
   padding: 1.2rem;
}

.container1 .imgsBx {
   height: 95%;
   width: 37%;
   display: flex;
   align-items: center;
   justify-content: center;
   border-radius: 14px;
   overflow: hidden;
   position: sticky;
   top: 8rem;
}

.imgsBx img {
   aspect-ratio: 1/1;
   width: 100%;
   object-fit: cover;
}

.container1 .product-Contents {
   width: 60%;
   padding: 1rem;
   display: flex;
   flex-direction: column;
   align-items: start;
   justify-content: center;
}

.container1 .product-Contents .product-Name {
   width: 100%;
   border-bottom: 0.5px solid rgba(0, 0, 0, 0.09);

   h2 {
      font-size: 2.2rem;
      font-weight: 500;
      font-family: var(--heading2);
   }
}

.container1 .product-Contents .ratings {
   margin-top: 0.6rem;
   background-color: var(--col4);
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 0.5rem;
   padding: 0.2rem 0.5rem;
   border-radius: 5px;

   i {
      font-size: 0.85rem;
   }
}

.container1 .product-Contents .price {
   font-weight: 700;
   margin-top: 0.7rem;
   font-size: 1.8rem;
   color: var(--txt-col3);
}

.price::before {
   content: "₹";
   padding-right: 0.2rem;
}

.weightContainer {
   grid-column: 1 / -1;
   width: 100%;
   margin-top: 0.6rem;
}

.weightContainer .weights {
   width: 100%;
   display: flex;
   align-items: center;
   justify-content: space-evenly;
   flex-wrap: wrap;
   gap: 0.5rem;
   margin-top: 0.3rem;
}

.weightContainer .weights .wgtBx {
   border: 1px solid var(--col4);
   border-radius: 40px;
   min-width: 5rem;
   padding: 0.15rem 0.6rem;
   display: flex;
   align-items: center;
   justify-content: center;
   transition: all ease 0.3s;
   cursor: pointer;
   background-color: white;
}

.weightContainer .weights .wgtBx:hover {
   background-color: #4FA3F4;
   color: white;
}

.weightContainer .weights input[type="radio"] {
   display: none;
}

.weightContainer .weights input[type="radio"]:checked+label,
.weightContainer .weights .wgtBx input[type="radio"]:checked+label {
   background-color: #4FA3F4;
   color: white;
}

.CakeForm {
   width: 100%;
   margin-top: 0.6rem;
}

.CakeForm form {
   width: 100%;
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: 0.5rem;
   justify-content: center;
}

.form-grp {
   display: flex;
   align-items: start;
   flex-direction: column;
   justify-content: space-between;

   label {
      margin-bottom: 0.3rem;
   }
}

.sub-head {
   font-size: 0.7rem;
   font-weight: 400;
}

.CakeForm textarea {
   width: 95%;
   height: 5rem;
   background-color: transparent;
   border-radius: 8px;
   padding: 0.5rem 0.8rem;
   outline: none;
   resize: none;
   border: 0.5px solid rgba(0, 0, 0, 0.1);
}

.CakeForm textarea::placeholder {
   font-weight: 400;
   font-size: 0.8rem;
}

.button {
   margin-top: 0.6rem;
   width: 100%;
   line-height: 1;
   border-radius: 1.5rem;
   overflow: hidden;
   position: relative;
   box-shadow: 10px 10px 20px rgba(0, 0, 0, .05);
   background-color: #fff;
   color: #121212;
   border: 0.5px solid var(--clr);
   cursor: pointer;
}

.button-decor {
   position: absolute;
   inset: 0;
   background-color: var(--clr);
   transform: translateX(-100%);
   transition: transform .3s;
   z-index: 0;
}

.button-content {
   display: flex;
   align-items: center;
   position: relative;
   overflow: hidden;
   font-weight: 700;
}

.button__icon {
   width: 30%;
   height: 2.5rem;
   border-radius: 1.5rem;
   overflow: hidden;
   background-color: var(--clr);
   display: grid;
   place-items: center;

   i {
      font-size: 1.2rem;
      color: var(--bg-col);
   }
}

.button__text {
   display: inline-block;
   transition: color .2s;
   padding: 2px 1.5rem 2px;
   padding-left: .75rem;
   overflow: hidden;
   font-size: 1rem;
   white-space: nowrap;
   text-overflow: ellipsis;
}

.button:hover .button__text {
   color: #fff;
}

.button:hover .button-decor {
   transform: translate(0);
}

#pin-checking {
   width: 100%;
   display: block;
   margin-top: 1.7rem;
}

.pin-check {
   display: inline-block;
   position: relative;
}

#pin-checking label {
   font-weight: 700;
   margin-right: 0.3rem;
}

.pin-check input[type="text"] {
   width: 17rem;
   padding: 10px;
   border: none;
   outline: none;
   border-radius: 20px;
   box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.pin-check button[type="submit"] {
   background-color: #4e99e9;
   border: none;
   color: #fff;
   cursor: pointer;
   padding: 10px 20px;
   border-radius: 20px;
   box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
   position: absolute;
   top: 0;
   right: 0;
   transition: .9s ease;
}

.pin-check button[type="submit"]:hover {
   transform: scale(1.05);
   color: rgb(255, 255, 255);
   background-color: blue;
}

.pin-msg {
   font-size: 0.75rem;

   p {
      color: var(--txt-col3);
   }
}

.container2 {
   width: 94%;
   background-color: white;
   display: grid;
   grid-template-columns: 60% 40%;
   align-items: stretch;
   justify-content: center;
   padding: 0.5rem 1.2rem;
}

.container2 .con2-Bx {
   width: 97%;
   background-color: var(--bg-col);
   border: 0.5px solid var(--col7);
   padding: 1rem;
   border-radius: 15px;
}

.container2 .con2-Bx .title,
.container3 .con2-Bx .title {
   width: 100%;
   display: flex;
   align-items: center;
   padding-left: 0.3rem;
   font-size: 1.3rem;
   letter-spacing: 0.08rem;
   text-decoration: underline;

   h4 {
      font-family: var(--heading1);
   }
}

.container2 .con2-Bx p {
   margin-top: 0.8rem;
   margin-left: 0.5rem;
}

.container3 {
   width: 94%;
   background-color: white;
   display: flex;
   align-items: start;
   justify-content: center;
   padding: 0.5rem 1.2rem;
   flex-direction: column;
   border-bottom-right-radius: 30px;
   border-bottom-left-radius: 30px;
}

.container3 .con2-Bx {
   width: 99%;
   background-color: var(--bg-col);
   border: 0.5px solid var(--col7);
   padding: 1rem;
   border-radius: 15px;
}

.container3 h3 {
   width: 100%;
   display: flex;
   align-items: center;
   padding-left: 0.3rem;
   font-size: 1.5rem;
   font-weight: 600;
   letter-spacing: 0.04rem;
   text-decoration: underline;
   font-family: var(--heading1);
}

.container3 .reviews {
   width: 98%;
   display: grid;
   justify-items: center;
   grid-template-columns: repeat(2, 1fr);
   gap: 0.8rem;
   max-height: 15rem;
   overflow: auto;
   position: relative;

   h4 {
      margin: 1rem 0 0.5rem 0;
      grid-column: 1/-1;
      font-size: 1.5rem;
      font-weight: 600;
      font-family: var(--heading1);
      background-color: var(--bg-col);
      border: 0.5px solid var(--col7);
      padding: 1rem 2rem;
      border-radius: 15px;
   }
}

.container3 .reviews {
   position: relative;

   .btn {
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 140px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: space-evenly;
      border: none;
      background-color: #ffffff34;
      transition: .2s cubic-bezier(0.19, 1, 0.22, 1);
      opacity: 0.8;

      span {
         text-transform: uppercase;
         letter-spacing: 1px;
         font-weight: 700;
      }
   }

   .btn::after {
      content: '';
      border-bottom: 3px double rgb(217, 209, 101);
      width: 0;
      height: 100%;
      position: absolute;
      margin-top: -5px;
      top: 0;
      left: 5px;
      visibility: hidden;
      opacity: 1;
      transition: .2s linear;
   }

   .btn .icon {
      transform: translateX(0%);
      transition: .2s linear;
      animation: attention 1.2s linear infinite;
   }

   .btn:hover::after {
      visibility: visible;
      opacity: 0.9;
      width: 90%;
   }

   .btn:hover {
      letter-spacing: 2px;
      opacity: 1;
   }

   .btn:hover>.icon {
      transform: translateX(30%);
      animation: none;
   }

   @keyframes attention {
      0% {
         transform: translateX(0%);
      }

      50% {
         transform: translateX(30%);
      }
   }
}

.container3 .reviews .reviewbox {
   margin-top: 0.8rem;
   width: 96%;
   border-radius: 8px;
   border: 0.5px solid rgba(0, 0, 0, 0.201);
   box-shadow: 10px 10px 20px rgba(0, 0, 0, .05);
   background-color: white;
}

.reviewbox .rating-username {
   width: 100%;
   display: flex;
   align-items: center;
   justify-content: space-between;
   padding: 0.2rem 1.2rem;
   border-bottom: 0.2px solid rgba(0, 0, 0, 0.264);

   i {
      font-size: 0.9rem;
   }
}

.reviewbox .rating-username .username {
   display: flex;
   align-items: center;
   gap: 0.6rem;
   font-size: 1.05rem;
   font-weight: 600;

   p {
      font-family: var(--heading3);
   }
}

.message {
   padding: 0.6rem 1.2rem;

   p {
      font-family: var(--heading1);
   }
}

.message p::before {
   content: "❝";
   margin-right: 0.3rem;
}

.message p::after {
   content: "❞";
   margin-left: 0.3rem;
}

.message p::before,
.message p::after {
   font-style: italic;
   font-size: 1.1rem;
}

.otherProducts {
   margin-top: 0.7rem;
   display: flex;
   align-items: start;
   justify-content: center;
   padding: 0.5rem 1.2rem;
   flex-direction: column;
}


@media screen and (max-width: 768px) {
   .container1 {
      flex-direction: column;
      align-items: center;
      justify-content: center;
   }

   .container1 .imgsBx {
      width: 90%;
      position: relative;
      top: 0;
   }

   .container1 .product-Contents {
      width: 100%;
   }

   .container2 {
      grid-template-columns: 1fr;
      gap: 0.5rem;
      justify-items: center;
   }

   .container2 .con2-Bx {
      width: 95%;
   }
}

@media screen and (max-width: 648px) {
   .container1 .imgsBx {
      width: 100%;
   }

   .container1 .product-Contents {
      padding: 1rem 0 0 0;
   }

   .container1 .product-Contents .product-Name {
      h2 {
         font-size: 1.7rem;
      }
   }

   .container2 .con2-Bx {
      width: 100%;
   }

   .CakeForm form {
      grid-template-columns: 1fr;
      gap: 0.5rem;
      justify-content: center;
   }

   .CakeForm textarea {
      width: 100%;
   }

   .pin-check {
      width: 100%;
      margin: 0.5rem 0 0.5rem 0;
   }

   .pin-check input[type="text"] {
      width: 100%;
   }

   .container3 .reviews {
      grid-template-columns: 1fr;
      gap: 0.3rem;
      width: 100%;
   }

   .container3 .reviews .reviewbox {
      width: 100%;
   }

   .otherProducts {
      padding: 0.5rem 0;
   }
}