.cart-closed-discount__badge {
   display: block;
   width: fit-content;
   margin-top: 5px;
   color: rgb(235, 87, 87);
   font-size: 12px;
   line-height: 1.2;
   font-weight: 700;
   white-space: nowrap;
}

.cart-closed-discount__message {
   display: inline-flex;
   align-items: center;
   width: fit-content;
   max-width: calc(100% - 120px);
   margin: -6px 0 12px 120px;
   padding: 7px 11px;
   border-radius: 7px;
   border: 1px solid #2abde0;
   background: #2abde04d;
   color: #000000;
   font-size: 13px;
   line-height: 1.25;
   font-weight: 400;
}

.ord-tabl__total-discount,
.together__text-inner--discount {
   color: rgb(235, 87, 87);
   font-weight: 700;
}

@media (max-width: 767px) {
   .cart-closed-discount__message {
      margin-left: 0;
      max-width: 100%;
   }
}

/* ===== CHECKOUT REDESIGN v2 — electrogurt.store ===== */

/* --- Reset SC defaults --- */
.simplecheckout-block-content { border: none !important; padding: 0 !important; }
.simplecheckout-block { margin-bottom: 0; }
div.checkout-heading { display: none; }
.simplecheckout-step { display: contents; }
.simplecheckout-left-column,
.simplecheckout-right-column { width: 100% !important; }

/* --- Общий контейнер --- */
.ordering__container {
   display: grid;
   grid-template-columns: 1fr 370px;
   gap: 20px;
   max-width: 1280px;
   margin: 0 auto;
   align-items: start;
}

.ordering__inner {
   padding-left: 0;
   display: flex;
   flex-direction: column;
   gap: 16px;
}

/* ============================================
   СЕКЦИЯ: Контактные данные (customer)
   ============================================ */
.ord-placement {
   background: #fff;
   border: 1px solid #E6E7E9;
   border-radius: 12px;
   padding: 24px 28px 20px;
}

.ord-placement__title {
   font-weight: 800;
   font-size: 18px;
   margin-bottom: 14px;
}

.ord-placement__links {
   display: flex;
   align-items: center;
   margin-bottom: 20px;
   gap: 10px;
}

.ord-placement__links button {
   font-size: 13px;
   line-height: 1;
   padding: 9px 18px;
   border-radius: 20px;
   border: 1px solid #E6E7E9;
   background: #f7f7f8;
   color: #666;
   cursor: pointer;
   transition: all 0.2s;
}

.ord-placement__links button.active {
   font-weight: 700;
   background: var(--mainColor);
   border-color: var(--mainColor);
   color: #fff;
}

.ordering__form-grid {
   margin-bottom: 0px;
   display: grid;
   grid-template-columns: 1fr 1fr;
   column-gap: 14px;
   row-gap: 0;
}

.ordering__form-grid .input-container {
   /* margin-bottom: 14px !important; */
}

.ordering__form-grid .input-container label {
   display: block;
   font-size: 12px;
   font-weight: 600;
   color: #777;
   margin-bottom: 5px;
}

.ordering__form-grid .input-container input,
.ordering__form-grid .input-container select,
.ordering__form-grid .input-container textarea {
   width: 100%;
   height: 46px;
   padding: 0 14px;
   font-size: 14px;
   border: 1px solid #ddd;
   border-radius: 8px;
   background: #fff;
   color: #333;
   transition: border-color 0.15s;
   box-sizing: border-box;
}

.ordering__form-grid .input-container input:focus,
.ordering__form-grid .input-container select:focus {
   border-color: var(--mainColor);
   outline: none;
   box-shadow: 0 0 0 3px rgba(243, 112, 33, 0.1);
}

.ordering__form-grid .input-container input.has-error,
.ordering__form-grid .input-container select.has-error {
   border-color: #e74c3c;
}

.ordering__form-grid .simplecheckout-field-full-row {
   grid-column: 1 / -1;
}

/* ============================================
   СЕКЦИЯ: Доставка + Оплата (общий стиль)
   ============================================ */
.ordering__section {
   background: #fff;
   border: 1px solid #E6E7E9;
   border-radius: 12px;
   padding: 24px 28px 20px;
}

.ordering__section .ordering__title {
   font-weight: 800;
   font-size: 18px;
   margin-bottom: 16px;
}

/* --- Опции доставки/оплаты — ОТДЕЛЬНЫЕ карточки ---  */
.delivery-bl {
   display: flex;
   flex-direction: column;
   gap: 8px;
}

.delivery-bl__row {
   display: flex;
   flex-direction: column;
   padding: 14px 18px;
   border: 1px solid #E6E7E9;
   border-radius: 10px;
   transition: all 0.15s;
   cursor: pointer;
   font-size: 14px;
   margin: 0;
   background: #fff;
}

.delivery-bl__row:hover {
   border-color: #ccc;
}

.delivery-bl__row.active {
   border-color: var(--mainColor);
   background: rgba(243, 112, 33, 0.03);
}

/* --- Radio: кружок СПРАВА --- */
.delivery-bl__row .radio {
   display: flex;
   align-items: center;
   width: 100%;
   margin: 0;
}

.delivery-bl__row .radio span {
   font-size: 14px;
   font-weight: 500;
   padding-left: 0 !important;
   display: flex;
   align-items: center;
   width: 100%;
   color: #333;
}

.delivery-bl__row .radio span:before {
   position: relative !important;
   order: 999;
   margin-left: auto;
   flex-shrink: 0;
   top: 0 !important;
   left: auto !important;
   height: 20px !important;
   width: 20px !important;
   border: 2px solid #ccc !important;
   border-radius: 50% !important;
   transition: border-color 0.15s;
}

.delivery-bl__row.active .radio span:before {
   border-color: var(--mainColor) !important;
}

.delivery-bl__row .radio input[type="radio"]:checked + span:after {
   left: auto !important;
   right: 0;
   position: relative !important;
   order: 1000;
   margin-left: auto;
   top: 0 !important;
   height: 10px !important;
   width: 10px !important;
   border-radius: 50% !important;
   background: var(--mainColor) !important;
}

/* Хак: т.к. ::after идёт после span, нужно спрятать дефолтный ::after 
   и использовать outline/box-shadow на ::before для заполнения */
.delivery-bl__row .radio input[type="radio"]:checked + span:before {
   background: var(--mainColor) !important;
   border-color: var(--mainColor) !important;
   box-shadow: inset 0 0 0 3px #fff;
}

.delivery-bl__row .radio input[type="radio"]:checked + span:after {
   display: none !important;
}

/* --- Описание опции --- */
.delivery-bl__text {
   margin-top: 4px;
   line-height: 1.4;
   width: 100%;
   font-weight: 500;
   color: #000;
   padding: 10px;
   font-size: 15px;
}

/* --- Адрес доставки — ВНУТРИ активной карточки --- */
/* ПОЛНЫЙ RESET всех стилей simple.css для shipping_address */
.simplecheckout_shipping_address {
   display: none;
}

.delivery-bl__row.active .simplecheckout_shipping_address,
.delivery-bl__row.active + .simplecheckout_shipping_address {
   display: block;
   width: 100% !important;
   float: none !important;
   clear: none !important;
}

.simplecheckout_shipping_address .simplecheckout-block {
   padding: 12px 0 0 0 !important;
   border: none !important;
   margin: 0 !important;
   display: grid !important;
   grid-template-columns: 1fr 1fr;
   gap: 0 14px;
   width: 100% !important;
   float: none !important;
   clear: none !important;
   max-width: none !important;
   min-width: 0 !important;
}

.simplecheckout_shipping_address .simplecheckout-block-content {
   display: contents !important;
   padding: 0 !important;
   float: none !important;
   width: auto !important;
}

.simplecheckout_shipping_address .simplecheckout-block-content:after {
   display: none !important;
}

.simplecheckout_shipping_address .simplecheckout-block > *:not(.input-container):not(.simplecheckout-block-content) {
   grid-column: 1 / -1;
}

.simplecheckout_shipping_address .simplecheckout-block > [style*="display:none"],
.simplecheckout_shipping_address .simplecheckout-block > [style*="display: none"],
.simplecheckout_shipping_address .simplecheckout-block > input[type="hidden"],
.simplecheckout_shipping_address .simplecheckout-block-content > [style*="display:none"],
.simplecheckout_shipping_address .simplecheckout-block-content > [style*="display: none"],
.simplecheckout_shipping_address .simplecheckout-block-content > input[type="hidden"] {
   display: none !important;
}

.simplecheckout_shipping_address .input-container {
   margin-bottom: 10px !important;
   position: relative;
   width: 100% !important;
   box-sizing: border-box !important;
   min-width: 0 !important;
   float: none !important;
   clear: none !important;
   display: block !important;
   max-width: none !important;
}

.simplecheckout_shipping_address .input-container label {
   display: block;
   font-size: 12px;
   font-weight: 600;
   color: #777;
   margin-bottom: 5px;
}

.simplecheckout_shipping_address .input-container input,
.simplecheckout_shipping_address .input-container select {
   width: 100%;
   height: 44px;
   padding: 0 14px;
   font-size: 14px;
   border: 1px solid #ddd;
   border-radius: 8px;
   background: #fff;
   transition: border-color 0.15s;
   box-sizing: border-box;
}

.simplecheckout_shipping_address .input-container input:focus,
.simplecheckout_shipping_address .input-container select:focus {
   border-color: var(--mainColor);
   outline: none;
}

/* ===== Payment Address inside payment card ===== */
/* ПОЛНЫЙ RESET всех стилей simple.css для payment_address */
.simplecheckout_payment_address {
   display: none;
}

.delivery-bl__row.active .simplecheckout_payment_address {
   display: block;
   width: 100% !important;
   float: none !important;
   clear: none !important;
}

.simplecheckout_payment_address .simplecheckout-block {
   padding: 12px 0 0 0 !important;
   border: none !important;
   margin: 0 !important;
   display: grid !important;
   grid-template-columns: 1fr 1fr;
   gap: 0 14px;
   width: 100% !important;
   float: none !important;
   clear: none !important;
   max-width: none !important;
   min-width: 0 !important;
}

.simplecheckout_payment_address .simplecheckout-block-content {
   display: contents !important;
   padding: 0 !important;
   float: none !important;
   width: auto !important;
}

.simplecheckout_payment_address .simplecheckout-block-content:after {
   display: none !important;
}

.simplecheckout_payment_address .simplecheckout-block > *:not(.input-container):not(.simplecheckout-block-content) {
   grid-column: 1 / -1;
}

.simplecheckout_payment_address .simplecheckout-block > [style*="display:none"],
.simplecheckout_payment_address .simplecheckout-block > [style*="display: none"],
.simplecheckout_payment_address .simplecheckout-block > input[type="hidden"],
.simplecheckout_payment_address .simplecheckout-block-content > [style*="display:none"],
.simplecheckout_payment_address .simplecheckout-block-content > [style*="display: none"],
.simplecheckout_payment_address .simplecheckout-block-content > input[type="hidden"] {
   display: none !important;
}

.simplecheckout_payment_address .input-container {
   margin-bottom: 10px !important;
   position: relative;
   width: 100% !important;
   box-sizing: border-box !important;
   min-width: 0 !important;
   float: none !important;
   clear: none !important;
   display: block !important;
   max-width: none !important;
}

.simplecheckout_payment_address .input-container label {
   display: block;
   font-size: 12px;
   font-weight: 600;
   color: #777;
   margin-bottom: 5px;
}

.simplecheckout_payment_address .input-container input,
.simplecheckout_payment_address .input-container select {
   width: 100%;
   height: 44px;
   padding: 0 14px;
   font-size: 14px;
   border: 1px solid #ddd;
   border-radius: 8px;
   background: #fff;
   transition: border-color 0.15s;
   box-sizing: border-box;
}

.simplecheckout_payment_address .input-container input:focus,
.simplecheckout_payment_address .input-container select:focus {
   border-color: var(--mainColor);
   outline: none;
}

.simplecheckout_payment_address .simplecheckout-customer-same-address {
   grid-column: 1 / -1;
   margin-top: 4px;
}

.simplecheckout_payment_address .simplecheckout-customer-same-address label {
   display: flex;
   align-items: center;
   gap: 8px;
   font-size: 13px;
   color: #555;
   cursor: pointer;
}

.ukrcredits-simplecheckout {
   display: none;
}

.delivery-bl__row.active .ukrcredits-simplecheckout {
   display: block;
   width: 100%;
   margin: 12px 0 0;
}

.ukrcredits-checkout-card,
.uc-checkout-credit {
   display: grid;
   gap: 14px;
   padding: 16px;
   border: 1px solid #e1edf2;
   border-radius: 8px;
   background: #fbfdfe;
}

.uc-checkout-credit__calc {
   display: grid;
   grid-template-columns: minmax(180px, 1fr) minmax(155px, 0.8fr) minmax(155px, 0.8fr);
   gap: 10px;
   align-items: stretch;
}

.ukrcredits-checkout-card .prop_calc > *,
.uc-checkout-credit__calc > * {
   width: auto;
   min-width: 0;
}

.uc-checkout-credit__term {
   display: flex;
   align-items: center;
   flex-wrap: wrap;
   gap: 9px;
   min-height: 54px;
   padding: 10px 12px;
   border-radius: 6px;
   background: #ffffff;
   border: 1px solid #e5eef2;
   color: #141e33;
   font-size: 14px;
   font-weight: 700;
   line-height: 1.2;
}

.ukrcredits-checkout-card .prop_paymentsCount {
   white-space: nowrap;
}

.ukrcredits-checkout-card .prop_select select {
   width: 108px;
   min-width: 108px;
   height: 34px;
   padding: 0 30px 0 10px;
   border: 1px solid #d7e6ea;
   border-radius: 5px;
   background: #fff;
   color: #141e33;
   font-size: 14px;
   font-weight: 500;
}

.uc-checkout-credit__price {
   display: grid;
   gap: 4px;
   min-height: 54px;
   padding: 10px 12px;
   border-radius: 6px;
   background: #f4f6f8;
}

.uc-checkout-credit__price--main {
   background: #eef9fb;
}

.uc-checkout-credit__price small {
   color: #7b8a99;
   font-size: 12px;
   font-weight: 600;
   line-height: 1.2;
}

.uc-checkout-credit__price strong {
   color: #111827;
   font-size: 16px;
   font-weight: 700;
   line-height: 1.2;
}

.uc-checkout-credit__price--main strong {
   color: #127d92;
}

.uc-checkout-credit__slider {
   position: relative;
   height: 42px;
   padding-top: 24px;
}

.uc-checkout-credit__slider::before {
   content: "Строк кредиту";
   position: absolute;
   top: 0;
   left: 0;
   color: #7b8a99;
   font-size: 12px;
   font-weight: 600;
   line-height: 1.2;
}

.uc-checkout-credit__slider.is-hidden {
   display: none;
}

.ukrcredits-checkout-card .ui-slider {
   height: 42px;
}

.ukrcredits-checkout-card .progress {
   height: 8px;
   margin: 0;
   overflow: hidden;
   border-radius: 99px;
   background: #ecf1f4;
   box-shadow: none;
}

.ukrcredits-checkout-card .progress-bar {
   border-radius: inherit;
   background: #2cbce0;
   box-shadow: none;
}

.ukrcredits-checkout-card .ui-slider .ui-slider-handle {
   top: 19px;
   width: 18px;
   height: 18px;
   margin-left: -9px;
   border: 2px solid #2cbce0;
   border-radius: 50%;
   background: #fff;
   box-shadow: 0 2px 8px rgba(44, 188, 224, 0.28);
   outline: none;
}

@media (max-width: 767px) {
   .uc-checkout-credit__calc {
      grid-template-columns: 1fr;
   }
}

/* --- «Недоступно для метода» --- */
.delivery-bl__row[data-disabled="true"] {
   opacity: 0.55;
   cursor: default;
}

.delivery-bl__row[data-disabled="true"]:hover {
   border-color: #E6E7E9;
}

.payment-unavailable {
   font-size: 11px;
   color: #e74c3c;
   margin-top: 3px;
}

/* ============================================
   СЕКЦИЯ: Корзина (товары) — в САЙДБАРЕ
   ============================================ */
.ordering__section.ord-tabl {
   padding: 0;
   border: none;
   background: transparent;
   margin-bottom: 0;
}

.ord-tabl .ordering__title {
   font-weight: 800;
   font-size: 16px;
   margin-bottom: 10px;
   padding: 0;
}

.ord-tabl__tr {
   padding: 8px 0;
   background: transparent;
   display: flex;
   align-items: center;
   gap: 10px;
   border: none;
   border-bottom: 1px solid #f0f0f0;
   border-radius: 0;
   margin: 0;
}

.ord-tabl__tr.ord-tabl__tr--outstock {
   background: #fff2f2;
   border: 1px solid #f3c1c1;
   border-radius: 10px;
   padding: 8px;
   margin: 4px 0;
}

.ord-tabl__tr.ord-tabl__tr--outstock .ord-tabl__name {
   color: #c62828;
}

.ord-tabl__tr.ord-tabl__tr--outstock .ord-tabl__price {
   color: #b71c1c;
}

.ord-tabl__tr:last-of-type {
   border-bottom: none;
}

.ord-tabl__tr:last-child {
   border-bottom: none;
   margin-bottom: 0;
}

.ord-tabl__img a {
   display: flex;
   width: 52px;
   min-width: 52px;
   aspect-ratio: 1/1;
}

.ord-tabl__img img {
   object-fit: contain;
   border-radius: 4px;
}

.ord-tabl__desc {
   flex: 1;
   min-width: 0;
}

.ord-tabl__name {
   display: -webkit-box;
   -webkit-line-clamp: 2;
   -webkit-box-orient: vertical;
   overflow: hidden;
   text-overflow: ellipsis;
   font-size: 12px;
   font-weight: 600;
   line-height: 1.35;
   margin-bottom: 0;
   color: var(--mainColor);
}

.ord-tabl__name:hover {
   text-decoration: underline;
}

.ord-tabl__row {
   display: none;
}

.together__inner > #simplecheckout_cart .ord-tabl__tr {
   display: grid;
   grid-template-columns: 60px minmax(0, 1fr);
   align-items: center;
   column-gap: 12px;
   row-gap: 7px;
}

.together__inner > #simplecheckout_cart .ord-tabl__img {
   grid-column: 1;
}

.together__inner > #simplecheckout_cart .ord-tabl__img a {
   width: 60px;
   min-width: 60px;
}

.together__inner > #simplecheckout_cart .ord-tabl__info {
   grid-column: 2;
   min-width: 0;
   display: grid;
   grid-template-rows: auto auto;
   row-gap: 7px;
}

.together__inner > #simplecheckout_cart .ord-tabl__desc {
   max-width: none;
}

.together__inner > #simplecheckout_cart .ord-tabl__name {
   display: block;
   -webkit-line-clamp: unset;
   overflow: hidden;
   text-overflow: ellipsis;
   white-space: nowrap;
}

.together__inner > #simplecheckout_cart .ord-tabl__all {
   display: grid;
   grid-template-columns: 92px 18px minmax(0, 1fr);
   grid-template-areas: "qty remove price";
   align-items: center;
   justify-items: start;
   row-gap: 0;
   column-gap: 10px;
   flex-shrink: 0;
   width: 100%;
   max-width: none;
   margin-left: 0;
}

.together__inner > #simplecheckout_cart .ord-tabl__price {
   grid-area: price;
   font-size: 14px;
   line-height: 1.15;
   font-weight: 800;
   white-space: nowrap;
   color: #333;
   justify-self: end;
   text-align: right;
}

.together__inner > #simplecheckout_cart .ord-tabl__price .cart-closed-discount__badge {
   margin: 0 0 4px auto;
}

.together__inner > #simplecheckout_cart .ord-tabl__all .quantity {
   grid-area: qty;
   grid-template-columns: 28px 36px 28px;
   grid-template-rows: 28px;
   width: 92px;
   height: 28px;
   overflow: hidden;
   border-color: #eeeeee;
   transform: none;
}

.together__inner > #simplecheckout_cart .ord-tabl__all .quantity input {
   font-size: 13px;
   font-weight: 500;
   color: #6c6c6c;
}

.together__inner > #simplecheckout_cart .ord-tabl__all .quantity span {
   background: #f8f8f8;
   color: #b3b3b3;
}

.together__inner > #simplecheckout_cart .ord-tabl__all .quantity span:hover {
   background: #eeeeee;
   color: #555555;
}

.together__inner > #simplecheckout_cart .ord-tabl__all .icon-trash {
   grid-area: remove;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   color: #9a9a9a;
   width: 18px;
   height: 18px;
   min-width: 18px;
   min-height: 18px;
   justify-self: start;
   margin-left: 0;
   padding: 0;
   border: 0;
   background: transparent;
   font-size: 18px;
   line-height: 1;
}

.together__inner > #simplecheckout_cart .ord-tabl__all .icon-trash:hover {
   color: #111111;
}

/* Скрыть заголовок товаров в сайдбаре — итого уже есть */
.ord-tabl .ordering__title {
   display: none;
}

/* ============================================
   САЙДБАР: Итого + Корзина
   ============================================ */
.together__inner {
   max-width: 370px;
   width: 100%;
   align-self: start;
   position: sticky;
   top: 20px;
   margin-inline: 0;
   display: flex;
   flex-direction: column;
   gap: 0;
}

/* Корзина в сайдбаре — сливается с together */
.together__inner > #simplecheckout_cart {
   background: #fff;
   border: 1px solid #E6E7E9;
   border-radius: 12px 12px 0 0;
   padding: 20px 24px 12px;
   border-bottom: none;
}

.together {
   background: #fff;
   padding: 16px 24px 22px;
   border: 1px solid #E6E7E9;
   border-radius: 0 0 12px 12px;
   font-size: 14px;
   margin-bottom: 0;
   order: 0;
}

/* Если корзина не переместилась — together получает скругление */
.together__inner > .together:first-child {
   border-radius: 12px;
}

.together__title {
   font-weight: 800;
   font-size: 16px;
   margin-bottom: 0;
   padding-bottom: 14px;
   border-bottom: none;
}

.together__desc {
   /* totals rows */
}

.together__text-inner {
   display: flex;
   justify-content: space-between;
   align-items: center;
   padding: 8px 0;
   font-size: 14px;
}

.together__text-inner:first-child {
   padding-top: 0;
}

.together__text-inner:last-child {
   border-top: 1px solid #E6E7E9;
   padding-top: 14px;
   padding-bottom: 14px;
   margin-top: 6px;
}

.together__text-inner strong {
   font-weight: 700;
}

.together__price {
   font-size: 20px;
   font-weight: 800;
   color: var(--mainColor);
}

.together__button {
   width: 100%;
   margin-top: 16px;
   height: 50px;
   font-size: 15px;
   font-weight: 700;
   border-radius: 10px;
   border: none;
   cursor: pointer;
   transition: all 0.2s;
   text-transform: none;
}

.together__button:hover {
   filter: brightness(1.05);
   box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.together__info {
   padding-top: 10px;
   font-size: 11px;
   color: #aaa;
   line-height: 1.5;
}

.together__info ul {
   padding-left: 0;
   list-style: none;
}

/* --- Промокод --- */
.promocod {
   height: auto;
   padding: 14px 18px;
   border: 1px solid #E6E7E9;
   border-radius: 10px;
   background: #fff;
   margin-bottom: 0;
}

/* --- Комментарий --- */
#simplecheckout_comment {
   background: #fff;
   border: 1px solid #E6E7E9;
   border-radius: 12px;
   padding: 24px 28px 20px;
}

#simplecheckout_comment .checkout-heading {
   display: block !important;
   font-weight: 800;
   font-size: 18px;
   margin-bottom: 10px;
   border: none;
   padding: 0;
   background: transparent;
}

#simplecheckout_comment textarea {
   width: 100%;
   min-height: 70px;
   padding: 12px 14px;
   font-size: 14px;
   border: 1px solid #ddd;
   border-radius: 8px;
   resize: vertical;
   box-sizing: border-box;
}

#simplecheckout_comment textarea:focus {
   border-color: var(--mainColor);
   outline: none;
}

/* --- Agreement --- */
.simplecheckout-warning-block {
   border-radius: 10px;
}

#simplecheckout_cart .simplecheckout-warning-block {
   margin: 0 0 12px;
   padding: 10px 12px;
   font-size: 14px;
   line-height: 1.35;
}

#simplecheckout_cart .ord-tabl__img .pr-discount {
   min-width: 40px !important;
   padding: 2px 4px !important;
   font-size: 11px !important;
   border-radius: 6px;
   right: 2px !important;
   top: 2px !important;
}

/* ============================================
   АДАПТИВ
   ============================================ */
@media only screen and (max-width: 1365px) {
   .ordering__container {
      grid-template-columns: 1fr;
   }
   .together__inner {
      position: static;
      max-width: 100%;
   }
}

@media only screen and (max-width: 768px) {
   .ordering__form-grid {
   margin-bottom: 0px;
      grid-template-columns: 1fr;
   }

   .simplecheckout_shipping_address .simplecheckout-block,
   .simplecheckout_payment_address .simplecheckout-block {
      grid-template-columns: 1fr;
      gap: 0;
   }

   .simplecheckout_shipping_address .input-container,
   .simplecheckout_payment_address .input-container {
      margin-bottom: 12px !important;
   }

   .delivery-bl__row .radio {
      align-items: flex-start;
   }

   .delivery-bl__row .radio span {
      line-height: 1.35;
   }

   .ord-placement,
   .ordering__section,
   #simplecheckout_comment {
      padding: 18px 16px 14px;
      border-radius: 10px;
   }

   #simplecheckout_cart .simplecheckout-warning-block {
      margin-bottom: 10px;
      padding: 8px 10px;
      font-size: 13px;
   }

   .delivery-bl__row {
      padding: 12px 14px;
   }
   .ord-tabl__img a {
      width: 50px;
      min-width: 50px;
   }
   .together {
      padding: 18px 16px;
   }
}

@media only screen and (max-width: 480px) {
   .ord-placement__links {
      flex-direction: column;
      gap: 6px;
   }
   .ord-placement__links button {
      width: 100%;
      text-align: center;
   }
}

/* Fix: remove underline from last product before bonus block */
.ord-tabl__tr:nth-last-of-type(2) {
   border-bottom: none !important;
}

/* Remove border from product adjacent to bonus block */
.ord-tabl__tr:has(+ .ord-tabl__bonus-fullwidth) {
   border-bottom: none !important;
}

.together__inner .ord-tabl__bonus-fullwidth > div > a[data-target="#registration"] {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   margin-inline: auto;
}
