

/* Start:/local/templates/yokohama-b2c/components/bitrix/catalog.element/shop_catalog/style.css?17512925776438*/
.table__tr[data-is-link="true"] {
  cursor: pointer;
}

#toBasket.is-active {
  color: #fff;
  background-color: #53b124;
  border-color: #53b124;
}

.review {
  font-family: Arial, sans-serif;
  padding: 20px;
  color: #333;
}
.review-header {
  margin-bottom: 25px;
}
.review-header h1 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.review-item {
	max-width: 600px;
  margin-bottom: 30px;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
 	border-left: 4px solid #D70029; 
  padding-left: 12px;
  padding-top: 15px;
	background-color: #f9f9f9;
}

.user-info {
  margin-bottom: 10px;
}

.date {
	float: right;
  font-size: 14px;
  color: #666;
  margin-right: 15px;
}

.username {
  font-size: 16px;
}

.comment {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.rating {
  font-size: 24px;
  color: #FFD700; 
}

.no-star {
  margin-right: 2px;
  color: #b8b8b8; 
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.title-for-type-text{
  color: black;
	font-weight: bold;         
  font-size: 16px;          
  line-height: 100%;         
  letter-spacing: 0%;
}

.popup-add-comment {
  display: none; 
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.4);
}

.popup-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 40px 40px 20px 40px;
  width: 500px;
  clip-path: polygon(
    40px 0,       
    100% 0,       
    100% 100%,    
    0 100%,       
    0 40px        
  );
}

.close {
  position: absolute;
  right: 40px;
  top: 30px;
  font-size: 28px;
  cursor: pointer;
  color: black; 
  transition: color 0.3s ease, transform 0.3s ease;
}

.close:hover {
  color: #d70029; 
  transform: scale(1.3); 
}

.custom-line {
  border: none; 
  background-color: #d70029; 
  color: #d70029; 
  height: 3px; 
  width: 130px; 
  margin: 0; 
  margin-bottom: 5px;
}

.center-wrapper{
  margin-top: 20px;
  text-align: center;
}
.warning-text{
  color: #D70029;
}

.title-popup {
  margin-top: 0;
  margin-bottom: 10px;
}

.form-group {
  margin-bottom: 5px;
}

.form-group label {
  position: relative;
  top: 2px;
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

.form-group .title-for-raiting {
  position: relative;
  top: 2px;
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

.caption{
  font-weight: normal !important;
  font-size: 14px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.checkbox-group {
  display: flex;
  align-items: self-start;
}

.checkbox-group input {
  vertical-align: text-top;
  width: 26px;
  height: 26px;
  margin-right: 10px;
}

.rating-stars {
  cursor: pointer;
  font-size: 40px;
  display: inline-block;
}

.star-add {
  color: #ccc;
  cursor: pointer;
  display: inline-block;
  transition: color 0.2s;
}

.star-add.active {
  color: #ffc107; 
}

.rating-stars:hover .star-add {
  color: #ffc107; 
}

.rating-stars .star-add:hover ~ .star-add {
  color: #ccc; 
}

.rating-container p {
  cursor: pointer;
  margin-bottom: 8px;
  font-weight: bold;
}

.input-error {
  border: 2px solid red !important;
  transition: border-color 0.3s ease;
}

.rating-stars .star-add.input-error {
  border: none !important;
  text-shadow:
    -1px -1px 0 red,
    1px -1px 0 red,
    -1px 1px 0 red,
    1px 1px 0 red;
}

.popup-end-comment {
  position: fixed;
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  color: rgb(0, 0, 0);
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  font-size: 16px;
  transition: opacity 0.5s ease-in-out;
}

.popup-end-content{
  position: fixed;
  top: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  padding: 17px 40px 17px 40px;
  width: 300px;
  border-radius: 15px;
  opacity: 0; 
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: opacity 0.5s ease;
}

.popup-end-content.show {
  opacity: 1;
}

.popup-end-content.hide {
  opacity: 0;
}

.review-btn-mobile {
  display: none !important;
}

@media (max-width: 600px) {
  .review-btn-mobile {
      display: flex !important;
      justify-content: center;
      max-width: 350px;
      margin: 20px auto 0 auto;
  }
  .review-btn-desktop {
      display: none !important;
  }
  .review-button-wrapper {
      display: flex;
      justify-content: center;
  }
}

@media (max-width: 1024px) {
  .popup-content {
      width: 400px; 
      padding: 40px 30px 20px 30px;
  }
}

@media (max-width: 480px) {
  .popup-end-comment{
    top: 10%;
  }
  .popup-content {
    width: 100vw;
    height: 86vh;
    top: 3%;
    left: 0;
    transform: none;
    padding: 30px 25px 15px 25px;
    padding-top: 45px;
    border-radius: 0;
    overflow-y: auto;
  }
  .custom-line {
    width: 113px; 
  }
}

.info-icon {
  top: 4px;
  display: inline-block;
  align-items: center;
  cursor: pointer;
  position: relative;
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

.info-icon:hover {
  transform: scale(1.1);
}

.info-icon svg {
  width: 100%;
  height: 100%;
}

.info-icon:hover path {
  stroke: #0066b3; /* Синий цвет YOKOHAMA при наведении */
}

.username-tooltip {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 100%;
  margin-bottom: 12px;
  width: 240px;
  padding: 12px 16px;
  background-color: #333;
  color: #fff;
  border-radius: 4px;
  font-size: 11px;
  line-height: 1.5;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 1000;
  font-family: Arial, sans-serif;
}

.username-tooltip:after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -6px;
  border-width: 6px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}

.info-icon:hover .username-tooltip {
  display: block;
  animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(5px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.captcha-row {
  display: flex;
  align-items: center; 
  gap: 10px; 
}

.no-scroll {
  overflow: hidden;
  height: 100vh;
}
/* End */
/* /local/templates/yokohama-b2c/components/bitrix/catalog.element/shop_catalog/style.css?17512925776438 */
