.shopping_cart {
    border: 1px solid #515151;
    padding: 20px;
    margin: 30px auto;
    max-width: 900px;
    background: #fff;
    border-radius: 8px;
}
.cart-item {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.remove-btn {
    background: none;
    border: none;
    color: red;
    font-size: 18px;
    cursor: pointer;
    margin-left: 16px;
    padding: 2px 8px;
    border-radius: 4px;
    transition: background 0.2s;
}
.remove-btn:hover {
    background: #f2f2f2;
}
.cart-summary-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    margin-top: 16px;
}

.cart-total {
    margin: 0;
    font-size: 1.1em;
}

.cart-pay-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
}

.pay-email-input,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="url"],
textarea,
select {
    padding: 8px;
    border: 1px solid #aaa;
    border-radius: 4px;
    font-size: 1em;
    min-width: 220px;
    width: auto;
    max-width: 400px;
    box-sizing: border-box;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
textarea:focus,
select:focus {
    border-color: #3e3e3e;
    outline: none;
}

button {
    color: #3a3a3a;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1em;
}

button:hover {
    background: #858585;
}

/* Custom select2 styling for WooCommerce country and other selects */
.select2-container--default .select2-selection--single {
    padding: 8px;
    border: 1px solid #aaa;
    border-radius: 4px;
    font-size: 1em;
    min-width: 220px;
    width: auto;
    max-width: 400px;
    box-sizing: border-box;
    background: #fff;
    color: #222;
}
.select2-container--default .select2-selection--single:focus {
    border-color: #3e3e3e;
    outline: none;
}
.select2-container--default .select2-dropdown {
    background: #fff;
    border: 1px solid #aaa;
    border-radius: 4px;
    color: #222;
    font-size: 1em;
}
.select2-container--default .select2-results__option {
    color: #222;
    padding: 8px;
    font-size: 1em;
}
.select2-container--default .select2-results__option--highlighted {
    background: #e6e6e6;
    color: #222;
}

/* Dark theme styles */
body.dark-theme .shopping_cart {
    background: #222;
    border-color: #444;
    color: #eee;
}
body.dark-theme .cart-item {
    color: #eee;
}
body.dark-theme .remove-btn {
    color: #c6c4c4;
}
body.dark-theme .cart-summary-row {
    color: #eee;
}
body.dark-theme .pay-email-input,
body.dark-theme input[type="text"],
body.dark-theme input[type="email"],
body.dark-theme input[type="password"],
body.dark-theme input[type="number"],
body.dark-theme input[type="search"],
body.dark-theme input[type="tel"],
body.dark-theme input[type="url"],
body.dark-theme textarea,
body.dark-theme select {
    background: #222;
    color: #eee;
    border-color: #444;
}
body.dark-theme .select2-container--default .select2-selection--single {
    background: #222;
    color: #eee;
    border-color: #444;
}
body.dark-theme .select2-container--default .select2-dropdown {
    background: #222;
    border-color: #444;
    color: #eee;
}
body.dark-theme .select2-container--default .select2-results__option {
    color: #eee;
}
body.dark-theme .select2-container--default .select2-results__option--highlighted {
    background: #333;
}