:root {
  --ref-card-header: #202223;
  --ref-card-bg: #ffffff;
  --ref-offer: #6d7175;
  --ref-input-border: #babfc3;
  --ref-disc-btn: #84c444;
  --rating-bg: #ffc803;
  --rating-num-count: #141f27;
  --vert-rev-btn: #84c444;
  --font32: 32px;
  --font15: 15px;
  --font14: 14px;
  --font13: 13px;
  --font12: 12px;
}

.vert-ref-btn {
  position: fixed;
  top: 60%;
  z-index: 324234;
  right: 0;
  border-radius: 8px 8px 0px 0px;
  border: 2px solid #84c444;
  background-color: #84c444;
  transform: rotate(-90deg);
  padding: 18px 30px;
  /* font-family: proxima; */
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
  color: white;
  letter-spacing: 1.2;
}
/* The Modal (background) */
.modal-quoli {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1674324234234; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: hidden; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
  border-radius: 0px;
  opacity: 1 !important;
}

/* Modal Content/Box */
.modal-content-ref {
  background-color: #fefefe;
  margin: 15% auto;
  border: 1px solid #888;
  width: 35%; 
  border-radius: 0px;
}

.closeref {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.closeref:hover,
.closeref:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.referral-card {
  padding: 32px;
  background-color: var(--ref-card-bg);
  border-radius: 6px;
  width: fit-content;
}

.referral-card .header {
  display: flex;
  justify-content: space-between;
}

.referral-card .header .gift-header {
  font-family: sf-pro-display;
  font-style: normal;
  font-weight: 400;
  font-size: var(--font32);
  color: var(--ref-card-header);
  margin: 0px;
}

.referral-card .header svg {
  position: relative;
  bottom: 18px;
  left: 18px;
}

.referral-card .ref-offer {
  /* font-family: sf-pro-text; */
  font-style: normal;
  font-weight: 400;
  font-size: var(--font15);
  color: var(--ref-offer);
  padding: 12px 0px 16px 0px;
  margin: 0px;
}

.referral-card .email-input {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 0px;
}

.referral-card .email-input label,
.referral-card .name-input label {
  /* font-family: sf-pro-text; */
  font-style: normal;
  font-weight: 400;
  font-size: var(--font14);
  color: var(--ref-card-header);
}

.referral-card .email-input span,
.referral-card .name-input span {
  color: red;
  font-size: var(--font14);
}

.referral-card .email-input input,
.referral-card .name-input input {
  padding: 8px 8px 8px 12px;
  border: 1px solid var(--ref-input-border);
  box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.05);
  border-radius: 4px;
}

.referral-card .email-input input:focus,
.referral-card .name-input input:focus {
  outline: none;
}

.referral-card .email-input input::placeholder,
.referral-card .name-input input::placeholder {
  /* font-family: sf-pro-text; */
  font-style: normal;
  font-weight: 400;
  font-size: var(--font14);
  opacity: 0.5;
}

.referral-card .name-input {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 32px;
}

.referral-card button {
  background: var(--ref-disc-btn);
  box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.08),
  inset 0px -1px 0px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  border: none;
  width: 100%;
  padding: 8px 0px;
  /* font-family: sf-pro-text; */
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  color: var(--ref-card-bg);
  cursor: pointer;
}

.referral-card .terms-cond {
  /* font-family: sf-pro-text; */
  font-style: normal;
  font-weight: 400;
  font-size: var(--font14);
  color: var(--ref-offer);
  margin: 0px;
  padding: 16px 0px;
  text-align: center;
}

.referral-card .terms-cond a {
  /* font-family: sf-pro-text; */
  font-style: normal;
  font-weight: 400;
  font-size: var(--font14);
  color: var(--ref-offer);
}
.ref-modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 50px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
  border-radius: 15px;
  display: contents;
}

.happy-customer {
  width: 100%;
  text-align: center;
  font-size: 46px;
  font-style: normal;
  font-weight: 600;
  /* line-height: 40px; */
  margin-bottom: 0px !important;
}

.quoli-badge-one {
  border-radius: 4.371px;
  background: #ffffff;
  width: 165px;
  height: 155px;
  padding: 17px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.quoli-badge-two {
  border-radius: 4.371px;
  background: #ffffff;
  width: 165px;
  height: 155px;
  padding-top: 17px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.star-rating-badge-one,
.star-rating-badge-two,
.star-rating-badge-three {
  display: flex;
  gap: 5px;
  padding-top: 10px;
}
.avg-rating {
  color: var(--text, #002927);
  /* font-family: SF Pro Text; */
  font-size: 23.164px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  margin: 0px !important;
  display: flex;
  align-items: center;
  gap: 5px;
}
.avg-rating > span {
  color: var(--text, #002927);
  /* font-family: SF Pro Text; */
  font-size: 8.364px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.avg-based-on {
  color: #002927;
  /* font-family: SF Pro Text; */
  font-size: 10.052px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
  margin: 0px !important;
}
.quoli-badge-three {
  border-radius: 4.371px;
  background: #ffffff;
  width: 213px;
  height: 45px;
  padding: 17px;
  display: flex;
  /* flex-direction: column; */
  justify-content: center;
  align-items: center;
  /* justify-content: space-between; */
  gap: 10px;
}
.quoli-badge-three-inner {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.verifi {
  border-radius: 4.182px;
  background: #002927;
  width: 165px;
  background: #ffffff;
  /* font-family: SF Pro Text; */
  font-size: 8.364px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-align: center;

  padding-top: 3px;
  padding-bottom: 3px;
}

/* New PDP  */

/* Main pdp div  */
.pdp-row {
  margin: 20px 0px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#pdp-container {
  margin-top: 50px !important;
}

#pdp-container p {
  margin: 0;
}

/* recommendation section  */
.recommendation-all-review {
  display: block;
  user-select: none;
}

/* Attributes section css  */
.attributes-section {
  max-width: 250px;
}
.attribute-title {
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
}
.attribute-bar {
  display: flex;
  align-items: center;
}
.attribute-span {
  width: 47px;
  height: 5.8px;
  background-color: rgb(12, 41, 76);
  margin-right: 3px;
}
.attribute-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  color: #000000B2;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 184.889%;
}

/* Star drop down and average rating  */
.average-section {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.average-section {
  position: relative;
  cursor: pointer;
}

.star-section:hover #rating-breakdown {
  display: block !important;
}

.rating-stars {
  display: flex;
  row-gap: 5px;
  column-gap: 5px;
}

#rating-box {
  font-size: 40px;
  font-weight: 700;
  line-height: 40px;
  display: flex;
  align-items: center;
}

/* Review card  */
.review-card-row {
  margin: 1px 0px;
}
.review-card {
  display: flex;
  padding: 20px 0px;
}

.review-img {
  border-radius: 5.5px;
  height: 200px;
  width: 200px;
  object-fit: cover;
}

.reviewer-name {
  color: black;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 5px;
  text-transform: capitalize;
}

.review-title {
  color: #202223;
  font-weight: 700;
}
.review-description {
  color: black;
}
.review-formated-date {
  color: black;
}

.review-card-left {
  max-width: 18%;
  min-height: 100%;
  min-width: 18%;
  padding-right: 32px;
  border-right: 1px solid #d7d7d7;
}
.review-card-right {
  color: black;
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.review-card-right-body {
  display: flex;
  flex-direction: column;
  row-gap: 4px;
  padding-left: 32px;
}
.review-card-right-body > div {
  display: flex;
  align-items: center;
  column-gap: 16px;
}

/* ==================== */

#pdp-card-container > div {
  padding: 30px 0px;
}

.pdp-swiper {
  margin: 50px 0px;
}

.pdp-swiper-wrapper {
  /* width: 92% !important; */
  margin: auto;
  cursor: pointer;
}

.pdp-slider-video {
  height: 165px;
  width: 165px;
  object-fit: cover;
  border-radius: 6px;
}

.pdp-swiper .swiper-slide {
  height: 165px !important;
  /* width: 165px !important; */
}

.pdp-swiper .slide-content {
  height: 165px;
  /* width: 165px; */
}

.pdp-slider-img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.pdp-slider-video-btn {
  all: unset;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.pdp-slide-content {
  position: relative;
  display: contents;
  cursor: pointer;
}

.pdp-swiper .pdp-swiper-button-next,
.pdp-swiper-button-prev {
  top: 0px !important;
  height: 100% !important;
  margin-top: 0px !important;
  background: #f5f5f5 !important;
  width: 42px !important;
  z-index: 1 !important;
  color: black !important;
}

.pdp-swiper .pdp-swiper-button-prev::after {
  padding: 0 !important;
}

.pdp-swiper .pdp-swiper-button-prev,
.swiper-rtl .pdp-swiper-button-next {
  left: 0px !important;
}

.pdp-swiper .pdp-swiper-button-next,
.swiper-rtl .pdp-swiper-button-prev {
  right: 0px !important;
}

.pdp-swiper .pdp-swiper-button-next:after,
.pdp-swiper-button-prev:after {
  font-size: 24px !important;
  font-weight: 600;
}

/* .slide-content{
  
} */

.tabs-row {
  display: inline-flex;
  border-bottom: 1px solid #c6c6c6;
  margin-bottom: 30px;
  line-height: 22px;
}

.tablinks {
  all: unset;
  font-size: 20px;
  text-align: center;
  color: #c6c6c6;
  padding: 10px;
  min-width: 140px;
  cursor: pointer;
  line-height: 22px;
}

.tablinks.active {
  color: #000000;
  margin-bottom: -1px;
  border-bottom: 1px solid #000000;
}

.tablinks-single {
  all: unset;
  font-size: 24px;
  color: #333133;
  font-weight: 500;
  min-width: 140px;
  line-height: 22px;
}

.pdp-show-more-div {
  text-align: center;
}

/* PDP Question CSS  */
.pdp-question-form {
  max-width: 600px;
  margin: 20px auto;
  color: #333;
}

.pdp-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

.pdp-textarea {
  width: 100%;
  height: 100px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: none;
  font-size: 14px;
}

.pdp-char-count {
  text-align: right;
  margin-top: 5px;
  font-size: 12px;
  color: #888;
}

.pdp-details-section {
  margin-top: 20px;
}

.pdp-name-fields {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.pdp-input {
  width: calc(50% - 5px);
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

.pdp-input[type="email"] {
  width: 100%;
  margin-bottom: 10px;
}

.pdp-submit-btn {
  padding: 10px;
  background-color: #000;
  color: #fff;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
}

.pdp-submit-btn:hover {
  background-color: transparent;
  color: #000;
  border: 1px solid #000;
}

.pdp-note {
  margin-top: 10px;
  font-size: 12px;
  color: #666;
  text-align: center;
  margin: 15px 0px !important;
}

.pdp-powered {
  text-align: center;
  font-size: 13px;
}

.pdp-powered > span {
  color: #000000;
  border-radius: 12px;
  padding: 2px 20px;
  background-color: #f1f1f1;
}

.pdp-filter-btn {
  text-align: center;
  all: unset;
  border: 1px solid #e2e2e2;
  border-radius: 4px;
  padding: 0px 11px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px;
}

.pdp-filter-btn.active {
  background-color: #ececec;
}

.pdp-filter-row {
  display: flex;
  gap: 5px;
  justify-content: space-between;
}

.pdp-dropdown-sort-toggle.active {
  background-color: #ececec;
}

.pdp-dropdown-toggle.active {
  background-color: #ececec;
}

.pdp-dropdown-question-toggle.active {
  background-color: #ececec;
}

.pdp-average-section {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  position: relative;
  cursor: pointer;
}

#pdp-rating-box {
  font-size: 32px;
  font-weight: 700;
  line-height: 32px;
  display: flex;
  align-items: center;
}

.pdp-rating-stars {
  display: flex;
}

.pdp-no-review-data {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  cursor: pointer;
  padding: 20px;
}

.pdp-star-section:hover .pdp-average-rating-container {
  display: block !important;
}

.pdp-average-rating-container {
  width: 300px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 16px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #333333;
  position: absolute;
  z-index: 20;
  display: none;
}

.pdp-average-rating-row {
  display: flex;
  align-items: center;
  padding: 1px 6px;
  border-radius: 5px;
}

.pdp-average-rating-row.active{
  background-color: #F5F5F5;
}
.pdp-average-rating-row:hover {
  background: #f5f5f5;
}

.pdp-average-star {
  width: 40px;
  text-align: left;
  font-weight: bold;
}

.pdp-star-div{
  cursor: pointer;
}

.pdp-average-progress-bar {
  flex-grow: 1;
  height: 8px;
  background: #e2e2e2;
  border-radius: 4px;
  margin: 0 8px;
  position: relative;
  overflow: hidden;
}

.pdp-average-progress-fill {
  height: 100%;
  background: #000000;
  border-radius: 4px;
}

.pdp-average-count {
  width: 20px;
  text-align: right;
  font-weight: bold;
}

.pdp-average-footer {
  text-align: center;
  font-size: 12px;
  color: #888888;
  margin-top: 16px;
}

.pdp-show-more-btn {
  margin: auto;
  font-size: 16px;
  font-weight: 500;
  padding: 10px 20px;
  color: #000000;
  background-color: transparent;
  border: 1px solid #000000;
  border-radius: 5px;
  cursor: pointer;
}

.pdp-show-more-question-btn {
  margin: auto;
  font-size: 16px;
  font-weight: 500;
  padding: 10px 20px;
  color: #000000;
  background-color: transparent;
  border: 1px solid #000000;
  border-radius: 5px;
  cursor: pointer;
}

.attribute-span {
  width: 47px;
  height: 5.8px;
  background-color: #11111133;
  margin-right: 3px;
}

.attribute-span > span {
  height: 100%;
  width: 100%;
  background-color: #111111;
}

.pdp-filter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pdp-filters-section {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.pdp-filters-section.active {
  display: flex;
  opacity: 1;
}

.pdp-filters-section .pdp-category {
  margin: 10px 0;
}

.pdp-category label {
  font-size: 14px;
  font-weight: bold;
  margin-right: 10px;
}

.pdp-category .pdp-btn-group {
  display: inline-flex;
  gap: 10px;
}

.pdp-category button {
  padding: 6px 12px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  cursor: pointer;
}

.pdp-category button.active {
  background-color: #000;
  color: #fff;
  border-color: #000;
}

.pdp-category .pdp-rating-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f5f5f5;
  font-size: 16px;
}

.pdp-category .pdp-rating-btn:hover {
  background: #000000;
  color: white;
}

.pdp-category .pdp-rating-btn:hover svg path {
  color: white;
  fill: white;
}

.pdp-category .pdp-rating-btn span {
  font-size: 14px;
}

.pdp-category .pdp-rating-btn.active {
  background-color: #000;
  color: #fff;
}

.pdp-category .pdp-rating-btn.active svg path {
  fill: #fff;
  color: #fff;
}

.pdp-dropdown {
  position: relative;
  display: inline-block;
}

.pdp-dropdown-toggle {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 7px 12px;
  font-size: 14px;
  cursor: pointer;
}

.pdp-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin: 4px 0;
  padding: 8px 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  list-style: none;
  z-index: 1000;
  width: 200px;
}

.pdp-dropdown-question-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin: 4px 0;
  padding: 8px 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  list-style: none;
  z-index: 1000;
  width: 200px;
}

.pdp-dropdown-item {
  padding: 8px 16px;
  cursor: pointer;
}

.pdp-dropdown-item:hover {
  background-color: #f5f5f5;
}

.pdp-dropdown-item label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
}

.pdp-dropdown-item input[type="radio"] {
  accent-color: black;
}

#pdp-rating-basedon {
  font-size: 16px;
  font-weight: 400;
  line-height: 23.87px;
  margin: 0px;
}

.pdp-recomended-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  background-color: #ececec;
  border-radius: 5px;
  font-size: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin: 10px 0px;
}

.pdp-recomended-icon {
  font-size: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pdp-recomended-text {
  font-size: 12px;
  color: #000;
  font-weight: 400;
  line-height: 12px;
}

#pdp-search {
  position: relative;
}

#pdp-search svg {
  position: absolute;
  top: 12px;
  left: 12px;
}

#pdp-search-input {
  color: #595d62;
  background: transparent;
  border: 1px solid #e2e2e2;
  padding: 12px 10px 10px 36px;
  border-radius: 4px;
  height: 40px;
  width: 242px;
}

#pdp-question-search {
  position: relative;
}

#pdp-question-search svg {
  position: absolute;
  top: 12px;
  left: 12px;
}

#pdp-question-search-input {
  color: #595d62;
  background: transparent;
  border: 1px solid #e2e2e2;
  padding: 12px 10px 10px 36px;
  border-radius: 4px;
  height: 40px;
  width: 242px;
}

#pdp-write-review {
  font-weight: 500;
  font-size: 16px;
  padding: 10px;
  background-color: #000;
  color: #fff;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
}

#pdp-write-review:hover {
  background-color: transparent;
  color: #000;
  border: 1px solid #000;
}

.pdp-question-container {
  border-bottom: 1px solid #e0e0e0;
  padding: 16px 0;
}

.pdp-question-header {
  margin-bottom: 8px;
}

.pdp-question-author {
  font-weight: bold;
  font-size: 14px;
  color: #333;
  text-transform: capitalize;
}

.pdp-question-title {
  margin: 4px 0 0;
  font-size: 16px;
  font-weight: 500;
  color: #000;
}

.pdp-question-answer {
  margin-left: 16px;
  border-left: 2px solid #e0e0e0;
  padding-left: 16px;
}

.pdp-question-answer-header {
  display: flex;
  gap: 30px;
  font-size: 14px;
  margin-bottom: 8px;
}

.pdp-question-brand {
  font-weight: bold;
  color: #555;
}

.pdp-question-time {
  color: #999;
}

.pdp-question-answer-content {
  font-size: 14px;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.5;
}

/* Media Query  */
@media screen and (max-width: 560px) {
  .pdp-row {
    flex-direction: column;
    gap: 20px;
  }
  .review-card {
    flex-direction: column;
  }
  .review-card-left {
    max-width: 100%;
    padding-right: 0px;
    border-right: 0px;
  }
  .review-card-right {
    flex-direction: column;
  }

  .review-card-right-body {
    padding-left: 0px;
  }

  .pdp-review-card-img {
    display: none;
  }

  .review-img {
    height: 100px;
    width: 100px;
  }

  .tabs-row {
    width: 100%;
  }

  .tablinks {
    min-width: 43.5%;
  }

  .pdp-filters-section.active {
    flex-direction: column;
  }

  .pdp-filter-row {
    flex-direction: column-reverse;
    align-items: end !important;
  }

  .pdp-filter-row > div {
    width: 100%;
  }

  .pdp-filter-row > div:nth-child(2) {
    text-align: end;
  }

  #pdp-search {
    width: 100%;
  }

  #pdp-search-input {
    width: 100%;
  }

  #pdp-question-search {
    width: 100%;
  }

  #pdp-question-search-input {
    width: 100%;
  }

  .pdp-swiper-button-prev {
    display: none !important;
  }
  .pdp-swiper-button-next {
    display: none !important;
  }

  .pdp-average-rating-container {
    right: -40px;
  }

  .pdp-recomended-badge {
    width: 136px;
  }

  #pdp-write-review {
    width: 100%;
    margin-bottom: 16px;
  }

  #pdp-rating-basedon {
    text-align: center;
  }

  .pdp-swiper {
    margin: 20px 0px;
  }

  .pdp-swiper-wrapper {
    width: 100%;
  }
}