/* Rules used only on the product, questions, reviews page(s), split out of main.css.
   Loaded through {% block page_styles %} in layout.jinja, right after main.css. */

@media (max-width: 767px) {
  .form-control.send-notify-name{
    font-size:12px;
  }
}

#pills-tabContent ul {
  list-style: disc;
}

@media (max-width: 767px) {
  .product-details-mobile-price-container h3 {
    font-weight: 900;
    color: white;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0px;
    margin: 0;
  }
}

@media (max-width: 767px) {
  .product-details-mobile-price-container .product-details-mobile-price h4 {
    font-weight: 900;
    color: white;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 0px;
  }
}

@media (max-width: 767px) {
  .product-details-mobile-price-container
    .product-details-mobile-price
    .product-formatted-price-old {
    font-weight: 800;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0px;
  }
}

@media (max-width: 767px) {
  .product-details-mobile-price-container
    .product-details-mobile-price
    .product-formatted-price-discount {
    font-weight: 900;
    font-style: white;
    font-size: 10px;
    line-height: 12px;
    letter-spacing: 0px;
  }
}

@media (max-width: 767px) {
  .product-details-mobile-buttons-container a {
    display: flex;
    align-items: center;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    gap: 6px;
    text-decoration: none;
    min-width: 110px;
  }
}

@media (max-width: 767px) {
  .product-details-mobile-buttons-container #product-view-add-to-cart {
    border: 1px solid white !important;
    background-color: white !important;
    color: var(--mainColor) !important;
    padding: 12px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    min-width: 110px !important;
  }
}

@media (max-width: 767px) {
  .product-details-mobile-buttons-container a:not(.buy-now-button) {
    border: 1px solid black !important;
    font-size: 0 !important;
    background: black;
    color: white;
    order: -1;
  }
}

@media (max-width: 767px) {
  .product-details-mobile-buttons-container a:not(.buy-now-button)::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url(./chat-question.svg) no-repeat center center;
    background-size: contain;
  }
}

@media (max-width: 767px) {
  .product-details-mobile-buttons-container a:not(.buy-now-button)::after {
    content: "استفسر";
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 800;
  }
}

#prodcut-details {
  line-height: 1.9;
  word-break: break-word;
}

#prodcut-details table {
  width: 100%;
  max-width: 100vw;
  margin-bottom: 15px;
}

#prodcut-details table td {
  border: 1px solid rgba(203, 213, 225, 1);
  padding: 12px;
}

#prodcut-details ul {
  padding: 0 20px !important;
}

#prodcut-details img {
  max-width: 100%;
  height: auto;
}

#product-options table td {
  padding: 12px;
  border-bottom: 1px solid #f1f5f9;
  border-top: 0;
}

#related-products .btn-add-to-cart:hover {
  background-color: var(--mainColor) !important;
}

.btnrating {
  color: rgba(226, 232, 240, 1);
}

.btnrating:hover i,
.btnrating.active i {
  font-weight: 900;
}

#product-reviews .text {
  min-width: 65px;
}

#product-reviews .number-reviews {
  margin: 0 5px;
}

#product-variants-options {
  --border: var(--borderColor, #d9d9d9);
  --radius: 0.5rem;
  --foreground: #111;
  --background: #fff;
  --primary: var(--mainColor, #111);
}

#product-variants-options .form-group {
  flex: 1 1 100%;
}

.product-options__item {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-sizing: border-box;
  border: 1px solid var(--border, #d9d9d9);
  border-radius: 8px;
  background: var(--background, #fff);
  color: var(--foreground, #111);
  padding: 0.375rem 0.75rem;
  margin: 0;
  list-style: none;
}

.product-options__swatch {
  display: block;
  width: 36px;
  height: 36px;
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.product-options__thumb {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  object-fit: cover;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.product-options__item:focus-visible {
  outline: 2px solid var(--mainColor, #b37e22);
  outline-offset: 2px;
}

.product-options__item-text--sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#product-variants-options .form-group:hover .product-options__list {
  opacity: 1;
  visibility: visible;
  top: auto;
}

.product-options__swatch {
  display: block;
  width: 36px;
  height: 36px;
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
}

.product-options__thumb {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  object-fit: cover;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.product-options__item-text--sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.product-images-empty {
  min-height: 400px;
  display: flex;
  align-items: center;
  background: #f1f5f9;
  border-radius: 10px;
  padding: 10px;
  justify-content: center;
}

#product-images-slick {
  margin-bottom: 10px !important;
}

#product-images-slick .slick-dots {
  bottom: 8px;
  position: absolute;
  top: auto;
}

.product-images-empty img {
  width: auto !important;
}

.custom-field-options label {
  color: #475569 !important;
  font-weight: 400;
  font-size: 14px;
}

.product-images .image-link {
  height: 530px !important ;
  display: block;
}

.product-images .image-link img {
  object-fit: contain;
}

.selectize-dropdown {
  position: absolute !important;
}

#product-custom-user-input-fields .file-label {
  width: 100%;
}

#product-custom-user-input-fields .file-label img {
  object-fit: contain !important;
  width: 55px;
}

#product-custom-user-input-fields input[data-type="DATE"] {
  background-repeat: no-repeat !important;
  background-position: 12px 50% !important;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='22' viewBox='0 0 20 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M18.6665 8.9043H0.842499C0.428499 8.9043 0.0924988 8.5683 0.0924988 8.1543C0.0924988 7.7403 0.428499 7.4043 0.842499 7.4043H18.6665C19.0805 7.4043 19.4165 7.7403 19.4165 8.1543C19.4165 8.5683 19.0805 8.9043 18.6665 8.9043Z' fill='%23334155'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M14.2012 12.8096C13.7872 12.8096 13.4472 12.4736 13.4472 12.0596C13.4472 11.6456 13.7782 11.3096 14.1922 11.3096H14.2012C14.6152 11.3096 14.9512 11.6456 14.9512 12.0596C14.9512 12.4736 14.6152 12.8096 14.2012 12.8096Z' fill='%23334155'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9.7637 12.8096C9.3497 12.8096 9.0097 12.4736 9.0097 12.0596C9.0097 11.6456 9.3407 11.3096 9.7547 11.3096H9.7637C10.1777 11.3096 10.5137 11.6456 10.5137 12.0596C10.5137 12.4736 10.1777 12.8096 9.7637 12.8096Z' fill='%23334155'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M5.3169 12.8096C4.9029 12.8096 4.5619 12.4736 4.5619 12.0596C4.5619 11.6456 4.8939 11.3096 5.3079 11.3096H5.3169C5.7309 11.3096 6.0669 11.6456 6.0669 12.0596C6.0669 12.4736 5.7309 12.8096 5.3169 12.8096Z' fill='%23334155'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M14.2012 16.6963C13.7872 16.6963 13.4472 16.3603 13.4472 15.9463C13.4472 15.5323 13.7782 15.1963 14.1922 15.1963H14.2012C14.6152 15.1963 14.9512 15.5323 14.9512 15.9463C14.9512 16.3603 14.6152 16.6963 14.2012 16.6963Z' fill='%23334155'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9.7637 16.6963C9.3497 16.6963 9.0097 16.3603 9.0097 15.9463C9.0097 15.5323 9.3407 15.1963 9.7547 15.1963H9.7637C10.1777 15.1963 10.5137 15.5323 10.5137 15.9463C10.5137 16.3603 10.1777 16.6963 9.7637 16.6963Z' fill='%23334155'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M5.3169 16.6963C4.9029 16.6963 4.5619 16.3603 4.5619 15.9463C4.5619 15.5323 4.8939 15.1963 5.3079 15.1963H5.3169C5.7309 15.1963 6.0669 15.5323 6.0669 15.9463C6.0669 16.3603 5.7309 16.6963 5.3169 16.6963Z' fill='%23334155'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M13.7935 4.791C13.3795 4.791 13.0435 4.455 13.0435 4.041V0.75C13.0435 0.336 13.3795 0 13.7935 0C14.2075 0 14.5435 0.336 14.5435 0.75V4.041C14.5435 4.455 14.2075 4.791 13.7935 4.791Z' fill='%23334155'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M5.7153 4.791C5.3013 4.791 4.9653 4.455 4.9653 4.041V0.75C4.9653 0.336 5.3013 0 5.7153 0C6.1293 0 6.4653 0.336 6.4653 0.75V4.041C6.4653 4.455 6.1293 4.791 5.7153 4.791Z' fill='%23334155'/%3E%3Cmask id='mask0_234_24308' style='mask-type:alpha' maskUnits='userSpaceOnUse' x='0' y='1' width='20' height='21'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 1.5791H19.5V21.5H0V1.5791Z' fill='white'/%3E%3C/mask%3E%3Cg mask='url(%23mask0_234_24308)'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M5.521 3.0791C2.928 3.0791 1.5 4.4621 1.5 6.9731V16.0221C1.5 18.5881 2.928 20.0001 5.521 20.0001H13.979C16.572 20.0001 18 18.6141 18 16.0981V6.9731C18.004 5.7381 17.672 4.7781 17.013 4.1181C16.335 3.4381 15.29 3.0791 13.988 3.0791H5.521ZM13.979 21.5001H5.521C2.116 21.5001 0 19.4011 0 16.0221V6.9731C0 3.6451 2.116 1.5791 5.521 1.5791H13.988C15.697 1.5791 17.11 2.0911 18.075 3.0581C19.012 3.9991 19.505 5.3521 19.5 6.9751V16.0981C19.5 19.4301 17.384 21.5001 13.979 21.5001Z' fill='%23334155'/%3E%3C/g%3E%3C/svg%3E") !important;
}

.variant-image-wrapper img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border: 1px solid var(--borderColor);
  border-radius: 5px;
  background: var(--colorGray-2);
  padding: 3px;
}

.bundle-offer-title-description .line {
  border: 1px solid var(--borderColor);
}

.bundle-offer-title-description .desc {
  display: inline-block;
  border: 1px solid var(--borderColor);
  padding: 15px 25px;
  border-radius: 15px;
  background: #fff;
  position: relative;
}

.btn-badge.not-tax {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
}

.btn-badge.remain-days {
  background: #fffdf7;
  border: 1px solid #ffe493;
}

.categories-product {
  -ms-overflow-style: none; /* Internet Explorer 10+ */
  scrollbar-width: none; /* Firefox */
}

.categories-product ::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

.categories-product a {
  min-width: 40px;
}

.selectize-input {
  padding: 12px 15px !important;
}

.selectize-dropdown .selected {
  background-color: var(--mainColor) !important;
}

.custom-field-options .selectize-dropdown,
.custom-field-options .form-control.selectize-control {
  padding: 0 !important;
  border: 0 !important;
}

.selectize-dropdown {
  border-radius: 0 0 6px 6px;
  border-color: #cbd5e1 !important;
  box-shadow: 0px 1.7374637126922607px 76.44840240478516px 0px
    rgb(51 65 85 / 8%) !important;
}

[dir="rtl"] .questions-card-init .image-box {
  margin-left: 10px;
}

[dir="ltr"] .questions-card-init .image-box {
  margin-right: 10px;
}

.questions-card-init .image-box {
  margin-bottom: 18px;
}

.questions-card-init .content-box {
  margin-bottom: 18px;
}

.questions-card-init .content-box p {
  font-size: 16px;
  font-weight: 800;
}

.questions-card-init #addQuestionButton {
  font-size: 12px;
  font-weight: 500;
}

.questions .questions-btn {
  font-size: 18px;
  color: var(--mainColor);
}

.arrow-question {
  width: 20px !important;
  height: 20px !important;
}
