/* redesign - for public pages */
.hide-elem {
  display: none !important;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-1 {
  flex: 1;
}

.flex-1-5 {
  flex: 1.5;
}

.flex-hor-alignment {
  justify-content: center;
}

.flex-vert-alignment {
  align-items: center;
}

.grid-gap-5 {
  grid-gap: 5px;
}

.grid-gap-10 {
  grid-gap: 10px;
}
.grid-gap-16 {
  grid-gap: 16px;
}
.grid-gap-30 {
  grid-gap: 30px;
}

.full-width {
  width: 100%;
}

.full-height {
  height: 100%;
}
.till-footer {
  min-height: calc(100vh - 111px);
}

.mt-80 {
  margin-top: 80px;
}

.mt-auto {
  margin-top: auto;
}

.mb-auto {
  margin-bottom: auto;
}

a,
.outline-button,
.grey-bordered-button,
.active-button,
.flat-button,
.signup .sign-up-form .button,
button[type="submit"],
.nav-link {
  transition-duration: 0.25s;
}

:is(.white-button, .white-button-filled, #abstract-id) {
  transition-duration: 0.25s;
}

.btn.active-button {
  border-width: 3px;
}

.btn.active-button:hover,
.btn.flat-button:hover {
  border-color: #e87722;
}

/*
.btn.active-button:focus,
.btn.flat-button:focus {
	background: #E87722 !important;
}
*/

:is(
  .blue-button:active,
  .blue-button:focus,
  .flat-button:active,
  .flat-button:focus,
  #abstract-id
) {
  background: #e87722 !important;
}

.top-header {
  margin-top: 0;
}

/* Armenia website only (see top-header--am toggle in _top_bar.blade.php) */
.top-header.top-header--am {
  background: #000000ab;
}
.top-header.top-header--am .top-row {
  height: 54px;
}
/* Armenia: smaller top-row text (the shared rules use 20px) */
.top-header.top-header--am .top-row a,
.top-header.top-header--am .call,
.top-header.top-header--am .call a {
  font-size: 13px;
  line-height: 20px;
}
/* Armenia: the main header's navbar keeps 12px above and below (the shared rule gives 22px);
   phones keep their own 10px rule below 441px */
@media (min-width: 441px) {
  body.flow-hy .header .navbar {
    padding-top: 12px;
    padding-bottom: 12px;
  }
}

/* Armenia home page: main header matches the top bar's translucent black.
   Not while scrolled — .header.scrolled brings its own blurred background */
.header.header--am-home:not(.scrolled) {
  background: #000000ab;
}

.top-header .container-fluid {
  padding-left: 26px;
  padding-right: 26px;
}
.top-header .row {
  --bs-gutter-x: 0;
  margin-left: 0;
  margin-right: 0;
}

.container-fluid {
  max-width: 1598px;
}

.deals-slider > .container-fluid {
  max-width: 100%;
}

.header .container-fluid {
  padding-left: 32px;
  padding-right: 32px;
}
.header .container-fluid > .row {
  margin-left: 0;
  margin-right: 0;
}
@media screen and (max-width: 1200px) {
  .header .container-fluid {
    padding-left: 24px;
    padding-right: 24px;
  }
}
@media screen and (max-width: 991px) {
  .header .container-fluid {
    padding-left: 16px;
    padding-right: 16px;
  }
}
.tab-pane {
  position: relative !important;
}
.best-deals-container-fluid-row-media{
  padding-left: 20px;
  padding-right: 20px;
}
.container-fluid .row {
  display: flex;
  place-content: center;
  &.deal {
    margin-top: 60px;
  }
}
.best-deal-overlay{
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.38) 58.34%, rgba(0, 0, 0, 0.9) 111.32%);
  height: 159px;
}
.top-header .top-row {
  margin-bottom: 0;
  padding: 0;
  height: 84px;
  a:first-child {
    padding-right: 10px;
  }
  a.calc-link img {
    margin-right: 5px;
  }
  a:not(:first-child) {
    padding-left: 10px;
  }
}

.top-header .call {
  margin-left: 15px;
  a {
    display: flex;
    place-items: center;
  }
}

.navbar-nav .dropdown-menu {
  position: absolute;
  left: 9px;
}

/*.top-header .dropdown-menu.header-menu.language-switcher.show,*/
.top-header .dropdown-menu.header-menu.language-switcher {
  transform: translate(-16px, 32px) !important;
  left: 0;
  min-width: fit-content;
}

/* makes the global .dropdown-menu & .error-message elements animatable even if it uses display:none | block - start */
:is(.dropdown-toggle, .selected-condition) ~ .dropdown-menu {
  opacity: 0;
  display: none;
  /*transition:all .25s ease-out allow-discrete;*/
  transition: all 0.25s ease-out;
}
:is(.dropdown-toggle.show, .selected-condition.show) ~ .dropdown-menu {
  opacity: 1;
  display: block !important;
  z-index: 10000;
}
@starting-style {
  :is(.dropdown-toggle.show, .selected-condition.show) ~ .dropdown-menu {
    opacity: 0;
    display: none;
  }
}
:is(
  #selectInsurance .select-dropdown .dropdown-toggle.show ~ .dropdown-menu,
  .recipient_id-label .select-dropdown .dropdown-toggle.show ~ .dropdown-menu,
  #abstract-id
) {
  top: -15px !important;
  left: -20px !important;
  width: calc(100% + 40px);
}
:is(.error-message, #abstract-id) {
  margin: 0 !important;
  margin-top: 5px !important;
  margin-left: 0 !important;
  line-height: 16px !important;
  font-size: 13px !important;
  word-break: break-all;
}

[class*="-label"] {
  padding-bottom: 10px;
}

[class*="-label"] .error-message {
  height: 16px;
  margin-top: 4px !important;
  opacity: 0;
  visibility: hidden;
  display: block !important;
  pointer-events: none;
}

[class*="-label"].error .error-message {
  opacity: 1;
  visibility: visible;
}
/* makes the global .dropdown-menu & .error-message elements animatable even if it uses display:none | block - end */

.navbar-nav .dropdown-menu .dropdown-item {
  padding: 16px;
  height: auto;
  font-size: 16px;
  color: #fff;

  &:hover {
    color: #fff;
  }
}

.top-header .top-row a,
.header .navbar {
  padding-left: 0;
  color: #fff;
}

.login-btn {
  margin-right: 25px;
}

.header.sticky-top.scrolled img.bell {
  filter: none;
}
.header.sticky-top img.bell {
  margin-right: 10px;
}
.white-pages-body .header.sticky-top.scrolled img.bell {
  filter: invert(98%) sepia(8%) saturate(370%) hue-rotate(181deg)
    brightness(120%) contrast(100%);
}

.time-part .odometer-inside > span {
  font-size: 103px;
}

.price-list .title,
.best-shops h2,
.join-us h2,
.page-head h1,
.banner-row .content h1 {
  line-height: normal;
}

.img-out--wardrobe.my-order__emptyImg img {
  margin-top: 40px;
  margin-bottom: 55px;
  border-radius: 15%;
  width: 150px;
}

@media screen and (min-width: 992px) {
  .price-list .tab-pane .table tr > *:first-child {
    width: 400px;
  }
}

.price-list {
  .tab-pane .table .hint {
    padding-right: 0.5rem;
    vertical-align: middle;
  }
  .nav-link:hover {
    background: #e87722;
    color: #fefefe;
  }
}

.price-list .table .last.hint a,
.price-list .table ~ .hint a {
  pointer-events: none;
}

.best-deals .deal-item .filter {
  z-index: 2;
}
.best-deals .deal-item::after {
  /*height: 100%;
    top:0;
    bottom: 0;*/
  height: 50%;
  left: 0;
  right: 0;
  background-color: #000;
}

.home-footer h2,
.home-footer h3,
.home-footer ul li,
.main-footer ul li,
.main-footer p {
  font-size: 18px;
}

.main-footer ul,
.main-footer ul li:last-child {
  margin-bottom: 0;
}

.home-footer {
  h3 {
    margin-bottom: 8px;
  }
  ul {
    margin-bottom: 38px;
    li {
      margin-top: 6px;
    }
  }
  .quality-control h3 {
    margin-bottom: 30px;
    font-size: 20px;
  }
}

.main-footer-nav ul {
  padding-left: 20%;
}

.george-head-part {
  right: 12.5%;
}

.best-shops-results .shop-logo-holder {
  /*min-width: 144px;*/
  margin-right: 0 !important;
}

.business-header.page-head {
  padding-top: 20px;
  padding-bottom: 20px;
}

.our-partners-carousel {
  padding-top: 50px;
}

.with-business .deal-item {
  img {
    object-fit: cover;
    object-position: top;
  }
  :is(.content p, #abstract-id) {
    padding-right: 20px;
    padding-left: 20px;
    font-size: 20px;
    line-height: normal;
  }
}

.contact-us p {
  word-break: break-word;
}

.anchor-navigation.sticky-top {
  height: 100%;
  @media screen and (min-width: 1161px) {
    height: calc(100vh - 115px);
    overflow-y: auto;
  }
}

.content .content-inner {
  h1,
  h2 {
    margin-bottom: 30px;
    text-align: left;
    line-height: normal;
  }
}

.content .content-inner ol,
.content .content-inner ul,
.content .content-inner p {
  font-size: 20px;
  line-height: 30px;
}

.content .content-inner p *,
.content .content-inner p ~ div,
.content .content-inner p ~ div * {
  font-size: 20px !important;
  line-height: 30px !important;
}

.content .content-inner ol li,
.content .content-inner ul li,
.content .content-inner p {
  margin-bottom: 15px;
  text-align: left;
}

.footer-social-bar {
  justify-content: flex-end;
}

.scrolled .navbar .navbar-nav .nav-link {
  color: #fff;
  &:hover {
    color: #e87722;
  }
}

.banner-row .content .banner-content h1 {
  font-size: 50px;
  line-height: normal;
}

.price-list .nav {
  grid-gap: 20px;
  padding-left: 0;
  padding-right: 0;
  .nav-link {
    font-weight: 600;
  }
}

.header.sticky-top.scrolled .cabinet-header-menu button {
  color: #fff !important;
}

.page-section .scroll-carousel {
  height: auto !important;
  margin: 0 !important;
  .slide-item {
    object-fit: contain;
    height: 150px;
  }
}
.footer-floating-group,
.footer-floating-textarea-group {
  position: relative;
}
.footer-floating-group > .footer-floating-input:focus,
.footer-floating-group > .footer-floating-input:not(:placeholder-shown),
.footer-floating-textarea-group > .footer-floating-textarea:focus,
.footer-floating-textarea-group > .footer-floating-textarea:not(:placeholder-shown) {
  background-color: #fff;
  color: #393939;
  outline: none;
}

.footer-floating-group > .footer-floating-input,
.footer-floating-textarea-group > .footer-floating-textarea {
  width: 100%;
}

.footer-floating-group > .footer-floating-input::placeholder,
.footer-floating-textarea-group > .footer-floating-textarea::placeholder {
  color: transparent;
}

.footer-floating-group > label {
  position: absolute;
  z-index: 2;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  padding: 0 !important;
  background: transparent !important;
  color: #676767;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  pointer-events: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.footer-floating-group > .footer-floating-input:focus + label,
.footer-floating-group > .footer-floating-input:not(:placeholder-shown) + label {
  top: 0;
  transform: translateY(-50%);
  padding: 0 8px !important;
  background: #fff !important;
  color: #000;
  font-size: 14px;
  line-height: 20px;
}

.footer-floating-textarea-group > .footer-floating-textarea {
  padding-top: 28px;
}

.footer-floating-textarea-group > label {
  position: absolute;
  z-index: 2;
  left: 16px;
  top: 18px;
  margin: 0;
  padding: 0 !important;
  background: transparent !important;
  color: #676767;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  pointer-events: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.footer-floating-textarea-group > .footer-floating-textarea:focus + label,
.footer-floating-textarea-group > .footer-floating-textarea:not(:placeholder-shown) + label {
  top: 0;
  transform: translateY(-50%);
  padding: 0 8px !important;
  background: #fff !important;
  color: #000;
  font-size: 14px;
  line-height: 20px;
}
.quality-control div > .select-dropdown,
.quality-control div > input,
.quality-control div > textarea,
.quality-control div.error > .select-dropdown,
.quality-control div.error > input,
.quality-control div.error > textarea {
  margin-bottom: 0 !important;
  border: 3px solid transparent;
  box-sizing: border-box;
}
.quality-control .select-dropdown {
  height: 64px;
}
.home-footer .quality-control input::placeholder,
.home-footer .quality-control textarea::placeholder {
  color: #676767;
}
.home-footer .quality-control input {
  height: 64px;
  min-height: 64px;
  max-height: 64px;
  padding-top: 0;
  padding-bottom: 0;
}

.home-footer .quality-control .select-dropdown {
  height: 64px;
  min-height: 64px;
  max-height: 64px;
}

.home-footer .quality-control textarea {
  min-height: 140px;
}
.quality-control .select-dropdown .dropdown-toggle,
.quality-control .select-dropdown .dropdown-toggle span {
  color: #676767;
}

.quality-control .select-dropdown .dropdown-toggle.has-value,
.quality-control .select-dropdown .dropdown-toggle.has-value span {
  color: #000;
}
.quality-control textarea {
  display: block;
}
.quality-control .btn {
  margin-top: 15px;
  &.flat-button {
    padding-top: 13px;
    padding-bottom: 13px;
  }
}

.subject-label.error .select-dropdown {
  height: 64px;
  border: 3px solid#E87722 !important;
  box-sizing: border-box;
}

:is(label.input-area, #abstract-id) {
  margin-bottom: 5px;
}

label.input-area ~ .error-message {
  padding-bottom: 10px;
}

/* Recover email floating input override */
#recover-box .email-label {
  text-align: left !important;
}

#recover-box .email-label .floating-label-group {
  position: relative !important;
  width: 100% !important;
  padding: 0 !important;
}

#recover-box .email-label .floating-label-group > input#email.floating-input {
  width: 100% !important;
  height: 64px !important;
  min-height: 64px !important;
  padding: 18px 16px !important;

  background: #FFFFFF !important;
  border: 3px solid #F0F0F0 !important;
  border-radius: 16px !important;

  color: #393939 !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 24px !important;

  outline: none !important;
  box-shadow: none !important;
  text-align: left !important;
  transition: all 0.5s !important;
}

#recover-box .email-label .floating-label-group > input#email.floating-input::placeholder {
  color: transparent !important;
}

#recover-box .email-label .floating-label-group > label {
  position: absolute !important;
  z-index: 3 !important;

  left: 16px !important;
  right: auto !important;
  width: auto !important;
  max-width: calc(100% - 32px) !important;

  top: 50% !important;
  transform: translateY(-50%) !important;

  margin: 0 !important;
  padding: 0 !important;

  background: transparent !important;
  color: #676767 !important;

  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 24px !important;

  text-align: left !important;
  pointer-events: none !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;

  transition: all 0.2s ease, background-color 0s !important;
}

/* Focus */
#recover-box .email-label .floating-label-group > input#email.floating-input:focus {
  background: #FFFFFF !important;
  border: 3px solid #000000 !important;
  color: #393939 !important;
}

/* Has value */
#recover-box .email-label .floating-label-group > input#email.floating-input:not(:placeholder-shown) {
  background: #FFFFFF !important;
  border: 3px solid #F0F0F0 !important;
  color: #393939 !important;
}

/* Label floated */
#recover-box .email-label .floating-label-group > input#email.floating-input:focus + label,
#recover-box .email-label .floating-label-group > input#email.floating-input:not(:placeholder-shown) + label {
  top: 0 !important;
  left: 16px !important;
  right: auto !important;

  transform: translateY(-50%) !important;

  padding: 0 8px !important;
  background: #FFFFFF !important;
  color: #000000 !important;

  font-size: 14px !important;
  line-height: 20px !important;
}

/* Error */
#recover-box .email-label.error .floating-label-group > input#email.floating-input {
  background: #FFFFFF !important;
  border-color: #E87722 !important;
}

#recover-box .email-label.error .floating-label-group > label {
  color: #E87722 !important;
}

/* Success */
#recover-box.recover.sent-success .email-label .floating-label-group > input#email.floating-input,
#recover-box.recover.sent-success .email-label .floating-label-group > input#email.floating-input:focus,
#recover-box.recover.sent-success .email-label .floating-label-group > input#email.floating-input:not(:placeholder-shown) {
  background: #FFFFFF !important;
  border-color: #34B78F !important;
}

#recover-box.recover.sent-success .email-label .floating-label-group > label {
  color: #34B78F !important;
}

#business-request-form .modal-footer .footer {
  margin-top: 0;
  padding: 0;
}
.business-individual__form .floating-label-group,
.business-individual__form .floating-textarea-group {
  position: relative;
  padding: 0;
}

.business-individual__form .floating-label-group > .floating-input,
.business-individual__form .floating-textarea-group > .floating-textarea {
  width: 100%;
}

.business-individual__form .floating-label-group > .floating-input::placeholder,
.business-individual__form .floating-textarea-group > .floating-textarea::placeholder {
  color: transparent;
}

.business-individual__form .floating-label-group > label {
  position: absolute;
  z-index: 2;
  left: 16px;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  padding: 0 !important;
  background: transparent !important;
  color: #676767;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  pointer-events: none;
  transition:all 0.2s ease,background-color 0s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.business-individual__form .floating-label-group > .floating-input:focus + label,
.business-individual__form .floating-label-group > .floating-input:not(:placeholder-shown) + label {
  top: 0;
  transform: translateY(-50%);
  right: auto;
  max-width: calc(100% - 32px);
  padding: 0 8px !important;
  background: #fff !important;
  color: #000;
  font-size: 14px;
  line-height: 20px;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.business-individual__form .floating-textarea-group > .floating-textarea {
  padding-top: 28px;
  padding-left: 16px;
  padding-right: 16px;
}

.business-individual__form .floating-textarea-group > label {
  position: absolute;
  z-index: 2;
  left: 16px;
  top: 18px;
  margin: 0;
  padding: 0 !important;
  background: transparent !important;
  color: #676767;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  pointer-events: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.business-individual__form .floating-textarea-group > .floating-textarea:focus + label,
.business-individual__form .floating-textarea-group > .floating-textarea:not(:placeholder-shown) + label {
  top: 0;
  transform: translateY(-50%);
  padding: 0 8px !important;
  background: #fff !important;
  color: #000;
  font-size: 14px;
  line-height: 20px;
}
.business-individual__form .floating-label-group > .floating-input,
.business-individual__form .floating-textarea-group > .floating-textarea {
  width: 100%;
  background: #ffffff;
  border: 3px solid #F0F0F0;
  border-radius: 16px;
  color: #393939;
  transition: all 0.5s;
  outline: none;
}

.business-individual__form .floating-label-group > .floating-input:focus,
.business-individual__form .floating-textarea-group > .floating-textarea:focus {
  background: #fff;
  border: 3px solid #000;
  color: #393939;
  outline: none;
}

.business-individual__form .floating-label-group > .floating-input:not(:placeholder-shown),
.business-individual__form .floating-textarea-group > .floating-textarea:not(:placeholder-shown) {
  background: #fff;
  border: 3px solid #F0F0F0;
  color: #393939;
  outline: none;
}
.business-individual__form .weight-group {
  position: relative;
  height: 64px;
  padding: 0 16px;
  background: #ffffff;
  border: 3px solid #F0F0F0;
  border-radius: 16px;
  transition: all 0.5s;
  box-sizing: border-box;
}

.business-individual__form .weight-group:has(.weight-floating-input:focus) {
  background: #fff;
  border-color: #000;
}

.business-individual__form .weight-group:has(.weight-floating-input:not(:placeholder-shown)) {
  background: #fff;
  border-color: #F0F0F0;
}

.business-individual__form .weight-floating-group {
  position: relative;
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
}

/* selector mirrors style.css's `.business-calculator input:not(...):not(...)`
   blanket (0,3,1) and outguns it — both paddings are !important, and with
   equal importance specificity decides, not file order */
.business-individual__form input.weight-floating-input:not([type=checkbox]):not([type=radio]) {
  width: 100%;
  height: 100%;
  /* no left padding — the surrounding .weight-group already indents 16px */
  padding: 16px 16px 16px 0 !important;
  background: transparent;
  border: 0;
  outline: none;
  color: #393939;
  font-size: 16px;
}

.business-individual__form .weight-floating-input::placeholder {
  color: transparent;
}

.business-individual__form .weight-floating-group > label {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  padding: 0 !important;
  background: transparent !important;
  color: #676767;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  pointer-events: none;
  transition: all 0.2s ease,background-color 0s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.business-individual__form .weight-floating-input:focus + label,
.business-individual__form .weight-floating-input:not(:placeholder-shown) + label {
  top: 0;
  transform: translateY(-50%);
  right: auto;
  max-width: calc(100% - 16px);
  padding: 0 8px !important;
  background: #fff !important;
  color: #000;
  font-size: 14px;
  line-height: 20px;
}

/* selects match the login-style inputs: white with a light border */
.business-individual__form .select-box.select-dropdown {
  background: #ffffff;
  border: 3px solid #F0F0F0;
}

.business-individual__form .weight-group .select-dropdown {
  border: 0;
  background: transparent;
  min-width: max-content;
}
.business-individual__form .dimensions-row {
  gap: 10px;
  flex-wrap: nowrap;
}

.business-individual__form .dimension-field {
  flex: 1 1 0;
  min-width: 0;
}

.business-individual__form .dimension-unit {
  flex: 0 0 76px;
  min-width: 76px;
}

.business-individual__form .dimension-unit .select-dropdown {
  height: 64px;
  border-radius: 16px;
}

.business-individual__form .dimension-unit .dropdown-toggle {
  height: 100%;
  padding-left: 12px;
  padding-right: 12px;
}

@media (max-width: 991.98px) {
  .business-individual__form .dimensions-row {
    width: 100%;
    gap: 8px;
  }

  .business-individual__form .dimensions-row > .w-100 {
    display: none !important;
  }

  .business-individual__form .dimension-field {
    flex: 1 1 0;
  }

  .business-individual__form .dimension-unit {
    flex: 0 0 70px;
    min-width: 70px;
  }

  .business-individual__form .dimensions-row .floating-label-group > label {
    left: 12px;
    right: 8px;
    font-size: 14px;
  }
}
#calculator-slide .modal-footer .footer {
  padding: 0;
}

.modal-footer .footer p {
  line-height: normal;
}

.modal-content .carousel-item {
  .modal-fixed-area {
    --bs-gutter-x: initial;
  }
  .select-dropdown {
    height: 56px;
    border: 0;
  }
}
.error .weight-group {
  overflow: hidden !important;
}
/* ...but not while the unit menu inside it is open, or the menu is clipped at the group's edge */
.error .weight-group:has(.dropdown-menu.show) {
  overflow: visible !important;
}
.business-individual__form .error .weight-group {
  overflow: visible !important;
}
.business-individual__form .weight-group .select-dropdown,
.business-individual__form .error .weight-group .select-box {
  height: 100% !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
}
#business-calculator-slide {
  input {
    max-height: 56px;
  }

  .select-dropdown {
    height: 47px;
    border: 0;
  }

  .error {
    .weight-group {
      input {
        max-height: 50px;
      }
    }
  }
}

.follow-row a {
  background: #fff;
  border-radius: 100%;
  img {
    /*min-width: 42px;*/
    min-width: 32px;
    max-width: 32px;
    border-radius: inherit;
    filter: invert(1) opacity(0.75);
  }
}

.footer .navbar-nav .nav-link.dropdown-toggle ~ .dropdown-menu {
  position: absolute !important;
  margin-left: -16px !important;
  left: 0 !important;
  transition-duration: 0.075s;
  transition-behavior: normal;
  bottom: 17px !important;
  min-width: max-content;
}

:is(.content .info-row, #abstract-id) {
  padding-bottom: 0;
}

#faq-tabs .accordion-body p * {
  font-size: 20px !important;
}
.export-faq #faq-tabs .accordion-item .accordion-header .accordion-button {
  color: #161616;
}
.announcements {
  margin-bottom: 50px;
}

.content-section .filter-box .filter-group a:last-of-type .label,
.best-shops-results .accordion-item .accordion-body label:last-of-type {
  margin-bottom: 0 !important;
}

.content-section .items-list h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
}

/* hero slider drags like a touch surface: grab cursor, grabbing while held */
.slider .carousel {
  cursor: grab;
}
.slider .carousel:active {
  cursor: grabbing;
}

/* updates as per redesign comments - start */
.slider .carousel-caption {
  padding-top: 80px !important;

  h1,
  h3 {
    margin-bottom: 20px;
    & ~ p:empty {
      display: none;
    }
  }
  .action {
    margin-top: 20px;
  }
}

.social-icons,
.footer-social-bar {
  a {
    display: flex;
    transition-duration: 0.05s;
    img {
      border-radius: 100%;
    }
  }
  a:hover {
    max-height: 32px;
    border-radius: 100%;
    background-color: #fff;
  }
}

/* the .modal container is the scroll element; with classic (non-overlay)
   scrollbars the bar eats the right edge and the dialog sits left of visual
   center — reserve an equal gutter on both sides (0px on overlay-scrollbar
   devices, so phones are unaffected) */
.modal {
  scrollbar-gutter: stable both-edges;
}
/* Bootstrap's modal JS also sets an inline padding-right (page-scrollbar
   compensation) on the open modal, pushing the dialog left of center —
   the symmetric gutter above already covers that, so cancel the inline one */
.modal.show {
  padding-right: 0 !important;
  padding-left: 0 !important;
}
.modal-backdrop + .modal-backdrop {
  z-index: 1056;
}
.modal.show ~ .modal.show {
  z-index: 1060;
}

.modal .modal-dialog {
  transition-property: opacity;
  transition-duration: 0.25s;
  opacity: 0;
  transform: none;
}

.modal.fade .modal-dialog {
  transition-property: opacity;
  transition-duration: 0.5s;
  opacity: 100;
  transform: none;
}
.modal.fade .modal-dialog {
  /*transition-duration: .15s;*/
  transition-timing-function: initial !important;
}

.modal-dialog.info-modal img.thumb {
  width: 175px;
  height: 175px;
  object-fit: contain;
}

.modal.fade.read-more-modal .modal-dialog .modal-body {
  margin-top: 20px;
}

.modal.fade.read-more-modal .modal-dialog .modal-body h2 {
  font-size: 20px;
  line-height: 30px;
  font-weight: 700;
}

.modal.fade.read-more-modal .modal-dialog .modal-body p.additional {
  padding-top: 0;
}
/* updates as per redesign comments - end */

/* updates as per figma endorsed designs - start */
.p-relative {
  position: relative;
}

.p-absolute {
  position: absolute;
}

.signup-left-side {
  height: 100%;
  .content {
    padding: 0;
    a {
      display: inline-block;
    }
    .banner-content {
      background-color: rgba(0, 0, 0, 0.5);
      padding: 30px;
      border-radius: 20px;
      .step .circle {
        min-width: 40px;
      }
    }
  }
}

.signup-methods {
  display: flex;
  justify-content: center;
  list-style: none;
  grid-gap: 30px;
  font-size: 25px;
  margin-bottom: 50px;
  padding-left: 0;
}

.signup-methods a {
  color: #a2aaad;
}

.signup-methods li a:hover,
.signup-methods li.active-method a {
  padding-bottom: 10px;
  border-bottom: 4px #e87722 solid;
  color: #161616;
}

.modal .sign-up-form,
.signup .sign-up-form,
.password-change-modal {
  .old_password-label .show-icon,
  .password-label .show-icon,
  .password_confirmation-label .show-icon,
  .phone_number-label .show-icon {
    right: 16px;
    top: 20px;
    transition: opacity 0.5s;
  }

  .old_password-label .show-icon:hover,
  .password-label .show-icon:hover,
  .password_confirmation-label .show-icon:hover,
  .phone_number-label .show-icon:hover {
    opacity: 0.5;
  }

  .old_password-label .show-icon,
  .password-label .show-icon,
  .password_confirmation-label .show-icon {
    display: block;
    width: 24px;
    height: 24px;
    background-image: url("../img/show-password.svg");
    transition: background-image 0.5s;
  }

  .show-pwd > .show-icon {
    background-image: url("../img/hide-password.svg");
  }
}

.modal .sign-up-form,
.signup .sign-up-form {
  input[type="text"],
  input[type="password"],
  input[type="email"] {
    padding-top: 18px;
    padding-bottom: 18px;
    background: #F0F0F0;
    border-radius: 16px;
    border-width: 3px;
    border-color: #F0F0F0;
    color: #393939;
    transition: all 0.5s;
    &::placeholder {
      color: #676767;
    }
    &:focus {
      border-width: 3px;
      border-color: #000;
      color: #393939;
    }
  }
  &:has(.show-icon) input:not([type="checkbox"]) {
    padding-right: 50px !important;
  }
  :is(.checkbox-row, #abstract-id) {
    padding-left: 0;
    input[type="checkbox"] {
      min-width: 24px;
      min-height: 24px;
      /*border-color: #F5F5F5;*/
      /* border-color: #dadada; */
      border-width: 2px;
      &:checked {
        border-color: #e87722;
      }
    }
  }

  .password-label,
  .password_confirmation-label,
  .phone_number-label {
    cursor: pointer;
  }
  .remember-label{
    color:#676767;
  }

  .phone_number-label {
    .input-area {
      padding-top: 18px;
      padding-bottom: 18px;
    }
  }

  .phone_number-label:has(input[name="phone_number"]) .show-icon {
    opacity: 0;
  }
  .phone_number-label:has(input[name="phone_number"]:focus) .show-icon {
    opacity: 1;
  }
  .terms-agreement-chcker {
    display: flex;
    place-items: center;
    > span {
      text-align: left;
    }
  }
}

.google-button {
  font-weight: 600;
}

.access-alt-way p {
  font-weight: 600 !important;
  text-align: center;
}

.access-alt-way p:last-child {
  margin-bottom: 0;
}

.footer-nav {
  justify-content: flex-start;
  > a {
    margin-left: 40px;
  }
  .nav-item a img {
    transition: all 0.5s;
  }
  .nav-item a:hover img {
    filter: none;
    opacity: 0.7;
  }
}

.signup {
  :is(.button, #abstract-id) {
    padding-top: 20px;
    padding-bottom: 20px;
    line-height: normal;
  }
}
/* updates as per figma endorsed designs - end */

/* redesign - for profile pages - start */
.container-fluid .header {
  padding-left: 24px;
  padding-right: 24px;
}
.head-bar .container-fluid {
  padding-left: 32px;
  padding-right: 32px;
}
@media screen and (max-width: 1200px) {
  .head-bar .container-fluid {
    padding-left: 24px;
    padding-right: 24px;
  }
}
@media screen and (max-width: 991px) {
  .head-bar .container-fluid {
    padding-left: 16px;
    padding-right: 16px;
  }
  .head-bar .container-fluid .header {
    padding-left: calc(var(--bs-gutter-x) * 0.5) !important;
    padding-right: calc(var(--bs-gutter-x) * 0.5) !important;
  }
}
.head-bar .container-fluid .header {
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
}

/*.cabinet-header-menu + .cabinet-header-menu {
	container: zxc / inline-size;
}
@container zxc (width <= 160px) {
	#cabinet-dropdown-menu.dropdown-menu {
		transform: translate(-35px, 44px) !important;
	}
}*/

#cabinet-dropdown-menu.dropdown-menu {
  /*transform: translate(-35px, 44px) !important;*/
  transform: translate(0, 44px) !important;
  z-index: 2;
}

#balance-dropdown .box .blue-button {
  border-radius: 8px;
  &:not(.fill-from-bonus-yes) {
    /*border: 1px #E87722 solid;*/
  }
  &.fill-from-bonus-yes {
    color: #393939;
    background-color: #f0f0f0;
    opacity: 1;
    &:hover {
      background: rgba(3, 195, 215, 1) !important;
    }
  }
  &.fill-from-bonus-yes.disabled:hover {
    background-color: #f0f0f0 !important;
    color: #cad4d5 !important;
  }
  &:hover {
    border-color: #e87722;
  }
  &.fill-from-bonus-yes.disabled:hover,
  &.fill-from-bonus-yes.disabled:focus,
  &.fill-from-bonus-yes.disabled:visited {
    background-color: #f0f0f0 !important;
    color: #cad4d5 !important;
  }
}

#balance-dropdown.dropdown-menu,
#balance-dropdown.dropdown-menu.show {
  transform: translate(-340px, 52px) !important;
}

.header.sticky-top #balance-dropdown.dropdown-menu,
.header.sticky-top #cabinet-dropdown-menu.dropdown-menu {
  border-radius: 16px;
  background-color: rgba(0, 0, 0, 0.7);
}
.header.sticky-top #cabinet-dropdown-menu.dropdown-menu {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.header.sticky-top #cabinet-dropdown-menu.dropdown-menu ul {
  margin-bottom: 0;
}
.header.sticky-top #balance-dropdown.dropdown-menu,
.header.sticky-top #balance-dropdown.dropdown-menu h3,
.header.sticky-top #balance-dropdown.dropdown-menu p {
  color: #fff;
}
.header .btn-secondary {
  text-align: left;
  p {
    font-size: 13px;
    margin-bottom: 0;
  }
}
.header.sticky-top #cabinet-dropdown-menu.dropdown-menu li {
  background: transparent;
}
.header.sticky-top #cabinet-dropdown-menu.dropdown-menu li:hover {
  background: rgba(255, 255, 255, 0.1);
}
.header.sticky-top #cabinet-dropdown-menu.dropdown-menu li:not(:last-child) a {
  color: rgba(255, 255, 255, 1) !important;
}
.header.sticky-top #cabinet-dropdown-menu.dropdown-menu li:last-child a {
  color: #e87722 !important;
}
.header.sticky-top #cabinet-dropdown-menu.dropdown-menu li a:hover {
  background: transparent;
}
.header.sticky-top
  #cabinet-dropdown-menu.dropdown-menu
  li:not(:last-child)
  a
  img {
  filter: contrast(0);
}

.select-dropdown.language-switcher .dropdown-menu {
  transform: translate(4px, 44px) !important;
  left: 4px !important;
  padding: 0 !important;
  background: #fefefe;
  box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.08);
  min-width: max-content;
  max-width: max-content;
  li:hover {
    background: #f0f0f0;
  }
}

.tab-pane .address-card .address-details span {
  margin-left: 0;
}

.modal.education.fade {
  opacity: 1 !important;
}
.modal.education.fade .modal-dialog,
.modal.education .modal-dialog {
  position: fixed;
  right: 0;
  top: 0;
  margin: 0;
  transform: translateX(100%) !important;
  transition: transform 0.35s ease-out !important;
}
.modal.education.show .modal-dialog {
  transform: translateX(0) !important;
}

.service-modal .service-card.disabled {
  cursor: not-allowed;
}

.deposit #fill-balance-form .card {
  width: auto;
}

.deposit #fill-balance-form #payment-system ~ .card {
  max-width: 504px;
  width: 100%;
  margin-bottom: 40px;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 4px 16px 0 #11111104;
  > .label:first-of-type {
    text-align: left;
  }
}

.cabinet-header-menu .btn:focus-visible {
  box-shadow: none;
}
.navigation .cabinet-header-menu .btn p {
  text-align: left;
  min-height: 20px;
}
.header .cabinet-header-menu .btn p {
  line-height: 20px;
  min-height: 20px;
}
.membership-popup-trigger {
  cursor: pointer;
}
.cabinet-header-menu .membership-popup-trigger:hover {
  color: #e87722;
}
.membership-modal .membership-modal-head {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px;
  border-radius: 16px;
  background: #e87722;
  color: #fff;
  margin-bottom: 24px;
}
.membership-modal .membership-modal-image {
  width: 96px;
  height: 96px;
  object-fit: contain;
  flex-shrink: 0;
}
.membership-modal .membership-modal-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 36px;
  margin: 0 0 4px;
  color: inherit;
}
.membership-modal .membership-modal-subtitle {
  font-size: 16px;
  line-height: 24px;
  margin: 0;
  color: inherit;
  opacity: 0.85;
}
.membership-modal .membership-modal-content {
  font-size: 16px;
  line-height: 24px;
  color: #161616;
}
.membership-modal .membership-modal-content p:last-child {
  margin-bottom: 0;
}
.membership-modal .membership-modal-content [style*="background"] {
  background-color: #e87722 !important;
  background-image: none !important;
}
.membership-modal .membership-modal-content ul {
  list-style: none !important;
  padding-left: 0;
  margin: 0;
}
.membership-modal .membership-modal-content li {
  list-style: none !important;
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
}
.membership-modal .membership-modal-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e87722;
}
.membership-modal .membership-modal-content img {
  filter: brightness(0) saturate(100%) invert(55%) sepia(55%) saturate(3643%) hue-rotate(354deg) brightness(101%) contrast(82%);
}
.membership-modal .membership-modal-content a {
  color: #e87722;
}
@media (max-width: 575.98px) {
  .membership-modal .membership-modal-head {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}
.navigation .cabinet-header-menu:has(.btn) {
  margin-right: 10px !important;
  padding: 15px 20px;
  border-radius: 4px;
}
.cabinet-header-menu:last-of-type {
  margin-right: 0 !important;
  min-width: 155px;
  .btn-secondary b {
    max-width: 180px;
    overflow: hidden;
    display: block;
    text-overflow: ellipsis;
  }
}
.navigation .cabinet-header-menu:has(.btn.show) {
  background-color: #a2aaad20;
}
.navigation .cabinet-header-menu .btn img.arrow {
  right: 15px;
  top: 16px;
}
.navigation .cabinet-header-menu .dropdown-menu {
  border-radius: 8px;
}
.navigation .cabinet-header-menu #balance-dropdown {
  margin-left: 47px !important;
  margin-top: 5px !important;
}
.cabinet-header-menu #cabinet-dropdown-menu {
  /*margin-left: 45px !important;
margin-left: -30px !important;*/
  margin-left: -66px !important;
  margin-top: 13px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.navigation .cabinet-header-menu #cabinet-dropdown-menu #navigation-slide ul {
  margin-bottom: 0;
}
.navigation
  .cabinet-header-menu
  #cabinet-dropdown-menu
  #navigation-slide
  ul
  li
  div {
  flex: 1;
}

.container-fluid.orders,
.container-fluid.transactions {
  margin-bottom: 20px;
}
.orders .tabs .search-area {
  margin-left: 40px;
}
#cabinetTabContent .order-filters,
#cabinetTabContent .transaction-filters {
  height: 100%;
  display: flex !important;
  flex-direction: column;
}
#cabinetTabContent .order-filters a span {
  display: flex;
  align-items: center;
}
#cabinetTabContent .order-filters .footer-row,
#cabinetTabContent .transaction-filters .footer-row {
  margin-top: auto;
  margin-bottom: 20px;
}
#cabinetTabContent .orders-list {
  margin-bottom: 0;
  padding-top: 20px;
}
#cabinetTabContent .orders-list .head,
#cabinetTabContent .orders-list .order-row {
  padding: 20px 10px;
}

#addresses-tab-pane .address-cards .address-card {
  padding-bottom: 24px;
}

.address-details > .row:has(.copy-row) {
  align-items: center;
}
.address-details .copy-row .copied {
  display: flex;
  padding: 5px 10px;
  grid-gap: 5px;
  font-weight: 500;
}

.address-details .recipient-box .select-dropdown .arrow {
  position: static;
}

.calculator .address-recipient-options li:hover {
  background-color: #E877221A !important;
}

.calculator .address-recipient-options li:hover .dropdown-item {
  color: #090A0A !important;
}

.order-form .form-card .section .body .radio-tab p {
  text-align: left;
}
.order-form #sale-order .row {
  place-content: flex-start;
}

#cabinetTabContent .order-modal-area p {
  font-size: 16px !important;
  line-height: 24px !important;
  font-weight: 500 !important;
}

#cabinetTabContent .order-modal-area .text-end:has(> .blue-button) {
  display: flex;
}

#cabinetTabContent .order-modal-area .text-end .blue-button {
  margin: auto;
  min-width: auto;
  cursor: pointer;
}

.blue-button {
  transition-duration: 0.25s;
}
/* redesign - for profile pages - end */

.points-box .points-area {
  background: #fff;
  border-radius: 0;
  padding: 10px;
}

.points-area .nav.nav-tabs {
  box-shadow: 0 4px 16px 0 #11111104;
  border: 1px #f0f0f0 solid;
  border-radius: 16px;
  height: 88px;
  padding-left: 20px;
  padding-right: 20px;
  margin-bottom: 15px;
  margin-bottom: 17px;
  grid-gap: 20px;
  place-items: center;
}

.points-area .nav.nav-tabs .nav-link {
  margin: 0;
  padding: 0;
  padding-bottom: 5px;
  line-height: normal;
  border-bottom: 4px solid transparent;
  font-size: 18px;
  color: #676767;
}

.points-area .nav.nav-tabs .nav-link.active {
  border-bottom-color: #e87722;
  color: #161616;
}

.points-area .nav.nav-tabs .nav-link span {
  color: #dadada;
}

.points-area .tab-content .point-row {
  background: transparent;
  border: 1px #f0f0f0 solid;
}

.points-area .tab-content .point-row.selected {
  display: flex;
  grid-gap: 30px;
  background-color: #f7f7f7;
}

.points-area .tab-content .point-row .img {
  transition: none;
}

.points-area .tab-content .point-row.selected .img {
  margin-bottom: 0;
  height: auto;
  background-size: cover;
}

.points-area .tab-content .point-row:last-of-type {
  margin-bottom: 0;
}

.points-area .tab-content .point-row h2 {
  margin-bottom: 10px;
  color: #161616;
}

.points-area .tab-content .point-row p,
.points-area .tab-content .point-row .working-hours {
  color: #676767;
}

.points-area .tab-content .point-row .see-more {
  float: right;
  margin-left: 10px;
  color: #393939;
}

.points-area .tab-content .point-row .see-more,
.points-area .tab-content .point-row .flat-button {
  padding-left: 30px;
  padding-right: 30px;
  border: 0;
  line-height: normal;
}

.points-area .tab-content .point-row.selected .additional-info {
  margin-top: 10px;
  margin-bottom: 20px;
}

.points-area .tab-content .point-row.selected .wh-text-address,
.points-area .tab-content .point-row.selected .wh-text-timezone,
.points-area .tab-content .point-row.selected .additional-text-title {
  color: #161616;
}

.points-area .tab-content .point-row.selected .see-more {
  display: none;
}

.points-area .tab-content .point-row.selected .flat-button {
  margin-left: auto;
}

.points-area .tab-content .point-row .has-icon {
  display: none;
}

.points-area .tab-content .point-row.selected .has-icon {
  display: inline-block;
}

.points-area .tab-content .point-row.selected .wh-text-address,
.points-area .tab-content .point-row.selected .hours {
  display: flex;
  grid-gap: 10px;
  place-content: flex-start;
  color: #676767;
}

.points-area .tab-content .point-row.selected .wh-text-address .has-icon,
.points-area .tab-content .point-row.selected .hours .has-icon {
  min-width: 24px;
  height: 24px;
}

.points-area .tab-content .point-row.selected .wh-text-address .has-icon {
  background-image: url("../img/point-black.svg");
}

.points-area .tab-content .point-row.selected .hours .has-icon {
  background-image: url("../img/clock-black.svg");
}

.home-delivery-img-placeholder {
  display: flex !important;
  place-content: center;
  place-items: center;
  background: #ccc;
  width: 100%;
  height: 100%;
  margin-right: 100px;
  img {
    max-width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.calculator-row {
  border-radius: 32px;
}

#with-business.with-business {
  padding-top: 50px;
}

.shop-box .flat-button {
  font-weight: 500;
}

.shop-box .shop-info {
  h2,
  h3 {
    margin-bottom: 15px !important;
  }
}

.best-shops-results .shop-info a:hover {
  color: #e87722;
}

:is(.timeline, #abstract-id) {
  padding-bottom: 130px;
}

:is(.deal p span:first-of-type, #abstract-id) {
  font-weight: 500;
}

:is(.deal p span:last-of-type, #abstract-id) {
  font-weight: 600;
}

.calculator .select-options {
  min-width: fit-content !important;
}

.input-area {
  transition: border-color 0.15s ease-in-out;
  /*transition-behavior: allow-discrete;*/
}

.calculator {
  .width-label,
  .height-label,
  .length-label {
    .input-group {
      border-radius: 8px;
    }
  }
  .select-dropdown.input-area {
    border-radius: 16px;
  }
}

.select-dropdown.input-area button:active {
  color: #090a0a;
}

.calculator .modal-title.back {
  line-height: normal;
}

.buy-for-me-content .info-row .step-content h2,
.buy-for-me-content .info-row .step-content p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  /*overflow: hidden;
		text-overflow: ellipsis;*/
}

.buy-for-me-content .info-row .step-content h2 {
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: normal;
}

.buy-for-me-content .info-row .step-content p {
  -webkit-line-clamp: 4;
}

.tabular-data-inner.table-form,
.table-form.details-view {
  height: auto;
}

.tabular-data-inner.transactions-list {
  margin-bottom: 0;
  padding-top: 25px;
  padding-bottom: 25px;
}

#trackParcelModal .modal-content .btn {
  border-radius: 8px;
}

.notifications-page .notifications-card .head .buttons a:not(.active) {
  font-weight: 500;
  color: #676767;
}

.container-fluid.deposit .body {
  height: auto;
}

.content.content-404 {
  z-index: 0;
}

.content.content-404 .george {
  z-index: -1;
}

#shop-rate-modal .modal-dialog .modal-header .modal-close {
  position: relative;
  z-index: 1;
}
#shop-rate-modal .modal-dialog .modal-body h2 {
  margin-top: -25px;
  text-align: left;
}
#shop-rate-modal .modal-dialog .modal-body .rate-area {
  display: flex;
  grid-gap: 7px;
  justify-content: center;
  align-items: center;
  flex-direction: row-reverse;
}
#shop-rate-modal .modal-dialog .modal-body .rate-area label {
  width: 49px;
  height: 49px;
  background-size: cover;
}
#shop-rate-modal .modal-dialog .modal-body .message-label textarea {
  display: block;
  margin-bottom: 25px;
  border: 0;
  border-radius: 8px;
  padding: 10px;
  background-color: #f0f0f0;
  color: #999;
  width: 100%;
  resize: none;
}
#shop-rate-modal .modal-dialog .modal-body .flat-button {
  width: 100%;
}

.best-shops-results .shop-box .rate-popup-btn {
  /* margin: auto; */
  border: 0;
  padding: 0 0 0 5px;
  background-color: transparent;
  color: #e87722;
  transition: all 0.25s;
}
:is(
  .best-shops-results .shop-box .rate-popup-btn:active,
  .best-shops-results .shop-box .rate-popup-btn:focus,
  #abstract-id
),
.best-shops-results .shop-box .rate-popup-btn:hover {
  opacity: 0.75;
}

.review-rate {
  display: flex;
  width: 100%;
  margin-bottom: 18px;
}

.review-rate .rates_count {
  margin-right: auto;
}

.request-individual-tariff,
.how-to-ship-parcels {
  background-color: #fff;
  margin-top: -1px;
  padding-top: 1px;
}
.request-individual-tariff-content {
  display: flex;
  flex-direction: column;
  place-items: flex-start;
  padding: 32px;
  border-radius: 32px;
  background-color: #e8772210;
}
.request-individual-tariff-content .flex-gap {
  grid-gap: 30px;
}
.request-individual-tariff-content .icon-placeholder {
  padding-top: 12px;
}
.request-individual-tariff-content .icon-placeholder img {
  width: 48px;
}
.request-individual-tariff-content p {
  text-align: left !important;
  color: #161616;
}

.how-to-ship-parcels {
  padding-bottom: 50px;
  position: relative;
}
.how-to-ship-parcels:before {
  content: url("../img/export-ship-parcels-wire.png");
  position: absolute;
  position: absolute;
  top: 22%;
  left: 28%;
}
.how-to-ship-parcels h2 {
  padding-bottom: 20px;
  text-align: center;
  font-size: 48px;
  line-height: 48px;
  font-weight: 700;
}
.how-to-ship-parcels h4 {
  color: #161616;
  font-size: 32px !important;
  line-height: 32px;
  font-weight: 700;
}
.how-to-ship-parcels-text {
  place-content: center;
  padding: 0 50px;
}
.how-to-ship-parcels-icon img,
.how-to-ship-parcels-text .see-more.btn {
  position: relative;
  z-index: 1;
}

.export-banner {
  margin-bottom: 0 !important;
}
.export-banner h1 span {
  color: #e87722;
}
.export-banner .tagline {
  display: block;
  margin-top: 20px;
  color: #fefefe;
  font-size: 20px;
  line-height: 30px;
}

:is(.faq, .export-faq, #abstract-id) {
  padding-bottom: 120px;
}

.header .cabinet-header-menu.select-dropdown:nth-of-type(2) .btn-secondary {
  padding-right: 0 !important;
}
.header
  .cabinet-header-menu.select-dropdown:nth-of-type(2)
  .btn-secondary
  .arrow {
  position: static;
  margin-left: 7px;
}

.signup.signup-area fieldset.phone_number-label {
  border: 2px #dadada solid;
  border-radius: 16px;
  legend {
    position: absolute;
    top: -13px;
    left: 15px;
    padding-left: 10px;
    padding-right: 10px;
    width: auto;
    background: #fff;
    font-size: 16px;
  }
  .select-picker-phone {
    width: 100%;
    flex: 1.3;
    border-radius: 16px;
    border: 0;
    padding-left: 10px;
    padding-right: 10px;
    appearance: none;
    background-image: url("../img/arrow-down.svg");
    background-repeat: no-repeat;
    background-position: center right;
    background-color: transparent;
    option {
      background-color: #f0f0f0;
    }
    option:hover {
      background-color: #d4f3f7;
    }
  }
  .input-area {
    flex: 4;
    border: 0;
  }
}

.signup.signup-area fieldset.phone_number-label:has(.input-area:focus) {
  border-color: #000;
}

.order-filters .order-filter .count {
  background: transparent;
}

.order-filter:hover,
.transactions .transaction-filter:not(.active):hover,
.transactions .filters a:not(.active):hover,
.method-tabs .nav-item .address-tab:hover {
  background-color: #eaeaea85;
}
.transactions {
  .transaction-filter {
    font-size: 17.5px;
  }
  .filter-area .gray-button:hover {
    background: #e87722;
    color: #fff;
    border-color: #e87722;
  }
}

#balance-dropdown p {
  font-size: 15px;
}

#trackParcelIcon,
#calculatorIcon,
#langaugeIcon {
  path {
    transition-duration: 0.25s;
  }
}

#langaugeIcon {
  margin-right: 20px;
}

#trackParcelIcon:hover,
#calculatorIcon:hover,
#langaugeIcon:hover,
.navbar .bell:hover {
  path {
    stroke: #e87722;
  }
}

.pagination a {
  &.disabled,
  &.active {
    pointer-events: none;
    opacity: 0.5;
  }
  &.active {
    color: #a2aaad !important;
  }
  &.prev,
  &.next {
    border-color: #a2aaad;
    transition: all 0.25s;
    img {
      filter: grayscale(1) !important;
      transition: all 0.25s;
    }
    &:hover {
      border-color: #e87722;
      img {
        filter: grayscale(0) !important;
      }
    }
  }
  &.item:not(.active):hover {
    color: #e87722;
  }
}

.form-card .section .body .radio-tab:hover {
  border-color: #e87722;
  background: #E877221A;
}

:is(.tooltip-inner, #abstract-id) {
  font-size: 17px;
  font-weight: normal;
  line-height: normal;
  word-break: break-word;
}

.declaration-0-price_per_item-label .select-box .dropdown-menu.show,
#settings-tabs .select-box .dropdown-menu.show {
  transform: translate(0, 42px) !important;
}

#settings-tabs .select-dropdown.dropdown.select-box {
  height: auto;
}

#settings-tabs .password-change-message {
  margin-bottom: 0;
}

#settings-tabs .accordion-item .recipient-card div.body a {
  display: block;
  padding-left: 10px;
  line-height: normal;
  text-align: right;
}

.tabular-data-inner .form-item {
  place-items: center;
  .grey-button:hover {
    background-color: #e87722;
    border-color: #e87722;
    color: #fff;
  }
}

.lockers-area.content {
  margin: 50px 0;
  padding: 0;
}

.order-details .label,
.order-row .label,
.card-block .label,
.details-view .label {
  max-width: none !important;
  height: 32px;
  font-size: 12px;
  font-weight: 600;
  border: 2px transparent solid;
  border-radius: 10px;
  max-width: fit-content;
  white-space: nowrap;
  &.orange {
    background-color: #fff0e5;
    border-color: #ffe0c8;
    color: #c85600;
  }
  &.purple {
    background-color: #f1f2ff;
    border-color: #ced0fa;
    color: #656bfa;
  }
  &.green {
    background-color: #f3fffb;
    border-color: #c2e8dc;
    color: #0b996e;
  }
  &.red {
    background-color: #ffeded;
    border-color: #f5c8c8;
    color: #f24d4d;
  }
  &.blue {
    background-color: #edfdff;
    border-color: #d4f3f7;
    color: #00aabb;
  }
}
/* Order details page: the status row stacks under its label below lg, so size the pill to its
   text and let a long status wrap instead of being clipped (the rule above fixes a 32px height
   and nowrap, and orders-media.css forces width:initial on mobile, hence the !important). */
.order-details .label {
  width: max-content !important;
  max-width: 100% !important;
  height: auto;
  min-height: 32px;
  white-space: normal;
}
.order-details .label > .label-text {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}
/* Buy for me order view: the status pill sits to the right of its label on mobile. The pill is
   content-sized and nowrap, so a long status overflowed leftwards over the label column; cap it
   to its column and let the text wrap instead. */
.table-form.details-view .label {
  max-width: 100% !important;
  height: auto;
  min-height: 32px;
  white-space: normal;
}
.table-form.details-view .label > .label-text {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}
.table-form.details-view .row > .flex > div {
  /* the pill's wrapper is a flex item; let it shrink to the column so the pill can wrap */
  min-width: 0;
  max-width: 100%;
}
.card-block .label img {
  margin-right: 0;
}

#balance-dropdown h3 {
  font-size: 20px;
}

.form-box.attach {
  margin-bottom: 20px;
  border-radius: 8px;
  border: 3px dashed #a2aaad;
  background: #f0f0f0;
  padding: 48px 24px 48px 16px;
}

#additional-files .additional_info_requested_block .form-box.attach,
#return-special-service-form .form-box.attach {
  padding: 15px;
  .help-text p {
    line-height: normal;
  }
  .error-message {
    text-align: center;
    word-break: break-word;
  }
  .uploadifive-queue-item {
    position: relative;
    .close {
      position: absolute;
      right: 10px;
      left: auto;
      top: 10px;
    }
    > div:has(.filename, .fileinfo) {
      flex-direction: column;
      grid-gap: 0;
      margin-bottom: 10px;
      border: 1px solid rgba(162, 170, 173, 0.3);
      border-radius: 5px;
      .filename {
        height: auto;
        border: 0;
        padding-bottom: 0;
        word-break: break-word;
        line-height: normal;
      }
      .fileinfo {
        font-weight: bold;
        font-size: 16px;
      }
    }
  }
}

.order-modal-area .blue-button {
  margin: auto;
  width: auto !important;
}

.modal-body .returnOrder[type="button"] {
  background-color: #ff00001a;
  border-color: #ff000000;
}

.order-modal {
  &.info-modal,
  &.over-dim-modal {
    .modal-body .returnOrder {
      background-color: #f0f0f0;
      border-color: #f0f0f0;
      color: #393939;
    }
  }
}

.address-details .copy-all {
  display: flex;
  place-content: flex-end;
  grid-gap: 10px;
  .cpy {
    line-height: normal;
  }
  .copied {
    width: auto;
    min-width: auto;
    max-width: fit-content;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: auto;
  }
}

.cabinet-header-menu button.show,
.cabinet-header-menu button:active,
.cabinet-header-menu button:hover {
  color: #e87722 !important;
}

#carouselExampleCaptions .carousel-inner .carousel-item {
  h1,
  h3 {
    margin-top: auto;
  }

  .carousel-caption .action {
    margin-top: auto;
    margin-bottom: 50px;
  }
}

.order-form .form-card form#sale-order button[type="submit"] {
  padding: 13px 40px;
  font-size: 16px;
  font-weight: 600 !important;
}

.order-form .form-card form#sale-order a.blue-button {
  padding: 13px 40px;
  font-size: 16px;
  font-weight: 500 !important;
  background-color: #f0f0f0;
  color: #000 !important;
  margin-right: 10px;
  display: inline-flex;
  min-width: 168px;
  place-content: center;
  &:hover {
    background-color: #e87722 !important;
    color: #fff !important;
  }
}

.orders-list .blue-checkbox:disabled,
a.tooltip-wrapper:not([href]) img {
  opacity: 0.5;
}

:is(.orders-list .tooltip-wrapper, .table-form .tooltip-wrapper, #abstract-id) {
  .tooltip-inner {
    box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.18);
    background: rgba(255, 255, 255, 1) !important;
    font-weight: 500;
    font-size: 20px;
    line-height: 30px;
    font-size: 14px;
    line-height: normal;
    color: #161616 !important;
    /*word-break: break-word;*/

    width: max-content !important;
    left: -50% !important;
    word-break: normal;
    max-width: 350px;
    word-wrap: break-word;
    transform: translateX(-50%) translateY(-10px);
    margin-left: 45px;
  }
  .tooltip-inner::after {
    border-bottom: solid rgba(255, 255, 255, 1) 10px !important;
  }
}
:is(
  .orders-list .tooltip-wrapper:hover,
  .table-form .tooltip-wrapper:hover,
  #abstract-id
) {
  .tooltip-inner {
    transform: translateX(-50%) translateY(20px);
  }
}

:is(.orders-list .text-end .tooltip-wrapper, #abstract-id) {
  .tooltip-inner {
    transform: translateX(-91%) translateY(-10px);
  }
  .tooltip-inner::after {
    right: 9%;
    left: auto;
  }
}
:is(.orders-list .text-end .tooltip-wrapper:hover, #abstract-id) {
  .tooltip-inner {
    transform: translateX(-91%) translateY(20px);
  }
}

:is(
  .table-form .form-item .tooltip-wrapper,
  .table-form.details-view .tooltip-wrapper,
  #abstract-id
) {
  .tooltip-inner {
    margin-left: 0;
    left: auto !important;
    transform: translateX(0%) translateY(-10px);
  }
}
:is(
  .table-form .form-item .tooltip-wrapper:hover,
  .table-form.details-view .tooltip-wrapper:hover,
  #abstract-id
) {
  .tooltip-inner {
    transform: translateX(0%) translateY(20px);
  }
}

.address-modal .order-modal-area .grey-bordered-button:hover {
  border-color: rgba(3, 195, 215, 1);
}
.address-modal .order-modal-area {
  .grey-bordered-button {
    margin-left: auto;
  }
  .blue-button {
    border-radius: 8px;
    margin-left: 20px;
    padding-left: 40px;
    padding-right: 40px;
    font-size: 16px;
  }
}

:is(.service-modal .modal-body, #abstract-id) {
  .blue-button {
    padding: 13px 40px;
    font-size: 16px;
  }
}

.banner.export-banner {
  background-size: cover;
}

.about-us {
  min-height: calc(100vh - 105px);
  .about-banner {
    min-height: inherit;
    background-size: cover;
    background-position: center;
    padding-top: 0;
    > .container-fluid {
      /*height: 100%;*/
      min-height: inherit;
      display: flex;
      flex-direction: column;
    }
    h1 {
      font-size: 48px;
    }
    .tagline {
      margin-top: 15px;
      display: block;
      margin-top: 20px;
      color: #fefefe;
      font-size: 20px;
      line-height: 30px;
    }
    h1,
    .tagline {
      text-align: center;
    }
    .about-us-title,
    .about-us-stats {
      margin-top: auto;
      margin-bottom: auto;
    }
    .about-us-stats {
      > div {
        display: flex;
        flex-direction: column;
        place-items: center;
        grid-gap: 15px;
        margin-top: auto;
      }
      strong,
      span {
        color: #fff;
      }
      strong {
        font-size: 32px;
        line-height: 32px;
      }
      span {
        font-size: 20px;
        line-height: 30px;
      }
    }
  }
}
#about-us.content {
  padding-top: 80px !important;
  padding-bottom: 0;
  background-color: #000;
  .about-us-block-row:nth-of-type(even) {
    .h2{
      text-align: right;
    }
  }
  h1,
  .h1 {
    font-size: 48px;
    font-weight: bold;
    line-height: 48px;
    color: #fff;
  }
  h2,
  .h2 {
    color: #fff;
  }
  p {
    color: #a2aaad;
  }
  p:only-of-type,
  p:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
  }
  p:not(:last-of-type) {
    margin-bottom: 0;
  }
  .about-us-pic img {
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
  }
}

.about-us-slider-container {
  /*.about-us-slider-item .larger-text {
			display: -webkit-box;
			-webkit-line-clamp: 5;
			-webkit-box-orient: vertical;
			overflow: hidden;
		}*/
  .about-us-slider-img {
    height: 450px;
    background-size: cover;
  }
  .about-us-slider-nav {
    display: flex;
    grid-gap: 40px;
    place-content: center;
    transform: translateY(-55px);
    color: #fff;
    list-style: none;
    li {
      width: 295px;
      height: 208px;
      border-radius: 16px;
      background-color: #67676730;
      backdrop-filter: blur(40px);
      transition: all 0.25s;
      label {
        display: flex;
        flex-direction: column;
        grid-gap: 10px;
        padding: 30px;
        height: 100%;
        cursor: pointer;
        strong,
        span {
          overflow: hidden;
        }
        strong {
          white-space: nowrap;
          text-overflow: ellipsis;
          font-size: 32px;
          line-height: 38px;
        }
        span {
          display: -webkit-box;
          -webkit-line-clamp: 3;
          -webkit-box-orient: vertical;
          font-size: 20px;
          line-height: 30px;
        }
      }
      &:hover,
				/*&:has(input:checked),*/
				&:has(input:checked) {
        background-color: #e8772250;
      }
    }
  }
}

.container-fluid.about-us-slider-container,
.container-fluid.about-us-blocks-container {
    padding-left: 32px;
    padding-right: 32px;
}
@media screen and (max-width: 1200px) {
    .container-fluid.about-us-slider-container,
    .container-fluid.about-us-blocks-container {
        padding-left: 24px;
        padding-right: 24px;
    }
}
@media screen and (max-width: 991px) {
    .container-fluid.about-us-slider-container,
    .container-fluid.about-us-blocks-container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* Slides stay rendered, stacked in the same grid cell, so switching can
   cross-fade (display:none can't animate) — fade + slight rise like the
   home price-list tabs */
.about-us-slider-container {
    display: grid;
    grid-template-columns: 100%;
}
.about-us-slider-container .about-us-slider-item {
    grid-row: 1;
    grid-column: 1;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.about-us-slider-container:has(.about-us-slider-nav li:nth-child(1) input:checked) .about-us-slider-item:nth-child(1),
.about-us-slider-container:has(.about-us-slider-nav li:nth-child(2) input:checked) .about-us-slider-item:nth-child(2),
.about-us-slider-container:has(.about-us-slider-nav li:nth-child(3) input:checked) .about-us-slider-item:nth-child(3) {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/*
	.about-us-slider-container .about-us-slider-item {
		opacity:0;
		display:none;
		transition:all .25s ease-out;
	}

	.about-us-slider-container:has(.about-us-slider-nav li:nth-child(1) input:checked) .about-us-slider-item:nth-child(1),
	.about-us-slider-container:has(.about-us-slider-nav li:nth-child(2) input:checked) .about-us-slider-item:nth-child(2),
	.about-us-slider-container:has(.about-us-slider-nav li:nth-child(3) input:checked) .about-us-slider-item:nth-child(3) {
		opacity:1;
		display:block !important;
	}
	@starting-style {
		.about-us-slider-container:has(.about-us-slider-nav li:nth-child(1) input:checked) .about-us-slider-item:nth-child(1),
		.about-us-slider-container:has(.about-us-slider-nav li:nth-child(2) input:checked) .about-us-slider-item:nth-child(2),
		.about-us-slider-container:has(.about-us-slider-nav li:nth-child(3) input:checked) .about-us-slider-item:nth-child(3) {
			opacity:0;
			display:none;
		}
	}
	*/

.modal {
  .delete-parcel-modal {
    .grey-button {
      margin-left: auto;
    }
    .blue-button {
      padding-left: 32px;
      padding-right: 32px;
      margin-right: auto;
      margin-left: 0;
    }
  }
}

:is(.service-modal .service-card, #abstract-id) {
  white-space: normal;
  line-height: 14px;
}

:is(.service-modal .select-row .label, #abstract-id) {
  font-size: 14.5px;
}

#buy-for-me-tabs .accordion-item #order-tabs .accordion-button::after {
  transition: all 0.5s;
}
#buy-for-me-tabs .accordion-item #order-tabs .accordion-button:hover::after {
  filter: invert(1);
}
#buy-for-me-tabs .accordion-item #order-tabs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
#buy-for-me-tabs #buy-for-me-tabs-child-key{
  color: #878787;
}
.signup-area .phone_number-label .select-phone_code {
  background: #fff;
  height: 163px;
  overflow-y: auto;
  padding: 0 !important;
  transform: translate(-8px, 45px) !important;

  li:hover {
    background-color: #E877221A;
  }
}

/* ===== Add Recipient modal — consistent layout wherever it opens (Settings,
   Order / special-services). Scoped to .recipient-modal in this global stylesheet
   so it applies regardless of which page's CSS is loaded (parcel.css is order-only). ===== */
/* Reserved 3px transparent border so focus (#393939) / validation (#E87722) states
   only recolor the field instead of growing it 1px->3px (no layout shift); 16px radius. */
.recipient-modal .input.input-area {
  border: 3px solid transparent;
  border-radius: 16px;
}
.recipient-modal .select-box {
  border: none;
}
#addRecipientModal .recipient-modal .input.input-area {
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}
#addRecipientModal .recipient-modal .input.input-area .input.input-area {
  padding: 0 !important;
}
/* settings.css `.service-modal .form.input { padding: 0 !important }` strips the
   side padding off this modal's select fields (Document Type / City / Region) and
   the phone group on the Settings page, pinning their text to the border — restore
   the 14px every other field gets. ID specificity outranks that !important. */
#addRecipientModal .recipient-modal .form.input-area {
  padding-left: 14px !important;
  padding-right: 14px !important;
}
/* parcel.css gives .service-modal .modal-content 24px padding, but only order
   pages load it; elsewhere the global 32px applied, narrowing the columns enough
   to ellipsize the "Document Number" floating label. Same box on every page. */
#addRecipientModal .modal-content.recipient-modal {
  padding: 24px;
  border-radius: 16px;
}
/* Field padding for this modal, previously only in parcel.css — so on the
   Settings page the inner select boxes kept .calculator.form's 15px padding and
   the select fields rendered 90px tall next to 68px text fields. */
.add-recipient-form label {
  padding: 14px !important;
}
.add-recipient-form label input {
  background-color: transparent !important;
  border-radius: 0 !important;
}
.add-recipient-form .select-box,
.add-recipient-form .grouped-input {
  padding: 0 !important;
}
/* settings.css forces `.service-modal .input .select-dropdown` to 56px for its
   own modals; this dialog carries .service-modal too, so its selects stretched
   and the select fields rendered 90px next to 68px text fields */
.modal-content.recipient-modal .input .select-dropdown {
  height: initial !important;
}
/* The select-box anchoring the menu sits 17px (14px padding + 3px border) inside
   the field, and the site-wide transform overrides (parcel.css .select-box
   .dropdown-menu.show, redesign's #settings-tabs one) never compensate — the menu
   opened 17px right of the field edge. Pull it back level with the field border
   and drop it just under the 68px field (17px inset + 58px = 7px gap). */
#addRecipientModal .recipient-modal .select-box .dropdown-menu.show {
  transform: translate(-17px, 58px) !important;
}
/* style.css pads both the row (`.select-dropdown .dropdown-menu li { padding: 8px }`)
   and the .dropdown-item inside it (16px); order pages zero the li via parcel.css's
   `.select-box .dropdown-menu li { padding: 0 !important }`, but Settings never
   loads that reset, so its menu rows were 16px taller. One 16px pad per row. */
#addRecipientModal .recipient-modal .select-box .dropdown-menu li {
  padding: 0 !important;
}
/* ...style.css `.select-dropdown .dropdown-menu .dropdown-item` also zeroes the item
   padding that parcel.css restores to 16px, and paints the menu #F0F0F0 where order
   pages get #fefefe (.select-box .dropdown-menu) — same rows and skin everywhere */
#addRecipientModal .recipient-modal .select-box .dropdown-menu .dropdown-item {
  padding: 16px;
}
#addRecipientModal .recipient-modal .select-box .dropdown-menu {
  background: #fefefe;
  border-radius: 8px;
  box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.08);
}
/* 16px column gutter; drop the heavy mb-32 margin but keep the inherited 10px
   label padding-bottom so the error message has breathing room below it. */
.recipient-modal .order-modal-area > .row {
  --bs-gutter-x: 16px;
}
.recipient-modal .order-modal-area > .row > [class*="-label"] {
  margin-bottom: 0 !important;
}
/* Cancel / Confirm action row — right-aligned reusable buttons, 8px radius, equal
   full-width on mobile. (These lived only in parcel.css, so were absent on Settings.) */
.recipient-modal .ss-form-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}
.recipient-modal .ss-form-actions .custom-btn {
  border-radius: 8px;
  font-size: 16px;
}
@media (max-width: 991.98px) {
  .recipient-modal .ss-form-actions > .custom-btn-wrapper {
    flex: 1 1 0;
  }
}

.recipient-modal .select-phone_code {
  background: #fff;
  height: 210px;
  overflow-y: auto;
  padding: 0 !important;
  transform: translate(-8px, 45px) !important;
  li:hover {
    background-color: #E877221A;
  }
}

.add-purchase__total {
  .add-purchase__total-info {
    display: flex;
    grid-gap: 10px;
    font-size: 12px;
    .declaration__total {
      flex: 1;
    }
    .declaration__price {
      display: flex;
      grid-gap: 5px;
    }
  }
}

.order-form .files-section .cart-area {
  place-items: center;
  .media-pl-5 {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.calculator .weight-group img[alt="weight"] {
  display: none;
}

#educationTabContent input.restricted-search {
  margin-bottom: 10px;
  border: 0;
  background-color: #f7f7f7;
  height: 63px;
}

.order-filters #addressesTab,
#orders-tab-pane .order-filters > div {
  grid-gap: 5px;
}

#orders-tab-pane .order-filters > div {
  display: flex;
  flex-direction: column;
}

.form-card .attach-invoice.files-label .attach__txt {
  margin-bottom: 5px;
}

.buy-for-me-form .agree_terms-label .request-link {
  font-weight: bold;
  /*color: #000;*/
  color: #e87722;
}

#buy-for-me-tabs .calculator .buy-for-me-dropdown .dropdown-menu {
  left: -15px !important;
  width: calc(100% + 30px);
  li {
    padding-left: 15px !important;
  }
}
.bfm-form #buy-for-me-tabs .calculator .buy-for-me-dropdown.select-box > .dropdown-menu,
.bfm-form #buy-for-me-tabs .calculator .buy-for-me-dropdown.select-box > .dropdown-menu.show {
  left: -16px !important;
  right: auto !important;
  width: calc(100% + 32px) !important;
  min-width: calc(100% + 32px) !important;
  max-width: calc(100% + 32px) !important;
  box-sizing: border-box;
  transform: none !important;
  top: calc(100% + 8px) !important;
  margin: 0 !important;
}

.bfm-form #buy-for-me-tabs .calculator .buy-for-me-dropdown.select-box > .dropdown-menu li {
  width: 100%;
}

.bfm-form #buy-for-me-tabs .calculator .buy-for-me-dropdown.select-box > .dropdown-menu li .dropdown-item {
  display: block;
  width: 100%;
  box-sizing: border-box;
}
.bfm-form #buy-for-me-tabs .calculator .buy-for-me-dropdown.select-box .dropdown-toggle {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
}

.bfm-form #buy-for-me-tabs .calculator .buy-for-me-dropdown.select-box .dropdown-toggle span {
  flex: 1;
  min-width: 0;
  display: block;
  white-space: normal !important;
  word-break: break-word;
  overflow-wrap: anywhere;
  text-align: left;
  line-height: 1.4;
}

/* .bfm-form #buy-for-me-tabs .calculator .buy-for-me-dropdown.select-box .dropdown-toggle .arrow {
  flex-shrink: 0;
  margin-top: 4px;
} */

.bfm-form #buy-for-me-tabs .calculator .buy-for-me-dropdown.select-box > .dropdown-menu li .dropdown-item {
  white-space: normal !important;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.4;
  text-align: left;
}
#buy-for-me-announcements {
  background-color: #fff;
  padding-top: 60px;
  padding-bottom: 60px;
}

/* redesign adaptation - for public pages */
@media screen and (min-width: 1161px) {
  :is(.content:not(.buy-for-me-content, #get-addresses), #abstract-id) {
    padding-top: 0;
  }

  .quality-control .quality-control-subject-options.show {
    min-width: 178px;
    margin-left: -1px !important;
  }

  body:has(.header.sticky-top ~ .content-404) .footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
  }

  .deals-slider {
    height: calc(100vh + 105px);
    overflow: hidden;
  }
  .deals-slider > .container-fluid,
  .deals-slider #bestDealsSlider,
  .deals-slider .carousel-inner,
  .deals-slider .carousel-item,
  .deals-slider .carousel-item img {
    height: inherit;
  }

  .deals-slider .carousel-item img {
    object-fit: cover;
  }

  :is(.subscribe input, #abstract-id) {
    width: 480px;
  }

  body:has(> .head-bar) {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    > .footer {
      margin-top: auto;
    }
  }
  body:has(> .mainAddress) {
    display: block;
  }

  #messageSuccessModal .modal-dialog.info-modal {
    max-width: 300px;
    .btn {
      margin: auto;
    }
  }
  .modal-dialog .order-modal-area {
    .order-success-title-text {
      b {
        word-break: break-word;
      }
    }
    .order-success-text {
      b {
        font-size: 15px;
        font-weight: normal;
        word-break: break-word;
      }
    }
  }

  :is(.table-form .tooltip-wrapper, #abstract-id) {
    .tooltip-inner {
      /*min-width: 300px;*/
      &:after {
        left: 25%;
      }
    }
  }
}

@media screen and (max-width: 1200px) {
  .footer-social-bar {
    justify-content: flex-start;
  }
}
@media screen and (max-width: 1160px) {
  .full-width-on-mobile-lg {
    width: 100%;
  }

  .flex-col-on-mobile-lg {
    flex-direction: column;
  }
  .flex-col-reverse-on-mobile-lg{
    flex-direction: column-reverse;
  }

  .grid-gap-20-on-mobile-lg {
    grid-gap: 20px;
  }

  .grid-gap-10-on-mobile-lg {
    grid-gap: 10px;
  }

  .hide-on-mobile-lg {
    display: none !important;
  }

  .order--1-on-mobile-lg {
    order: -1;
  }

  .center-on-mobile-lg {
    text-align: center !important;
  }

  .navbar .navbar-nav .nav-link {
    padding: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 31px;
  }

  .top-header .top-row a,
  .header .navbar-toggler {
    font-size: 14px;
  }

  .top-header .top-row a:focus-visible,
  .navbar .btn:focus-visible {
    box-shadow: none;
  }

  .header .bell {
    width: 20px;
  }

  .navbar .btn {
    font-size: 13px;
  }

  #cabinet-dropdown-menu.dropdown-menu.show {
    transform: translate(-48px, 44px) !important;
  }

  .nav-item .icon {
    margin-left: 0;
  }

  .announcements .area {
    width: 100%;
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    padding-right: calc(var(--bs-gutter-x) * 0.5);
  }

  .best-deals .row.deals {
    .deal-item {
      margin-bottom: 10px !important;
    }
    & :is(.content, #abstract-id) {
      padding-top: 0;
      padding-bottom: 20px;
      /*h3*/
      p {
        font-size: 16px;
        line-height: 24px;
      }
    }
    &.deals-alt {
      & :is(.content, #abstract-id) {
        padding-bottom: 0;
        right: 0;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        place-content: flex-end;
        padding-right: 30px;
        padding-bottom: 30px;
        h3 {
          margin-top: 5px;
          font-size: 14px;
        }
        p {
          margin-bottom: 0;
          font-size: 25px;
        }
      }
    }
  }

  .deals-slider .carousel-inner .carousel-caption {
    width: calc(100vw - calc(var(--bs-gutter-x) * 2));
    left: calc(var(--bs-gutter-x) * 0.7);
    right: calc(var(--bs-gutter-x) * 0.7);
    .url-link,
    h1,
    h2 {
      margin-bottom: 20px !important;
    }
    h1,
    h2 {
      font-size: 38px;
      line-height: 38px;
    }
  }

  .new-deals {
    margin-left: 15px;
    margin-right: 15px;
    .subscribe input {
      text-align: center;
    }
  }

  .best-shops-results .filters-container {
    margin-bottom: 20px;
  }

   .banner.export-banner {
    height: 400px !important;
    place-content: center;
    background-position: center;
  }

  .banner.no-gutters {
    margin-bottom: 0;
    padding-top: 20px;
    padding-bottom: 20px;
    height: auto;
    /* margin-bottom: 20px !important; */
    @media screen and (max-width: 440px) {
      .flat-button {
        padding-top: 13px;
        padding-bottom: 13px;
      }
    }
    h1 {
      font-size: 40px;
      /*margin-left: 10px;*/
    }
    .video {
      margin-top: 30px;
    }
  }

  #get-addresses.content {
    padding-top: 50px;
    padding-bottom: 0;
  }

  .banner-row .content .banner-content h1 {
    font-size: 35px;
  }

  :is(.pins .content, #abstract-id) {
    padding-top: 16px;
    padding-bottom: 16px;
    h2 {
      font-weight: 500;
    }
    p:last-of-type {
      margin-bottom: 0;
    }
    .mb-80:last-of-type {
      margin-bottom: 0 !important;
    }
    &.mb-128 {
      margin-bottom: 0 !important;
    }
  }

  :is(.info-row, #abstract-id) {
    .message-box {
      padding: 25px;
    }
  }

  :is(.faq, #abstract-id) {
    padding-top: 20px;
    padding-bottom: 40px;
    .row.mb-80 {
      margin-bottom: 40px !important;
      h2 {
        font-size: 36px;
        text-align: left;
      }
    }
    .accordion-item {
      padding: 15px;
    }
  }

  :is(.buttons-row a, #abstract-id),
  :is(.banner .banner-buttons a, #abstract-id) {
    /*width: 100%;*/
    line-height: 50px;
    padding: 0 40px;
    font-weight: 500;
    text-align: center;
  }

  :is(.recipient-card .buttons-row a, #abstract-id) {
    padding: 0 15px;
  }

  .deals-slider.mb-128 {
    margin-bottom: 64px !important;
  }

  .best-deals p {
    color: #a2aaad;
  }

  .container-fluid.mb-90 {
    margin-bottom: 40px !important;
  }

  .row.deal {
    margin-top: 50px;
  }

  .with-business .deal-item .filter {
    z-index: 2;
  }

  .modal.read-more-modal .modal-body h2 {
    word-break: break-word;
  }

  .modal.read-more-modal .modal-body .additional {
    padding-left: 0;
    padding-right: 0;
  }

  .best-shops-results .shop-info a {
    font-size: 16px;
    word-break: break-word;
    line-height: normal;
  }
  @media (min-width: 768px) {
    .anchor-navigation.sticky-top{
      padding-right: 150px !important;
    }
  }
}

@media screen and (max-width: 991px) {
    #about-us.content {
    .about-us-block-row:nth-of-type(n) {
      margin-bottom: 32px !important;
      h2,
      .h2,
      p {
        text-align: left;
      }
    }
  }
#about-us.content {
    .about-us-pic img {
    height: 231px;
    margin-bottom: 40px;
    object-fit: cover;
    border-radius: 16px;
  }
  p {
    display: block;
    font-size: 16px;
    line-height: 24px;
  }
}
    .about-us-stats {
      /* a long unbreakable figure ("14,000,000+") was widening its third and pushing the
         row past the viewport (page-wide horizontal scroll): let the items wrap instead */
      flex-wrap: wrap;
      justify-content: center;
      > div {
        display: flex;
        flex-direction: column;
        place-items: center;
        grid-gap: 15px;
        margin-top: auto;
        flex: 1 1 auto;
        min-width: 0;
      }
      strong,
      span {
        color: #fff;
      }
      strong {
        font-size: 25px !important;
        line-height: normal !important;
      }
      span {
        font-size: 16px !important;
        line-height: 24px !important;
      }
    }
  .hide-on-mobile {
    display: none !important;
  }

  /* About us: on tablet/mobile the three slides are shown stacked and already open
     (image first, then title / subtitle / text), instead of the desktop radio-card switcher */
  .about-us-slider-container {
    display: block;
  }
  .about-us-slider-container .about-us-slider-item {
    display: flex !important;
    flex-direction: column;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: none;
    margin-bottom: 40px;
  }
  .about-us-slider-container .about-us-slider-item .row.mb-40 {
    margin-bottom: 0 !important;
  }
  .about-us-slider-container .about-us-slider-item .row > [class*="col-"] {
    width: 100%;
    margin-left: 0;
  }
  .about-us-slider-container .about-us-slider-img {
    order: -1;
    height: 260px;
    margin-bottom: 24px;
    border-radius: 16px;
  }

  .show-on-mobile {
    display: block !important;
  }

  .flex-on-mobile {
    display: flex;
  }

  .flex-col-on-mobile {
    flex-direction: column;
  }

  .grid-gap-20-on-mobile {
    grid-gap: 20px;
  }

  .grid-gap-5-on-mobile {
    grid-gap: 5px;
  }

  .full-width-on-mobile {
    width: 100%;
  }

  .mt-20-on-mobile {
    margin-top: 20px;
  }

  .mb-20-on-mobile {
    margin-bottom: 20px;
  }

  .mb-0-on-mobile {
    margin-bottom: 0 !important;
  }

  .mr-0-on-mobile {
    margin-right: 0 !important;
  }

  .fs-12-on-mobile {
    font-size: 12px;
  }

  :is(.lh-normal-on-mobile, #abstract-id) {
    line-height: normal;
  }

  #navbarSupportedContent .burger-inner-area > .d-md-none {
    display: flex !important;
  }
  .mob-menu.show .burger-inner-area .d-md-none {
    display: block !important;
  }

  .header.sticky-top.scrolled {
    .navbar-toggler-icon {
      background-image: url("../img/burger.svg");
    }
  }

  .header .burger-inner-area {
    width: 100dvw;
    height: 100dvh;
  }

  .navbar .burger-inner-area .navbar-nav .nav-link {
    font-size: 20px;
    color: #fff;
    &.show {
      color: #e87722;
    }
  }

  .navbar .burger-inner-area .navbar-nav .nav-link:focus-visible {
    box-shadow: none;
  }

  /*.navbar-nav .nav-link.dropdown-toggle.show ~ .dropdown-menu {
		position: static !important;
		margin-top: 0 !important;
		margin-bottom: 10px;
		.dropdown-item {
			padding-top: 3px;
			padding-bottom: 0px;
			font-size: 19px;
			padding-left: 0;
			color: #A2AAAD;
		}
	}*/

  .header .media-nav-body {
    padding-top: 0;
    overflow-x: hidden;
    /*overflow-y: auto;*/
    overflow-y: hidden;
    .navbar-nav {
      /*margin-top: auto;
			margin-bottom: auto;
            transform: translateY(-30px);*/
      margin-top: 50px;
    }
    .top-row {
      border-top: 1px rgba(254 254 254 / 0.1) solid;
      border-bottom: 1px rgba(254 254 254 / 0.1) solid;
      margin-bottom: 10px;
      > div {
        justify-content: flex-start !important;
        grid-gap: 20px;
        .select-dropdown {
          position: absolute;
          transform: translateY(-60px);
        }
      }
    }
  }

  .info .info-row {
    margin-top: 32px;
    grid-gap: 20px;
    .point {
      min-width: 56px;
      max-width: 56px;
      height: 56px;
    }
    .content {
      text-align: left;
    }
  }

  .stats .pins {
    flex-direction: column;
    padding: 0 96px;
    .pin-row {
      width: 100%;
      place-items: center;
      margin-top: 0;
      justify-content: center;
    }
  }

  .stats .video-area .info {
    width: 100%;
    .content {
      width: 100%;
      padding-top: 0;
      place-items: self-start;
      text-align: left;
      h2 {
        font-weight: 500;
      }
      p {
        word-break: break-word;
      }
    }
  }

  .stats .video-area .info:not(:last-of-type) {
    margin-bottom: 40px;
  }

  .join-us .content {
    padding-bottom: 40px;
    h2 {
      word-break: break-word;
      line-height: 38px;
    }
  }

  .pickup-points .container {
    max-width: none;
  }

  :is(.header.sticky-top .container-fluid, #abstract-id) {
    margin-top: 0;
  }

  .deals-slider .carousel-item {
    height: 90vh;
  }

  .deals-slider .carousel-item img {
    height: 100%;
    object-fit: cover;
    object-position: right;
  }

  :is(.deal h2, #abstract-id) {
    font-size: 38px;
    line-height: 38px;
  }

  :is(.points-area, #abstract-id) {
    margin-bottom: 40px;
    padding: 25px;
  }

  :is(.points-area .nav-link, #abstract-id) {
    margin-right: 15px;
    font-size: 17px;
  }
  .lockers-area.content .container-fluid > .row {
    flex-direction: column;
    & > * {
      width: 100%;
      .map-area {
        margin-top: 20px;
        ymaps.ymaps-2-1-79-map {
          width: 100%;
        }
      }
    }
  }

  :is(.lockers-area.content .points-area, #abstract-id) {
    margin-bottom: 0;
    padding: 0;
  }

  :is(.delivery, #abstract-id) {
    h2 {
      margin-bottom: 30px;
    }
  }

  #buy-for-me.form-row {
    /*padding: 25px !important;*/
    padding: 25px 10px !important;
    margin-bottom: 0;
  }

  .announcements {
    padding-top: 150px;
    .area {
      padding-bottom: 50px;
    }
    .area:before {
      top: -100px;
      right: -10%;
      width: 167px;
      height: 196px;
      content: "";
      background: url(../img/george.png);
      background-size: contain;
      background-repeat: no-repeat;
    }
    #announcements .slide-body {
      width: 100%;
      padding-bottom: 20px;
      a {
        font-size: 16px;
      }
      /* the giraffe (.area:before, 117px wide, 96px into the card) hangs over the card's top-right:
         keep the title clear of it, and tall enough that the text below starts beneath it */
      h2 {
        padding-right: 60px;
        min-height: 72px;
      }
    }
    .carousel-indicators [data-bs-target] {
      width: 16px;
      height: 4px;
    }
  }

  .announcements-for-buy_for_me .announcements {
    padding-top: 85px;
    margin-bottom: 0;
  }

  .page-head.business-header h1 {
    width: 100%;
  }

  :is(.page-section, .with-business, #abstract-id) {
    padding-top: 40px;
    padding-bottom: 80px;
  }

  #request-form.request-form {
    padding-bottom: 40px;
  }

  :is(.contact-us, #abstract-id) {
    h2 {
      margin-bottom: 30px;
    }
  }

  .accordion .accordion-item h3 {
    margin-bottom: 0;
  }

  :is(.slider-section p, .content-section, #abstract-id) {
    margin-bottom: 20px;
  }

  #play-video img,
  .video .overlay .calc-play-video img {
    width: 30px;
  }

  #calculator-slide .carousel-item.fixed-height.active {
    height: 100% !important;
  }

  #calculator-slide .carousel-item.fixed-height h2,
  #calculator-slide .carousel-item.fixed-height p {
    font-size: 16px;
    line-height: 24px;
  }

  #calculator-slide .carousel-item.fixed-height .modal-body {
    display: flex;
    flex-direction: column;
  }

  .modal-content .carousel-item .modal-fixed-area {
    flex: 1;
    place-content: flex-start;
  }

  .footer .navbar-nav .nav-link.dropdown-toggle.show ~ .dropdown-menu {
    position: absolute !important;
    margin-left: -20px !important;
    padding-left: 20px;
  }

  .home-footer .row {
    flex-direction: column;
    place-content: flex-start;
    > div {
      width: 100%;
    }
    .get-icon-div {
      margin-top: 20px;
      margin-bottom: 70px;
    }
    .mb-38 {
      margin-bottom: 0 !important;
    }
  }

  .main-footer .row {
    flex-direction: column;
    place-content: flex-start;
  }

  .main-footer .row .mb-32 {
    margin-bottom: 0 !important;
  }

  .main-footer .row > div ul {
    padding-left: 0;
    margin: 30px 0;
  }

  .main-footer div:has(> .payments) {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
  }

  .footer-nav > a {
    margin-left: 0;
  }

  .social-icons {
    justify-content: flex-start !important;
    grid-gap: 7px;
  }

  .home-delivery-img-placeholder {
    margin-right: 0;
  }

  .delivery-item:first-child {
    margin-top: 25px;
  }

  .banner {
    &.export-banner,
    &.about-banner {
      margin-bottom: 0 !important;
    }
  }
  #export-content {
    padding-left: 114px;
    padding-right: 114px;
  }
  .request-individual-tariff .container-fluid{
    padding-left: 185px;
    padding-right: 185px;
  }
  .export-banner,
  .about-banner {
    h1 {
      margin-bottom: 0 !important;
      font-size: 38px !important;
      text-align: center;
    }
    .tagline {
      margin-top: 10px;
      font-size: 16px;
      text-align: center;
      line-height: 24px;
    }
  }

  .buy-for-me-content.content {
    padding-top: 75px;
    padding-bottom: 75px;
  }
  .buy-for-me-content .row {
    /*flex-direction: column;
		place-content: flex-start;*/
    grid-gap: 50px;
  }
  .buy-for-me-content .info-row {
    width: 100%;
  }
  .buy-for-me-content .info-row .point {
    margin-bottom: 0 !important;
    width: 56px;
    height: 56px;
  }
  .buy-for-me-content .info-row .point img {
    width: 44px;
    height: 44px;
  }
  .buy-for-me-content .info-row > .flex {
    flex-direction: row;
    align-items: center;
    grid-gap: 30px;
  }
  .buy-for-me-content .info-row .step-content {
    text-align: left;
  }
  .buy-for-me-content .info-row .step-content h2 {
    font-size: 25px;
  }
  .buy-for-me-content .info-row .step-content p {
    margin-top: 5px;
    padding-bottom: 0;
    font-size: 16px;
    color: #a2aaad;
  }

  .how-to-ship-parcels h2 {
    color: #161616;
    font-size: 25px;
    line-height: 32px;
  }
  .how-to-ship-parcels:before {
    content: none;
  }
  .how-to-ship-parcels .row .col-md-10 {
    width: 100%;
    margin-top: 0 !important;
    margin-bottom: 20px !important;
  }
  .how-to-ship-parcels .how-to-ship-parcels-text {
    padding: 30px;
    background-color: #f0f0f0;
    border-radius: 16px;
    display: flex;
    grid-gap: 20px;
    place-items: center;
  }
  .how-to-ship-parcels .how-to-ship-parcels-text .step {
    display: block;
    font-size: 60px;
    font-weight: 700;
    color: #e87722;
  }
  .how-to-ship-parcels .how-to-ship-parcels-text h4 {
    flex: 1;
    font-size: 16px !important;
    margin-bottom: 0;
    text-align: left;
    line-height: normal;
  }

  .request-individual-tariff-content {
    width: 100%;
    margin-top: 0 !important;
    margin-bottom: 50px !important;
    padding: 0;
    background-color: transparent;
  }
  .request-individual-tariff-content p {
    padding: 0 20px;
    color: #676767;
    font-size: 16px !important;
    text-align: center !important;
    line-height: 24px !important;
  }
  .request-individual-tariff-content p strong {
    color: #161616;
    font-size: 25px;
    line-height: 32px;
  }

  .faq.export-faq h2 {
    font-size: 25px !important;
    line-height: 32px;
    text-align: center !important;
  }
  .faq.export-faq .accordion-item h3 button,
  .faq.export-faq .accordion-item .accordion-collapse p {
    font-size: 16px;
    line-height: normal;
  }
  .faq.export-faq .accordion-item .accordion-collapse .accordion-body p {
    font-size: 14px;
  }

  .banner.export-banner {
    height: 400px;
    place-content: center;
    background-position: center;
  }
  .banner.export-banner h1 {
    line-height: normal;
  }

  .navbar-expand-lg .navbar-nav .dropdown-menu {
    position: static;
    margin-top: 0 !important;
  }

  .navbar-nav .dropdown-menu .dropdown-item {
    padding-top: 7px;
    padding-bottom: 7px;
    line-height: normal;
  }
  .signup {
    max-width: 650px !important;
  }
}

@media screen and (min-width: 441px) {
  :is(.signup, #abstract-id) {
    min-width: 488px !important;
    padding-top: 70px;
  }
  #recover-box .signup,
  #sent-message-box .signup {
    min-width: 0 !important;
  }
  .modal.fade .modal-dialog #business-calculator-slide .modal-footer {
    flex-wrap: nowrap;
    align-items: flex-end;
    flex-direction: row-reverse;
    button {
      margin: 0;
    }
  }

  .calculator .calc-row:has(.dropdown-toggle.fixed-size.show) {
    overflow: visible;
  }

  :is(.best-deals, #abstract-id) {
    /*padding-top:0;
        padding-bottom: 30px;*/
  }

  .calculator .select-dropdown .shipping-condition ~ .dropdown-menu.show {
    transform: translate(-1px, 50px) !important;
  }

  .social-media-on-contacts {
    padding-left: 0;
  }

  .contact-us .social-media-on-contacts {
    padding-left: calc(var(--bs-gutter-x) * 0.5);
  }

  .no-result {
    label {
      margin-bottom: 15px !important;
      padding-left: 20px !important;
    }
    .error label {
      margin-bottom: 0 !important;
    }
    input {
      text-align: left !important;
    }
    button {
      font-size: 16px;
    }
  }

  .modal.fade .modal-dialog {
    min-width: 470px;
  }
  #calculatorModal .modal-dialog{
    min-width: auto ;
}
  #shippingConditionInfoModal .modal-dialog {
    min-width: auto;
  }

  .review-rate {
    /* padding-left: 15px;
    padding-right: 15px; */
  }

  .top-header {
    position: relative;
    /*z-index: 1100;*/
    z-index: 1050;
  }
  .slider:has(#carouselExampleCaptions) {
    margin-top: -190px;
    height: 100vh;
  }
  .slider #carouselExampleCaptions,
  .slider #carouselExampleCaptions .carousel-inner {
    height: inherit;
  }
  #carouselExampleCaptions .carousel-inner .carousel-item {
    background-position: center;
  }
  #carouselExampleCaptions .carousel-inner .carousel-item .carousel-caption {
    /*padding-top: 0 !important;*/
    place-content: center;
  }
  #carouselExampleCaptions .carousel-inner .carousel-item {
    position: relative;
    &:before {
      content: "";
      background: linear-gradient(
        to top,
        #00000080 0%,
        #ffffff00 25%,
        #ffffff00 50%,
        #ffffff00 75%,
        #00000080 100%
      );
      position: absolute;
      width: 100%;
      height: 100%;
    }
    h1,
    h3 {
      width: 80%;
      padding-top: 50px;
      font-size: 70px;
      line-height: 60px;
    }
  }
  #carouselExampleCaptions .carousel-inner .carousel-item p {
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .slider:has(#carouselExampleCaptions) .carousel-indicators {
    bottom: 2px;
  }

  .form-row .form .url-row .shop-part {
    max-width: 226px;
  }

  .order-form .form-card .method-section ~ .section .title {
    margin-top: 32px;
  }

  .order-form .form-card form#sale-order .section {
    margin-bottom: 0;
  }
  .order-form .form-card #special-services {
    margin-top: 32px;
  }


  .remove-file-modal .order-modal-area {
    .button-gray,
    .blue-button {
      min-width: 165px !important;
      display: inline-block;
    }
    .blue-button.delete-confirm-btn {
      min-height: 56px;
      place-content: center;
    }
  }

  #request-form.request-form {
    scroll-margin-top: 120px;
  }
  #with-business.with-business {
    scroll-margin-top: 75px;
  }

  .deposit .card-body:has(#fill-balance-form) {
    background-color: #f0f0f0;
    padding-top: 40px;
    padding-bottom: 40px;
    border-radius: 16px;
  }

  .tooltip .tooltip-inner h3 {
    font-size: 25px;
  }
}
  .access-area .row{
    justify-content: center;
  }
  #dim-calc-row {
    transition: height 0.3s ease, margin-top 0.5s ease;
}
@media screen and (max-width: 440px) {
  .header.sticky-top.scrolled {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .header .navbar {
    padding: 10px 0;
  }

  .burger-inner-area .btn {
    width: auto;
  }

  .slider {
    /*margin-top: 0;*/
    margin-top: -76px;
    .carousel-inner {
      min-height: calc(100vh - 150px);
      /*margin-left: 15px;
			margin-right: 15px;
			width: calc(100vw - 30px);*/
      h1,
      h3 {
        width: 100%;
      }
      .action .btn {
        padding-left: 20px;
        padding-right: 20px;
      }
      .carousel-item {
        height: calc(100vh - 150px);
        .carousel-caption {
          padding-left: 25px;
          padding-right: 25px;
          height: inherit;
          place-content: center;
          padding-bottom: 30px;
          line-height: normal;
          p {
            margin-bottom: 40px;
          }
        }
      }
    }
  }

  .stats {
    padding-top: 40px;
    padding-bottom: 24px;
    .time-part {
      height: auto;
    }
    .content {
      margin-top: 0;
      place-items: flex-start;
      text-align: left;
      p:first-of-type {
        margin-top: 10px;
        word-break: break-word;
      }
    }
  }

  .timeline .carousel-section::before,
  .timeline .carousel-section::after {
    content: none !important;
  }

  .timeline {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
    .row {
      h1,
      h2 {
        font-size: 25px;
        line-height: 31px;
      }
      p {
        width: 75%;
        font-size: 16px;
        line-height: 24px;
      }
    }
    :is(
      .carousel-control-prev-icon,
      .carousel-control-next-icon,
      #abstract-id
    ) {
      width: 32px;
      height: 32px;
    }
  }

  #get-addresses.content {
    .row.mb-80 {
      margin-bottom: 40px !important;
    }
    p {
      margin-bottom: 0;
    }
    .buttons-row {
      align-items: normal;
    }
  }

  .footer-row {
    .footer-nav {
      padding: 0;
    }
    .footer-social-bar {
      padding: 0;
      place-content: flex-start;
    }
  }

  .best-deals .deal-item img {
    width: 100%;
  }

  :is(.best-shops-results, #abstract-id) {
    margin-bottom: 40px;
  }

  .best-shops-results {
    .shops-filter-box {
      padding: 15px;
      .accordion-item {
        padding: 15px;
        border-radius: 16px;
      }
    }
    .shop-logo-holder {
      min-width: initial;

      .shop-logo {
        margin-right: 15px;
      }
    }
    .review p {
      display: block !important;
    }
    .shop-box .flat-button {
      margin-top: 20px;
    }
  }

  .points-box {
    overflow-x: hidden;
  }

  :is(.points-area, #abstract-id) {
    padding: 0;
    .nav-tabs {
      flex-wrap: nowrap;
      place-content: flex-start;
      padding-left: 15px;
      padding-bottom: 15px;
      overflow-x: auto;
      overflow-y: hidden;
      li {
        white-space: nowrap;
        .nav-link {
          margin-right: 0;
          padding: 0 0 5px 0;
          font-size: 20px;
          font-weight: 500;
          white-space: nowrap;
        }
      }
    }
    .tab-content {
      .point-row h2 {
        font-weight: 500;
      }
    }
  }

  body:has(.business-header) {
    background-size: auto 15%;
  }

  .business-header {
    height: 65dvh;
    place-content: center;
    :is(.white-button, #abstract-id) {
      width: 100%;
    }
  }

  #with-business.with-business {
    padding-bottom: 40px;
  }

  #with-business.with-business .deals {
    margin-top: 0;
  }

  #with-business.with-business .deals .filter .btn {
    width: auto;
  }

  #with-business.with-business .deals .deal-item {
    min-height: 230px;
  }

  #with-business.with-business .deals .deal-item .content {
    left: 10px;
  }

  #with-business.with-business .deals .deal-item .content p {
    font-size: 16px;
    font-weight: 500;
    text-align: left;
  }

  #request-form.request-form {
    padding-top: 40px;
    .row p {
      margin-bottom: 20px;
    }
    /* .business-calculator .input-row {
      display: flex !important;
      padding-bottom: 20px;
    } */
    .btn {
      font-weight: 500;
    }
  }

  #request-form.request-form {
    scroll-margin-top: 40px;
  }
  #with-business.with-business {
    scroll-margin-top: 30px;
  }

  .business-header.page-head .white-button {
    width: auto;
    margin-right: 0 !important;
  }

  .deals-slider .page-head h1 {
    line-height: normal;
    font-size: 35px;
  }

  .price-list {
    padding-top: 60px;
    .calculator-row {
      margin-top: 20px;
    }
    .tab-content {
      overflow-x: auto;
      margin-top: 5px;
      /*#home-tab-pane table tr td:nth-of-type(3) {
				display: none;
			}*/
      #home-tab-pane table tr td:not(:nth-of-type(3)),
      :not(#home-tab-pane) table tr td {
        padding-left: 5px;
        padding-right: 5px;
      }
    }
    .hint {
      margin-bottom: 5px !important;
    }
  }

  .modal,
  .signup {
    .fb-button,
    .google-button {
      font-size: 14px;
    }
  }
  #login-banner .signup {
    padding: 24px 0 !important;
  }

  .page-head ~ .best-deals {
    padding-top: 0;
  }

  .best-shops {
    padding-top: 30px;
  }

  .best-deals,
  .best-shops {
    padding-bottom: 50px;
    .btn.grey-bordered-button {
      padding: 0 24px;
      font-size: 13px;
      line-height: 36px;
    }
  }

  .slider .action .btn.active-button,
  .join-us .btn.active-button {
    padding: 0 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    line-height: 50px;
  }

  .active-button-small {
    border-radius: 8px;
  }

  .modal-dialog .modal-content {
    min-height: calc(100dvh - 20px);
  }

  .order-form ~ .modal .modal-content,
  body.modal-open .modal .modal-content,
  .modal.show .modal-content {
    min-height: auto;
  }

  .read-more-modal .modal-dialog .modal-content {
    min-height: auto;
    border-radius: 16px;
    padding: 20px;
    .modal-header img:not(.modal-close) {
      border-radius: 8px;
      height: 325px;
      object-fit: cover;
    }
    .modal-body {
      h2 {
        margin-bottom: 15px;
        font-size: 20px;
        font-weight: 600;
        line-height: 30px;
      }
      p {
        margin: 0;
        padding: 0;
        word-break: break-word;
        &:not(:last-child) {
          margin-bottom: 15px;
        }
      }
    }
  }

  #calculator-slide {
    display: flex;
    flex: 1;
    .carousel-item {
      padding-top: 0 !important;
      height: 100%;
      &.active {
        display: flex;
        flex-direction: column;
        .modal-footer {
          margin-top: auto;
        }
      }
    }
  }

  #trackParcelModal .modal-dialog .modal-content {
    .modal-body {
      display: flex;
      flex-direction: column;
      .tracking-row {
        margin-top: auto;
        margin-bottom: auto;
      }
      .tracking-results .tracking-result {
        margin-bottom: 15px;
        .result-title {
          line-height: normal;
        }
      }
    }
  }

  #calculatorModal .modal-dialog .modal-content {
    .col-form-label {
      font-size: 13px;
    }
    .bright-highlight {
      border-bottom-left-radius: 0;
      border-bottom-right-radius: 0;
    }
    .estimated-price {
      margin-top: 30px;
      margin-left: 0;
      margin-right: 0;
      > span {
        font-size: 16px;
      }
    }
    #dim-calc-row {
      margin-top: -16px;
      .highlight.sizes {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
      }
    }
  }

  #calculatorModal,
  #businessCalculatorModal {
    .modal-footer .footer {
      margin-top: 15px;
      padding-top: 15px;
      border-top: 1px rgba(103, 103, 103, 0.1) solid;
      p {
        width: 100%;
        text-align: left;
      }
    }
  }

  .content {
    padding-top: 40px;
    .content-inner {
      padding: 0 15px;
      h1,
      h2 {
        font-size: 24px;
      }
      ol,
      ul {
        margin-bottom: 0;
        li {
          text-align: left;
          &:not(:last-child) {
            margin-bottom: 15px;
          }
        }
      }
      div > div,
      p:not(:last-child) {
        margin-bottom: 15px;
        text-align: left;
      }
    }
  }

  .home-footer {
    padding-top: 20px;
    h2,
    h3,
    .quality-control {
      font-size: 16px;
      line-height: 24px;
    }
    .quality-control {
      > img {
        margin-top: 0;
        margin-bottom: 15px;
      }
      h3 {
        font-size: 16px;
        font-weight: 500;
      }
      .flat-button {
        padding-top: 4px;
        padding-bottom: 6px;
        font-weight: 500;
      }
      .select-dropdown,
      input,
      textarea {
        margin-bottom: 15px;
        border-radius: 8px;
      }
    }
    ul li {
      font-size: 16px;
      line-height: 24px;
      & {
        margin-top: 10px;
        color: #fff;
        a[href*="tel"],
        a[href*="mailto"] {
          color: #fff;
        }
      }
    }
  }

  .home-footer .get-icon-div a {
    display: inline-flex;
  }

  .home-footer .get-icon-div a .get-icon {
    margin-top: 0;
    margin-right: 0;
    max-width: 170px;
    height: auto;
  }

  .main-footer {
    h2,
    ul li,
    p {
      font-size: 16px;
      font-weight: 500;
      line-height: 24px;
    }
    ul li {
      margin-bottom: 10px;
    }
  }

  :is(.recover, #abstract-id) {
    padding: 0;
    .signup {
      #send-button,
      p {
        font-size: 16px;
        line-height: 24px;
      }
    }
  }

  .follow-row {
    margin-top: 40px;
    a img {
      min-width: auto;
    }
  }

  :is(.page-head p, #abstract-id) {
    margin-bottom: 0;
  }

  :is(.search-area, #abstract-id) {
    border-radius: 8px;
    /*padding-left: 16px !important;*/
    padding-top: 15px;
    padding-bottom: 15px;
    img {
      top: 15px;
    }
  }
  :is(
    .best-shops-banner .search-area,
    .files-section .search-area,
    #abstract-id
  ) {
    padding-left: 50px !important;
  }

  .filter-head h2 {
    margin-bottom: 0;
  }

  #restricted-filter .accordion-item {
    padding-top: 15px;
    padding-bottom: 15px;
    border-radius: 16px;
    .accordion-body a .label {
      align-items: center;
    }
    .accordion-body a:last-of-type .label {
      margin-bottom: 0 !important;
    }
  }

  .items-list {
    .item img {
      align-self: flex-start;
      margin-top: 5px;
    }
    h3 {
      font-size: 20px;
      font-weight: 700;
    }
  }

  :is(.page-head, #abstract-id) {
    h1,
    h2 {
      font-size: 25px;
      margin-bottom: 0;
    }
    p {
      font-size: 16px;
      line-height: 24px;
    }
    p:last-of-type {
      padding-bottom: 20px;
    }
  }

  .new-deals {
    padding: 25px !important;
    margin-left: 0;
    margin-right: 0;
    border-radius: 0 !important;
  }

  .new-deals .subscribe {
    display: block;
  }

  .new-deals .subscribe button[type="submit"] {
    width: 100%;
  }

  .best-shops-banner {
    padding-top: 30px;
    .banner {
      .search-bar p {
        color: #fff;
      }
    }
  }

  .best-shops-results .shops-filter-box h3 {
    margin-bottom: 0;
  }

  .best-shops-results .shops-filter-box {
    h3,
    a,
    .accordion .accordion-button,
    .shops-filter-title {
      font-size: 16px;
      line-height: 24px;
    }
  }

  .best-shops-results .shops-filter-box .accordion {
    margin-bottom: 0 !important;
  }

  .best-shops-results .shops-filter-box .accordion .accordion-item:last-child {
    margin-bottom: 0;
  }

  .best-shops-results .shop-box {
    .rating {
      margin-top: 10px;
      margin-bottom: 10px;
      justify-content: center;
    }
    .review {
      margin-top: 0;
      /*flex-direction: row !important;*/
      grid-gap: 10px;
      a:not(.flat-button) {
        font-weight: 600;
        /* color: #e87722; */
        text-decoration: none;
      }
      .flat-button {
        margin-top: 0;
        font-weight: 500;
        padding: 5px 10px;
      }
      p {
        font-size: 14.5px;
        white-space: nowrap;
      }
    }
  }

  .access-alt-way p {
    font-size: 15px !important;
    line-height: normal !important;
  }

  .navbar-nav .dropdown-menu .dropdown-item {
    transition-duration: 100s;
  }

  .select-dropdown.dropdown.highlight.select-box {
    padding-left: 11px !important;
  }

  .points-area .tab-content .point-row.selected {
    flex-direction: column;
  }

  .points-area .tab-content .point-row.selected .img {
    height: 230px;
  }

  .points-area .point-row:not(.active) .see-more {
    display: block !important;
    float: none !important;
    margin-left: 0 !important;
    margin-bottom: 20px;
  }

  #calculator-slide .carousel-inner {
    /*overflow: initial;*/
  }

  :is(.info-row, #abstract-id) {
    /*padding-bottom: 40px;*/
  }
  :is(.export .buy-for-me-content .info-row, #abstract-id) {
    padding-bottom: 0;
  }

  .info-row .content {
    padding-top: 0;
  }

  .access-area {
    align-items: self-start !important;
  }

  .content .content-inner ol,
  .content .content-inner ul,
  .content .content-inner p {
    font-size: 16px;
    line-height: 24px;
  }

  .content .content-inner p *,
  .content .content-inner p ~ div,
  .content .content-inner p ~ div * {
    font-size: 16px !important;
    line-height: 24px !important;
  }

  .points-area .tab-content .point-row.selected .flat-button {
    margin-left: 0;
  }

  .shop-not-found-form {
    .no-result .input {
      margin-bottom: 15px !important;
      input {
        text-align: left;
      }
    }
    button {
      font-size: 16px;
    }
  }

  #add-account-modal.login-modal .modal-body h2 {
    margin-bottom: 32px !important;
  }

  .calculator .estimated-price b {
    font-size: 22px;
  }
  #calculatorModal .calculator-fee-accordion.is-open .estimated-price b {
      font-size: 22px;

  }

  .modal-title {
    line-height: normal;
  }

  #carouselExampleCaptions .carousel-inner .carousel-item {
    /*background-image: none !important;*/
    /*padding-left: 15px;
		padding-right: 15px;*/
    background-size: cover;
    background-position: center;
  }

  .stats .time-part {
    padding-top: 0;
  }
  .time-part .digit.odometer {
    height: auto !important;
  }

  .deals-area.best-deals .deals {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .counter .counter-item .number {
    width: auto !important;
  }

  .review-rate .rates_count {
    margin: auto;
  }

  /* for profile pages - start */
  #cabinetTabContent #addressesTab .nav-item .nav-link span {
    text-align: center;
  }
  .tabs .buttons-row #cabinetTab .nav-item .nav-link {
    /*width: 180px;*/
    /*width: fit-content;*/
    font-size: 17px;
    line-height: normal;
  }
  .tabs .buttons-row #cabinetTab .nav-item:last-of-type .nav-link {
    margin-left: auto;
  }

  #cabinetTabContent .tab-pane .address-details .copy-row .copied {
    display: block;
    text-align: center;
  }
  .order-form .form-card #sale-order .country-section .radio-tab,
  .order-form .form-card #sale-order .method-section .radio-tab {
    min-width: max-content !important;
  }
  .order-form .form-card #sale-order .method-section .radio-tab p,
  .order-form .form-card #sale-order .method-section .radio-tab span {
    display: block;
    text-align: center;
  }

  #inCountry-sale-orders #order-delivery-btn {
    margin-top: 20px;
  }

  /*.order-form #settings-tabs .accordion-item .accordion-body .recipient-card .buttons-row {
		overflow-x: auto;
	}*/
  .order-form
    #settings-tabs
    .accordion-item
    .accordion-body
    .recipient-card
    .buttons-row
    img {
    margin: 17px 0;
  }

  .transactions .tab-content#cabinetTabContent > .row > .col-3 {
    width: 100%;
  }

  .tabular-data-outer .tabular-data-inner {
    width: 100% !important;
  }
  .tabular-data-outer .tabular-data-inner .form-item {
    flex-direction: column;
    place-content: flex-start;
    grid-gap: 10px;
  }
  .tabular-data-outer .tabular-data-inner .form-item .card-block {
    width: 100%;
    display: block;
  }

  .white-pages-body .burger-inner-area {
    p,
    b {
      color: #000;
    }
  }

  :is(#orders-tab-pane.tab-pane .order-filters, #abstract-id) {
    padding: 0 !important;
    background-color: transparent !important;
    .order-filter {
      height: 64px;
      padding: 16px;
      border-radius: 6px !important;

      span {
        font-size: 16px;
      }
    }
  }

  .address-card .address-details {
    /* background: #f7f9fa; */
    border-radius: 8px;
    padding: 16px;
    .link .copy.copy-all {
      line-height: 48px !important;
      background: #e8772225;
      border-radius: 48px;
      text-align: center;
      margin-top: 10px;
    }
  }

  .order-form .accordion-body .cart-area span:empty {
    display: none;
  }

  .orders .tabs .nav-tabs .tab {
    padding: 9px 30px !important;
    border-radius: 8px;
  }

  #addRecipientModal .modal-dialog .order-modal-area .text-end button {
    padding-left: 20px;
    padding-right: 20px;
  }

  .settings-form label.switch {
    min-width: 64px;
    margin-left: 10px;
  }

  #changeAddressModal .modal-body {
    margin-top: 0;
    .grey-bordered-button,
    .blue-button {
      padding-left: 20px;
      padding-right: 20px;
      border-radius: 16px;
    }
  }

  :is(.address-cards, #abstract-id) {
    padding-left: 0 !important;
    padding-right: 0 !important;
    .recipient-box .dropdown-toggle,
    .address-details .value {
      font-size: 14px;
      line-height: normal;
    }
    .address-details .copy-all {
      background-color: transparent;
      text-align: right;
      /*width: max-content;
			transform: translateX(-30px);*/
    }
    .address-details .recipient {
      .title {
        display: none;
      }
      .value {
        width: calc(100% - 100% / 12 * 2);
      }
    }
    .address-details .title {
      padding-right: 0 !important;
    }
    .address-details .copy-row {
      padding-right: 0 !important;
    }
    .address-details .row:not(:first-of-type) .value {
      padding-left: 0 !important;
      font-size: 13px !important;
    }
  }

  #media-navigation-slide .dropdown-item:focus {
    color: #e87722 !important;
  }

  .notifications-card .head .buttons {
    width: 100%;
    justify-content: space-between;
  }
  .notifications-card .head .buttons a {
    border-radius: 8px;
    padding: 4px 40px 5px !important;
    border-bottom: 0 !important;
    font-size: 16px !important;
    width: 50%;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .notifications-card .head .buttons a.active {
    background: #161616;
    color: #fefefe !important;
  }

  .notifications-card .head .buttons a:not(.active) {
    background: #fefefe;
  }

  .orders .tabs .buttons-row .nav .nav-item {
    width: 50%;
  }

  .deposit {
    padding-bottom: 50px;
    #fill-balance-form {
      .deposit-submit {
        padding-top: 16px;
        padding-bottom: 16px;
        border-radius: 8px;
        min-width: auto;
      }
    }
  }

  #cabinetTabContent #orders-tab-pane.tab-pane .order-filters {
    padding-bottom: 50px !important;
    .order-filter.active {
      background: #f7f7f7 !important;
    }
  }

  .disabled.mark-all-seen {
    pointer-events: none;
    background-color: #f0f0f0;
    border: 1px #ccc solid;
    color: #00000050;
  }

  .order-form #sale-order button.blue-button {
    margin: 20px 0;
  }

  .order-form #sale-order .method-section .radio-tab.switch-tab {
    min-width: 165px !important;
    .text-start {
      span {
        white-space: normal;
      }
    }
  }

  :is(.tooltip-inner, #abstract-id) {
    min-width: auto !important;
    width: fit-content !important;
  }

  .notifications-page .head a[type="button"] {
    padding: 5px 16px;
    border-radius: 8px;
    font-size: 16px;
    &.disabled {
      background: #f0f0f0 !important;
      border-color: #f0f0f0;
      color: #393939 !important;
      pointer-events: none;
      opacity: 0.5;
    }
  }

  .order-form .form-card #special-services {
    padding-top: 10px;
  }
  /* for profile pages - end */

  .banner.export-banner {
    background-position: right;
  }

  .about-us .banner .about-us-stats {
    strong {
      font-size: 25px;
    }
    span {
      font-size: 16px;
      line-height: 24px;
    }
    img {
      width: 32px;
    }
  }

  .about-us-slider-container .about-us-slider-img {
    height: 200px;
  }

  #about-us.content {
    /* the slides are visible on mobile now, so keep a gap below the banner */
    padding-top: 40px !important;
    h1,
    .h1 {
      font-size: 38px;
      line-height: 38px;
    }
    p {
      display: block;
      font-size: 16px;
      line-height: 24px;
    }
    .about-us-block-row:nth-of-type(n) {
      margin-bottom: 32px !important;
      h2,
      .h2,
      p {
        text-align: left;
      }
      .about-us-pic {
        margin-bottom: 40px;
        order: -1;
        img {
          height: 230px;
        }
      }
    }
  }

  .service-modal .modal-body {
    .button-gray {
      margin-right: 0 !important;
    }
    .button-gray,
    .blue-button {
      padding-left: 20px;
      padding-right: 20px;
    }
  }

  #buy-for-me-form #buy-for-me-tabs {
    .requests-0-qty-label,
    .requests-0-size-label,
    .requests-0-color-label {
      width: 100%;
    }
  }

  .signup-area .phone_number-label .select-phone_code {
    transform: translate(3px, 45px) !important;
  }

  .modal {
    .delete-parcel-modal {
      .grey-button,
      .blue-button {
        padding-left: 10px;
        padding-right: 10px;
        margin: auto;
      }
    }
  }

  .recipient-addr-on-mobile {
    width: 100%;
    margin: auto;
    .recipient-addr-left {
      width: 50%;
      padding-left: 0;
      .arrow {
        margin-left: 10px;
      }
    }
    .recipient-addr-right {
      width: 50%;
      padding-right: 0;
    }
  }

  .banner-row .e2td-none {
    width: 100%;
    margin-bottom: 0 !important;
    .content {
      width: 100%;
      min-height: 40vh;
      margin-top: 0;
      margin-left: 0;
      padding-top: 0;
    }
  }

  .order-cell-height-on-mobile {
    min-height: 71px;
  }
}
.message-success-button-row{
  justify-content: center !important;
}
/* redesign adaptation - for profile pages */
@media screen and (max-width: 1160px) {
    .message-success-button-row {
        justify-content: flex-end !important;
    }
  .tabs .buttons-row {
    flex-direction: column;
    grid-gap: 10px;
    .nav.nav-tabs {
      justify-content: space-between;
      .nav-item:last-child .nav-link {
        margin-right: 0;
      }
    }
  }

  .add-order-button {
    align-self: flex-start;
    .blue-button {
      min-width: initial;
    }
  }

  .tabular-data-outer {
    overflow-x: auto;
  }

  .tabular-data-inner {
    width: 1000px;
    &.orders-list,
    &.transactions-list {
      width: 1000px;
      margin-bottom: 0;
    }
    &.table-form {
      width: 100%;
      margin-bottom: 0;
    }
    &.buy-for-me-filter {
      width: 100%;
    }
  }

  .orders-list a.label,
  .table-form a.label {
    width: max-content !important;
  }

  #addressesTab .nav-item .nav-link span {
    display: flex;
    align-items: center;
    text-align: left;
    white-space: nowrap;
  }

  .order-form .form-card {
    padding: 7px;
  }

  .order-filters .deliveries .delivery-item {
    padding: 10px;
    .status .status-icon {
      margin-right: 0;
    }
    .blue-button {
      min-width: inherit;
      padding-inline: 9px;
      font-size: 13px;
    }
  }

  .orders .tabs .search-area {
    margin-left: 0;
  }
}
@media (max-width: 1400px) {
  @media (min-width: 992px) {
    #carouselExampleCaptions .carousel-inner .carousel-item h3 {
      width: 100%;
    }

    .header .navbar-brand img {
      max-width: 140px;
    }
    .header .nav-item {
      margin-right: 10px;
    }
    .header .nav-item .nav-link {
      font-size: 13.7px;
    }

    :is(.pins .content, #abstract-id) {
      p:last-of-type {
        word-break: break-word;
      }
    }

    .footer {
      padding-right: calc(var(--bs-gutter-x) * 0.5);
      padding-left: calc(var(--bs-gutter-x) * 0.5);
    }
    .footer-social-bar {
      gap: 10px;
    }
  }
}

@media screen and (max-width: 1024px) {
  @media (min-width: 991px) {
    .navbar-expand-lg .navbar-nav .dropdown-menu {
      left: 0;
    }
  }
}
.slider .carousel-caption .carousel-title {
  margin-bottom: 20px;
  font-style: normal;
  font-weight: 700;
  font-size: 80px;
  line-height: 77px;
  text-align: center;
  color: #fefefe;
  width: 68%;
}
.footer:has(> .container-fluid > .footer-row) {
  padding-left: 0;
  padding-right: 0;
}
.footer .container-fluid,
.main-footer .container-fluid,
.home-footer .container-fluid {
  padding-left: 32px;
  padding-right: 32px;
}
.footer-row {
  --bs-gutter-x: 0;
}
@media screen and (max-width: 1200px) {
  .footer .container-fluid,
  .main-footer .container-fluid,
  .home-footer .container-fluid,
  .price-list .container-fluid {
    padding-left: 24px;
    padding-right: 24px;
  }
}
/*@media (max-width: 820px) {*/
@media (max-width: 991px) {
   .footer-row {
    .footer-nav {
      padding: 0;
    }
  }
  .footer .container-fluid,
  .main-footer .container-fluid,
  .home-footer .container-fluid,
  .price-list .container-fluid {
    padding-left: 16px;
    padding-right: 16px;
  }
.best-deals-container-fluid-row-media{
    padding-left: 10px;
    padding-right: 10px;
}
.best-deal-overlay{
  height: 59px;
}
  #login-banner .banner-row{
  justify-content: center;
}
  .slider .carousel-caption .carousel-title {
    font-size: 38px !important;
    line-height: 44px !important;
    width: 80% !important;
  }

  .slider .carousel-caption .carousel-description {
    font-size: 16px !important;
    line-height: 24px !important;
  }
  .slider .carousel-indicators {
    display: none;
  }
  /*@media (min-width: 768px) {*/
  @media (min-width: 576px) {
    body .top-header {
      transition: none;
    }
    body.no-overflow .top-header {
      opacity: 0;
      z-index: -1;
    }

    .navbar button.navbar-toggler {
      order: 2;
    }

    /* :is(.footer, #abstract-id) {
      padding-right: calc(var(--bs-gutter-x) * 0.5);
      padding-left: calc(var(--bs-gutter-x) * 0.5);
    } */

    .info .content h2,
    .info .content p {
      /* text-align: center; */
    }

    .stats p {
      margin-bottom: 30px;
    }

    :is(.pins .content, #abstract-id) {
      padding-top: 0;
    }
    :is(.pins .content, #abstract-id) {
      p:last-of-type {
        margin-top: 0;
      }
    }

    .stats .video-area .info {
      & .content {
        h2,
        p {
          text-align: left;
        }
      }
    }

    .price-list .nav {
      justify-content: center;
    }

    .buy-for-me-content.content {
      padding-bottom: 0;
      margin-bottom: 75px !important;
    }

    .export .buy-for-me-content.content {
      padding-bottom: 75px;
      margin-bottom: 0 !important;
    }

    :is(.delivery, .timeline, .contact-us, #abstract-id) {
      padding-top: 75px;
      padding-bottom: 75px;
    }
    :is(.info-row, #abstract-id) {
      /* padding-bottom: 75px; */
    }

    :is(.order-form .accordion-body .info-row, #abstract-id) {
      padding-bottom: 15px;
    }

    .order-form .accordion-body .cart-area span:empty {
      display: none;
    }

    .buy-for-me-content .info-row {
      padding-bottom: 0 !important;
    }

    :is(.best-shops-results, #abstract-id) {
      margin-bottom: 75px;
    }

    .best-deals .deal-item img {
      width: 100%;
    }

    #get-addresses .container-fluid .row {
      flex-direction: column;
    }

    #get-addresses .container-fluid .row > * {
      width: 100%;
    }

    #get-addresses .container-fluid .row .d-md-block {
      margin-bottom: 20px;
      order: -1;
    }

    .shops-filter-box .accordion {
      margin-bottom: 0 !important;
    }

    .social-media-on-contacts .follow-row {
      flex-direction: column;
      grid-gap: 20px;
    }

    .social-media-on-contacts {
      padding-left: 11px;
    }

    .new-deals .subscribe form {
      flex-direction: column;
      width: 100%;
      grid-gap: 10px;
      .subscribe_email-label {
        width: 100%;
        .input-area {
          width: 100%;
          margin-right: 0;
        }
      }
      .blue-button {
        width: 100%;
      }
    }
  }
}

@media screen and (max-width: 820px) {
  @media (min-width: 768px) {
    :is(.cabinet-header-menu #balance-dropdown.dropdown-menu, #abstract-id) {
      transform: translate(-22%, 52px) !important;
    }
  }
}

/* custom updates since 2025.10.09 */
.best-deals .deal-item {
  /* for Front-page, also for Deals and Trends pages */
  display: flex;
  place-content: center;
}

@media screen and (min-width: 992px) {
   #content-inner-offset {
        margin-left: 32px;
    }
  /* for top navbar's dropdown menu */
  .navbar .navbar-nav .nav-item {
    cursor: pointer;
    /* only hover-opened parents ignore clicks; items without children (no .dropdown on the li) are real links */
    &.dropdown .nav-link {
      pointer-events: none;
    }
    & .dropdown-menu {
      transition: all 0.25s ease-out allow-discrete;
    }
    &:hover .dropdown-menu {
      margin-top: 0 !important;
      opacity: 1;
      display: block;
      transition: all 0.25s ease-out allow-discrete;
    }
  }
}

/* totally for flags' redesign per Figma */
.price-list .tab-pane .table th, /* in front-page's Price List table and Profile's Order page */
.order-filters #addressesTab .nav-item {
  img {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 3px;
  }
}
.price-list .tab-pane .table th img {
  transform: translateY(4px);
}

#calculator-slide, /* in calculator */
.signup, /* in registration form */
#addRecipientModal {
  /* in Profile Settings popup */
  .select-dropdown img:not([class]) {
    width: 21px;
    height: 21px;
    object-fit: cover;
    border-radius: 3px;
  }
}

@media screen and (min-width: 992px) {
  #content-no-padding{
    padding-top: 0 ;
  }
  .stats .container-fluid .row .pins {
    margin-right: 12px;
    margin-left: 12px;
  }
  .form-card .section .body .radio-tab {
    /* in Sale Order page */
    img {
      width: 55px;
      height: 40px;
      object-fit: cover;
    }
  }
}

.table-form.details-view {
  /* in Buy For Me -> View page */
  img[alt="country flag"] {
    width: 30px;
    height: 22px;
    object-fit: cover;
    border-radius: 3px;
  }
}

.access-via-social a {
  /* opacity: 0.6;
  &:hover {
    opacity: 1;
  } */
}

.price-list {
  .sc-main-price-main {
    font-size: 22px;
  }

  .sc-main-price {
    color: #dd5822;
    font-weight: bold;
  }

  .sc-old-price {
    font-size: 16px;
    position: relative;
    bottom: 5px;
    text-decoration: line-through;
  }

  @media screen and (max-width: 555px) {
    .sc-main-price,
    .sc-main-price-main {
      font-size: 13px;
    }

    .sc-old-price {
      font-size: 10px;
    }
  }
}

@media screen and (max-width: 768px) {
  .tabs .buttons-row #cabinetTab {
    gap: 16px;
  }
  .tabs .buttons-row #cabinetTab .nav-item {
    width: 50%;
  }
  .tabs .buttons-row #cabinetTab .nav-item .nav-link {
    width: 100%;
    text-align: center;
  }

  #notifications-tabs{
    background: #f7f7f7 !important;
  }

  .notifications-card .head .buttons {
    width: 100%;
    justify-content: space-between;

  }
  .notifications-card .head .buttons a {
    background: #FEFEFE;
    border-radius: 8px;
    padding: 4px 40px 5px !important;
    border-bottom: 0 !important;
    font-size: 16px !important;
    width: 50%;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
.best-deals-container-fluid-row-media{
    padding-left: 4px;
    padding-right: 4px;
}
  #about-us.content {
    .about-us-pic img {
    height: 231px;
    margin-bottom: 40px;
    object-fit: cover;
    border-radius: 16px;
  }
}
   #export-content {
    padding-left: 0px;
    padding-right: 0px;
  }
  .request-individual-tariff .container-fluid{
    padding-left: 12px;
    padding-right: 12px;
  }
  #requests-qty-label{
      width: 100%;
  }
  .time-part .odometer-inside > span {
    font-size: 48px;
  }
  .stats {
    padding-top: 40px;
  }
  .stats .pins {
    padding: 0 4px;
  }
}
@media screen and (min-width: 991px) {

  #educationMediaModalBtn.education-hint-button {
    background-color: #F0F0F0 !important;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    color: #393939 !important;
  }

  .education-card .head #educationModalBtn {
    background-color: #F0F0F0 !important;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    color: #393939 !important;
    padding: 8px 16px;
    transition: background-color .2s, color .2s;
  }
  .education-card .head #educationModalBtn:hover,
  .education-card .head #educationModalBtn:focus {
    background-color: #E87722 !important;
    color: #FEFEFE !important;
  }
}
/* mobile header: the user-name toggler packs right, next to the burger,
   instead of floating centered by the navbar's space-between */
@media screen and (max-width: 991px) {
  .header .navbar-toggler:has(> .profile-navbar) {
    margin-left: auto;
    margin-right: 24px;
  }
  .header .navbar-toggler .profile-navbar-arrow {
    vertical-align: middle;
    margin-left: 2px;
    transition: transform .2s ease;
  }
  /* chevron flips while the profile menu is open */
  .header .navbar-toggler[aria-expanded="true"] .profile-navbar-arrow {
    transform: rotate(180deg);
  }
}

/* ── top bar: flag/arrow group and the phone number share one vertical
   center — without this the right group's children stretch and the
   language link's built-in padding pushes it off the phone's axis ── */
.top-header .top-row > div:last-child {
  align-items: center;
}
.top-header .navbar-nav.single .nav-link {
  padding-top: 0;
  padding-bottom: 0;
}

/* ── desktop header: shrink gracefully as the viewport narrows so long
   locales (hy) never force horizontal scroll; burger takes over <992px ── */
@media (min-width: 992px) {
  /* bootstrap's navbar wraps overflowing items to a second row — force the
     row to hold and let the shrink rules below absorb the width instead */
  .header .navbar {
    flex-wrap: nowrap;
  }
  .header .navbar .navbar-nav {
    flex-wrap: nowrap;
  }
  .header .navbar .navbar-collapse {
    min-width: 0;
  }
}
@media (min-width: 992px) and (max-width: 1700px) {
  .header .navbar-nav .nav-link {
    font-size: 17px;
  }
  .header .nav-item {
    margin-right: 16px;
  }
  .header .navbar-brand img {
    max-width: 220px;
    height: auto;
  }
  .header .auth-buttons-container .mr-40 {
    margin-right: 24px;
  }
  .header .auth-buttons-container .mr-30 {
    margin-right: 16px;
  }
}
@media (min-width: 992px) and (max-width: 1440px) {
  .header .navbar-nav .nav-link {
    font-size: 15px;
    line-height: 22px;
  }
  .header .nav-item {
    margin-right: 12px;
  }
  .header .navbar-brand img {
    max-width: 190px;
    height: auto;
  }
  .header .auth-buttons-container .mr-40 {
    margin-right: 20px;
  }
  .header .auth-buttons-container .mr-30 {
    margin-right: 12px;
  }
  /* long user names / membership titles ellipsize instead of widening the bar */
  .header .cabinet-header-menu .btn b,
  .header .cabinet-header-menu .btn p {
    display: block;
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
@media (min-width: 992px) {
  html[lang="hy"] .header .navbar-nav .nav-item {
    min-width: 0;
  }
  html[lang="hy"] .header .navbar-nav .nav-link {
    white-space: normal;
    text-align: center;
  }
}
@media (min-width: 1700.02px) {
  html[lang="hy"] .header .navbar-nav .nav-link {
    font-size: 17px;
    line-height: 24px;
  }
  html[lang="hy"] .header .nav-item {
    margin-right: 16px;
  }
}
@media (min-width: 992px) and (max-width: 1700px) {
  html[lang="hy"] .header .navbar-nav .nav-link {
    font-size: 15px;
    line-height: 22px;
  }
  html[lang="hy"] .header .nav-item {
    margin-right: 12px;
  }
  html[lang="hy"] .header .navbar-brand img {
    max-width: 190px;
  }
}
@media (min-width: 992px) and (max-width: 1700px) {
  body.flow-kz .top-header .top-row a,
  body.flow-kz .top-header .call {
    font-size: 17px;
    line-height: 24px;
  }
}
@media (min-width: 992px) and (max-width: 1440px) {
  body.flow-kz .top-header .top-row a,
  body.flow-kz .top-header .call {
    font-size: 15px;
    line-height: 22px;
  }
}
@media (min-width: 992px) and (max-width: 1300px) {
  /* menu labels may break to two lines: min-width:0 lets the flex items
     narrow below their one-line width */
  .header .navbar-nav .nav-item {
    min-width: 0;
  }
  .header .navbar-nav .nav-link {
    white-space: normal;
    text-align: center;
  }
  .header .navbar-brand img {
    max-width: 150px;
  }
  .header .cabinet-header-menu .btn b,
  .header .cabinet-header-menu .btn p {
    max-width: 100px;
  }
}

/* ── customs-debt modal: login-style floating inputs (sign-up.css is not
   loaded on profile pages, so the pattern is replicated here, scoped) ── */
.order-debt-pay-modal-area .floating-label-group {
  position: relative;
  padding: 0;
}
.order-debt-pay-modal-area .floating-label-group > input.floating-input {
  width: 100%;
  padding: 20px 16px;
  background: #FFFFFF;
  border: 3px solid #F0F0F0;
  border-radius: 16px;
  color: #161616;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  outline: none;
  transition: border-color 0.15s ease-in-out;
}
.order-debt-pay-modal-area .floating-label-group > .floating-input:focus {
  border-color: #161616;
}
/* disabled fields look like any other filled field — same fill, same text */
.order-debt-pay-modal-area .floating-label-group > input.floating-input:disabled {
  background: #FFFFFF;
  color: #161616;
  -webkit-text-fill-color: #161616;
  opacity: 1;
  cursor: default;
}
.order-debt-pay-modal-area .floating-label-group > .floating-input::placeholder {
  color: transparent;
}
.order-debt-pay-modal-area .floating-label-group > label {
  position: absolute;
  z-index: 2;
  left: 16px;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  padding: 0 !important;
  background: transparent !important;
  color: #676767;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  pointer-events: none;
  transition: all 0.2s ease, background-color 0s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.order-debt-pay-modal-area .floating-label-group > .floating-input:focus + label,
.order-debt-pay-modal-area .floating-label-group > .floating-input:not(:placeholder-shown) + label {
  top: 0;
  right: auto;
  max-width: calc(100% - 16px);
  padding: 0 8px !important;
  background: #fff !important;
  color: #000;
  font-size: 14px;
  line-height: 20px;
}
/* even vertical rhythm: wrappers already carry 10px bottom padding plus the
   reserved error-message line from the global [class*="-label"] rules */
.order-debt-pay-modal-area .row + .row {
  margin-top: 8px;
}
.order-debt-pay-modal-area .personal_data_check-label {
  padding: 4px 0 12px;
}
.order-debt-pay-modal-area .personal_data_check-label .terms {
  margin: 0;
  cursor: pointer;
  flex: 1 1 auto;
}
/* the checkbox is a flex item — without this it gets squeezed off-square */
.order-debt-pay-modal-area .personal_data_check-label .blue-checkbox {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
}
/* style.css's `.modal-body input:focus { border-color: inherit }` turns the
   focused checkbox border grey — keep it orange in every modal */
.modal-body .blue-checkbox:focus,
.modal-body .blue-checkbox:focus-visible {
  border-color: #E87722;
}
/* error sits under the checkbox text; the :is(#abstract-id) mirrors the
   global error-message rule's inflated specificity so the margin sticks */
:is(.order-debt-pay-modal-area .personal_data_check-label .error-message, #abstract-id) {
  margin-left: 48px !important;
}
.order-debt-pay-modal-area .input-area.error .floating-input {
  border-color: #E87722;
}
img[src*="/status-gif/"] {
  mix-blend-mode: multiply;
}

.home-footer h3 .footer-contacts-link {
  color: inherit;
  text-decoration: none;
}
.home-footer h3 .footer-contacts-link:hover {
  color: #e87722;
}

/* Price list: "additional info" warning icon next to a shipping method, and its popup */
.price-list .sc-additional-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  width: 28px;
  height: 28px;
  margin-left: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.price-list .sc-additional-info .sc-additional-info-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}
/* below lg (media.css centres the flag above the title and zeroes its margin) the icon is taken out
   of the flow and pinned to the cell's right edge: the flag stays centred exactly like the rows
   without an icon, and the icon never leaves the country column */
@media (max-width: 991.98px) {
  .price-list .table tbody th {
    position: relative;
  }
  .price-list .sc-additional-info {
    position: absolute;
    /* centred on the flag, not on the cell: the cell's padding is 24px top / 16px bottom (media.css),
       which puts the flag 4px below the cell's middle, and the flag is nudged another 4px down */
    top: calc(50% + 8px);
    right: 6px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    margin: 0;
  }
  .price-list .sc-additional-info .sc-additional-info-icon {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }
}
/* phones: Bootstrap gives the dialog 0.5rem on each side; keep the left as is and double the right,
   which visually balances the scrollbar track that sits on that side */
@media (max-width: 575.98px) {
  #shippingConditionInfoModal .modal-dialog {
    margin-right: 1rem;
  }
}
/* compact dialog: 420px wide, cover flush at the top (edge to edge, following the dialog's corners),
   24px around the text */
#shippingConditionInfoModal {
  --bs-modal-width: 420px;
}
#shippingConditionInfoModal .modal-content {
  position: relative;
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
}
#shippingConditionInfoModal .modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
}
#shippingConditionInfoModal .sc-info-cover img {
  display: block;
  width: 100%;
  border-radius: 0;
}
#shippingConditionInfoModal .sc-info-content {
  padding: 24px;
}
#shippingConditionInfoModal .sc-info-body {
  color: #161616;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-align: center;
}
#shippingConditionInfoModal .sc-info-body p:last-child {
  margin-bottom: 0;
}
#shippingConditionInfoModal .sc-info-body > :first-child {
  margin-top: 0;
}
#shippingConditionInfoModal .sc-info-body p:empty,
#shippingConditionInfoModal .sc-info-body > br:first-child {
  display: none;
}
#shippingConditionInfoModal .sc-info-button-row {
  margin-top: 24px;
}

/* ─── Dynamic customer popup (v2/modals/_popups.blade.php) — Figma layout ──────────────
   Title + close in the header, rounded cover image, admin HTML styled as heading + copy,
   and a footer with the "do not show" checkbox on the left and reusable buttons right. */
.modal-dynamic .modal-dialog.dynamic-popup {
  --bs-modal-width: 560px;
}
.modal-dynamic .dynamic-popup .modal-content {
  padding: 24px;
  border-radius: 16px;
}
.modal-dynamic .dynamic-popup .modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.modal-dynamic .dynamic-popup-title {
  margin: 0;
  color: #161616;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}
.modal-dynamic .dynamic-popup .modal-close {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  /* pinned right whether or not the title is rendered (space-between would otherwise put a lone
     close icon on the left) */
  margin-left: auto;
  cursor: pointer;
}
/* image: same handling as the old web (.dynamic-modal__image) — centred and scaled to fit, never
   cropped, so a portrait image keeps its whole frame and a wide one fills the width */
.modal-dynamic .dynamic-popup-media {
  margin: 0 0 16px;
  text-align: center;
  line-height: 0;
}
.modal-dynamic .dynamic-popup-media img {
  display: inline-block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 55vh;
  border-radius: 8px;
}
/* admin HTML */
.modal-dynamic .dynamic-popup-content {
  color: #676767;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  /* CMS rich text: long unbroken strings must not widen the dialog */
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.modal-dynamic .dynamic-popup-content > :last-child {
  margin-bottom: 0;
}
.modal-dynamic .dynamic-popup-content h1,
.modal-dynamic .dynamic-popup-content h2,
.modal-dynamic .dynamic-popup-content h3,
.modal-dynamic .dynamic-popup-content h4 {
  margin: 0 0 8px;
  color: #161616;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
}
.modal-dynamic .dynamic-popup-content p {
  margin: 0 0 8px;
}
.modal-dynamic .dynamic-popup-content img,
.modal-dynamic .dynamic-popup-content iframe,
.modal-dynamic .dynamic-popup-content video,
.modal-dynamic .dynamic-popup-content table {
  max-width: 100%;
}
.modal-dynamic .dynamic-popup-content img {
  height: auto;
}
.modal-dynamic .dynamic-popup-content ul,
.modal-dynamic .dynamic-popup-content ol {
  margin: 0 0 8px;
  padding-left: 22px;
}
.modal-dynamic .dynamic-popup-content ul { list-style: disc outside; }
.modal-dynamic .dynamic-popup-content ol { list-style: decimal outside; }
.modal-dynamic .dynamic-popup-content ul ul { list-style-type: circle; }
.modal-dynamic .dynamic-popup-content ul ul ul { list-style-type: square; }
.modal-dynamic .dynamic-popup-content li { margin-bottom: 4px; }
.modal-dynamic .dynamic-popup-content li:last-child { margin-bottom: 0; }
.modal-dynamic .dynamic-popup-content li > ul,
.modal-dynamic .dynamic-popup-content li > ol { margin: 4px 0 0; }
.modal-dynamic .dynamic-popup-content ul:last-child,
.modal-dynamic .dynamic-popup-content ol:last-child { margin-bottom: 0; }
.modal-dynamic .dynamic-popup-content a {
  color: #e87722;
}
/* footer: checkbox left, buttons right; both wrap rather than squeeze each other */
.modal-dynamic .dynamic-popup-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  margin-top: 24px;
}
.modal-dynamic .dynamic-popup-actions {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-left: auto;
}
.modal-dynamic .dynamic-popup-check {
  display: flex;
  flex: 0 1 auto;
  min-width: 0;
  align-items: center;
  gap: 8px;
  margin: 0;
  cursor: pointer;
}
/* the label text: .info-modal span used to make this 20px and centred — state it explicitly */
.modal-dynamic .dynamic-popup-check span {
  display: inline-block;
  margin: 0;
  color: #161616;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  text-align: left;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
/* the shared orange checkbox, scaled to the Figma's 20px */
.modal-dynamic .dynamic-popup-check .blue-checkbox {
  width: 20px;
  height: 20px;
  border-width: 2px;
  border-radius: 4px;
  flex-shrink: 0;
  transform: none;
  margin: 0;
}
.modal-dynamic .dynamic-popup-check .blue-checkbox::before {
  width: 12px;
  height: 12px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
/* reusable buttons: 8px corners like the Figma, and a long label wraps inside the button (as on the
   old web) instead of stretching the footer — hence a min-height rather than a fixed one */
.modal-dynamic .dynamic-popup-actions .custom-btn-wrapper {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  min-height: 44px;
  height: auto;
  border-radius: 8px;
}
.modal-dynamic .dynamic-popup-actions .custom-btn {
  width: 100%;
  min-width: 120px;
  height: auto;
  min-height: 44px;
  border-radius: 8px;
  line-height: 20px;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
/* disabled check button (the checkbox has not been ticked yet) */
.modal-dynamic .dynamic-popup-actions .custom-btn.disabled,
.modal-dynamic .dynamic-popup-actions .custom-btn.disabled:hover,
.modal-dynamic .dynamic-popup-actions .custom-btn.disabled:focus {
  background: #959495 !important;
  border-color: #959495 !important;
  color: #fefefe !important;
  cursor: not-allowed;
}
.modal-dynamic .dynamic-popup-actions .custom-btn.disabled::before {
  content: none;
}
@media (max-width: 767.98px) {
  .modal-dynamic .dynamic-popup-media img {
    max-height: 40vh;
  }
}
@media (max-width: 575.98px) {
  .modal-dynamic .dynamic-popup .modal-content {
    padding: 16px;
  }
  .modal-dynamic .dynamic-popup-footer {
    flex-wrap: wrap;
  }
  .modal-dynamic .dynamic-popup-actions {
    width: 100%;
  }
  .modal-dynamic .dynamic-popup-actions .custom-btn-wrapper {
    flex: 1 1 0;
  }
  .modal-dynamic .dynamic-popup-actions .custom-btn {
    width: 100%;
  }
}

/* Video play overlay: it covers the whole player, including the native control bar, so while it was
   visible nothing in that bar could be clicked. The tint now lets clicks through and only the play
   button itself stays clickable. */
.video .overlay {
  pointer-events: none;
}
.video .overlay > span,
.video .overlay a,
.video .overlay button,
.video .overlay img {
  pointer-events: auto;
}

/* Status pills: the label sits in its own .label-text span so a long status ends in an ellipsis
   instead of being cut mid-word — the pill is a flex row, and a bare text node cannot be truncated.
   The orders list styles its own copy of this (profile/orders.css); this covers the rest, e.g. the
   buy-for-me list, where the pill is a full-width child of a narrow column. */
.label > .label-text {
  /* the buy-for-me list hides every span in a cell on desktop (.card-block span { display: none },
     those spans are its mobile column labels) and restyles them on mobile — state both here so the
     status text shows at the pill's own size in either layout */
  display: inline-block;
  font: inherit;
  color: inherit;
  text-align: inherit;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.label:has(> .label-text) > img {
  flex-shrink: 0;
}
