.delivery-group, .delivery-group-load {
        display: block;
        cursor: pointer;
    }

    .delivery-group input[type="radio"] {
        display: none;
    }

    .delivery-group .option-content {
        border: 2px solid #e8e8e8;
        border-radius: 10px;
        padding: 20px;
    }
    
    .delivery-group-load .option-content {
        border: 2px solid #e8e8e8;
        border-radius: 10px;
        padding: 20px;
    }

    .input-group .input-group-btn>.btn[data-action=show-password] {
        height: 48px;
    }


    nav.header-nav {
        background-color: white !important;
        background: white !important;
    }
    .ew-show-register {
            font-size: initial;
    }
    .d-flex {
        display: flex;
    }
    .delivery-group .material-icons {
        font-size: 36px;
        display: block;
        margin-bottom: 8px;
        color: #6c757d;
    }

    /* Активное состояние */
    .delivery-group input[type="radio"]:checked + .option-content {
        border-color: #000;
        border: 2px solid #000;
    }

    .delivery-group input[type="radio"]:checked + .option-content .material-icons {
        color: #000;
    }

    /* Hover — чтобы было понятно, что кликабельно */
    .delivery-group:hover .option-content {
        border-color: #000;
    }

    
    .checkout-step {
        border-radius: 15px !important;
        padding: 1.5rem;
        margin-bottom: .75rem;
        background-color: white;
    }
    .checkout-step-link {
        font-size: 20px;
        line-height: 25px;
        font-weight: 600;
        margin-bottom: 1rem;
    }

    .delivery-card-address-block {
        display: flex;
        row-gap: 20px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-top: 1rem;
        background: #f5f5f5fc;
        padding: 1rem;
        margin-bottom: 1rem;
        border-radius: 10px;
    }

    .selected-delivery-address-wrapper {
        color: #000;
        font-size: 14px;
        font-weight: 500;
        line-height: 20px;
    }
    .recipient-info {
        align-items: center;
        border-top: 1px solid #e8e8e8;
        -moz-column-gap: 20px;
        column-gap: 20px;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        padding-top: 20px;
        margin-top: 1rem;
    }
    .recipient-info-wrapper {
            display: flex;
        align-items: center;
    }

    .recipient-info-wrapper .material-icons{
        font-size: 2.5rem;
        margin-right: .5rem;
        display: block;
    }

    .payment-group {
        display: block;
        cursor: pointer;
        text-align: left;
        margin-bottom: 1rem;
    }

    .payment-group .option-text {
        line-height: 1;
        display: block;
    }

    .payment-group input[type="radio"] {
        display: none;
    }

    .payment-group .option-content {
        border: 2px solid #e8e8e8;
        border-radius: 10px;
        padding: 20px;
        height: 100%;
    }
    
    .text-left {
        text-align: left;
    }

    .payment-group .material-icons {
        font-size: 36px;
        display: block;
        margin-bottom: 8px;
        color: #6c757d;
    }

    .payment-group img {
        margin-bottom: 8px;
    }
    /* Активное состояние */
    .payment-group input[type="radio"]:checked + .option-content {
        border-color: #000;
        border: 2px solid #000;
    }

    .payment-group input[type="radio"]:checked + .option-content .material-icons {
        color: #000;
    }

    /* Hover — чтобы было понятно, что кликабельно */
    .payment-group:hover .option-content {
        border-color: #000;
        
    }

    .header-right {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 20px;
        line-height: 25px;
        font-weight: 600;
        margin-bottom: 1rem;
    }
    .header-right p {
        margin: 0;
    }

    .cart-summary-products {
        cursor: pointer;
    }
    .cart-summary-products .rounded {
        border-radius: 3px;
    }
    #cart-summary-product-list .col-md-3{
        margin-bottom: 1rem;
    }
    @media (min-width: 576px) {
    .modal-dialog-scrollable {
        max-height: calc(100% - 3.5rem);
    }

    .border-bottom {
            border-bottom: 1px solid #dee2e6 !important;
    }
}
    .summary-right {
        border-radius: 15px;
    }

    .voucher-cart {
       border-top: 1px solid rgba(218, 218, 218);
    padding-top: 1rem;
    margin-top: 2rem;
    }

    .block-promo .promo-code-button {
        padding: 0;
        text-align: left;
    }

    .block-promo .promo-code{
        background: none;
    }
    .display-promo .collapse-button{
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: #5b5b5b;
    }

    #sessionExpiredModal .modal-body h3 {
    line-height: 1;
    }
    .media-body, .media-left, .media-right {
        display: table-cell;
    vertical-align: top;
    }
    .recipient-info button {
        white-space: nowrap;
    }
    .collapse-button > div {
        display: flex;
        align-items: center;
    }
    .collapse-button > div .material-icons {
       margin-right: 6px;
    }
    .block-promo .promo-input+button {
        height: auto !important;
    }
    .block-promo .promo-input {
        width: 100%;
        border-radius: 10px;
        margin: auto !important;
        height: 2.5rem;
        color: #232323;
        text-indent: .625rem;
        border: #7a7a7a 1px solid;
    }

    .block-promo.promo-highlighted {
        text-align: left;
        padding: 0;
        margin-bottom: 1rem;
        margin-top: 1rem;
    }
    .cart-grid-right .promo-discounts {
        margin-bottom: 0;
        text-align: left;
        padding: 0;
    }
    @media screen and (min-width: 1020px) {
        .summary-right-sticky {
            position: sticky;
            row-gap: 20px;
            top: 10px;
            margin-bottom: 1.5rem;
            display: flex;
            flex-direction: column;
        }
    }

    .cart-summary-line.cart-summary-subtotals .label, .cart-summary-line.cart-summary-subtotals .value {
        font-size: 14px;
        font-weight: 400;
    }

    .cart-summary-line:not(:last-child) {
            margin-bottom: .5rem;
    }

    .info-payment-group{
        position: absolute;
        right: 22px;
        top: 8px;
        font-size: 1.5rem;
        color: #afafaf !important;
        cursor: pointer;
    }
    .align-items-center {
        align-items: center;
    }

    #checkout-delivery-step .delivery-option {
       margin-top: 1rem;
    }

    #checkout-delivery-step .delivery-option .carrier-logo {
       margin-right: .5rem;
    }

    .card-block.cart-summary-totals .cart-summary-line.cart-total {
            border-top: 1px solid #e8e8e8;
    }

    .skeleton {
  display: inline-block;          /* чтобы можно было ставить в строчку */
  background-color: #e0e0e0;      /* светлый фон */
  border-radius: 6px;             /* скругления */
  position: relative;
  overflow: hidden;

  /* optional: высота/ширина задаём через style или класс */
  height: 16px;
  width: 100%;
}

/* shimmer эффект */
.skeleton::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150px;
  height: 100%;
  width: 150px;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.5) 50%,
    rgba(255,255,255,0) 100%
  );
  animation: skeleton-loading 1.2s infinite;
}

@keyframes skeleton-loading {
  0% {
    left: -150px;
  }
  100% {
    left: 100%;
  }
}

#ew-global-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6); /* полупрозрачный overlay */
    z-index: 9999;
    justify-content: center;
    align-items: center;
    display: none; /* скрыт по умолчанию */
    /* flex через класс или через JS */
}

#ew-global-loader.active {
    display: flex;
}

.ew-spinner {
    width: 80px;
    height: 80px;
    border: 3px solid rgba(0,0,0,0.1);
    border-top: 3px solid #333; /* цвет спиннера */
    border-radius: 50%;
    animation: ew-spin 1s linear infinite;
}

@keyframes ew-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.ew-address-item {
    cursor: pointer;
    border: 1px solid #dee2e6;
    padding: 1rem;
}

.ew-address-item.selected {
    border: 1px solid #000;
}

.ew-address-text {
    font-size: 14px;
}

.spiner-modale {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5rem;
}

.delivery-options-list.courier .providerContainer.deliveryToPoint {
   display: none !important;
}
#module-ewcheckout-order .providerContainer, #module-ewcheckout-order .js-carrier-extra-content .alert    {
border-radius: 10px;
}
.alert {
    border-radius: 10px;
}
.delivery-options-list.pickup .providerContainer.deliveryToDoor, .providerContainer.deliveryToDoor .button-action {
   display: none !important;
} 


#module-ewcheckout-order .display_extra_ewrussianpost, #module-ewcheckout-order .display_extra_cdek {
    margin: 0;
    padding: 0 !important;
}

select.form-control:not([size]):not([multiple]) {
        height: auto !important;
}
#module-ewcheckout-order  .carrier-logo img {
border-radius: 10px;
}
.position-relative {
    position: relative;
}


#module-ewcheckout-order form .form-control-label{
    font-weight: 300;
}

.modal-header-ew {
    padding: 15px;
    display: flex;
    border-bottom: 1px solid #e5e5e5;
    justify-content: space-between;
    align-items: center;
}
.modal-header-ew h5 {
    font-weight: 500;
    font-size: 1.1rem;
}
.modal-header-ew .modal-title {
    width: 100%;
}

#module-ewcheckout-order .modal-content {
    border-radius: 15px;
}

.spiner-modale {
    position: absolute;
    background-color: #ffffffa1;
    z-index: 9999;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    border-radius: 15px;
}
#module-ewcheckout-order input.form-control {
    height: 49px;
}
#module-ewcheckout-order .form-control {
    padding: .8rem 1rem;
    color: #7a7a7a;
    background: #f6f6f6;
    border: 1px solid;
    border-color: rgba(202, 202, 202, var(--tw-border-opacity));
    border-radius: 10px;

}

#module-ewcheckout-order .input-group .input-group-btn>.btn[data-action=show-password] {
border-radius: 10px;
}


#module-ewcheckout-order .btn-primary, .btn-secondary {
    text-transform: inherit;
    font-weight: 300;
    font-size: 1rem;
    border-radius: 10px;
}
#module-ewcheckout-order #payment-confirmation button {
    padding: 1rem;
}

.payment-methods, .flex-wrap {
    display: flex;
    flex-wrap: wrap;
}

.payment-methods > .col-md-4 {
    display: flex;
}

.payment-methods > .col-md-4 .payment-group {
    flex: 1;
}

#module-ewcheckout-order .cart-summary-totals.js-cart-summary-totals{
    border-top: 1px solid rgba(218, 218, 218);
    padding-top: 1rem;
    margin-top: 1rem;
}

#module-ewcheckout-order .summary_subtotals {
    background-color: rgba(245, 245, 245);
    padding: 1rem;
    border-radius: 15px;
    margin-top: 1.5rem;
}
.extra_ewyadostavka_static_map img {
     border-radius: 15px;
}
#module-ewcheckout-order .summary_subtotal_actions {
    margin-top: 1.5rem;
}

.option-text {
    font-size: 1rem;
}

.btn-with-dot {
  position: relative;
}
.dot {
  border: 2px solid #fff;
}
.btn-with-dot .dot {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 10px;
  height: 10px;
  background: #dc3545; /* bootstrap danger */
  border-radius: 50%;
}

.ew-add-address, .ew-edit-address, .ew-change-city {
    padding: .25rem .5rem;
    font-size: .875rem !important;
    border-radius: .2rem !important;
}

.suggestions-wrapper {
    position: absolute !important; 
}

.no-order {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffffbd;
    z-index: 2;
    border-radius: 10px;
}

.no_order {
    max-width: 50%;
    margin: auto;
}

.condition-label p {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
}


.nav-item .nav-link {
    font-weight: 400;
}
.header-checkout .navbar-nav {
    display: flex;
    flex-direction: row;
    margin: 0;
    justify-content: end;
}
.header-checkout .navbar-nav li {
        margin-right: 1rem;
}
.header-checkout {
        padding: .5rem 0;
}

.header-checkout.mobile {
     position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
}

.spinner-border-che {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: .15em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border .75s linear infinite;
    border-width: .1em;
}

@keyframes spinner-border {
  to {
    transform: rotate(360deg);
  }
}

.spinner-border-box {
    position: absolute;
    right: 0;
    left: 0;
    margin: 0;
    top: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
}

.cart-grid-body {
    padding-right: 0px;
}
#wrapper {
    padding-top: 1.563rem;
    background: #f6f6f6;
}
.breadcrumb  {
    display: none !important;
}

.cart-grid-right .card {
    box-shadow: none !important;
    border: 0 !important;
}

.media-left {
    padding-right: 10px;
}

#cartProductsModal .product-name h3 {
    font-size: 1rem;
}
#footer {
        margin-top: 0 !important;
}

.skeleton-row {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.btn-back {
    background: none;
    border: none;
    display: flex;
}