* {
  box-sizing: border-box;
}

body {
  font-family: Arial;
  margin: 0;
  padding: 0;
}

.catalog,
.product {
  padding: 20px;
}

.cart-item {
  border-bottom: 1px solid #555;
  padding: 5px;
}

button {
  cursor: pointer;
}

.top-notice {

  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #f97316;
  color: white;
  padding: 12px 20px;
  text-align: center;
  font-size: 15px;
  font-family: system-ui, sans-serif;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  background: linear-gradient(to bottom, #ffbb66 0%, #ffaa33 35%, #ff9500 70%, #ff7b00 100%);
}

.top-notice button {
  background: none;
  border: none;
  color: white;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  padding: 0 8px;
  line-height: 1;
  opacity: 0.9;
}

.top-notice button:hover {
  opacity: 1;
  transform: scale(1.15);
}

.top-notice.hidden {
  transform: translateY(-100%);
  transition: transform 0.4s ease;
}

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

html,
body {
  overflow-x: hidden;
}

.main {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.phones {
  padding-top: 10px;
  font-size: 15px;
  text-align: left;
}

.fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding-top: 0px;
  height: 103px;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.header.fixed .headtable {
  position: relative;
  top: 5px;
}

.header.fixed .cart_header {
  background: #f5f5f5;
  position: absolute;
  right: 0px;
  top: 0px;
  padding: 5px;
  padding-left: 15px;
  padding-bottom: 10px;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  width: 215px;
  border-radius: 10px;
}

.header.fixed .logo {
  content: url("../img/logo-small.svg");
  width: 170px;
  margin-top: -10px;
}

.header.fixed .slogan {
  display: none;
}

.header.fixed .hsearch {
  display: none;
}

.header.fixed .cityhead {
  position: relative;
  display: inline-block;
  vertical-align: middle;
}

.header.fixed .phones {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  padding-top: 0px;
  padding-left: 19px;
}

a {
  color: #1f55a1;
}

a:hover {
  color: #ee8332;
}

h1 {
  font-weight: normal;
  font-size: 36px;
  color: #2f3540;

}

h2 {
  font-weight: normal;
  font-size: 26px;
  color: #2f3540;
  padding-bottom: 15px;
}

p {
  line-height: 1.2;
  margin-bottom: 1.1em;
  margin-top: 0;
  font-size: 16px;
}

.text {
  font-size: 16px;
}

.text ul {
  margin: 1.2em 0;
  padding-left: 1.4em;
  list-style-position: outside;
}

.text ul li {
  margin-bottom: 0.65em;
  line-height: 1.0;
  font-size: 16px;
}

.text ul li:last-child {
  margin-bottom: 0;
}

ul.menu-footer-list {

  margin: 1.0em 0;
  padding-left: 1.0em;
}

ul.menu-footer-list li {
  margin-bottom: 0.45em;
  line-height: 1.0;
}

ol {
  margin: 1.2em 0;
  padding-left: 1.4em;
}

ol li {
  margin-bottom: 0.65em;
  line-height: 1.6;
}

.header {
  border-bottom: #e1eff7 1px solid;
}

.city_butt {
  border: 1px solid #dddddd;
  background: linear-gradient(180deg, white, #f6f6f6);
  padding: 4px 8px;
  padding-right: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  border-radius: 5px;
  transition: all 0.4s ease;
}

.city_butt:hover {
  border-color: transparent;
}

.slogan {
  color: #999999;
  font-size: 13px;
  position: relative;
  left: 15px;
}

.image_about img {
  box-shadow: 0 0 20px #c3ceda;
  transition: transform 0.3s ease;
  border: white 3px solid;
  margin-right: 15px;
}

.image_about img:hover {
  transform: rotate(10deg);
}

.search-form {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 700px;
}

.input-wrapper {
  position: relative;
  flex: 1;
}

.input-wrapper input {
  width: 100%;
  padding: 6px;
  border: 1px solid #dfe2e6;
  border-radius: 6px 0 0 6px;
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  border-right: none;
}

.input-wrapper input:focus {
  border-color: #9bc8fa;
}

.form__label {
  position: absolute;
  left: 10px;
  top: 7px;
  font-size: 14px;
  color: #999;
  pointer-events: none;
  transition: all 0.3s ease;
  background: white;
  padding: 0 4px;
}

.input-wrapper input:focus+.form__label,
.input-wrapper input:not(:placeholder-shown)+.form__label {
  top: -8px;
  font-size: 12px;
  color: gray;
}

.search-button {
  height: 30px;
  padding: 5px 12px;
  background-color: white;
  color: gray;
  border: 1px solid #cfd4da;
  border-left: 1px solid #cfd4da;
  border-radius: 0 6px 6px 0;
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
  margin-left: 0px;

  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.search-button:hover {
  background-color: #cfd4da;
}

.tabel {
  display: flex;
  gap: 0;
  padding-left: 10px;
}

.tabel2 {
  display: flex;
  gap: 0;
}

.tab_el_shin {
  height: 33px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: #214181;
  padding: 0 24px;
  font-weight: bold;
  border-top-left-radius: 7px;
}

.tab_el_shin span {
  color: white;
  font-size: 15px;
}

.tab_el_shin_el {
  transform: skewX(-25deg);
  background: #214181;
  height: 33px;
  width: 20px;
  margin-left: -15px;
}

.tab_el {
  transform: skewX(-25deg);
  height: 33px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: #3a66ac;
  padding: 0 24px;
  font-weight: bold;
}

.tab_el span {
  transform: skewX(25deg);
  color: white;
  font-size: 15px;
}

.tab_el:hover {
  background: #f1871f;
}

.tab_el_shin_img {
  position: relative;
  height: 40px;
  top: -7px;
  left: 70px;
}

.tab_down_el_left {
  background: #eef8fe;
  border-bottom-left-radius: 7px;
  width: 15px;

}

.tab_down_el {
  background: #eef8fe;
  border-bottom-left-radius: 7px;
  width: 999px;
  padding-top: 1px;
  padding-bottom: 8px;
  box-shadow: 0 12px 8px -8px #d6dfec;
}

.tab_down_el2 {
  background: #eef8fe;
  border-radius: 7px;
  padding-top: 1px;
  box-shadow: 0 12px 8px -8px #d6dfec;
}

.tab_down_el_right {
  transform: skewX(-25deg);
  background: #eef8fe;
  width: 50px;
  margin-left: -25px;
}

.tab_search {
  transform: skewX(-25deg);
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: #f1871f;
  width: 75px;
}

.tab_search span {
  transform: skewX(25deg);
  color: white;
  font-size: 14px;
}

.mode {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding-top: 14px;
}

.mode-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 3px 6px;
  border-radius: 7px;
  width: max-content;
  color: #3a6ea5;
  font-style: italic;

}

.mode-item input {
  display: none;

}

.mode-item span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;

  display: inline-block;
  border: #a7c6e4 1px solid;

}

.mode-item input:checked+span::before {
  background: #2f6fec;
  border: none;
  box-shadow:
    0 0 0 3px #ffffff;
  /* синяя 1px */
  border: #376db1 1px solid;
}

.mode-item:has(input:checked) {
  background: #dbe8f6;
}

.mode-item:not(:has(input:checked)) {
  color: #9bb5d3;
}

.mode-item:not(:has(input:checked)) span {
  border-bottom: 1px dashed #9bb5d3;
}

.tooltip-container {
  position: relative;
  display: inline-block;
}

.tooltip-icon {
  cursor: pointer;
  color: #275089;
  transition: 0.2s;
}

.tooltip-container:hover .tooltip-icon {
  color: #f26b00;
}

.tooltip-box {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(2%);
  width: 660px;

  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);

  font-size: 14px;
  line-height: 1.4;

  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
  z-index: 99999;
}

.tooltip-container:hover .tooltip-box {
  opacity: 1;
  visibility: visible;
}

.tooltip-box img {
  vertical-align: middle;
}

.header_fav {
  position: relative;
  width: 28px;
  height: 28px;
  background-color: #fff;
  box-shadow: 0 4px 9px rgba(0, 0, 0, .13);
  border-radius: 6px;
  box-sizing: border-box;

  display: flex;
  align-items: center;
  justify-content: center;
}

.br {
  height: 20px;
}

.cart_area {
  border-radius: 7px;
  box-shadow: 0 3px 2px #cfd9e1;
  background-color: #fafaee;
  width: 100%;
  max-width: 400px;
  padding: 10px;

}

.qty_control {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
}

.qty_btn {
  width: 50px;
  height: 50px;
  font-size: 20px;
  cursor: pointer;
}

.quantity {
  width: 50px;
  text-align: center;
  font-size: 18px;
}

.cart_btn {
  width: 100%;
  padding: 12px;
  background: #ec7022;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  font-size: 16px;
  border-radius: 6px;
}

.cart_btn:hover {
  background: #e88c4d;
}

.cart_btn4 {
  padding: 8px;
  background: #ec7022;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  font-size: 16px;
  border-radius: 6px;
  padding-left: 25px;
  padding-right: 25px;
}

.cart_btn4:hover {
  background: #e88c4d;
}

.cart_btn3 {
  padding: 8px;
  background: #eeeeee;
  color: black;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  font-size: 16px;
  border-radius: 6px;
  padding-left: 25px;
  padding-right: 25px;
}

.cart_btn3:hover {
  background: #fafafa;
}

.good-rating {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}

.bundle-star {
  fill: #FFD700;
  color: #FFD700;
  stroke: #FFD700;
  stroke-linejoin: round;
  transition: fill 0.2s ease;
  flex-shrink: 0;
}

.bundle-star:hover {
  fill: #FFEA00;
}

.bundle-star-white {
  fill: white;
  color: white;
  stroke: #FFD700;
  stroke-linejoin: round;
  transition: fill 0.2s ease;
}

.tire-specs {
  max-width: 600px;
  margin: 10px auto;
  font-family: Arial, sans-serif;
  border: 1px solid #dfe2e6;
  border-radius: 7px;
  overflow: hidden;
  background-color: #fff;
}

.tire-specs ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tire-specs li {
  display: flex;
  justify-content: space-between;
  padding: 9px 12px;
  border-bottom: 1px solid #e0e0e0;
  font-size: 15px;
  line-height: 1.4;
}

.tire-specs li:last-child {
  border-bottom: none;
}

.ulli li {
  padding-left: 10px;
}

.product-card {
  border-radius: 11px;
  width: 220px;
  background-color: #e6e6e6;
  display: inline-block;
  vertical-align: top;
  margin: 10px;
}

.product-card-ins {
  padding: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
  background-color: white;
  border-radius: 10px;
  border: #e6e6e6 1px solid;
  text-align: center;
}

.qty_control2 {
  display: flex;
  align-items: center;

  margin: 10px 0;
}

.qty_btn2 {
  width: 18px;
  height: 25px;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  border: 1px solid #e6e6e6;
  background-color: white;
  padding: 0;
  line-height: 1;
  font-size: 16px;
}

.quantity2 {
  width: 30px;
  text-align: center;
  font-size: 14px;
  height: 25px;
  border: #e6e6e6 1px solid;
  background: #e6e6e6;
  display: block;
  border-left: none;
  border-right: none;
  text-align: center;
  outline: none;
}

.cart_btn2 {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #e6e6e6;
  color: gray;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  font-size: 14px;
  border-radius: 14px;
  padding: 5px 13px;
}

.cart_icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.cart_btn2:hover {
  color: white;
  background: #e88c4d;
}

.title-with-lines {
  display: flex;
  align-items: center;
  text-align: center;
  color: #ef8435;
  margin: 35px 0 30px;
  font-size: 1.5rem;
}

.title-with-lines::before,
.title-with-lines::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #759dd9;
  margin: 20px 20px;
}

.size-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px 20px;
  margin: 30px 0;
}

.size-column {

  background: #fff;
}

.size-title {
  display: block;
  font-size: 1.35rem;
  font-weight: bold;
  color: #0066cc;
  margin-bottom: 12px;
  text-decoration: none;
}

.size-title:hover {
  color: #ef8435;
}

.size-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.size-items li {
  margin-bottom: 8px;
}

.size-items a {
  font-size: 1.02rem;
}

.size-items a:hover {
  color: #ef8435;
  text-decoration: underline;
}


.availability-box {
  position: absolute;
  top: 0;
  left: 0;

  width: 520px;
  max-width: calc(100vw - 20px);
  max-height: 300px;

  display: none;
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;

  background: #fff;
  border: 1px solid silver;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);

  z-index: 2147483647;
}

.availability-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
  font-weight: 600;
}

.close-box {
  flex-shrink: 0;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.availability-content {
  padding: 15px;
  overflow-wrap: anywhere;
}

/* Мобильные устройства */
@media screen and (max-width: 500px) {
  .availability-box {
    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    width: 100%;
    max-width: 100%;
    max-height: none;

    margin: 0;
    border-radius: 0 0 10px 10px;

    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
  }
}

.availability-box2 {
  position: absolute;
  width: 280px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  display: none;
  z-index: 1000;
  overflow: hidden;
}

.availability-box2::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 20px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 8px solid #fff;
  filter: drop-shadow(-2px 2px 2px rgba(0, 0, 0, 0.05));
}

.availability-header2 {
  padding: 12px 14px;
  font-weight: 600;
  border-bottom: 1px solid #eee;
  background: #fafafa;
}

.availability-content2 {
  max-height: 200px;
  overflow-y: auto;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.4;
}

.podeli-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 400px;
  background-color: #f6f6f8;
  border: none;
  border-radius: 7px;
  padding: 5px 10px;
  height: 38px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 3px 2px #cfd9e1;
  font-family: inherit;
  border: white 1px solid;
}

.podeli-button:hover {
  background-color: #ffffff;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.12);
  border: #dfe2e6 1px solid;
}

.podeli-logo {
  background-color: #000000;
  padding: 2px 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  flex-shrink: 0;
}

.podeli-logo img {
  display: block;
}

.podeli-slog {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #1f1f1f;
  margin-top: 3px;
  white-space: nowrap;
  margin-left: auto;
}

.podeli-button.active .podeli-slog svg {
  transform: rotate(270deg);
}

#podeliWidget {
  display: none;
  margin-top: 6px;
}

.podeli-button.active+.podeli_widget {
  display: block;
}

.spinner {
  width: 18px;
  height: 18px;
  border: 3px solid #ccc;
  border-top: 3px solid #000;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.tabs {
  display: flex;
  gap: 32px;
  align-items: center;
  font-family: Arial, sans-serif;
}

.tab {
  position: relative;
  background: none;
  border: none;
  font-size: 16px;
  line-height: 1;
  color: #2b6cb0;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
}

.tab::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  border-bottom: 1px dashed #bcd;
}

.tab:hover {
  color: #1e4f8a;
}

.tab.active-blue {
  background: linear-gradient(180deg, #285997, #429de4);
  color: white;
  box-shadow: inset 0 4px 6px -2px rgba(0, 0, 0, 0.4), inset 2px 0 4px -2px rgba(0, 0, 0, 0.2), inset -2px 0 4px -2px rgba(0, 0, 0, 0.2);
}

.tab.active-blue::after {
  display: none;
}

.badge {
  background: #2b6cb0;
  color: white;
  font-size: 12px;
  padding: 3px 6px;
  border-radius: 6px;
  margin-left: 6px;
}

.tab.active-blue .badge {
  background: white;
  color: #2b6cb0;
}

.tab-content {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  display: none;
  margin-top: 24px;
  font-size: 18px;
}

.tab-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.favorite-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding-right: 25px;
}

.favorite-link {
  text-decoration: dashed underline;
  font-size: 16px;
}

.order_act {
  padding: 7px;
  border-radius: 9px;
  background-color: #ec7022;
  color: white;
  text-decoration: none;
  padding-left: 20px;
  padding-right: 20px;
}

a.order_act:hover {
  color: white;
}

.order_pass {
  padding: 6px;
  border-radius: 9px;
  background-color: white;
  color: #ec762c;
  text-decoration: none;
  padding-left: 20px;
  padding-right: 20px;
  border: #ec762c 1px solid;
}

.payment_el {
  border: white 2px solid;
  cursor: pointer;
  border-radius: 10px;
  padding: 9px;
  background-color: white;
  width: 130px;
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
  color: #3575e4
}

.payment_el:hover {
  background-color: #f8f5e3
}

.payment_el_act {
  background-color: #dbdbdb;
  border: #ec7022 2px solid;
  color: #ec7022
}


.revadd_el {
  border: silver 1px solid;
  cursor: pointer;
  border-radius: 7px;
  padding: 9px;
  background-color: white;
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
  color: #3575e4
}

.revadd_el:hover {
  background-color: #f8f5e3
}

.revadd_el_act {
  background-color: #f8f5e3;
  border: #ec7022 1px solid;
  color: #ec7022
}

.wrapper {
  display: flex;
  flex-direction: column;
  align-items: left;
  gap: 10px;
}

.loading_row {
  display: flex;
  gap: 8px;
}

.loader {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #2b6ef3;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
}

.loader3 {
  position: relative;
  top: 10px;
  width: 80px;
  height: 80px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.text_loader {
  font-size: 16px;
  color: #6b7280;
  animation: blink 1.2s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

.success {
  display: none;
  align-items: left;
  justify-content: left;
  flex-direction: row;
  gap: 8px;
  color: green;
  font-size: 16px;
}

.checkmark {
  font-size: 20px;
}

.qty_control {
  display: flex;
  align-items: stretch;
}

.qty_control * {
  margin: 0;
  font-size: 22px;
}

.qty_btn {
  display: block;
  width: 35px;
  height: 35px;
  border: 1px solid #d4d4d4;
  background: linear-gradient(to bottom, #fff, #f0f0f0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  padding: 0;
  line-height: 1;
  cursor: pointer;
}

.qty_control input {
  display: block;
  width: 45px;
  height: 35px;
  border-top: 1px solid silver;
  border-bottom: 1px solid silver;
  border-left: none;
  border-right: none;
  text-align: center;
  outline: none;
  box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.1);
}

.qty_btn.left {
  border-right: none;
  border-radius: 3px 0 0 3px;
}

.qty_btn.right {
  border-left: none;
  border-radius: 0 3px 3px 0;
}

.payment-card {
  width: 340px;
  margin: 80px auto;
  padding: 20px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.security {
  font-size: 11px;
  color: #4caf50;
}

.field {
  margin-bottom: 10px;
}

label {
  font-size: 11px;
  color: #555;
  display: block;
  margin-bottom: 3px;
}

input.card_input {
  width: 50px;
  padding: 9px;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: 13px;
}

input.card_input:focus {
  border-color: #2b6ef3;
  outline: none;
}

#payBtn {
  width: 340px;
  padding: 11px;
  border: none;
  border-radius: 6px;
  background: orange;
  color: white;
  font-size: 13px;
  margin-top: 10px;
  opacity: 0.5;
  cursor: pointer;
}

#payBtn.active {
  opacity: 1;
}

.error {
  color: red;
  font-size: 11px;
  margin-top: 3px;
  padding-bottom: 10px;
}

.loader2 {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #2b6ef3;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  margin: 0 auto 10px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.loading-text {
  font-size: 13px;
  color: #555;
  text-align: center;
}

.product-gallery {
  width: 100%;
  max-width: 300px;
}

.main-image-wrapper {
  position: relative;
}

.main-image {
  width: 300px;
  height: auto;
  object-fit: cover;
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.12),
    0 2px 4px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

.nav.prev {
  left: -22px;
}

.nav.next {
  right: -22px;
}

.nav:hover {
  transform: translateY(-50%) scale(1.08);
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.18),
    0 3px 6px rgba(0, 0, 0, 0.12);
}

.nav:active {
  transform: translateY(-50%) scale(0.95);
}

.nav svg {
  display: block;
}

.rotate {
  transform: rotate(180deg);
}

.thumbnails {
  overflow: hidden;
  width: 300px;
  padding-top: 13px;
}

.thumbnails-track {
  display: flex;
  gap: 10px;
  width: max-content;
  transition: transform 0.3s ease;
}

.thumbnail {
  min-width: 90px;
  height: 90px;
  opacity: 0.6;
  cursor: pointer;
}

.thumbnail.active {
  border: 1px solid orange;
  opacity: 1;
}

.header-top {

  background: linear-gradient(180deg, #f7f8fa, #e1e2e3);
  padding: 5px 0;
  border-bottom: 1px solid #d5d6d7;
}

.header-top .container {
  display: flex;
  align-items: center;
}

.main-menu {
  display: flex;
  flex-direction: row;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 768px) {
  .main-menu {
    flex-wrap: wrap;
  }
}

.menu-item {
  position: relative;
}

.menu-item+.menu-item {
  margin-left: 18px;
}

.menu-link {
  display: flex;
  align-items: center;
  padding: 0 10px;
  height: 24px;
  background: #fff;
  border-radius: 5px;
  font-size: 13px;
  line-height: 24px;
  letter-spacing: 0.5px;
  color: #1e2022;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.menu-link:hover {
  box-shadow: 0 5px 6px 0 rgba(0, 0, 0, 0.1);
}

.menu-icon {
  margin-right: 4px;
}

.menu-text {}

.submenu-arrow {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid #434343;
}

.menu-item--with-submenu:hover .submenu {
  display: block;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding: 8px 12px;
  margin: 0;
  list-style: none;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  border-radius: 0 0 6px 6px;
  min-width: 180px;
  z-index: 10;
  font-size: 13px;
  white-space: nowrap;
}

.submenu li {
  padding: 4px 0;
}

.submenu a {
  color: #1e2022;
  text-decoration: none;
  display: block;
}

.submenu a:hover {
  color: #0054a6;
  text-decoration: underline;
}

.menu-item--active .menu-link {
  font-weight: 600;
  color: #0054a6;
  background: #f0f5ff;
}

.menu-link-wrapper {
  display: flex;
}



#manager_status {
    opacity: 1;
    transition: opacity 0.8s ease-in-out;
}

#manager_status.typing {
    animation: managerStatusBlink 1.4s ease-in-out infinite;
}

@keyframes managerStatusBlink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.35;
    }
}

#chat-window2 {
  width: 360px;
  height: 300px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border:white 1px solid;
}

#chat-window2.hidden {
  display: none;
}

#chat-header2 {
  color: white;
  font-weight: bold;
  background-color: #f8f9fa;
  padding:7px;
  text-align: right;
  padding-right:10px;
}

#close-chat2 {
  cursor: pointer;
  color:silver;
  font-size: 25px;
}

#chat-messages2 {
  flex-grow: 1;
  padding: 15px;
  overflow-y: auto;
  background-color: #f8f9fa;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.message2 {
  max-width: 80%;
  padding: 10px 15px;
  border-radius: 15px;
  font-size: 14px;
  line-height: 1.4;
}

.message2.user2 {
  background-color: #ea9347;
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.message2.model2 {
  background-color: #e9ecef;
  color: black;
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.typing-indicator2 {
  font-style: italic;
  color: #6c757d;
  font-size: 12px;
  align-self: flex-start;
  animation: pulse 2.2s infinite ease-in-out;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.10;
  }

  50% {
    opacity: 1.00;
  }
}

#chat-input-area2 {
  display: flex;
  padding: 8px;
  border-top: 1px solid #dee2e6;
  background: white;
}

#chat-input2 {
  flex-grow: 1;
  padding: 10px;
  border: 1px solid #ced4da;
  border-radius: 8px;
  outline: none;
}

#chat-send2 {
  background-color: #f17324;
  color: white;
  border: none;
  border-radius: 7px;
  padding: 0 15px;
  margin-left: 6px;
  cursor: pointer;
}

#chat-send2:disabled,
#chat-input2:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

#map {
  width: 835px;
  height: 500px;
}

#sidebar {
  width: 100%;
  height: 500px;
  padding: 5px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #b7d5e6 transparent;
}

.card {
  margin-bottom: 10px;
  padding: 12px 10px;
  border: 1px solid #b7d5e6;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: background 0.2s;
}

.card:hover {
  background: #f0f0f0;
}

#sidebar::-webkit-scrollbar {
  width: 8px;
}

#sidebar::-webkit-scrollbar-track {
  background: transparent;
}

#sidebar::-webkit-scrollbar-thumb {
  background-color: #b7d5e6;
  border-radius: 10px;
  border: none;
}

#sidebar::-webkit-scrollbar-thumb:hover {
  background-color: #b7d5e6;
}

.footer {
  background: #efefef;
  box-shadow: inset 0 25px 30px -30px #999;
  padding: 25px 0;
}

.footer .menu-footer .menu-footer-list {
  list-style: none;
  margin: 0 30px 0 0;
  padding: 0;
}

.footer .menu-footer .menu-footer-list li:first-child {
  margin-bottom: 7px;
}

.footer .menu-footer a {
  font-size: 14px;
  color: #000;
  border-color: #000;
}

.footer .menu-footer a:focus,
.footer .menu-footer a:hover {
  color: #fe7c00;
  border-color: rgba(254, 124, 0, 0.3);
}

.footer .footer-collapse ul {
  list-style: none;
  padding: 10px 0;
  background: #efefef;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 12px;
  margin: 6px 10px;
}

.footer .footer-collapse ul li {
  padding: 7px 15px;
}

.footer .footer-collapse ul a {
  color: inherit;
}

.footer .content iframe {
  height: 50px !important;
}

.footer .footer-offer {
  width: 100%;
  margin: 15px 0 0;
  color: #999;
  font-size: 10.6px;
  line-height: 200%;
}

.footer .copyrights {
  line-height: 120%;
}

.footer .copy {
  color: #999;
  padding-bottom: 20px;
}

.footer .copyrights p,
.footer .counters p {
  padding-bottom: 10px;
  margin: 0;
}

@media (max-width: 1009.98px) {
  .footer .menu-footer .menu-footer-list {
    line-height: 27px;
  }

  .footer .link-social {
    margin: 10px 8px 5px 0 !important;
  }
}

.d-md-flex {
  display: flex !important
}

.container {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  transform: skewX(-25deg);
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-transform: skewX(-25deg);
  -ms-transform: skewX(-25deg);
  transform: skewX(-25deg);
  cursor: pointer;
}

.btn span {
  transform: skewX(25deg);
  color: white;
  font-size: 14px;
  -webkit-transform: skewX(25deg);
  -ms-transform: skewX(25deg);
  transform: skewX(25deg);

}

.search {
  background: #f1871f;
  width: 40px;
  padding: 0 15px;

}

.close {
  background: #aeb8bf;
  width: 10px;
  padding: 0 15px;

}



.cities-list {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.cities-group {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-bottom: 5px;
}

.cities-letter {
    width: 60px;
    padding: 5px;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    box-sizing: border-box;
}

.cities-items {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2px 10px;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.city-item {
    min-width: 0;
    padding: 1px 15px 1px 1px;
    box-sizing: border-box;
}

.city-item a {
    display: block;
    max-width: 100%;
    text-decoration: none;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.city-item strong {
    color: black;
}






.city-search {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

#citySearch {
    width: 100%;
    height: 45px;
    padding: 0 15px;
    box-sizing: border-box;

    border: 1px solid #ccc;
    border-radius: 4px;

    font-size: 16px;
}



#citySearchResults {
    display: none;

    position: absolute;
    z-index: 99999;

    top: 45px;
    left: 0;
    right: 0;

    max-height: 300px;
    overflow-y: auto;

    background: #fff;
    border: 1px solid #ddd;
    box-sizing: border-box;
}

.city-search-item {
    display: block;
    padding: 10px 15px;

    color: #1f5aa6;
    background: #fff;

    text-decoration: none;
    font-size: 17px;

    border-bottom: 1px solid #eee;
}

.city-search-item:hover {
    background: #f5f5f5;
}

.city-search-empty {
    padding: 10px 15px;
    color: #777;
}



#siteSearchResults {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1000;
  display: none;
  background: #fff;
  border: 1px solid #dfe2e6;
  border-top: 0;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.08);

  overflow: hidden;
}

#siteSearchResults2 {
  z-index: 1000;
  display: none;
  background: #fff;
  border: 1px solid #dfe2e6;
  border-top: 0;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.08);
  position: absolute !important;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 1000;
  float: none !important;
}

.site-search-item {
    display: block;
    padding: 10px 15px;

    color: #1f5aa6;
    background: #fff;

    text-decoration: none;
    font-size: 15px;

    border-bottom: 1px dashed #eee;
}

.site-search-item:hover {
    background: #f5f5f5;
}

.site-search-empty {
    padding: 10px 15px;
    color: #777;
}

.ui-order-map-list{
    width:300px;
}

.ui-order-map-img{
    width:200px;
}




.order-map {
    display: flex;
    width: 100%;
    gap: 20px;
}

.order-map__map {
    flex: 1;
    width: 100%;
    height: 500px;
}

.ui-order-map-list {
    width: 300px;
    flex-shrink: 0;
}


.ui-order-city{
  width: 400px;border-radius:6px;height:38px; border:#dfe2e6 1px solid; padding:15px;margin-top:5px; font-size:16px;
}

.ui-order-comm{
  width: 400px; height:100px;border-radius:6px;border:#dfe2e6 1px solid; padding:15px;margin-top:5px; font-size:16px;
}


.ui-order-next{padding:15px;padding-top:30px;}

.ui-order-td2{padding-left:15px;}
.ui-order-td3{padding-left:15px;padding-right:12px;}


#show_manager_status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.manager-status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #999999;
    flex-shrink: 0;
}

.manager-status-text {
    font-size: 12px;
    color: #999999;
}

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

.filter-ship {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  white-space: nowrap;
  font-size:14px;
  position:relative;
  left:241px;
  top:-3px;
  display:none;
}

.filter-ship.is-visible {
  display: flex;
}

.rating {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 4px;
    margin-bottom: 7px;
    padding-left:5px;
    padding-right:8px;
}

.rating_txt {
    font-size: 12px;
    color: gray;
    white-space: nowrap;
    margin-left: 10px;
}

.star-rating {
    position: relative;
    display: inline-block;
    --star-size: 18px;
    --star-gap: 0px;
    --stars-count: 5;
    --rating: 4.3;

    width: calc(var(--stars-count) * var(--star-size) + (var(--stars-count) - 1) * var(--star-gap));
    height: var(--star-size);
}

.star-rating__empty,
.star-rating__filled {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-repeat: repeat-x;
    background-size: calc(var(--star-size) + var(--star-gap)) var(--star-size);
}

.star-rating__empty {
    width: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M12 2.2c.2 0 .4.1.5.3l2.6 5.3 5.8.8c.3 0 .5.4.2.7l-4.2 4.1 1 5.8c0 .3-.3.6-.6.4L12 17.9l-5.3 2.7c-.3.2-.6-.1-.6-.4l1-5.8-4.2-4.1c-.3-.3-.1-.7.2-.7l5.8-.8 2.6-5.3c.1-.2.3-.3.5-.3z'/%3E%3C/svg%3E");
    filter:
        drop-shadow(0.5px 0 0 #e89420)
        drop-shadow(-0.5px 0 0 #e89420)
        drop-shadow(0 0.5px 0 #e89420)
        drop-shadow(0 -0.5px 0 #e89420);
}

.star-rating__filled {
    width: calc(var(--rating) / var(--stars-count) * 100%);
    overflow: hidden;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23e89420' d='M12 2.2c.2 0 .4.1.5.3l2.6 5.3 5.8.8c.3 0 .5.4.2.7l-4.2 4.1 1 5.8c0 .3-.3.6-.6.4L12 17.9l-5.3 2.7c-.3.2-.6-.1-.6-.4l1-5.8-4.2-4.1c-.3-.3-.1-.7.2-.7l5.8-.8 2.6-5.3c.1-.2.3-.3.5-.3z'/%3E%3C/svg%3E");
}



#reviewForm .review-star-rating {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    --star-size: 24px;
    --star-gap: 0px;
    --stars-count: 5;
    --rating: 10;
    width: calc(var(--stars-count) * var(--star-size) + (var(--stars-count) - 1) * var(--star-gap));
    height: var(--star-size);
    cursor: pointer;
    user-select: none;
    touch-action: manipulation;
}

#reviewForm .review-star-rating__empty,
#reviewForm .review-star-rating__filled {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-repeat: repeat-x;
    background-size: calc(var(--star-size) + var(--star-gap)) var(--star-size);
    pointer-events: none;
}

#reviewForm .review-star-rating__empty {
    width: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M12 2.2c.2 0 .4.1.5.3l2.6 5.3 5.8.8c.3 0 .5.4.2.7l-4.2 4.1 1 5.8c0 .3-.3.6-.6.4L12 17.9l-5.3 2.7c-.3.2-.6-.1-.6-.4l1-5.8-4.2-4.1c-.3-.3-.1-.7.2-.7l5.8-.8 2.6-5.3c.1-.2.3-.3.5-.3z'/%3E%3C/svg%3E");
    filter:
        drop-shadow(0.5px 0 0 #e89420)
        drop-shadow(-0.5px 0 0 #e89420)
        drop-shadow(0 0.5px 0 #e89420)
        drop-shadow(0 -0.5px 0 #e89420);
}

#reviewForm .review-star-rating__filled {
    width: calc(var(--rating) / 10 * 100%);
    overflow: hidden;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23e89420' d='M12 2.2c.2 0 .4.1.5.3l2.6 5.3 5.8.8c.3 0 .5.4.2.7l-4.2 4.1 1 5.8c0 .3-.3.6-.6.4L12 17.9l-5.3 2.7c-.3.2-.6-.1-.6-.4l1-5.8-4.2-4.1c-.3-.3-.1-.7.2-.7l5.8-.8 2.6-5.3c.1-.2.3-.3.5-.3z'/%3E%3C/svg%3E");
}

#reviewForm .review-star-rating:focus-visible {
    outline: 2px solid #e89420;
    outline-offset: 4px;
}

#reviewForm #reviewRatingValue {
    display: inline-block;
    margin-left: 8px;
    font-size: 13px;
    color: #666;
}

.modal_rev_add{
  width:350px;
}
