body.checkout-page {
    font-family: Arial, sans-serif;
    background: #eeefed;
    margin: 0;
    color: #333;
}

.checkout-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem;
}

.checkout-header {
    text-align: center;
    margin-bottom: 1rem;
}

.checkout-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

ul {
    padding: 0;
}

/* Left: packages */
.checkout-left {
    flex: 1 1 55%;
    background: #fff;
    padding: 1rem;
    border-radius: 4px;
}

.steps__item {
    background-color: #ebebeb;
    color: #000;
    float: left;
    font-size: 16px;
    letter-spacing: 0.02em;
    line-height: 36px;
    text-align: center;
    width: 33.3%;
    list-style: none;
}

.steps__item.active {
    background-color: #9c1f2a;;
    color: #fff;
}

.package-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.package-card {
    border: 2px solid #ccc;
    border-radius: 6px;
    padding: 1rem;
    cursor: pointer;
    background: #fafafa;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.package-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.package-name {
    font-size: 1.1rem;
    font-weight: bold;
}

.badge.shipping {
    background: #28a745;
    color: #fff;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    text-transform: uppercase;
}

.package-body {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.package-image img {
    width: 100px;
    height: auto;
}

.package-info {
    flex: 1;
}

.package-bonus {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #444;
    background: #f9f9f9;
    border-radius: 4px;
    padding: 0.5rem;
}

.package-card.selected {
    border-color: #ff6600;
    background: #fff4e5;
}

.package-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.package-title strong {
    font-size: 1.1rem;
}

.package-price {
    text-align: right;
}

.package-price .each {
    color: #ff6600;
    font-weight: bold;
}

/* Guarantee box */
.guarantee-box {
    margin-top: 1.5rem;
    background: #fffbe0;
    border: 1px solid #f0d57a;
    border-radius: 4px;
    padding: 1rem;
    text-align: center;
}

.guarantee-box h3 {
    background: #b30000;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 3px;
    padding: 0.3rem;
}

/* Right: form */
.checkout-right {
    flex: 1 1 25%;
    background: #fff;
    padding: 1rem;
    border-radius: 4px;
    background: #F1F5F9;
}

.checkout-right h2 {
    text-align: center;
    color: #000;
    font-size: 22px;
    font-weight: 999;
    text-transform: uppercase;;
}

.shipping-section h3 {
    text-align: center;
    color: #000;
    font-size: 22px;
    font-weight: 999;
    text-transform: uppercase;
}

.shipping-section label {
    color: #828282;
    font-size: 16px;
}

.checkout-right input, .checkout-right select {
    height: 40px;
    padding: 10px;
    border-radius: 5px;
    background: #fff;
    color: #5b5b5b;
    font-size: 16px;
    margin: 0;
}

.cards {
    display: flex;
    gap: 0.25rem;
    justify-content: center;
    place-items: center;
    flex-wrap: nowrap;
    flex-direction: row;
    columns: 6;
}

.basis-1\/6 {
    flex-basis: 16.666667%;
}

.place-items-center {
    place-items: center;
    flex-basis: 16.666667%;
}

.place-items-center img {
    object-fit: scale-down;
    max-height: 2.25rem;
    height: 4rem;
}

.secure-locks {
    display: flex;
    justify-content: center;
    flex-direction: row;
    margin-top: 0.75rem;
}

#secure-lock {
    width: 0.625rem;
    height: 0.625rem;
    margin-top: 0.125rem;
}

.secure-locks label {
    font-size: 0.75rem;
    line-height: 1rem;
    margin-left: 0.5rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.5rem;
}

input, select {
    width: 100%;
    padding: 0.4rem;
    border: 1px solid #ccc;
    border-radius: 3px;
}

/* Submit button */
button.order {
    display: block;
    width: 100%;
    margin-top: 1rem;
    padding: 0.8rem;
    background: #ff6600;
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 4px;
}

button.order:hover {
    background: #e25d00;
}

/* Responsive */
@media (max-width: 768px) {
    .checkout-layout {
        flex-direction: column;
    }

    .checkout-left, .checkout-right {
        flex: 1 1 100%;
    }
}
