

.account-dropdown {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: -10px;
}

.account-dropdown .sub-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 220px;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
    border: 1px solid #eee;
}

.account-dropdown:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sub-menu ul li a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sub-menu ul li a:hover {
    background-color: #f5f5f5;
    color: #000;
}

.sub-menu i {
    font-size: 16px;
    color: #666;
}

.login {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f4f6f8;
    padding: 20px;
}

.login__container {
    background: #fff;
    width: 100%;
    max-width: 450px;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.login__title {
    margin-bottom: 30px;
}

.login__logo img {
    height: 40px;
    margin-bottom: 15px;
    object-fit: contain;
}

.login__title span {
    display: block;
    color: #6c757d;
    font-size: 14px;
    line-height: 1.5;
    margin-top: 10px;
}

.tabs-menu {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    border-bottom: 2px solid #eee;
}

.tabs-menu li {
    flex: 1;
}

.tabs-menu li a {
    display: block;
    padding: 12px;
    text-decoration: none;
    color: #999;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.tabs-menu li a.active,
.tabs-menu li a:hover {
    color: #000;
    border-color: #000;
}

.form-item {
    position: relative;
    margin-bottom: 20px;
    text-align: left;
}

.form-item input {
    width: 100%;
    height: 50px;
    padding: 0 45px 0 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    background: #f9f9f9;
    transition: all 0.3s;
    outline: none;
}

.form-item input:focus {
    border-color: #000;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
}

.form-item label {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 14px;
    transition: all 0.2s ease;
    pointer-events: none;
    background-color: transparent;
    padding: 0 5px;
}

.form-item input:focus ~ label,
.form-item input:not(:placeholder-shown) ~ label {
    top: 0;
    font-size: 12px;
    color: #000;
    background-color: #fff;
}

.form-item i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 18px;
    cursor: pointer;
}

.form-item-forgotten {
    display: block;
    text-align: right;
    font-size: 13px;
    color: #666;
    margin-bottom: 25px;
    text-decoration: none;
}
.form-item-forgotten:hover {
    text-decoration: underline;
}

.button--complate {
    width: 100%;
    height: 50px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.button--complate:hover {
    background-color: #333;
    transform: translateY(-2px);
}

.alert-danger {
    background: #fff5f5;
    border: 1px solid #fed7d7;
    color: #c53030;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: left;
}
.alert-danger ul {
    margin: 0;
    padding-left: 20px;
}

.user-page {
    background-color: #f9fafb;
    padding: 40px 0;
    min-height: 80vh;
}

.user-page__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.user-page__sidebar {
    flex: 0 0 280px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: sticky;
    top: 20px;
}

.user-page__sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.user-page__sidebar ul li {
    border-bottom: 1px solid #f0f0f0;
}

.user-page__sidebar ul li:last-child {
    border-bottom: none;
}

.user-page__sidebar a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    text-decoration: none;
    color: #555;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.user-page__sidebar a span {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-page__sidebar a i {
    font-size: 18px;
    color: #999;
    transition: color 0.2s;
}

.user-page__sidebar a:hover,
.user-page__sidebar a.active {
    background-color: #fffbf0;
    color: #000;
}

.user-page__sidebar a:hover i,
.user-page__sidebar a.active i {
    color: #f59e0b;
}

.user-page__wrapper {
    flex: 1;
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.user-page__title {
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.user-page__title h2 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.alert {
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.alert i {
    font-size: 20px;
}

.alert--yellow {
    background-color: #fff8e1;
    color: #b76e00;
    border: 1px solid #ffecb3;
}


@media (max-width: 992px) {
    .user-page__container {
        flex-direction: column;
    }

    .user-page__sidebar {
        width: 100%;
        flex: none;
        position: static;
        margin-bottom: 20px;
    }

}

.user-page__cards {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.user-page__card {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    min-width: 200px;
}

.user-page__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-color: #e0e0e0;
}

.user-page__card i {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border-radius: 50%;
}

.user-page__card i.red {
    background-color: #fff5f5;
    color: #e53e3e;
}
.user-page__card i.orange {
    background-color: #fffaf0;
    color: #dd6b20;
}
.user-page__card i.purple {
    background-color: #faf5ff;
    color: #805ad5;
}

.user-page__card-texts {
    display: flex;
    flex-direction: column;
}

.user-page__card-texts span:first-child {
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.user-page__card-texts span:last-child {
    font-size: 14px;
    color: #666;
}

.user-order {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s;
}

.user-order:hover {
    border-color: #ccc;
}

.user-order__title {
    background-color: #f8f9fa;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.user-order__info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.user-order__info span:first-child {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    font-weight: 600;
}

.user-order__info span:last-child {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 5px;
}


.button--order-detail {
    padding: 8px 16px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #555;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
    margin-left: auto;
}

.button--order-detail:hover {
    background-color: #333;
    color: #fff;
    border-color: #333;
}

.user-order__wrapper {
    padding: 20px;
    background-color: #fff;
}

.order-product {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-product__texts {
    display: flex;
    align-items: center;
    gap: 20px;
}

.order-product__texts-img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    overflow: hidden;
    flex-shrink: 0;
}

.order-product__texts-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-product__texts-wrapper h2 {
    font-size: 16px;
    color: #333;
    margin: 0 0 5px 0;
    font-weight: 600;
}

.order-product__texts-wrapper ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.order-product__texts-wrapper li {
    font-size: 13px;
    color: #666;
}

.order-product__texts-wrapper li strong {
    color: #333;
    margin-left: 5px;
}

.order-product__prices ins {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    text-decoration: none;
}

@media (max-width: 768px) {

    .user-page__cards {
        flex-direction: column;
    }

    .user-order__title {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .button--order-detail {
        grid-column: span 2;
        text-align: center;
        margin-top: 10px;
    }

    .order-product {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .order-product__prices {
        align-self: flex-end;
    }
}

.shop-cart {
    padding: 50px 0;
    background-color: #f8f9fa;
    min-height: 80vh;
}

.shop-cart__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.shop-cart h1 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
}

.shop-cart h1 span {
    font-size: 16px;
    font-weight: 400;
    color: #777;
    margin-left: 10px;
}

.shop-cart__wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.shop-cart__basket {
    flex: 1;
}

.shop-cart__provoke {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.shop-cart__provoke-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
    font-size: 14px;
}

.shop-cart__provoke-alert i {
    font-size: 20px;
    color: #28a745;
}

.button--provoke {
    color: #333;
    font-weight: 600;
    text-decoration: none;
    font-size: 13px;
    display: flex;
    align-items: center;
}

.shop-cart__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    transition: box-shadow 0.3s;
}

.shop-cart__item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.shop-cart__item-texts {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 45%;
}

.shop-cart__item-img {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    overflow: hidden;
}

.shop-cart__item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-cart__item-texts-wrapper h2 {
    font-size: 16px;
    margin: 0 0 5px 0;
}

.shop-cart__item-texts-wrapper h2 a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: color 0.2s;
}

.shop-cart__item-texts-wrapper h2 a:hover {
    color: #000;
}

.shop-cart__item-texts-wrapper ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.shop-cart__item-texts-wrapper li {
    font-size: 13px;
    color: #666;
}

.piece-input {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    height: 40px;
    overflow: hidden;
    background: #fff;
}

.piece-input__value {
    width: 40px;
    height: 100%;
    border: none;
    text-align: center;
    font-weight: 600;
    color: #333;
    outline: none;
}

.piece-input span {
    font-size: 12px;
    color: #999;
    padding-right: 5px;
    user-select: none;
}

.piece-input__buttons {
    display: flex;
    flex-direction: column;
    border-left: 1px solid #ddd;
}

.piece-input__buttons i {
    font-size: 10px;
    padding: 2px 6px;
    cursor: pointer;
    background: #f9f9f9;
    transition: background 0.2s;
}

.piece-input__buttons i:hover {
    background: #eee;
}

.shop-cart__item-prices {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    min-width: 100px;
}

.shop-cart__item-prices del {
    font-size: 13px;
    color: #999;
}

.shop-cart__item-prices ins {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    text-decoration: none;
}

.button--basket-remove {
    color: #dc3545;
    font-size: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.2s;
}

.button--basket-remove:hover {
    transform: scale(1.1);
}

.summary {
    width: 350px;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    position: sticky;
    top: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.summary h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.summary ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.summary li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 15px;
    color: #555;
}

.summary li strong {
    color: #333;
    font-weight: 600;
}

.summary li strong.total {
    font-size: 22px;
    color: #000;
}

.summary__coupon form {
    display: flex;
    gap: 5px;
}

.summary__coupon input {
    flex: 1;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 6px;
    outline: none;
    font-size: 14px;
}

.summary__coupon button {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 0 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.2s;
}

.summary__coupon button:hover {
    background-color: #000;
}

.summary__button {
    margin-top: 25px;
}

.button--complate {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #000;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
}

.button--complate:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}


.result--frame {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.result__container {
    text-align: center;
    background: #fff;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.result__icon {
    font-size: 60px;
    display: block;
    margin-bottom: 20px;
}

.result__container h1 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.result__container p {
    color: #666;
    margin-bottom: 30px;
}

.button--main {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
}

@media (max-width: 992px) {
    .shop-cart__wrapper {
        flex-direction: column;
    }

    .shop-cart__basket {
        width: 100%;
    }

    .summary {
        width: 100%;
        position: static;
    }
}

@media (max-width: 576px) {
    .shop-cart__item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        position: relative;
    }

    .shop-cart__item-texts {
        width: 100%;
    }

    .piece-input {
        margin-top: 10px;
    }

    .shop-cart__item-prices {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-top: 10px;
        border-top: 1px solid #f0f0f0;
        padding-top: 10px;
    }

    .button--basket-remove {
        position: absolute;
        top: 15px;
        right: 15px;
    }
}

.user-page__title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.user-page__title h2 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.button--address-add {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s;
}

.button--address-add:hover {
    background-color: #333;
}

.user-page__addresses {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.user-address {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    transition: box-shadow 0.3s ease;
    position: relative;
}

.user-address:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-color: #d0d0d0;
}

.user-address__title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 15px;
    cursor: default;
}

.user-address__title-wrapper span {
    font-weight: 700;
    color: #333;
    font-size: 15px;
}

.user-address__buttons {
    display: flex;
    gap: 10px;
}

.button--address-edit,
.button--address-default {
    background: #fff;
    border: 1px solid #ddd;
    color: #555;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.button--address-edit:hover,
.button--address-default:hover {
    background: #f9f9f9;
    color: #000;
    border-color: #999;
}

.button--address-delete {
    background: #fff5f5;
    border: 1px solid #fed7d7;
    color: #e53e3e;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.button--address-delete:hover {
    background: #e53e3e;
    color: #fff;
    border-color: #e53e3e;
}

.user-address__info {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
}

.user-address__info div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.user-address__info span {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    font-weight: 600;
}

.user-address__info strong {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

.address-form {
    padding: 10px;
}

.scs__form-row {
    display: flex;
    gap: 15px;
}

.scs__form-row .form-item {
    flex: 1;
}

.form-item {
    position: relative;
    margin-bottom: 20px;
}

.form-item input,
.form-item select {
    width: 100%;
    height: 50px;
    padding: 15px 15px 0 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: border 0.3s;
}

.form-item input:focus,
.form-item select:focus {
    border-color: #000;
}

.form-item label {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #999;
    pointer-events: none;
    transition: all 0.2s ease;
}

.form-item.floating-label input:focus ~ label,
.form-item.floating-label input:not(:placeholder-shown) ~ label,
.form-item.floating-label select:focus ~ label,
.form-item.floating-label select:valid ~ label {
    top: 12px;
    font-size: 11px;
    color: #000;
    font-weight: 600;
}

.form-item-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    cursor: pointer;
    font-size: 14px;
    color: #555;
}

.form-item-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.w-100 {
    width: 100%;
}
.button--main {
    background: #000;
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}
.button--main:hover {
    background: #333;
}


.modal__overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

.modal__container {
    background-color: #fff;
    padding: 30px;
    max-width: 600px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    overflow-y: auto;
    max-height: 90vh;
    position: relative;
    animation: slideIn 0.3s ease;
}

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

.modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.modal__title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.modal__close {
    background: transparent;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

.modal__close:before { content: "\00d7"; }
.modal__close:hover { color: #000; }

@media (max-width: 768px) {
    .scs__form-row {
        flex-direction: column;
        gap: 0;
    }

    .user-address__title {
        flex-direction: column;
        align-items: flex-start;
    }

    .user-address__buttons {
        width: 100%;
        justify-content: space-between;
        margin-top: 10px;
    }

    .user-address__info {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.modal {
    display: none;
    z-index: 9999;
}

.modal.is-open {
    display: block;
}

.modal__overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.scs {
    padding: 40px 0;
    background-color: #f9fafb;
    min-height: 100vh;
}

.scs__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.scs__forms {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.scs__form {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.scs__form-title h4 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.user-address {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
    position: relative;
}

.user-address.active {
    border-color: #000;
    background-color: #fffbf0;
    box-shadow: 0 0 0 1px #000 inset;
}

.user-address__title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    cursor: pointer;
}

.user-address__title-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: #333;
}

.user-address__title-wrapper input[type="radio"] {
    accent-color: #000;
    width: 18px;
    height: 18px;
}

.user-address__info {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    font-size: 14px;
    color: #555;
    padding-left: 28px;
}

.user-address__buttons {
    display: flex;
    gap: 10px;
}

.button--address-edit {
    font-size: 12px;
    text-decoration: none;
    color: #666;
    background: #f0f0f0;
    padding: 5px 10px;
    border-radius: 4px;
}


.scs__saved-address {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border: 1px dashed #bbb;
    border-radius: 8px;
    cursor: pointer;
    background: #fafafa;
    transition: background 0.2s;
}

.scs__saved-address:hover {
    background: #f0f0f0;
    border-color: #999;
}

.scs__saved-address input {
    accent-color: #000;
    width: 18px;
    height: 18px;
}

.scs__saved-address-body {
    display: flex;
    flex-direction: column;
}

.scs__saved-address-body strong {
    color: #333;
    font-size: 15px;
}

.scs__saved-address-body span {
    font-size: 13px;
    color: #777;
}

#new_address_form {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #eee;
    transition: all 0.3s ease;
}

#new_address_form.hidden {
    display: none;
}

.scs__form-row {
    display: flex;
    gap: 20px;
}

.form-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-item label {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
}

.form-item input,
.form-item select,
.form-item textarea {
    width: 100%;
    height: 48px;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0 15px;
    font-size: 14px;
    color: #333;
    background: #fff;
    outline: none;
    transition: border 0.2s;
}

.form-item textarea {
    height: 100px;
    padding-top: 15px;
    resize: vertical;
}

.form-item input:focus,
.form-item select:focus,
.form-item textarea:focus {
    border-color: #000;
}

.form-item input:disabled,
.form-item select:disabled,
.form-item textarea:disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

.form-tab__menu {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.form-tab__menu .radio {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
}

.form-tab__content.hidden {
    display: none;
}

.form-item-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #555;
    margin-top: 10px;
}
.form-item-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: #000;
}


.scs__shipping-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.scs__payment {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.scs__payment.active {
    border-color: #000;
    box-shadow: 0 0 0 1px #000 inset;
}

.scs__payment-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #fdfdfd;
    cursor: pointer;
}

.scs__payment-title-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: #333;
}

.scs__payment-title-wrapper input {
    width: 18px;
    height: 18px;
    accent-color: #000;
}

.scs__payment-wrapper {
    padding: 0 20px 20px 20px;
    display: none;
    font-size: 14px;
    color: #666;
    border-top: 1px solid #f0f0f0;
    background: #fff;
    padding-top: 20px;
}

.scs__shipping-list .scs__payment-wrapper p {
    margin: 0;
    padding: 0 20px 15px 50px;
}

.scs__payment.active .scs__payment-wrapper {
    display: block;
}

.scs__payment img {
    height: 24px;
    object-fit: contain;
}

.scs__bank {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 15px;
}

.scs__bank-title {
    font-weight: 700;
    margin-bottom: 5px;
    color: #000;
}

.scs__bank-wrapper {
    font-size: 13px;
    color: #555;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.summary {
    width: 380px;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    position: sticky;
    top: 20px;
}

.summary__texts h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

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

.summary__texts li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 15px;
    color: #555;
}

.summary__texts li strong {
    color: #333;
    font-weight: 600;
}

.summary__texts li strong.total {
    font-size: 24px;
    color: #000;
}

.summary__coupon {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed #ddd;
}

.summary__coupon input {
    flex: 1;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 6px;
    outline: none;
    font-size: 14px;
}

.summary__coupon button {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 0 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    margin-left: 5px;
}

.summary__button {
    margin-top: 25px;
}

.summary__checkbox {
    display: flex;
    gap: 10px;
    font-size: 13px;
    color: #555;
    margin-bottom: 20px;
    align-items: flex-start;
}

.summary__checkbox input {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.summary__checkbox a {
    color: #000;
    text-decoration: underline;
}

.button--complate {
    display: block;
    width: 100%;
    padding: 18px;
    background-color: #000;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    border: none;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.button--complate:hover {
    background-color: #333;
}

.alert {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 14px;
}
.alert-danger { background: #fff5f5; color: #c53030; border: 1px solid #fed7d7; }
.alert-warning { background: #fffaf0; color: #c05621; border: 1px solid #fbd38d; }
.alert-success { background: #f0fff4; color: #2f855a; border: 1px solid #c6f6d5; }

@media (max-width: 992px) {
    .scs__container {
        flex-direction: column;
    }

    .scs__forms {
        width: 100%;
    }

    .summary {
        width: 100%;
        position: static;
        order: 2;
    }

    .scs__form-row {
        flex-direction: column;
        gap: 0;
    }
}

.description-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
