/* Основные стили корзины */
.basket-form-m {
    font-family: 'Roboto', Arial, sans-serif;
    color: #333;
    line-height: 1.5;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
}

.basket__content {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.basket__l {
    width: 60%;
    padding-right: 30px;
    box-sizing: border-box;
}

.basket__r {
    width: 40%;
    padding-left: 30px;
    box-sizing: border-box;
}

/* Заголовок */
.page-title-block.is-center.is-main {
    text-align: center;
    margin-bottom: 30px;
    width: 100%;
}

.page-title._var-1 {
    font-size: 28px;
    font-weight: 700;
    color: #222;
    position: relative;
    display: inline-block;
}

.page-title._var-1 span {
    display: block;
    font-size: 16px;
    font-weight: 400;
    color: #777;
    margin-top: 5px;
}

/* Ссылки в корзине */
.basket__links-block {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.basket__links {
    display: flex;
    align-items: center;
}

.basket__links a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.basket__links a:hover {
    color: #cc9453;
}

.basket__links a i {
    margin-right: 8px;
    font-size: 16px;
}

.basket__links a.is-right {
    color: #999;
}

.basket__links a.is-right:hover {
    color: #cc9453;
}

/* Элементы корзины */
.basket__list {
    margin-bottom: 30px;
}

.basket__item {
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 15px;
    position: relative;
}

.basket__item-main {
    display: flex;
    align-items: flex-start;
}

.basket__del {
    color: #999;
    font-size: 18px;
    cursor: pointer;
    margin-right: 15px;
    margin-top: 5px;
}

.basket__del:hover {
    color: #cc9453;
}

.basket__pic {
    width: 80px;
    height: 80px;
    margin-right: 15px;
    cursor: pointer;
    flex-shrink: 0;
}

.basket__pic img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.basket__name-info {
    flex-grow: 1;
    margin-right: 15px;
}

.basket__name {
    font-weight: 500;
    margin-bottom: 5px;
    cursor: pointer;
}

.basket__name:hover {
    color: #cc9453;
}

.basket__brand {
    font-size: 13px;
    color: #777;
    margin-bottom: 10px;
}

.basket__dop {
    font-size: 13px;
    color: #cc9453;
    cursor: pointer;
    text-decoration: underline;
}

.basket__dop:hover {
    text-decoration: none;
}

.basket__cnt-wr {
    margin-right: 20px;
    text-align: center;
}

.basket__cnt {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.basket__cnt span {
    font-size: 12px;
    color: #777;
    margin-bottom: 5px;
}

.cnt-block {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.cnt-block__btn {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #f5f5f5;
    color: #333;
}

.cnt-block__btn:hover {
    background: #eee;
}

.cnt-block__value {
    width: 40px;
    height: 30px;
    text-align: center;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    outline: none;
}

.basket__price-wr {
    text-align: right;
    min-width: 150px;
}

.basket__price {
    margin-bottom: 10px;
}

.basket__p {
    font-weight: 700;
    font-size: 18px;
}

.basket__old {
    margin-top: 5px;
}

.basket__p-old {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.basket__ben {
    color: #cc9453;
    font-size: 12px;
}

.basket__like {
    display: inline-block;
    width: 24px;
    height: 24px;
    cursor: pointer;
    background: url(/local/templates/.default/images/icons/heart-empty.svg) no-repeat center;
}

.basket__like:hover {
    background-image: url(/local/templates/.default/images/icons/heart-full.svg);
}

/* Рекомендуемые товары */
.basket__rec {
    margin-top: 15px;
    padding-top: 15px;
}

/* Промокод */
.promo {
    margin-bottom: 20px;
}

.promo__field {
    display: flex;
    position: relative;
}

.promo__input {
    flex-grow: 1;
    height: 40px;
    padding: 0 15px;
    border: 1px solid #cc9453;
    border-radius: 4px 4px 4px 4px;
    outline: none;
    width: calc(100% - 120px);
}

.promo__btn {
    width: 120px;
    height: 40px;
    background: #cc9453;
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-weight: 500;
}

.promo__btn:hover {
    background: #b3804a;
    color: white;
}

.promo__label {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
    transition: all 0.3s;
}

.promo__input:focus+.promo__label,
.promo__input:not(:placeholder-shown)+.promo__label {
    top: 0;
    font-size: 12px;
    background: #fff;
    padding: 0 5px;
    transform: translateY(-50%);
}

/* Итоговая стоимость */
.invoice {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 4px;
}

.invoice__line {
    display: flex;
    margin-bottom: 10px;
}

.invoice__line.is-sum {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

.invoice__name {
    flex-grow: 1;
}

.invoice__stroke {
    border-bottom: 1px dotted #ccc;
    flex-grow: 1;
    margin: 0 5px;
    transform: translateY(-5px);
}

.invoice__value {
    font-weight: 500;
}

.invoice__line.is-sum .invoice__value {
    font-weight: 700;
    font-size: 18px;
    color: #cc9453;
}

.invoice__bonus {
    color: #4caf50;
}

/* Табы */
.basket-tabs__head {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.basket-tabs__head-item {
    padding: 10px 20px;
    cursor: pointer;
    position: relative;
    font-weight: 500;
}

.basket-tabs__head-item.is-active {
    color: #cc9453;
}

.basket-tabs__head-item.is-active:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #cc9453;
}

/* Форма заказа */
.basket__text._type-1 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
}

.st-form__form {
    margin-bottom: 30px;
}

.st-form__field {
    margin-bottom: 15px;
    position: relative;
}

.st-form__input {
    width: 100%;
    height: 40px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
}

.st-form__input.is-border-v2 {
    border-radius: 0;
    border: none;
    border-bottom: 1px solid #ddd;
    padding-left: 0;
}

.st-form__input.is-border-v2:focus {
    border-bottom-color: #cc9453;
}

.st-form__label {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
    transition: all 0.3s;
}

.st-form__input:focus+.st-form__label,
.st-form__input:not(:placeholder-shown)+.st-form__label {
    top: 0;
    font-size: 12px;
    background: #fff;
    padding: 0 5px;
    transform: translateY(-50%);
}

.st-form__input.is-border-v2+.st-form__label {
    left: 0;
}

textarea.st-form__input {
    height: 100px;
    padding-top: 10px;
    resize: vertical;
}

.st-form__link {
    color: #cc9453;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    margin-bottom: 15px;
}

.st-form__link .plus {
    margin-right: 5px;
}

.st-form__btn {
    width: 100%;
    height: 50px;
    background: #cc9453;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 20px;
}

.st-form__btn:hover {
    background: #b3804a;
}

.st-form__btn.is-green {
    background: #cc9453;
    color: white;
}

.st-form__btn.is-green:hover {
    background: #b3804a;
}

/* Выпадающие списки */
.__select {
    position: relative;
    z-index: 10;
}

.__select.is-active {
    z-index: 20;
}


.__select__title {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 15px;
    height: 40px;
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.__select__title:after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #333;
}

.__select[data-state="active"] .__select__title:after {
    transform: translateY(-50%) rotate(180deg);
}

.__select[data-state="active"] .__select__content {
    display: block;
}

.__select__input {
    display: none;
}

.__select__label {
    display: block;
    padding: 10px 15px;
    cursor: pointer;
}

.__select__label:hover {
    background: #f5f5f5;
}

.__select__label--icon {
    display: flex;
    align-items: center;
}

.__select__span-img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.__select__span-img img {
    max-width: 100%;
    max-height: 100%;
}

.st-form__popup-address {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: #cc9453;
    font-size: 14px;
}

.st-form__popup-address i {
    margin-right: 8px;
}

/* Чекбокс */
.box-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    margin-bottom: 15px;
}

.box-label input {
    display: none;
}

.box-label .box {
    width: 18px;
    height: 18px;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin-right: 10px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
    background-color: #fff;
    transition: all 0.2s ease;
}

.box-label input:checked+.box {
    border-color: #cc9453;
    background-color: #cc9453;
}

.box-label input:checked+.box:after {
    content: '✔';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    color: white;
    line-height: 1;
}

.box-label .label {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.box-label .label a {
    color: #cc9453;
    text-decoration: none;
}

.box-label .label a:hover {
    text-decoration: underline;
}

/* Телефоны */
.basket__phones {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.basket__phones strong {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

.basket__phones div {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.basket__phones a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.basket__phones a:hover {
    color: #cc9453;
}

.basket__phones span {
    margin-left: 10px;
    color: #777;
    font-size: 13px;
}

/* Адаптивность */
@media (max-width: 992px) {

    .basket__l,
    .basket__r {
        width: 100%;
        padding: 0;
    }

    .basket__r {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .basket__item-main {
        flex-wrap: wrap;
    }

    .basket__name-info {
        order: 1;
        width: calc(100% - 110px);
    }

    .basket__cnt-wr {
        order: 3;
        width: 100%;
        margin-top: 15px;
        margin-right: 0;
    }

    .basket__price-wr {
        order: 2;
        width: auto;
    }

    .basket__cnt {
        flex-direction: row;
        align-items: center;
    }

    .basket__cnt span {
        margin-right: 10px;
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    .basket__links-block {
        flex-direction: column;
    }

    .basket__links {
        margin-bottom: 10px;
    }

    .basket__links:last-child {
        margin-bottom: 0;
    }

    .basket-tabs__head {
        flex-direction: column;
    }

    .basket-tabs__head-item {
        padding: 10px 0;
    }
}

/* Loading overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Messages */
.success-message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 4px;
    color: white;
    z-index: 10000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease-out;
}


.success-message {
    background-color: #2ecc71;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Basket item animations */
.basket__item {
    transition: all 0.3s ease;
}

.basket__item.removing {
    opacity: 0;
    transform: translateX(-100%);
}

/* Counter buttons */
.cnt-block__btn {
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s;
}

.cnt-block__btn:hover {
    background-color: #f5f5f5;
}

/* Like button */
.btn-like {
    cursor: pointer;
}

.btn-like.is-active {
    color: #e74c3c;
}

/* Tabs */
.js-content-tab {
    display: none;
}

.js-content-tab.is-active {
    display: block;
}

.js-switch-tab {
    cursor: pointer;
}

.__select {
    position: relative;
    cursor: pointer;
}

.__select__title {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.__select__content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
}

.__select.is-active .__select__content {
    display: block !important;
}

.__select__content {
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
}

.__select.is-active .__select__content {
    max-height: 300px;
}

.__select__option {
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.__select__option:hover {
    background: #f5f5f5;
}

.__select__option.is-locked {
    opacity: 0.5;
    cursor: not-allowed;
}

.__select__option.is-selected {
    background: #f0f7ff;
}

.delivery-term {
    color: #666;
    font-size: 0.9em;
}

/* Стили для ошибок валидации */
.error {
    color: #cc9453;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.is-invalid {
    border-color: #cc9453 !important;
}

.is-invalid+.placeholder {
    color: #cc9453;
}

.input-block .error {
    display: block;
}

.st-form__field.is-invalid .error {
    display: block;
}


.st-form__input:required:not(:valid),
.st-form__input.is-required:not(:valid) {
    border-color: #cc9453;
}

.st-form__input:required:focus:not(:valid),
.st-form__input.is-required:focus:not(:valid) {
    border-color: #cc9453;
    box-shadow: 0 0 0 2px rgba(204, 148, 83, 0.2);
}

.st-form__label.required:after {
    content: '*';
    color: #cc9453;
    margin-left: 3px;
}

.st-form__field.has-error .st-form__input {
    border-color: #cc9453;
    animation: shake 0.5s;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    20%,
    60% {
        transform: translateX(-5px);
    }

    40%,
    80% {
        transform: translateX(5px);
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.__select__option label {
    display: flex;
    align-items: center;
    width: 100%;
    cursor: pointer;
    padding: 8px 0;
}

.__select__span-img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.__select__span-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.__select__content {
    padding: 10px 0;
}

.__select__option {
    padding: 0 15px;
}

.__select__option:hover {
    background-color: #f5f5f5;
}

.__select__option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.__select__option input[type="radio"]:checked+label {
    font-weight: 500;
    color: #cc9453;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Shake animation for invalid fields */
@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    20%,
    60% {
        transform: translateX(-5px);
    }

    40%,
    80% {
        transform: translateX(5px);
    }
}

.st-form__field.has-error .st-form__input {
    animation: shake 0.5s ease;
}

/* Required field indicators */
.st-form__label.required:after,
.placeholder.required:after {
    content: '*';
    color: #cc9453;
    margin-left: 3px;
}



/* Improved error styles */
.st-form__field.has-error {
    margin-bottom: 25px;
}

.st-form__field.has-error .st-form__input,
.st-form__field.has-error .__select__title {
    border-color: #cc9453 !important;
    box-shadow: 0 0 0 2px rgba(204, 148, 83, 0.1);
}

.error-message {
    color: #cc9453;
    font-size: 12px;
    margin-top: 6px;
    display: block;
    animation: fadeIn 0.3s ease;
    position: absolute;
    bottom: -20px;
    left: 0;
}

.consider .error-message {
    position: relative;
    bottom: auto;
    margin-top: 8px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Shake animation for invalid fields */
@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    20%,
    60% {
        transform: translateX(-5px);
    }

    40%,
    80% {
        transform: translateX(5px);
    }
}

.st-form__field.has-error .st-form__input {
    animation: shake 0.5s ease;
}

.st-form__label.required:after,
.placeholder.required:after {
    content: '*';
    color: #cc9453;
    margin-left: 3px;
}

.st-form__btn.is-processing {
    opacity: 0.7;
    cursor: not-allowed;
    background-color: #ccc !important;
}

.st-form__btn.is-processing:hover {
    background-color: #ccc !important;
}

.empty-cart {
    max-width: 500px;
    margin: 50px auto;
    padding: 40px;
    text-align: center;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.empty-cart__icon {
    margin-bottom: 25px;
}

.empty-cart__icon svg {
    width: 80px;
    height: 80px;
}

.empty-cart__title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.empty-cart__text {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.5;
}

.empty-cart__button {
    display: inline-block;
    padding: 12px 30px !important;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    color: white !important;
}

.empty-cart__button.is-green {
    background: #cc9453;
}

.empty-cart__button.is-green:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(204, 148, 83, 0.3);
}

@media (max-width: 768px) {
    .empty-cart {
        padding: 30px 20px;
        margin: 30px auto;
    }

    .empty-cart__title {
        font-size: 20px;
    }

    .empty-cart__text {
        font-size: 14px;
    }
}

/* Order success block */
.order-success {
    max-width: 800px;
    margin: 50px auto;
    padding: 40px;
    text-align: center;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.order-success__icon {
    margin-bottom: 25px;
}

.order-success__icon svg {
    width: 80px;
    height: 80px;
}

.order-success__title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.order-success__text {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.5;
}

.order-success__summary {
    text-align: left;
    margin: 30px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 4px;
}

.order-success__total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.order-success__items h3 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 15px;
}

.order-success__items ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.order-success__items li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    gap: 5px;
    border-bottom: 1px solid #f0f0f0;
}

.order-success__items li span:last-child {
    white-space: nowrap;
}

.order-success__items li:last-child {
    border-bottom: none;
}

.order-success__actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.order-success__button {
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.order-success__button.is-green {
    background: #cc9453;
    color: #fff;
}

.order-success__button.is-green:hover {
    background: #b3804a;
}

.order-success__button.is-outline {
    background: transparent;
    border: 1px solid #cc9453;
    color: #cc9453;
}

.order-success__button.is-outline:hover {
    background: #fcf8f5;
}

@media (max-width: 768px) {
    .order-success {
        padding: 30px 20px;
        margin: 30px auto;
    }

    .order-success__title {
        font-size: 22px;
    }

    .order-success__actions {
        flex-direction: column;
    }

    .order-success__button {
        width: 100%;
    }
}

/* Стили для модального окна "Поделиться корзиной" */
.share-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-modal {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.share-modal__close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.share-modal__close:hover {
    color: #333;
}

.share-modal h3 {
    margin-top: 0;
    color: #333;
    font-size: 20px;
}

.share-modal p {
    margin-bottom: 20px;
    color: #666;
}

.share-modal__link {
    display: flex;
    margin-bottom: 20px;
}

.share-modal__input {
    flex-grow: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
}

.share-modal__copy {
    padding: 0 15px;
    background: #cc9453;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background 0.2s;
}

.share-modal__copy:hover {
    background: #b3804a;
}

.share-modal__actions {
    text-align: right;
}

.share-modal__close-btn {
    padding: 8px 20px;
    background: #f5f5f5;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.share-modal__close-btn:hover {
    background: #e0e0e0;
}

/* Стили для панели копирования корзины */
.copy-basket-panel {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
}

.copy-basket__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.copy-basket__content p {
    margin: 0;
    color: #666;
}

.copy-basket__btn {
    padding: 8px 20px;
    background: #cc9453;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.copy-basket__btn:hover {
    background: #b3804a;
}

/* Иконки для корзины */
.icon-7y_chain:before {
    content: "🔗";
    margin-right: 5px;
}

.icon-8a_trash:before {
    content: "🗑";
    margin-right: 5px;
}

.icon-5u_minus:before {
    content: "−";
}

.icon-5t_plus:before {
    content: "+";
}

.icon-2k_krest:before {
    content: "✕";
}

.icon-7b_point:before {
    content: "📍";
    margin-right: 5px;
}

.invoice__value:after {
    content: " ₽";
}

.basket__del {
    font-weight: bold;
    font-size: 20px;
}

.basket__item.removing {
    opacity: 0;
    transform: translateX(-100%);
    transition: all 0.5s ease;
}

.restore-item {
    padding: 15px;
    margin-bottom: 15px;
    background: #f9f9f9;
    border-radius: 4px;
    animation: fadeIn 0.5s ease;
}

.restore-link {
    color: #cc9453;
    text-decoration: underline;
}

.restore-link:hover {
    text-decoration: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.basket__item.item-removed {
    opacity: 0.5;
    background-color: #f9f9f9;
    position: relative;
}

.basket__item.item-removed:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 1;
}

.item-removed-message {
    color: #cc9453;
    font-size: 13px;
    margin-top: 5px;
}

/* Кнопка восстановления */
.restore-item-btn {
    position: absolute;
    right: 15px;
    top: 15px;
    z-index: 2;
    background: #cc9453;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.restore-item-btn:hover {
    background: #b3804a;
}

.restore-item-btn {
    display: none;
}

.basket__item.item-removed .restore-item-btn {
    display: block;
}

.promo__field {
    position: relative;
}

.promo__clear {
    position: absolute;
    right: 131px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #ccc;
    font-size: 21px;
    z-index: 2;
}

.promo__clear:hover {
    color: black;
}

/* Tabs - общие стили */
.basket-tabs__head {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
    position: relative;
}

.basket-tabs__head-item {
    white-space: nowrap;
    cursor: pointer;
    flex-grow: 1;
    text-align: center;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #cc9453;
    padding: 10px 0;
    position: relative;
    text-transform: uppercase;
}

.basket-tabs__head-item>span {
    border-bottom: 1px dashed #cc9453;
    display: inline-block;
}

.basket-tabs__head-item.is-active {
    z-index: 1;
    font-weight: 700;
    color: #001a34;
    text-transform: uppercase;
}

.basket-tabs__head-item.is-active>span {
    border-bottom-color: transparent;
}

.basket-tabs__head-item.is-active:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #cc9453;
    opacity: 1;
}

/* Мобильная версия */
@media (max-width: 768px) {
    .basket-tabs__head-item.is-active:after {
        display: none;
    }

    .basket-tabs__head.is-active {
        border-bottom: none;
    }

    .basket-tabs__head.is-active .basket-tabs__head-item {
        display: block;
        border-bottom: 1px solid #eee;
    }

    .basket-tabs__head.is-active .basket-tabs__head-item.is-active {
        border-bottom: none;
    }
}

/* Стили для контента табов (остаются без изменений) */
.js-content-tab {
    display: none;
}

.js-content-tab.is-active {
    display: block;
}

.promo__btn {
    margin-left: 20px
}

/* Стили для кнопок в блоке успешного заказа */
.order-success__button.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    min-height: 44px;
}

.order-success__button.btn.is-green {
    background: #cc9453;
    color: #fff;
}

.order-success__button.btn.is-green:hover {
    background: #b3804a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(204, 148, 83, 0.3);
}

/* Убедитесь, что контейнер с кнопками правильно выровнен */
.order-success__actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    width: 100%;
}

/* Для мобильных устройств */
@media (max-width: 768px) {
    .order-success__actions {
        flex-direction: column;
        align-items: center;
    }

    .order-success__button.btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .order-success__items li span {
        font-size: 14px;
    }
}

/* Более специфичные стили для кнопки в успешном заказе */
.order-success .order-success__actions .order-success__button.btn.is-green {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    margin: 0 !important;
    float: none !important;
}

@media (max-width: 480px) {
    .options-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 12px;
    }

    .option-item {
        padding: 6px;
    }

    .option-item img {
        height: 100px;
        margin-bottom: 8px;
    }

    .option-item span {
        font-size: 13px;
        line-height: 1.3;
    }

    .selected-icon {
        width: 16px;
        height: 16px;
        top: -8px;
        right: -8px;
    }
}