body {
    margin: 0;
    padding: 0;
}

.header {
    font-family: sans-serif;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    background-color: #ffffff;
    border-bottom: 4px solid black;
}

.logo {
    font-size: 24px;
    margin: 0;
    text-transform: uppercase;
}

.nav {
    display: flex;
    gap: 25px;
}

.nav a {
    font-size: 18px;
    color: black;
    text-decoration: none;
    font-weight: 500;
}

.header_img {
    display: flex;
    gap: 15px;
    align-items: center;
}

.header_img img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.cart-wrap {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: inherit;
}

.cart-badge {
    display: none;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -6px;
    right: -6px;
    color: white;
    font-size: 12px;
    font-family: sans-serif;
    font-weight: bold;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 50%;
}

.cart_main {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: sans-serif;
}

.cart_title {
    font-size: 24px;
    margin: 0 0 24px 0;
}

.cart_item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 2px solid black;
}

.cart_item_img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
}

.cart_item_info {
    flex-grow: 1;
}

.cart_item_title {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 6px 0;
}

.cart_item_price {
    font-size: 18px;
    font-weight: bold;
    color: #2c3e50;
}

.cart_item_remove {
    background-color: black;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s;
}

.cart_empty {
    font-size: 18px;
    color: #666;
    text-align: center;
    padding: 40px 0;
}

.cart_footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 4px solid black;
}

.cart_total {
    font-size: 22px;
    font-weight: bold;
}

.cart_continue {
    font-size: 16px;
    color: black;
    text-decoration: none;
    font-weight: 500;
}

.cart_footer_buttons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cart_pay {
    background-color: black;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.pay_modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.pay_modal_content {
    background-color: white;
    border-radius: 8px;
    padding: 32px 40px;
    text-align: center;
    font-family: sans-serif;
    max-width: 500px;
    width: 90%;
}

.pay_modal_title {
    font-size: 20px;
    margin: 0 0 16px 0;
}

.pay_modal_text {
    font-size: 16px;
    margin: 0 0 12px 0;
}

.pay_modal_address {
    font-size: 16px;
    font-weight: bold;
    color: #2c3e50;
    word-break: break-all;
    margin: 0 0 24px 0;
}

.pay_modal_close {
    background-color: black;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s;
}

.trash {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 100;
    width: 260px;
    margin: 0;
    font-family: sans-serif;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    padding: 10px;
    overflow: hidden;
}

.trash_link {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: black;
    text-decoration: none;
}

.trash img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background-color: #f5f5f5;
    border-radius: 12px;
}

.trash_title {
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    color: black;
}

.trash_link:hover .trash_title {
    text-decoration: underline;
}
