/* Modern Shopping Cart Redesign */
:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --error-color: #ef4444;
    --success-color: #22c55e;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 24px 40px -4px rgb(0 0 0 / 0.2);
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}

.sepet-container {
    padding: 2rem 0;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
}

.sepet-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-main);
}

/* Breadcrumb Styling */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1.5rem;
}
.breadcrumb li a {
    color: var(--text-muted);
    font-size: 0.875rem;
    text-decoration: none;
}
.breadcrumb li.active {
    color: var(--primary-color);
}

/* Wizard / Steps */
.cart-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    position: relative;
}
.cart-step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0.5rem;
    z-index: 1;
}
.cart-step::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--border-color);
    z-index: -1;
}
.cart-step:last-child::after { display: none; }
.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}
.cart-step.active .step-icon {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.3);
}
.cart-step.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

/* Cart List */
.cart-item {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
}
.cart-item:hover {
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}
.cart-item-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 8px;
    margin-right: 1.5rem;
    background: #f1f5f9;
}
.cart-item-info {
    flex: 1;
}
.cart-item-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--text-main);
    display: block;
    text-decoration: none;
}
.cart-item-meta {
    font-size: 0.875rem;
    color: var(--text-muted);
}
.cart-item-pricing {
    text-align: right;
    min-width: 120px;
}
.cart-item-price-unit {
    font-size: 0.875rem;
    color: var(--text-muted);
}
.cart-item-price-total {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
}

/* Quantity Input */
.qty-control {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border-radius: 20px;
    padding: 4px;
    width: fit-content;
}
.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-main);
    transition: background 0.2s;
}
.qty-btn:hover { background: var(--primary-color); color: #fff; }
.qty-input {
    width: 40px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 600;
}

/* Summary Sidebar */
.summary-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    position: sticky;
    top: 20px;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.summary-total {
    border-top: 2px dashed var(--border-color);
    padding-top: 1rem;
    margin-top: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
}

/* Modern Buttons */
.btn-modern {
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.btn-primary-m {
    background: var(--primary-color);
    color: #fff;
}
.btn-primary-m:hover { background: var(--primary-hover); }
.btn-danger-m {
    background: #fee2e2;
    color: #ef4444;
}
.btn-danger-m:hover { background: #fecaca; }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .cart-item { flex-direction: column; align-items: flex-start; }
    .cart-item-img { margin-bottom: 1rem; }
    .cart-item-pricing { text-align: left; margin-top: 1rem; border-top: 1px solid var(--border-color); padding-top: 0.5rem; width: 100%; }
}
