/* Cart Page */
.cart-page {
    padding: 120px 0 40px;
    min-height: calc(100vh - 80px);
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
}

.page-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.page-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #2ecc71;
    border-radius: 2px;
}

/* Cart Items Container */
.cart-items-container {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    padding: 25px;
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cart-items-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Cart Summary Header */
.cart-summary-header {
    border-bottom: 2px solid #f0f2f5;
    padding-bottom: 20px;
    margin-bottom: 25px;
}

.cart-summary-header h4 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin: 0;
    font-weight: 600;
}

.cart-summary-header .items-count {
    color: #7f8c8d;
    margin: 8px 0 0;
    font-size: 1rem;
}

/* Cart Item */
.cart-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f2f5;
    transition: transform 0.2s ease;
}

.cart-summary-item:hover {
    transform: translateX(5px);
}

.cart-summary-item:last-child {
    border-bottom: none;
}

/* Item Info */
.item-info {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 20px;
}

.item-image {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-details {
    flex: 1;
    padding-right: 1rem;
}

.item-name {
    font-size: 1rem;
    color: #2c3e50;
    margin: 0 0 0.4rem;
    font-weight: 500;
}

.item-meta {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1.5rem;
    margin-top: 0.4rem;
}

.item-price {
    color: #2c3e50;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-label {
    color: #64748b;
    font-size: 0.85rem;
}

.quantity-value {
    color: #2c3e50;
    font-weight: 500;
}

.price-separator {
    color: #cbd5e0;
    margin: 0 0.5rem;
}

/* Quantity Control */
.quantity-control {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.quantity-control label {
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 500;
    min-width: 4rem;
}

.quantity-select {
    width: 100px;
    padding: 0.4rem 0.8rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background-color: #fff;
    font-size: 0.9rem;
    color: #2c3e50;
    transition: all 0.2s ease;
    cursor: pointer;
}

.quantity-select:hover, .quantity-select:focus {
    border-color: #2ecc71;
    outline: none;
    box-shadow: 0 0 0 2px rgba(46, 204, 113, 0.1);
}

/* Item Total and Remove Button */
.item-total {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.total-price {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
}

.remove-btn {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-btn:hover {
    background: #fff5f5;
    color: #c0392b;
    transform: scale(1.1);
}

/* Cart Summary Box */
.cart-summary {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 100px;
    transition: transform 0.3s ease;
}

.cart-summary:hover {
    transform: translateY(-5px);
}

.cart-summary h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f2f5;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    color: #7f8c8d;
    font-size: 1.1rem;
}

.summary-item.total {
    border-top: 2px solid #f0f2f5;
    margin-top: 12px;
    padding-top: 20px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.3rem;
}

/* Checkout Button */
#checkoutBtn {
    width: 100%;
    padding: 15px;
    background: #2ecc71;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#checkoutBtn:hover {
    background: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

#checkoutBtn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Empty Cart State */
#emptyCart {
    text-align: center;
    padding: 50px 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

#emptyCart i {
    font-size: 5rem;
    color: #bdc3c7;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

#emptyCart h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

#emptyCart p {
    color: #7f8c8d;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

#emptyCart .btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

#emptyCart .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

/* Animations */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .cart-page {
        padding: 100px 0 30px;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .cart-summary-item {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .item-meta {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        margin-top: 0.3rem;
    }

    .item-total {
        width: 100%;
        justify-content: space-between;
    }

    .item-image {
        width: 20px;
        height: 20px;
    }

    .cart-summary {
        margin-top: 30px;
        position: static;
    }

    .quantity-control {
        gap: 0.6rem;
    }

    .quantity-control label {
        min-width: 3.5rem;
    }

    .quantity-select {
        width: 90px;
        padding: 0.3rem 0.6rem;
    }

    .item-price {
        font-size: 0.85rem;
    }
}

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
        width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Success Animation */
.success-animation {
    animation: successPop 0.5s ease-out;
}

@keyframes successPop {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* Savings Badge */
.savings-badge {
    background: #2ecc71;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
        font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
}

.savings-badge i {
    font-size: 1rem;
}

/* Free Shipping Banner */
.free-shipping-banner {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    padding: 12px;
    border-radius: 10px;
        text-align: center;
    margin-bottom: 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.free-shipping-banner i {
    font-size: 1.2rem;
}

/* Cart Items Container */
.cart-items {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid #eee;
    overflow: hidden;
}

/* Cart Headers */
.cart-headers {
    display: grid;
    grid-template-columns: 80px 2fr 1fr 1fr 1fr 60px;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #2c3e50;
}

.cart-header-item {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Cart Item */
.cart-item {
    display: grid;
    grid-template-columns: 60px 2fr 1fr 1fr 1fr auto;
    column-gap: 0.5rem;
    border-bottom: 1px solid #eee;
}

.cart-item:last-child {
    border-bottom: none;
}

/* Product Image */
.cart-item-image {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    overflow: hidden;
    background: white;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.cart-item-image img:hover {
    transform: scale(1.1);
}

/* Product Details */
.cart-item-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-right: 0;
}

.cart-item-title {
    font-size: 1rem;
    font-weight: 500;
    color: #2c3e50;
    margin: 0;
}

.cart-item-unit {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

/* Quantity Controls */
.quantity-wrapper {
    display: flex;
    justify-content: center;
}

.quantity-select {
    width: 100px;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #2c3e50;
    background-color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quantity-select:hover,
.quantity-select:focus {
    border-color: #28a745;
    outline: none;
    box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.2);
}

/* Remove Button */
.remove-btn {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-btn:hover {
    background: #fff5f5;
    color: #dc3545;
    transform: scale(1.1);
}

/* Cart Summary */
.cart-summary {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 100px;
}

.cart-summary h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item.total {
    font-weight: 600;
    font-size: 1.1rem;
    color: #2c3e50;
    border-top: 2px solid #eee;
    margin-top: 0.5rem;
    padding-top: 1rem;
}

.btn-checkout {
    width: 100%;
    padding: 1rem;
    margin-top: 1.5rem;
    background: #2ecc71;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-checkout:hover {
    background: #27ae60;
}

.btn-checkout:disabled {
    background: #95a5a6;
    cursor: not-allowed;
}

/* Continue Shopping Link */
.continue-shopping {
    display: inline-block;
    margin-top: 1rem;
    color: #4a5568;
    text-decoration: none;
}

.continue-shopping:hover {
    text-decoration: underline;
}

/* Empty Cart */
.cart-empty {
    text-align: center;
    padding: 3rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.cart-empty img {
    width: 150px;
    margin-bottom: 1rem;
}

/* Cart Badge */
.header-cart-icon {
    position: relative;
    display: inline-block;
}

.cart-count-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e53e3e;
    color: white;
    border-radius: 50%;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    min-width: 1.5rem;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cart-headers {
        display: none;
    }

    .cart-item {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }

    .cart-item-image {
        margin: 0 auto;
    }

    .price-details,
    .quantity-wrapper,
    .total-wrapper {
        text-align: center;
    }

    .remove-btn {
        justify-content: center;
        width: 100%;
        background: #fff5f5;
        border-radius: 8px;
    }
}

/* Footer Styles */
.footer {
    background: linear-gradient(to right, #2c3e50, #3498db);
    padding: 2rem 0 0 0;
    margin-top: 2rem;
    color: #ffffff;
}

.footer h5 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    position: relative;
    display: inline-block;
}

.footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 50px;
    height: 2px;
    background: #2ecc71;
}

.footer p {
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.9;
}

.footer ul {
    padding: 0;
    margin: 0;
}

.footer ul li {
    margin-bottom: 0.75rem;
    list-style: none;
}

.footer ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.9rem;
    opacity: 0.9;
}

.footer ul li a:hover {
    color: #2ecc71;
    text-decoration: none;
    opacity: 1;
}

.footer i {
    width: 16px;
    margin-right: 8px;
    color: #2ecc71;
}

.footer .text-center {
    margin-top: 2rem;
    padding: 1rem 0;
    background: rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .text-center p {
    margin-bottom: 0;
    color: #ffffff;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Fix body and main layout */
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f8f9fa;
}

main {
    flex: 1 0 auto;
}

.footer {
    flex-shrink: 0;
}

.cart-summary-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.cart-summary-header h4 {
    margin: 0;
    color: #333;
    font-size: 1.2rem;
}

.cart-summary-header .items-count {
    color: #666;
    margin: 5px 0 0;
    font-size: 0.9rem;
}

.cart-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.cart-summary-item:last-child {
    border-bottom: none;
}

.item-info {
    display: flex;
    align-items: center;
    flex: 1;
}

.item-image {
    width: 20px;
    height: 20px;
    margin-right: 15px;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.item-details {
    flex: 1;
}

.item-name {
    margin: 0 0 8px;
    font-size: 1rem;
    color: #333;
}

.item-meta {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1.5rem;
    margin-top: 0.4rem;
}

.item-price {
    color: #2c3e50;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-label {
    color: #64748b;
    font-size: 0.85rem;
}

.quantity-value {
    color: #2c3e50;
    font-weight: 500;
}

.price-separator {
    color: #cbd5e0;
    margin: 0 0.5rem;
}

/* Quantity Control */
.quantity-control {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.quantity-control label {
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 500;
    min-width: 4rem;
}

.quantity-select {
    width: 100px;
    padding: 0.4rem 0.8rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background-color: #fff;
    font-size: 0.9rem;
    color: #2c3e50;
    transition: all 0.2s ease;
    cursor: pointer;
}

.quantity-select:hover, .quantity-select:focus {
    border-color: #2ecc71;
    outline: none;
    box-shadow: 0 0 0 2px rgba(46, 204, 113, 0.1);
}

/* Item Total and Remove Button */
.item-total {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.total-price {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
}

.remove-btn {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 5px;
    transition: color 0.2s;
}

.remove-btn:hover {
    color: #c82333;
}

/* Saved Addresses Section */
.saved-addresses-section {
    background: white;
    border-radius: 8px;
    padding: 0.6rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.saved-addresses-section h3 {
    color: #2c3e50;
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid #f1f1f1;
}

.saved-addresses-container {
    display: grid;
    gap: 0.4rem;
    margin-bottom: 0.6rem;
}

.saved-address {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 0.5rem 0.8rem;
    transition: all 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.saved-address:hover {
    border-color: #2ecc71;
    transform: translateY(-1px);
    box-shadow: 0 1px 4px rgba(46, 204, 113, 0.1);
}

.saved-address.selected {
    border-color: #2ecc71;
    background: rgba(46, 204, 113, 0.05);
}

.address-content {
    flex-grow: 1;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex-wrap: nowrap;
}

.address-content h4 {
    color: #2c3e50;
    font-size: 0.75rem;
    margin: 0;
    font-weight: 600;
    white-space: nowrap;
}

.address-content p {
    color: #718096;
    margin: 0;
    font-size: 0.7rem;
    white-space: nowrap;
    display: inline-block;
}

.address-content p:before {
    content: '|';
    margin: 0 0.3rem;
    color: #cbd5e0;
}

.address-content p:first-of-type:before {
    display: none;
}

.address-actions {
    display: flex;
    gap: 0.3rem;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

.address-actions button {
    padding: 0.3rem 0.5rem;
    font-size: 0.7rem;
    min-height: 24px;
}

.btn-select-address {
    color: #2ecc71;
}

.btn-edit-address {
    color: #3498db;
}

.btn-delete-address {
    color: #e74c3c;
}

.address-actions button:hover {
    background: rgba(0, 0, 0, 0.05);
}

.btn-select-address:hover {
    background: rgba(46, 204, 113, 0.1);
    border-color: #2ecc71;
}

.btn-edit-address:hover {
    background: rgba(52, 152, 219, 0.1);
    border-color: #3498db;
}

.btn-delete-address:hover {
    background: rgba(231, 76, 60, 0.1);
    border-color: #e74c3c;
}

.btn-add-new-address {
    width: 100%;
    padding: 0.5rem;
    background: white;
    border: 1px dashed #cbd5e0;
    border-radius: 6px;
    color: #2c3e50;
    font-weight: 500;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    min-height: auto;
}

.btn-add-new-address:hover {
    border-color: #2ecc71;
    color: #2ecc71;
    background: rgba(46, 204, 113, 0.05);
}

.no-addresses {
    text-align: center;
    padding: 0.8rem;
    color: #718096;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px dashed #e2e8f0;
}

.no-addresses i {
    font-size: 1.2rem;
    color: #cbd5e0;
    margin-bottom: 0.4rem;
}

@media (max-width: 768px) {
    .saved-address {
        flex-direction: column;
        gap: 0.4rem;
        padding: 0.4rem;
    }

    .address-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .address-content h4 {
        font-size: 0.75rem;
    }

    .address-content p {
        font-size: 0.7rem;
        margin-bottom: 0.1rem;
    }

    .btn-add-new-address {
        padding: 0.4rem;
        font-size: 0.75rem;
    }
}

@keyframes slideOutAndFade {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Payment Method Notifications */
.payment-notification {
    position: absolute;
    bottom: 20px;
    right: 20px;
    padding: 10px 15px;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1000;
    animation: slideInBottom 0.3s ease-out;
    max-width: 280px;
    border-left: 3px solid;
    transform-origin: bottom right;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 0.85rem;
}

.payment-notification.success {
    border-left-color: #2ecc71;
    background: linear-gradient(to right, rgba(46, 204, 113, 0.1), #ffffff);
}

.payment-notification.error {
    border-left-color: #e74c3c;
    background: linear-gradient(to right, rgba(231, 76, 60, 0.1), #ffffff);
}

.payment-notification.info {
    border-left-color: #3498db;
    background: linear-gradient(to right, rgba(52, 152, 219, 0.1), #ffffff);
}

.payment-notification i {
    font-size: 1rem;
    padding: 6px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.payment-notification.success i {
    color: #2ecc71;
    background: rgba(46, 204, 113, 0.1);
}

.payment-notification.error i {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
}

.payment-notification.info i {
    color: #3498db;
    background: rgba(52, 152, 219, 0.1);
}

.payment-notification span {
    color: #2c3e50;
    font-size: 0.85rem;
    line-height: 1.3;
    flex: 1;
}

.payment-notification .close-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.2s ease;
}

.payment-notification:hover .close-btn {
    opacity: 1;
}

.payment-notification .close-btn:hover {
    background: rgba(0, 0, 0, 0.1);
}

.payment-notification .close-btn i {
    font-size: 0.7rem;
    color: #666;
    padding: 0;
    background: none;
}

/* Payment Method Section Styles */
.payment-method-section {
    position: relative;
    padding: 25px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.payment-method-section:hover {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.payment-method-section h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f2f5;
    position: relative;
}

.payment-method-section h3:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #2ecc71;
}

/* Payment Method Options */
.payment-options {
    display: grid;
    gap: 15px;
    margin-top: 20px;
}

.payment-option {
    position: relative;
    padding: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #ffffff;
}

.payment-option:hover {
    border-color: #2ecc71;
    background: rgba(46, 204, 113, 0.02);
    transform: translateY(-2px);
}

.payment-option.selected {
    border-color: #2ecc71;
    background: rgba(46, 204, 113, 0.05);
}

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

.payment-option-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.payment-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.payment-option:hover .payment-icon {
    background: #2ecc71;
    color: white;
    transform: scale(1.1);
}

.payment-option.selected .payment-icon {
    background: #2ecc71;
    color: white;
}

.payment-details {
    flex: 1;
}

.payment-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.payment-description {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.4;
}

/* COD Specific Styles */
.cod-option .payment-icon {
    color: #2ecc71;
}

.cod-option:hover .payment-icon,
.cod-option.selected .payment-icon {
    background: #2ecc71;
    color: white;
}

/* Online Payment Specific Styles */
.online-option .payment-icon {
    color: #3498db;
}

.online-option:hover .payment-icon,
.online-option.selected .payment-icon {
    background: #3498db;
    color: white;
}

/* Payment Method Info */
.payment-method-info {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.payment-method-info i {
    font-size: 1.8rem;
    color: #2ecc71;
    background: rgba(46, 204, 113, 0.1);
    padding: 15px;
    border-radius: 12px;
}

.payment-text h4 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 5px;
    font-weight: 600;
}

.payment-text p {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.cod-note {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.info-note {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Payment Form Styles */
.payment-form {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .payment-method-section {
        padding: 20px;
    }

    .payment-option {
        padding: 15px;
    }

    .payment-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .payment-title {
        font-size: 1rem;
    }

    .payment-description {
        font-size: 0.85rem;
    }

    .payment-method-info {
        padding: 15px;
    }

    .payment-method-info i {
        font-size: 1.5rem;
        padding: 12px;
    }
}

/* Address Card Styles for Review & Confirm Order */
.address-card {
    background: linear-gradient(135deg, #f8fffa 0%, #eaf6ff 100%);
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(44,62,80,0.08);
    padding: 18px 20px 14px 20px;
    font-size: 1rem;
    color: #2c3e50;
    max-width: 350px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1.5px solid #e2e8f0;
    transition: box-shadow 0.2s;
}
.address-card:hover {
    box-shadow: 0 8px 32px rgba(46,204,113,0.13);
    border-color: #2ecc71;
}
.address-row {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #34495e;
    font-size: 0.98rem;
}
.address-row.name-row {
    font-size: 1.08rem;
    font-weight: 600;
    color: #2ecc71;
    margin-bottom: 2px;
}
.address-icon {
    color: #2ecc71;
    background: #eafaf1;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-right: 2px;
}
.address-label {
    font-weight: 600;
    color: #2c3e50;
}
.address-row b {
    color: #2ecc71;
    font-weight: 600;
}
@media (max-width: 600px) {
    .address-card {
        padding: 12px 8px;
        font-size: 0.93rem;
        max-width: 100%;
    }
    .address-icon {
        width: 22px;
        height: 22px;
        font-size: 0.95rem;
    }
}

.cart-header {
    background-color: #f8f9fa;
    padding: 15px;
    font-weight: 600;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.cart-header .row {
    margin: 0;
}

.cart-header .col-2,
.cart-header .col-3 {
    color: #2c3e50;
    font-size: 0.95rem;
} 

.cart-item-image-container {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

/* Product Price */
.price-details {
    text-align: center;
    padding-left: 0;
}

.purchase-price {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
} 