/* CSS переменные для дизайна */
:root {
  --black: #272727;
  --white: #ffffff;
  --gray-bg: #f7f7f7;
  --gray-stroke: #b6b6b6;
  --gray-text: #454545;
  --red-color: #ec4e0f;
  --dark-accent: #6e3514;
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-medium: 'Inter-Medium', 'Inter', sans-serif;
  --font-regular: 'Inter-Regular', 'Inter', sans-serif;
  --font-light: 'Inter-Light', 'Inter', sans-serif;
  --border-radius: 15px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* Основные стили для страницы оформления заказа */
.checkout-page-main {
  min-height: 100vh;
  background: var(--white, #ffffff);
  padding: 40px 0;
}

.checkout-container {
  max-width: 1320px;
  margin: 0 auto;
}

.frame-137,
.frame-137 * {
  box-sizing: border-box;
}
.frame-137 {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: flex-start;
  justify-content: flex-start;
  flex-shrink: 0;
  position: relative;
}
.frame-137__div {
  color: var(--black, #272727);
  text-align: left;
  font-family: var(--h2-desctop-font-family, "Inter-Regular", sans-serif);
  font-size: var(--h2-desctop-font-size, 48px);
  line-height: var(--h2-desctop-line-height, 110%);
  font-weight: var(--h2-desctop-font-weight, 400);
  position: relative;
  align-self: stretch;
}
.frame-137__frame-136 {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}
.frame-137__frame-135 {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}
.frame-137__checkout-form {
  display: flex;
  flex-direction: column;
  gap: 55px;
  align-items: flex-start;
  justify-content: flex-start;
  flex-shrink: 0;
  width: 580px;
  position: relative;
}
.frame-137__form {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}
.frame-137__frame-126 {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}
.frame-137__div2 {
  color: var(--black, #272727);
  text-align: left;
  font-family: var(--h3-desctop-font-family, "Inter-Medium", sans-serif);
  font-size: var(--h3-desctop-font-size, 28px);
  line-height: var(--h3-desctop-line-height, 130%);
  font-weight: var(--h3-desctop-font-weight, 500);
  position: relative;
  align-self: stretch;
}
.frame-137__frame-88 {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}
.frame-137__frame-87 {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}
.frame-137__frame-125 {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}
.frame-137__input {
  border-radius: 8px;
  border-style: solid;
  border-color: var(--gray-stroke, #b6b6b6);
  border-width: 1px;
  padding: 18px 20px 18px 20px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  flex: 1;
  position: relative;
  overflow: hidden;
}
.frame-137__div3 {
  color: var(--gray-text, #454545);
  text-align: left;
  font-family: var(--body-regular-font-family, "Inter-Regular", sans-serif);
  font-size: var(--body-regular-font-size, 16px);
  line-height: var(--body-regular-line-height, 145%);
  font-weight: var(--body-regular-font-weight, 400);
  opacity: 0.8;
  position: relative;
}
.frame-137__input2 {
  border-radius: 8px;
  border-style: solid;
  border-color: var(--gray-stroke, #b6b6b6);
  border-width: 1px;
  padding: 18px 20px 18px 20px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  height: 59px;
  position: relative;
  overflow: hidden;
}
.frame-137__deliveri {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}
.frame-137__frame-162 {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}
.frame-137__frame-132 {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}
.frame-137__radio-button {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  position: relative;
  margin-bottom: 15px;
  cursor: pointer;
}
.frame-137__rario {
  border-radius: 50%;
  border-style: solid;
  border-color: var(--gray-stroke, #b6b6b6);
  border-width: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}
.frame-137__ellipse-5 {
  background: var(--dark-accent, #6e3514);
  border-radius: 50%;
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  position: relative;
  display: block;
}
.frame-137__div4 {
  color: var(--black, #272727);
  text-align: left;
  font-family: var(--body-regular-font-family, "Inter-Regular", sans-serif);
  font-size: var(--body-regular-font-size, 16px);
  line-height: var(--body-regular-line-height, 145%);
  font-weight: var(--body-regular-font-weight, 400);
  opacity: 0.8;
  position: relative;
  cursor: pointer;
  transition: color 0.3s ease;
}
.frame-137__frame-130 {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}
.frame-137__frame-882 {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}
.frame-137__pay {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}
.frame-137__button {
  background: var(--red-color, #ec4e0f);
  border-radius: 100px;
  padding: 15px 30px 15px 30px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.frame-137__div5 {
  color: var(--white, #ffffff);
  text-align: left;
  font-family: "Inter-Medium", sans-serif;
  font-size: 18px;
  line-height: 145%;
  font-weight: 500;
  position: relative;
}
.frame-137__frame-138 {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  position: relative;
}
.frame-137__frame-124 {
  border-radius: 20px;
  border-style: solid;
  border-color: var(--gray-stroke, #b6b6b6);
  border-width: 1px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  justify-content: flex-start;
  flex-shrink: 0;
  width: 650px;
  position: relative;
}
.frame-137__frame-117 {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}
.frame-137__frame-119 {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}
.frame-137__div6 {
  color: var(--black, #272727);
  text-align: left;
  font-family: var(--h3-desctop-font-family, "Inter-Medium", sans-serif);
  font-size: var(--h3-desctop-font-size, 28px);
  line-height: var(--h3-desctop-line-height, 130%);
  font-weight: var(--h3-desctop-font-weight, 500);
  position: relative;
}
.frame-137__frame-121 {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}
.frame-137__product-cart {
  flex-shrink: 0;
  width: 611px;
  height: 126px;
  position: relative;
}
.frame-137__frame-112 {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  width: 611px;
  position: absolute;
  left: 0px;
  top: 0px;
}
.frame-137__frame-118 {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: flex-start;
  justify-content: flex-start;
  flex: 1;
  position: relative;
}
.frame-137__image-1 {
  border-radius: 10px;
  flex-shrink: 0;
  width: 186px;
  height: 126px;
  position: relative;
  object-fit: cover;
}
.frame-137__frame-113 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}
.frame-137__frame-116 {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
  justify-content: flex-start;
  flex-shrink: 0;
  position: relative;
}
.frame-137__pink {
  color: var(--black, #272727);
  text-align: left;
  font-family: var(--title-20-desctop-font-family, "Inter-Medium", sans-serif);
  font-size: var(--title-20-desctop-font-size, 20px);
  line-height: var(--title-20-desctop-line-height, 140%);
  font-weight: var(--title-20-desctop-font-weight, 500);
  position: relative;
}
.frame-137___0-5-0-8-2 {
  color: var(--black, #272727);
  text-align: left;
  font-family: "-", sans-serif;
  font-size: 16px;
  line-height: 145%;
  font-weight: 400;
  position: relative;
}
._0-5-0-8-2-span {
  font-family: var(--body-medium-font-family, "Inter-Medium", sans-serif);
  font-size: var(--body-medium-font-size, 16px);
  line-height: var(--body-medium-line-height, 145%);
  font-weight: var(--body-medium-font-weight, 500);
}
._0-5-0-8-2-span2 {
  font-family: var(--body-light-font-family, "Inter-Light", sans-serif);
  font-size: var(--body-light-font-size, 16px);
  line-height: var(--body-light-line-height, 145%);
  font-weight: var(--body-light-font-weight, 300);
}
.frame-137__frame-115 {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  position: relative;
}
.frame-137__frame-160 {
  border-radius: 5px;
  border-style: solid;
  border-color: var(--gray-bg, #f7f7f7);
  border-width: 1px;
  display: flex;
  flex-direction: row;
  gap: 0px;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.frame-137__btn {
  background: var(--gray-bg, #f7f7f7);
  padding: 10px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 30px;
  position: relative;
}
.frame-137__group {
  flex-shrink: 0;
  width: 10px;
  height: 1.43px;
  position: relative;
  overflow: visible;
}
.frame-137__number {
  padding: 10px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 30px;
  position: relative;
}
.frame-137___1 {
  color: var(--black, #272727);
  text-align: left;
  font-family: "Inter-Light", sans-serif;
  font-size: 15.696969985961914px;
  font-weight: 300;
  position: relative;
}
.frame-137__btn2 {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: auto;
  position: relative;
  overflow: visible;
}
.frame-137___390 {
  color: var(--black, #272727);
  text-align: left;
  font-family: "Inter-Medium", sans-serif;
  font-size: 20px;
  font-weight: 500;
  position: relative;
}
.frame-137__div7 {
  color: var(--gray-stroke, #b6b6b6);
  text-align: left;
  font-family: "Inter-Regular", sans-serif;
  font-size: 14px;
  font-weight: 400;
  position: relative;
  width: 66px;
  height: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}
._0-5-0-8-2-span {
  font-family: var(--body-medium-font-family, "Inter-Medium", sans-serif);
  font-size: var(--body-medium-font-size, 16px);
  line-height: var(--body-medium-line-height, 145%);
  font-weight: var(--body-medium-font-weight, 500);
}
._0-5-0-8-2-span2 {
  font-family: var(--body-light-font-family, "Inter-Light", sans-serif);
  font-size: var(--body-light-font-size, 16px);
  line-height: var(--body-light-line-height, 145%);
  font-weight: var(--body-light-font-weight, 300);
}
.frame-137__group2 {
  flex-shrink: 0;
  width: 10px;
  height: 1.43px;
  position: relative;
  overflow: visible;
}
.frame-137__btn3 {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: auto;
  position: relative;
  overflow: visible;
}
.frame-137__frame-123 {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-end;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}
.frame-137__line-2 {
  margin-top: -1px;
  border-style: solid;
  border-color: var(--gray-stroke, #b6b6b6);
  border-width: 1px 0 0 0;
  align-self: stretch;
  flex-shrink: 0;
  height: 0px;
  position: relative;
}
.frame-137__frame-1192 {
  display: flex;
  flex-direction: row;
  gap: 15px;
  align-items: center;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}
.frame-137__div8 {
  color: var(--black, #272727);
  text-align: left;
  font-family: var(--body-regular-font-family, "Inter-Regular", sans-serif);
  font-size: var(--body-regular-font-size, 16px);
  line-height: var(--body-regular-line-height, 145%);
  font-weight: var(--body-regular-font-weight, 400);
  position: relative;
}
.frame-137___780 {
  color: var(--black, #272727);
  text-align: left;
  font-family: "Inter-Medium", sans-serif;
  font-size: 22px;
  font-weight: 500;
  position: relative;
}
.frame-137__button2 {
  border-style: solid;
  border-color: var(--dark-accent, #6e3514);
  border-width: 0px 0px 1px 0px;
  padding: 2px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.frame-137__button2 button {
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.frame-137__button2 button:hover {
  opacity: 0.8;
}
.frame-137__div9 {
  color: var(--dark-accent, #6e3514);
  text-align: left;
  font-family: "Inter-Medium", sans-serif;
  font-size: 18px;
  line-height: 145%;
  font-weight: 500;
  position: relative;
}
.frame-137__frame-882 .frame-137__input2 {
  margin-top: 10px;
}

/* Стили для полей города и отделения */
.frame-137__frame-882 .frame-137__input2 input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-family: var(--body-regular-font-family, "Inter-Regular", sans-serif);
  font-size: var(--body-regular-font-size, 16px);
  line-height: var(--body-regular-line-height, 145%);
  color: var(--black, #272727);
}

.frame-137__frame-882 .frame-137__input2 input::placeholder {
  color: var(--gray-text, #454545);
  opacity: 0.8;
}

.frame-137__frame-882 .frame-137__input2:focus-within {
  border-color: var(--dark-accent, #6e3514);
  box-shadow: 0 0 0 3px rgba(110, 53, 20, 0.1);
}

/* Стили для полей имени, фамилии и номера телефона */
.frame-137__input input,
.frame-137__input2 input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-family: var(--body-regular-font-family, "Inter-Regular", sans-serif);
  font-size: var(--body-regular-font-size, 16px);
  line-height: var(--body-regular-line-height, 145%);
  color: var(--black, #272727);
}

.frame-137__input input::placeholder,
.frame-137__input2 input::placeholder {
  color: var(--gray-text, #454545);
  opacity: 0.8;
}

.frame-137__input:focus-within,
.frame-137__input2:focus-within {
  border-color: var(--dark-accent, #6e3514);
  box-shadow: 0 0 0 3px rgba(110, 53, 20, 0.1);
}

/* Стили для кнопок */
.frame-137__btn,
.frame-137__btn2 {
  background: var(--gray-bg, #f7f7f7);
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 30px;
  position: relative;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.frame-137__btn:hover,
.frame-137__btn2:hover {
  background: #e0e0e0;
}

.frame-137__btn button,
.frame-137__btn2 button {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

/* Стили для кнопки оформления заказа */
.frame-137__button button {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white, #ffffff);
  font-family: "Inter-Medium", sans-serif;
  font-size: 18px;
  line-height: 145%;
  font-weight: 500;
}

/* Стили для radio кнопок */
.frame-137__radio-button {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  position: relative;
  margin-bottom: 15px;
  cursor: pointer;
}

.frame-137__rario {
  border-radius: 11px;
  border-style: solid;
  border-color: var(--gray-stroke, #b6b6b6);
  border-width: 1px;
  padding: 4px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.frame-137__radio-button:hover .frame-137__rario {
  border-color: var(--dark-accent, #6e3514);
}

.frame-137__ellipse-5 {
  background: var(--dark-accent, #6e3514);
  border-radius: 50%;
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  position: relative;
  display: block;
}

.frame-137__div4 {
  color: var(--black, #272727);
  text-align: left;
  font-family: var(--body-regular-font-family, "Inter-Regular", sans-serif);
  font-size: var(--body-regular-font-size, 16px);
  line-height: var(--body-regular-line-height, 145%);
  font-weight: var(--body-regular-font-weight, 400);
  opacity: 0.8;
  position: relative;
  cursor: pointer;
  transition: color 0.3s ease;
}

.frame-137__radio-button:hover .frame-137__div4 {
  color: var(--dark-accent, #6e3514);
}

/* Стили для выпадающих списков Новой Почты */
.city-dropdown,
.warehouse-dropdown {
  position: fixed !important;
  background: white !important;
  border: 1px solid var(--gray-stroke, #b6b6b6) !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  max-height: 300px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  z-index: 10000 !important;
  margin-top: 5px !important;
  font-family: var(--body-regular-font-family, "Inter-Regular", sans-serif) !important;
  font-size: 14px !important;
  min-width: 200px !important;
  display: none;
  /* Предотвращаем горизонтальную прокрутку */
  word-wrap: break-word !important;
  word-break: break-word !important;
}

/* Стили для полей ввода Новой Почты */
.frame-137__frame-882 .frame-137__input2 {
  position: relative;
  margin-bottom: 15px;
}

.frame-137__frame-882 .frame-137__input2 input {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--body-regular-font-family, "Inter-Regular", sans-serif);
  font-size: var(--body-regular-font-size, 16px);
  line-height: var(--body-regular-line-height, 145%);
  color: var(--black, #272727);
  padding: 0;
  /* Предотвращаем горизонтальную прокрутку */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  /* Убираем возможность выделения текста для прокрутки */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.frame-137__frame-882 .frame-137__input2 input::placeholder {
  color: var(--gray-text, #454545);
  opacity: 0.8;
}

.frame-137__frame-882 .frame-137__input2:focus-within {
  border-color: var(--dark-accent, #6e3514);
  box-shadow: 0 0 0 3px rgba(110, 53, 20, 0.1);
}

/* Стили для сообщений об ошибках и успехе */
.field-error,
.field-success,
.field-info {
  font-size: 14px;
  margin-top: 5px;
  padding: 5px 0;
  display: none;
}

.field-error {
  color: var(--red-color, #ec4e0f);
}

.field-success {
  color: #4CAF50;
}

.field-info {
  color: var(--dark-accent, #6e3514);
  font-style: italic;
}

/* Стили для блока стоимости доставки */
.delivery-cost {
  margin-top: 15px;
  padding: 15px;
  background: var(--gray-bg, #f7f7f7);
  border-radius: 8px;
  border: 1px solid var(--gray-stroke, #b6b6b6);
  display: none;
}

.delivery-cost-value {
  color: var(--red-color, #ec4e0f);
  font-weight: 600;
  margin-left: 5px;
}

.dropdown-item {
  padding: 12px 16px !important;
  cursor: pointer !important;
  border-bottom: 1px solid var(--gray-bg, #f7f7f7) !important;
  transition: background-color 0.2s ease !important;
  /* Разрешаем перенос длинного текста */
  white-space: normal !important;
}

  overflow: visible !important;
  word-wrap: break-word !important;
  word-break: break-word !important;
}

.dropdown-item:last-child {
  border-bottom: none !important;
}

.dropdown-item:hover {
  background-color: var(--gray-bg, #f7f7f7) !important;
}

.dropdown-item.no-results {
  color: var(--gray-text, #454545) !important;
  font-style: italic !important;
  cursor: default !important;
}

.dropdown-item.no-results:hover {
  background-color: transparent !important;
}

/* Стили для элементов выпадающего списка отделений */
.warehouse-item .warehouse-name {
  font-weight: 500 !important;
  color: var(--black, #272727) !important;
  margin-bottom: 4px !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
}

.warehouse-item .warehouse-address {
  font-size: 12px !important;
  color: var(--gray-text, #454545) !important;
  line-height: 1.2 !important;
}

/* Стили для элементов выпадающего списка городов */
.city-item .city-name {
  font-weight: 500 !important;
  color: var(--black, #272727) !important;
  margin-bottom: 4px !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
}

.city-item .city-area {
  font-size: 12px !important;
  color: var(--gray-text, #454545) !important;
  line-height: 1.2 !important;
}

.city-item .city-name {
  font-weight: 500 !important;
  color: var(--black, #272727) !important;
  margin-bottom: 4px !important;
}

.city-item .city-area {
  font-size: 12px !important;
  color: var(--gray-text, #454545) !important;
}

.warehouse-item .warehouse-name {
  font-weight: 500 !important;
  color: var(--black, #272727) !important;
  margin-bottom: 4px !important;
}

.warehouse-item .warehouse-address {
  font-size: 12px !important;
  color: var(--gray-text, #454545) !important;
}

.street-item .street-name {
  font-weight: 500 !important;
  color: var(--black, #272727) !important;
  margin-bottom: 4px !important;
}

.street-item .street-type {
  font-size: 12px !important;
  color: var(--gray-text, #454545) !important;
}

.address-item .address-main {
  font-weight: 500 !important;
  color: var(--black, #272727) !important;
  margin-bottom: 4px !important;
}

.address-item .address-city {
  font-size: 12px !important;
  color: var(--gray-text, #454545) !important;
}

/* Позиционирование для полей города и отделения */
.frame-137__frame-882 .frame-137__input2 {
  position: relative !important;
}

/* Стили для скроллбара в выпадающих списках */
.city-dropdown::-webkit-scrollbar,
.warehouse-dropdown::-webkit-scrollbar {
  width: 6px;
}

.city-dropdown::-webkit-scrollbar-track,
.warehouse-dropdown::-webkit-scrollbar-track {
  background: var(--gray-bg, #f7f7f7);
  border-radius: 3px;
}

.city-dropdown::-webkit-scrollbar-thumb,
.warehouse-dropdown::-webkit-scrollbar-thumb {
  background: var(--gray-stroke, #b6b6b6);
  border-radius: 3px;
}

.city-dropdown::-webkit-scrollbar-thumb:hover,
.warehouse-dropdown::-webkit-scrollbar-thumb:hover {
  background: var(--dark-accent, #6e3514);
}

/* Дополнительные стили для Firefox */
.city-dropdown,
.warehouse-dropdown {
  scrollbar-width: thin;
  scrollbar-color: var(--gray-stroke, #b6b6b6) var(--gray-bg, #f7f7f7);
}

/* Стили для сообщений об ошибках и успехе */
.field-error {
    color: var(--red-color, #ec4e0f);
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.field-success {
    color: var(--green-color, #4CAF50);
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

/* Mobile styles for checkout page - remove image margins */
@media (max-width: 768px) {
    /* Скрываем мобильную версию карточки товара */
    .mobile-product-card {
        display: none !important;
    }
    
    /* Показываем десктопную версию на всех устройствах */
    .desktop-product-card {
        display: block !important;
    }
    
    .frame-137__image-1 {
        margin: 0 !important;
        padding: 0 !important;
        left: 0 !important;
        top: 0 !important;
        transform: none !important;
        position: relative !important;
    }
    
    .frame-137__frame-118 {
        gap: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .frame-137__frame-112 {
        justify-content: flex-start !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* Полностью перестраиваем layout карточки товара для мобильных */
    .frame-137__frame-135 {
        flex-direction: column !important;
        gap: 20px !important;
        align-items: stretch !important;
        width: 100% !important;
    }
    
    /* Изображение товара */
    .frame-137__image-1 {
        width: 100% !important;
        height: 200px !important;
        object-fit: cover !important;
        border-radius: 8px !important;
        margin: 0 !important;
        padding: 0 !important;
        position: relative !important;
    }
    
    /* Контейнер с информацией о товаре */
    .frame-137__frame-113 {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        padding: 0 50px 0 0 !important;
        margin-right: 20px !important;
        margin: 0 !important;
    }
    
    /* Название товара */
    .frame-137__frame-116 {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        margin-bottom: 10px !important;
    }
    
    /* Название и цвет */
    .frame-137__frame-115 {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 5px !important;
        margin-bottom: 10px !important;
    }
    
    /* Размер товара */
    .frame-137___0-5-0-8-2 {
        font-size: 14px !important;
        line-height: 1.3 !important;
        color: #666 !important;
        margin-bottom: 10px !important;
        padding-right: 40px !important;
        margin-right: 30px !important;
    }
    
    /* Форма товара */
    .frame-137__div7 {
        font-size: 14px !important;
        line-height: 1.3 !important;
        color: #666 !important;
        margin-bottom: 25px !important;
        padding-right: 40px !important;
        margin-right: 30px !important;
    }
    
    /* Нижняя часть с количеством и ценой */
    .frame-137__frame-160 {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        gap: 25px !important;
        margin-top: 30px !important;
        padding-top: 15px !important;
    }
    
    /* Кнопки количества */
    .frame-137__btn,
    .frame-137__btn2 {
        width: 35px !important;
        height: 35px !important;
        padding: 0 !important;
        border-radius: 6px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 18px !important;
        font-weight: bold !important;
    }
    
    /* Поле количества */
    .frame-137__number {
        width: 50px !important;
        height: 35px !important;
        text-align: center !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        border: 1px solid #ddd !important;
        border-radius: 6px !important;
        background: #fff !important;
    }
    
    /* Цена */
    .frame-137___390 {
        font-size: 18px !important;
        font-weight: 700 !important;
        color: #6E3514 !important;
        text-align: right !important;
    }
    
    .frame-137__product-cart {
        padding: 0 !important;
        margin: 0 !important;
    }
}

/* Мобильные стили для корзины - обновленные параметры */
@media (max-width: 480px) {
    html body .cart-modal.show .cart, html body .cart-modal .cart, .cart-modal.show .cart, .cart-modal .cart {
        width: 100vw !important;
        height: 100vh !important;
        max-width: 100vw !important;
        max-height: 100vh !important;
        border-radius: 0 !important;
        padding: 20px 5px !important;
        margin: 0 !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        transform: translate(0, 0) scale(1) !important;
        -webkit-transform: translate(0, 0) scale(1) !important;
        -moz-transform: translate(0, 0) scale(1) !important;
        -ms-transform: translate(0, 0) scale(1) !important;
        -o-transform: translate(0, 0) scale(1) !important;
        box-sizing: border-box !important;
        overflow: auto !important;
        z-index: 2147483647 !important;
    }
}
