/* Sepet — kurumsal e-ticaret */
.cart-page {
    font-family: 'Montserrat', sans-serif;
    color: #111;
    background: #f7f7f7;
    padding: 24px 0 64px;
}

.cart-page__container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 16px;
}

.cart-page__breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #888;
    margin-bottom: 24px;
}

.cart-page__breadcrumb a {
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
}

.cart-page__breadcrumb a:hover {
    color: #ca1515;
}

.cart-page__breadcrumb span.sep {
    opacity: 0.4;
}

.cart-page__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    gap: 28px;
    align-items: start;
}

@media (max-width: 991px) {
    .cart-page__layout {
        grid-template-columns: 1fr;
    }

    .cart-page__summary {
        order: -1;
        max-width: 100%;
    }
}

.cart-page__heading {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 800;
    color: #111;
    margin: 0 0 20px;
}

.cart-page__heading span {
    font-size: 0.55em;
    font-weight: 600;
    color: #888;
}

.cart-page__items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-item {
    display: grid;
    grid-template-columns: 112px 1fr auto;
    gap: 20px;
    align-items: center;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.25s ease;
}

.cart-item:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
}

@media (max-width: 575px) {
    .cart-item {
        grid-template-columns: 88px 1fr;
        gap: 14px;
    }

    .cart-item__remove {
        grid-column: 1 / -1;
        justify-self: end;
    }
}

.cart-item__image {
    width: 112px;
    height: 112px;
    border-radius: 12px;
    overflow: hidden;
    background: #f3f3f3;
    flex-shrink: 0;
}

.cart-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 575px) {
    .cart-item__image {
        width: 88px;
        height: 88px;
    }
}

.cart-item__body {
    min-width: 0;
}

.cart-item__collection {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ca1515;
    margin-bottom: 4px;
}

.cart-item__title {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    line-height: 1.4;
    margin: 0 0 6px;
}

.cart-item__size {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #666;
    background: #f8f8f8;
    border-radius: 6px;
    padding: 4px 10px;
    margin-bottom: 12px;
}

.cart-item__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    font-size: 13px;
    color: #555;
}

.cart-item__meta strong {
    color: #111;
    font-weight: 700;
}

.cart-item__meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cart-item__meta-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #999;
}

.cart-item__price-sale {
    color: #ca1515;
}

.cart-item__price-old {
    font-size: 12px;
    color: #aaa;
    text-decoration: line-through;
    margin-left: 4px;
}

.cart-item__badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    color: #b91c1c;
    background: #fef2f2;
    border-radius: 4px;
    padding: 2px 8px;
    margin-left: 6px;
    vertical-align: middle;
}

.cart-item__remove {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #888;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #eee;
    transition: all 0.2s;
    white-space: nowrap;
}

.cart-item__remove:hover {
    color: #ca1515;
    border-color: #ca1515;
    background: #fff5f5;
}

.cart-page__summary {
    display: block;
    width: 100%;
    max-width: 100%;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    box-sizing: border-box;
}

@media (min-width: 992px) {
    .cart-page__summary {
        position: sticky;
        top: 24px;
    }
}

.cart-page__summary .cart-summary__head,
.cart-page__summary .cart-summary__lines,
.cart-page__summary .cart-summary__total,
.cart-page__summary .cart-summary__note,
.cart-page__summary .cart-summary__actions,
.cart-page__summary .cart-summary__trust,
.cart-page__summary .cart-summary__coupon {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.cart-summary__head {
    padding: 22px 24px 0;
}

.cart-summary__title {
    font-size: 18px;
    font-weight: 800;
    color: #111;
    margin: 0;
    padding-bottom: 18px;
    border-bottom: 1px solid #f0f0f0;
}

.cart-summary__coupon {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #059669;
    background: #ecfdf5;
    border-bottom: 1px solid #d1fae5;
    padding: 12px 24px;
    margin: 0;
}

.cart-summary__coupon i {
    font-size: 14px;
    flex-shrink: 0;
}

.cart-summary__lines {
    padding: 8px 24px 0;
}

.cart-summary__line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

.cart-summary__line:last-child {
    border-bottom: none;
}

.cart-summary__label {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    flex: 1 1 auto;
    min-width: 0;
}

.cart-summary__value {
    font-size: 14px;
    font-weight: 700;
    color: #111;
    flex: 0 0 auto;
    text-align: right;
    white-space: nowrap;
}

.cart-summary__line--discount .cart-summary__value {
    color: #059669;
}

.cart-summary__total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 16px;
    margin: 16px 0 0;
    padding: 18px 24px;
    background: #fafafa;
    border: none;
    border-top: 1px solid #eee;
    border-radius: 0;
    width: 100%;
    box-sizing: border-box;
}

.cart-summary__total-label {
    font-size: 15px;
    font-weight: 800;
    color: #111;
    flex: 1 1 auto;
    min-width: 0;
}

.cart-summary__total-value {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ca1515;
    flex: 0 0 auto;
    text-align: right;
    white-space: nowrap;
    line-height: 1;
}

.cart-summary__note {
    font-size: 12px;
    color: #888;
    line-height: 1.55;
    margin: 14px 24px 0;
    padding: 0;
}

.cart-summary__actions {
    padding: 20px 24px 24px;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.cart-summary__checkout {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 16px 20px;
    border: none;
    border-radius: 12px;
    background: #ca1515;
    color: #fff !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none !important;
    cursor: pointer;
    transition: background 0.25s, box-shadow 0.25s;
    box-shadow: 0 4px 16px rgba(202, 21, 21, 0.22);
    line-height: 1.2;
}

.cart-summary__checkout i {
    margin-right: 8px;
}

.cart-summary__checkout:hover {
    background: #a81212;
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(202, 21, 21, 0.32);
}

.cart-summary__continue {
    display: block;
    text-align: center;
    margin-top: 12px;
    padding: 8px 0;
    font-size: 13px;
    font-weight: 600;
    color: #666 !important;
    text-decoration: none !important;
    transition: color 0.2s;
}

.cart-summary__continue:hover {
    color: #ca1515 !important;
}

.cart-summary__trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 20px;
    margin: 0;
    padding: 20px 24px 24px;
    border-top: 1px solid #eee;
    background: #f8f8f8;
    width: 100%;
    box-sizing: border-box;
}

.cart-summary__trust-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    color: #666;
    line-height: 1.35;
    min-width: 0;
}

.cart-summary__trust-item i {
    color: #ca1515;
    font-size: 13px;
    flex-shrink: 0;
    margin-top: 1px;
}

.cart-summary__trust-item span {
    min-width: 0;
}

.cart-page__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.cart-page__clear {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #888;
    text-decoration: none;
    padding: 10px 16px;
    border: 1px solid #ddd;
    border-radius: 10px;
    transition: all 0.2s;
}

.cart-page__clear:hover {
    color: #ca1515;
    border-color: #ca1515;
}

/* Boş sepet */
.cart-empty {
    text-align: center;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 56px 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

.cart-empty__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #fff5f5;
    color: #ca1515;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.cart-empty__title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111;
    margin: 0 0 10px;
}

.cart-empty__text {
    font-size: 15px;
    color: #666;
    margin: 0 0 28px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.cart-empty__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #111;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    transition: background 0.25s;
}

.cart-empty__btn:hover {
    background: #ca1515;
    color: #fff;
}

.cart-suggested {
    margin-top: 48px;
}

.cart-suggested__title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #111;
    margin: 0 0 20px;
}

.cart-suggested__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 991px) {
    .cart-suggested__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.cart-suggested__card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.25s, transform 0.25s;
}

.cart-suggested__card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.cart-suggested__img {
    aspect-ratio: 1;
    overflow: hidden;
    background: #f3f3f3;
}

.cart-suggested__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-suggested__body {
    padding: 12px 14px;
}

.cart-suggested__name {
    font-size: 13px;
    font-weight: 600;
    color: #111;
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-suggested__brand {
    font-size: 11px;
    color: #888;
    margin: 0 0 6px;
}

.cart-suggested__price {
    font-size: 14px;
    font-weight: 700;
    color: #ca1515;
    margin: 0;
}
