/* ===== 1. Cart Layout (карточки) ===== */

.main_cart {
  width: 50%;
}

.cart-products-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cart-product-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border: 1px solid #e7e7e7;
  border-radius: 8px;
  background: #fff;
  transition: box-shadow 0.2s;
}

.cart-product-item:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.cart-product-image {
  width: 100px;
  flex: 0 0 100px;
}

.cart-product-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.cart-product-info {
  min-width: 180px;
  flex: 2;
}

.product-name {
  margin-bottom: 5px;
  font-size: 16px;
  font-weight: 600;
}

.product-name a {
  color: #333;
  text-decoration: none;
}

.product-name a:hover {
  text-decoration: underline;
}

.product-warning,
.product-reward {
  color: #f36262;
}

.product-warning {
  margin-left: 5px;
}

.price-old {
  margin-right: 8px;
  color: #999;
  font-size: 13px;
  text-decoration: line-through;
}

.product-options {
  margin: 8px 0;
  font-size: 12px;
}

.option-item {
  margin: 2px 0;
}

.option-name {
  color: #666;
}

.option-value {
  color: #333;
}

.product-reward,
.product-recurring {
  margin-top: 5px;
  font-size: 12px;
}

.product-recurring {
  color: #555;
}

.recurring-info-block {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  border-radius: 6px;
  padding: 10px 15px;
  background: #f9f9fb;
  font-size: 13px;
}

/* --- Количество (десктоп) --- */

.cart-product-quantity {
  flex: 0 0 120px;
}

.quantity-wrapper {
  display: flex;
  width: fit-content;
  align-items: center;
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.qty-decrease,
.qty-increase {
  display: flex;
  width: 32px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: none;
  background: #f5f5f5;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s;
}

.qty-decrease:hover,
.qty-increase:hover {
  background: #e0e0e0;
}

.qty-input {
  width: 50px;
  height: 32px;
  padding: 0 4px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  text-align: center;
  font-size: 14px;
  -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

/* --- Итого / Удаление --- */

.cart-product-total {
  text-align: right;
  flex: 0 0 100px;
}

.total-label {
  display: none;
}

.total-value,
.cart-desktop-total {
  color: #333;
  font-size: 16px;
  font-weight: 700;
  min-width: 100px;
  text-align: right;
}

.cart-product-remove {
  text-align: center;
  flex: 0 0 80px;
}

.remove-btn,
.remove-item-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: none;
  background: none;
  color: #f36262;
  cursor: pointer;
  transition: opacity 0.2s;
}

.remove-btn:hover,
.remove-item-btn:hover {
  opacity: 0.7;
  box-shadow: none;
  background: none;
  color: #f36262;
}

.remove-text {
  font-size: 13px;
}

.remove-btn i {
  font-size: 18px;
}

/* --- Десктоп-строки (итоги, ваучеры) --- */

.cart-desktop-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  border-top: 1px solid #e7e7e7;
  padding: 15px 0;
}

.cart-desktop-item:first-child {
  border-top: none;
}

.cart-desktop-image {
  margin: 0 15px 0 0;
}

.cart-desktop-info {
  min-width: 220px;
  text-align: left;
}

.cart-desktop-remove-item .remove-item-btn {
  padding: 0;
}

.remove-item-col {
  right: 0;
  top: 10px;
  position: absolute;
  transition: all 300ms ease-in-out;
  opacity: 1;
}

/* --- Итоговые строки --- */

.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 10px 0;
}

.total-title {
  margin-right: 15px;
  text-align: right;
  /*flex: 0 0 auto;*/
}

.total-title b {
  font-weight: 600;
}

.total-remove {
  width: 24px;
  text-align: center;
}

/* --- Мобильная корзина --- */

.cart-mobile-view {
  display: none;
}

.cart-mobile-view .old-price {
  display: none;
}

.modern-quantity {
  display: inline-flex;
  max-width: 200px;
  overflow: hidden;
}

.qty-btn {
  display: flex;
  width: 24px;
  height: 24px;
  justify-content: center;
  align-items: center;
  border: none;
  background: #fff;
  color: #343434;
  cursor: pointer;
  margin: 0 15px;
  padding: 13px 0;
  transition: all 0.2s ease;
}

.qty-btn:hover {
  background: none;
  color: #343434;
  box-shadow: none;
}

.item-pricing {
  margin-top: 12px;
  border-top: 1px solid #eee;
  padding-top: 12px;
}

.quantity-col {
  min-width: 110px;
}

.cart-item-card {
  animation: fadeIn 0.3s ease-out;
  position: relative;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ===== 2. Promo-блоки (купон / бонусы / ваучер) ===== */

.promo-blocks {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 15px;
  margin-top: 20px;
}

.promo-block {
  max-width: 300px;
}

.promo-label {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: left;
}

.promo-input-group {
  display: flex;
  gap: 8px;
}

.modern-input {
  flex: 1;
  border: none;
  border-radius: 25px;
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.modern-input:focus {
  outline: none;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.btn-apply {
  border: 1px solid #d7d7d7;
  border-radius: 4px;
  padding: 10px 20px;
  background: transparent;
  color: #343434;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-apply:hover {
  background: #fff;
  color: #667eea;
}


/* ===== 3. SimpleCheckout Core ===== */

.simple-content {
  margin: 20px 5px;
}

.simple-content fieldset {
  text-align: left;
}

.simple-content fieldset h3 {
  margin: 0;
}

.simple-content .name {
  float: none !important;
}

.simple-content .button {
  margin: 20px 0;
  border-radius: 9px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 6px 24px rgba(0, 0, 0, 0.06);
}

.simple-content .buttons {
  margin: 15px 0;
  border: none;
}

.simple-content .form-control {
  width: 100%;
}

.simple-content .form-control:focus,
.simple-content .modern-cart .form-control:focus {
  box-shadow: none;
}

.simplecheckout {
  width: 100%;
}

.simplecheckout::after,
.simplecheckout-block-content::after,
.simpleregister-block-content::after,
.checkout-heading::after {
  content: "";
  display: block;
  clear: both;
}

.simple-content div.required .control-label::before {
  content: "* ";
  color: #f00;
  font-weight: 700;
}

/* --- Колонки макета --- */

.simplecheckout-three-column {
  float: left;
  width: 32%;
  min-width: 200px;
  max-width: 500px;
  margin-right: 2%;
}

.simplecheckout-three-column + .simplecheckout-three-column + .simplecheckout-three-column {
  float: right;
  margin-right: 0;
}

.simplecheckout-left-column {
  float: left;
  width: 70%;
  min-width: 280px;
  max-width: 1900px;
  margin-right: 10px;
  border: 1px solid #e0e0e0;
  border-radius: 9px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 6px 24px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.simplecheckout-right-column {
  float: right;
  width: 25%;
  min-width: 280px;
  max-width: 900px;
  border: 1px solid #e0e0e0;
  border-radius: 9px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 6px 24px rgba(0, 0, 0, 0.06);
  text-align: center;
}

/* --- Блоки --- */

.simplecheckout-block {
  clear: both;
  margin-bottom: 20px;
}

.simplecheckout-block-content {
  padding: 20px;
}

.simpleregister {
  margin-bottom: 5px;
}

.simpleregister-block-content {
  margin-bottom: 10px;
  padding: 10px;
}

.simpleregister-block-content .simplecheckout-table-form-left {
  width: 50%;
}

#simplecheckout_customer .simplecheckout-block-content {
  text-align: center;
}

/* --- Таблица способов доставки / оплаты --- */

.simplecheckout-methods-table {
  width: 100%;
}

.simplecheckout-methods-table td.code {
  width: 1px;
}

.simplecheckout-methods-table td.title {
  padding: 5px;
}

.simplecheckout-methods-table td.title label {
  display: block !important;
}

.simplecheckout-methods-table td.quote {
  width: 15%;
  text-align: right;
}

.simplecheckout-methods-description {
  margin: 5px 0;
  padding: 5px;
}

/* --- Ошибки и предупреждения --- */

.simplecheckout-required,
.simplecheckout-error-text {
  color: #f00;
}

.simplecheckout-error-text {
  display: block;
  margin-top: 3px;
}

.simplecheckout-warning-text,
.simplecheckout-proceed-payment,
.you-will-be-registered {
  font-weight: 700;
}

.simplecheckout-warning-text {
  margin: 5px 0;
}

.simplecheckout-warning-block,
.simpleregister-warning-block {
  margin: 15px 0;
}

.simplecheckout-proceed-payment {
  display: none;
  margin-bottom: 10px;
  padding: 10px;
  text-align: center;
}

/* --- Кнопки --- */

.simplecheckout-button-block,
.simpleregister-button-block {
  clear: both;
  overflow: auto;
  margin-bottom: 20px;
  padding: 6px;
  background: #fff;
  text-align: right;
}

.simplecheckout-button-right,
.simpleregister-button-right {
  float: right;
  text-align: right;
}

.simplecheckout-button-left,
.simpleregister-button-left {
  float: left;
  text-align: left;
}

.simplecheckout-button {
  display: inline-block;
  border-radius: 7px;
  padding: 6px 12px;
  background: url('../image/button.png') top left repeat-x;
  box-shadow: 0 2px 2px #ddd;
  color: #fff;
  font: 700 12px/12px Montserrat, Arial, Helvetica, sans-serif;
  text-decoration: none;
  cursor: pointer;
}

.simplecheckout-button:hover {
  background: url('../image/button-active.png') repeat-x;
}

.simplecheckout-button-left .button {
  margin: 0;
}

/* --- Прочее --- */

#simple_payment_address_block {
  margin-top: 15px;
}

.simplecheckout-customer-same-address {
  margin: 15px 0;
  text-align: left;
}

#simplecheckout_payment_form {
  padding: 5px;
}

#simplecheckout_payment_form .checkout-content {
  display: block;
}

#simplecheckout_payment_form div.buttons {
  display: none;
}

.simplecheckout label,
.simpleregister label {
  display: inline-block !important;
  margin: 0;
}

#simplecheckout_step_menu {
  margin-bottom: 10px;
}

/* --- Шаги --- */

.simple-step,
.simple-step-current,
.simple-step-completed {
  display: inline-block;
  border-radius: 5px;
  padding: 5px;
  font-size: 13px;
}

.simple-step {
  margin-bottom: 5px;
  background-color: #d9d9d9;
  color: #000;
  cursor: pointer;
}

.simple-step-current,
.simple-step-completed {
  background-color: #38b0e3;
  color: #fff;
}

.simple-step-delimiter {
  display: inline-block;
  margin: 0 5px;
  line-height: 13px;
  vertical-align: middle;
}

.simple-step-completed a {
  color: #fff !important;
  font-size: 13px !important;
  text-decoration: none !important;
}

/* --- Summary --- */

.simplecheckout-summary-info {
  margin-top: 15px !important;
}

.simplecheckout-summary-info th.name,
.simplecheckout-summary-info td {
  text-align: left;
}

/* --- Комментарий --- */

#simplecheckout_comment textarea {
  width: 100% !important;
  min-height: 100px;
  box-sizing: border-box;
}

/* --- Формы адресов --- */

.simplecheckout-table-form {
  float: left;
  width: 49%;
  margin-right: 1%;
  text-align: left;
}

.simplecheckout-three-column .simplecheckout-table-form,
.simplecheckout-left-column .simplecheckout-table-form,
.simplecheckout-right-column .simplecheckout-table-form {
  float: none;
  width: 100%;
  margin-right: 0;
}

.simplecheckout-table-form-left,
.simplecheckout-table-form-right {
  width: 50%;
  padding: 3px;
  text-align: left;
}


/* ===== 4. Стили полей ввода ===== */

.simple-content .form-group input[type=text],
.simple-content .form-group input[type=password],
.simple-content .form-group input[type=email],
.simple-content .form-group input[type=tel],
.simple-content .form-group input[type=date],
.simple-content .form-group input[type=time],
.simple-content .form-group select,
.simple-content .form-group textarea {
  width: 100%;
  margin: 0 !important;
  box-sizing: border-box;
}

.simple-content .form-horizontal .form-group {
  margin-right: -10px;
  margin-left: -10px;
}

.simple-content .form-group::after {
  content: " ";
  display: table;
  clear: both;
}

.simple-content legend {
  display: block;
  width: 100%;
  margin-top: 20px;
  margin-bottom: 30px;
  border: 0;
  border-bottom: 1px solid #e5e5e5;
  padding: 0;
  color: #333;
  font-size: 21px;
  line-height: inherit;
}

.simple-content .table-responsive {
  margin-bottom: 0 !important;
  border: none !important;
}

/* --- Радио и чекбоксы --- */

.simple-content .radio label {
  position: relative;
  display: inline-block;
  width: auto !important;
  padding: 0 0 0 30px;
  font-family: Montserrat, Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 22px;
  letter-spacing: normal;
  vertical-align: top;
  cursor: pointer;
}

.simple-content .radio label::before,
.simple-content .checkbox label::before,
.simple-content .radio label::after,
.simple-content .checkbox label::after {
  content: "";
  position: absolute;
}

.simple-content .radio label::before,
.simple-content .checkbox label::before {
  border: 1px solid #343434;
}

.simple-content label.checked::after {
  background: #c70850;
}

/* --- Регистрация / логин в одну линию --- */

.row-customer_register,
.row-customer_customer_group_id {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.row-customer_register .control-label,
.row-customer_register > div {
  width: 100%;
  margin: 5px 0;
  float: none;
  padding: 0;
}

.row-customer_register .radio,
.row-customer_customer_group_id .radio {
  display: inline-block;
  margin: 0 10px;
}

.custom-register-wrapper {
  display: inline-block !important;
  vertical-align: middle;
}

.custom-register-wrapper .form-group {
  margin: 0 !important;
  padding: 0 !important;
  display: inline-block !important;
}

.custom-register-wrapper .control-label {
  display: inline-block !important;
  width: auto !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
  color: #0066cc;
  cursor: pointer;
}

.custom-register-wrapper .control-label:hover {
  text-decoration: underline;
}

.custom-register-wrapper .col-sm-8,
.custom-register-wrapper input[type="checkbox"],
.custom-register-wrapper [class*="icheckbox"],
.custom-register-wrapper .checkbox {
  display: none !important;
}

.custom-register-wrapper .control-label::after,
.custom-register-wrapper label::before,
.custom-register-wrapper label::after {
  display: none !important;
  content: none !important;
}

.custom-register-wrapper label {
  padding-left: 0 !important;
  text-indent: 0 !important;
  margin: 0 !important;
}

.auth-inline-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
}

/* --- Заголовки --- */

.col-sm-12 .checkout-heading {
  padding: 0;
  font-weight: 700;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}


/* ===== 5. Плавающие лейблы полей ===== */

.simplecheckout-block .form-group {
  position: relative;
  margin: 15px 0 25px;
}

.simplecheckout-block .form-group .control-label,
.simplecheckout-block .form-group .col-sm-8,
.simplecheckout-block .form-group .col-sm-10 {
  width: 100%;
  float: none;
  padding: 0;
}

.row-customer_firstname .control-label,
.row-customer_email .control-label,
.row-customer_telephone .control-label,
.row-shipping_address_city .control-label,
.row-shipping_address_address_1 .control-label,
.row-customer_field20 .control-label,
.row-customer_field23 .control-label,
.row-customer_field27 .control-label,
.row-customer_field24 .control-label,
.row-customer_field25 .control-label,
.row-customer_field26 .control-label,
.row-customer_password .control-label,
.row-customer_confirm_password .control-label {
  position: absolute;
  top: -10px;
  left: 12px;
  z-index: 10;
  display: inline-block;
  width: auto !important;
  background: #fff;
  padding: 2px 5px !important;
  font-weight: 400;
  line-height: 1.2;
}

.simplecheckout-block .form-control {
  position: relative;
}

.form-group.row-shipping_address_city {
  height: 34px;
  margin-bottom: 25px;
}

.row-shipping_address_country_id,
.row-shipping_address_zone_id {
  display: none;
}

.simplecheckout-right-column {
  padding: 10px;
}
.simplecheckout-block-content {
  padding: 10px;
  text-align:left;
}
.simple-content .form-group input[type="text"], .simple-content .form-group input[type="password"], .simple-content .form-group input[type="email"], .simple-content .form-group input[type="tel"], .simple-content .form-group input[type="date"], .simple-content .form-group input[type="time"], .simple-content .form-group select, .simple-content .form-group textarea {
  padding: 7px;
}
.simplecheckout-block {
  margin-bottom: 0px;
}
#simplecheckout_comment {margin:20px 0;}

#simplecheckout_customer .row-customer_customer_group_id .radio label {
    position: relative;
    display: block;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
}

#simplecheckout_customer .row-customer_customer_group_id .radio input[type="radio"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}

#simplecheckout_customer .row-customer_customer_group_id .radio label::before,
#simplecheckout_customer .row-customer_customer_group_id .radio label::after {
    display: none;
}

#simplecheckout_customer .row-customer_customer_group_id .radio label {
    position: relative;
    display: block;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: border-color .15s, box-shadow .15s;
}

#simplecheckout_customer .row-customer_customer_group_id .radio label:hover {
    border-color: #aaa;
}

/* активная карточка */
#simplecheckout_customer .row-customer_customer_group_id .radio label.checked {
  border-color: #337ab7;
  background: rgba(163, 213, 255, 0.15);
  font-weight: 600;
}

/* ===== 6. Адаптивность ===== */

@media only screen and (max-width: 1200px) {
  .simplecheckout label.col-sm-2 {
    padding-right: 5px;
    padding-left: 5px;
  }
}

@media only screen and (min-width: 1200px) {
  .simplecheckout-block-content > fieldset:nth-of-type(2),
  .simplecheckout-block-content > fieldset:nth-last-of-type(2),
  .simpleregister-block-content > fieldset:nth-of-type(2),
  .simpleregister-block-content > fieldset:nth-last-of-type(2) {
    float: left;
    width: 49%;
    margin-right: 1%;
    text-align: left;
  }

  #simpleregister .checkout__input-row:nth-of-type(2),
  #simpleregister .checkout__input-row:nth-last-of-type(2) {
    float: left;
    width: 49%;
    margin-right: 2%;
    text-align: left;
  }
}

@media only screen and (min-width: 1024px) {
  #agreement_checkbox .checkbox label {
    line-height: 1.4;
    max-width: 50%;
  }
}

@media only screen and (max-width: 1024px) {
  .main_cart,
  .simplecheckout-left-column,
  .simplecheckout-right-column {
    display: block;
    float: none;
    width: 100% !important;
    min-width: auto !important;
    max-width: 1900px !important;
    margin: 0 0 20px;
  }
}

@media only screen and (max-width: 780px) {
  .simplecheckout-button-left {
    display: none;
  }
}

@media only screen and (max-width: 768px) {
  .simplecheckout-three-column {
    display: block;
    float: none;
    width: 100%;
    min-width: auto !important;
    max-width: 1900px !important;
    margin: 0 0 20px;
  }

  .simplecheckout label.col-sm-2 {
    padding-right: 15px;
    padding-left: 15px;
  }

  /* Переключение десктоп → мобайл */
  .cart-desktop-view {
    display: none;
  }

  .cart-mobile-view {
    display: block;
  }

  .cart-product-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .cart-product-image {
    width: 80px;
    flex-basis: auto;
  }

  .cart-product-info,
  .cart-product-quantity,
  .cart-product-total,
  .cart-product-remove {
    width: 100%;
    flex-basis: auto;
  }

  .cart-product-total {
    text-align: left;
  }

  .total-label {
    display: inline-block;
    margin-right: 10px;
    color: #666;
    font-weight: 400;
  }

  .total-col {
    margin: 15px 0;
  }

  .remove-btn {
    justify-content: flex-start;
  }

  .promo-blocks {
    flex-direction: column;
  }

  .promo-block {
    max-width: 100%;
  }

  .cart-total-row {
    justify-content: space-between;
  }

  /* Мобильное количество */
  .modern-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 6px;
    padding: 4px;
    margin: 0 auto;
  }

  .qty-btn {
    display: inline-flex;
    width: 32px;
    height: 32px;
    min-width: 32px;
    align-items: center;
    justify-content: center;
    margin: 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  }

  .qty-btn svg {
    display: block;
    width: 14px;
    height: 14px;
    stroke: #333;
  }

  .qty-btn:hover {
    border-color: #adb5bd;
    background: #e9ecef;
  }

  .qty-btn:active {
    transform: scale(0.95);
  }

  .qty-minus svg {
    stroke: #dc3545;
  }

  .qty-plus svg {
    stroke: #28a745;
  }

  .remove-item-btn {
    border-radius: 50%;
    padding: 8px;
  }

  .remove-item-btn:hover {
    background: rgba(220, 53, 69, 0.1);
  }
}

@media only screen and (max-width: 600px) {
  .simpleregister-block-content .simplecheckout-customer {
    width: 100%;
  }

  #total_shipping span:first-child {
    display: inline-block;
    max-width: 150px;
  }
}

@media only screen and (max-width: 480px) {
  .cart-item-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .item-options {
    text-align: center;
  }

  .option-row {
    justify-content: center;
    gap: 10px;
  }

  .qty-input {
    width: auto;
    flex: 1;
  }

  .cart-total-row {
    flex-wrap: wrap;
  }

  .total-title {
    margin-bottom: 5px;
  }

  .total-value {
    min-width: auto;
    flex: 1;
  }
}

@media only screen and (max-width: 420px) {
  #total_shipping span:first-child {
    display: inline-block;
    max-width: 200px;
  }
}