:root {
    --primary: #2563eb;
    --dark: #1e293b;
    --light-bg: #f8fafc;
    --border: #e2e8f0;
    --danger: #ef4444;
}

body {
    background-color: var(--light-bg);
    margin: 0;
    color: var(--dark);
}

.header-container a {
    all: unset;
}

a:hover {
    cursor: pointer;

}

.logo:hover {
    transform: translateY(-3px);
}

.main-header {
    background: white;
    padding: 1rem 5%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
}

.logo span {
    color: var(--primary);
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    margin-right: 20px;
    font-weight: 500;
    display: inline-block;
}

.nav-links a:hover,
.header-icons i:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

.header-icons i {
    cursor: pointer;
}

.cart-wrapper {
    padding: 40px 0;
    min-height: 70vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-title {
    margin-bottom: 30px;
    font-weight: 800;
}

.cart-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

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

.product {
    background: white;
    display: flex;
    align-items: center;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border);
    gap: 20px;
    transition: transform 0.2s;
}

.image img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    background: #f1f5f9;
    border-radius: 8px;
}

.namePrice {
    flex: 1;
}

.namePrice h3 {
    margin: 0;
    font-size: 0.9rem;
    color: #64748b;
    text-transform: uppercase;
}

.namePrice span {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    margin-top: 5px;
}

.product p {
    margin: 0;
    font-weight: 500;
}

.bay {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}

.bay button:last-child {
    background-color: var(--light-bg);
    color: var(--primary);
    border: 1px solid #60a5fa;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}


.bay button:nth-child(1) {
    background-color: var(--light-bg);
    color: var(--danger);
    border: 1px solid #fee2e2;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.bay button:last-child:hover {
    background-color: var(--primary);
    color: white;
}

.bay button:nth-child(1):hover {
    background-color: var(--danger);
    color: white;
}

.checkout-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border);
    position: sticky;
    top: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin: 15px 0;
}

.summary-row.total {
    font-weight: 800;
    font-size: 1.2rem;
    margin-top: 20px;
}

.free-text {
    color: #10b981;
    font-weight: bold;
}

.checkout-btn {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-weight: 700;
    margin-top: 20px;
    cursor: pointer;
}

.checkout-btn:hover {
    background: #1d4ed8;
}

.continue-shopping {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: #64748b;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #334155;
    color: #64748b;
    background-color: var(--dark);
    height: 80px;
}