.tk-cart {
    padding: 1.5rem 0 3rem;
    background: transparent;
}

.tk-cart__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tk-cart__head h1 {
    margin: 0;
    font-family: var(--tk-display, Georgia, serif);
    font-size: clamp(1.55rem, 2.5vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--tk-ink, #14181f);
}

.tk-cart__head p {
    margin: 0.25rem 0 0;
    color: #777;
    font-size: 0.92rem;
}

.tk-cart__clear {
    border: 0;
    background: transparent;
    color: #888;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.35rem 0;
}

.tk-cart__clear:hover {
    color: #111;
}

.tk-cart__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.7fr);
    gap: 1.75rem;
    align-items: start;
}

.tk-cart__layout[hidden],
.tk-cart__empty[hidden],
.tk-cart__clear[hidden] {
    display: none !important;
}

.tk-cart__list {
    display: grid;
    gap: 1rem;
}

.tk-cart-item {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #ececec;
    border-radius: 0.65rem;
    background: #fff;
}

.tk-cart-item__media {
    display: block;
    overflow: hidden;
    border-radius: 0.45rem;
    background: #f4f4f4;
    aspect-ratio: 4 / 5;
}

.tk-cart-item__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tk-cart-item__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.tk-cart-item__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.tk-cart-item__top h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
}

.tk-cart-item__top a:hover {
    opacity: 0.75;
}

.tk-cart-item__remove {
    width: 36px;
    height: 36px;
    border: 1px solid #e5e5e5;
    border-radius: 0.45rem;
    background: #fff;
    color: #777;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.tk-cart-item__remove:hover {
    color: #111;
    border-color: #ccc;
}

.tk-cart-item__price {
    display: flex;
    align-items: baseline;
    gap: 0.55rem;
}

.tk-cart-item__price strong {
    font-size: 1.02rem;
}

.tk-cart-item__price span {
    color: #999;
    text-decoration: line-through;
    font-size: 0.9rem;
}

.tk-cart-item__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: auto;
}

.tk-cart-item__line {
    margin: 0;
    font-weight: 700;
    font-size: 0.98rem;
}

.tk-qty--sm {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 0.45rem;
    overflow: hidden;
}

.tk-qty--sm button,
.tk-qty--sm input {
    border: 0;
    background: #fff;
    font-family: inherit;
    height: 36px;
}

.tk-qty--sm button {
    width: 34px;
    cursor: pointer;
    color: #333;
}

.tk-qty--sm input {
    width: 42px;
    text-align: center;
    font-weight: 600;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    -moz-appearance: textfield;
}

.tk-qty--sm input::-webkit-outer-spin-button,
.tk-qty--sm input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.tk-cart__summary {
    position: sticky;
    top: 1rem;
    border: 1px solid #ececec;
    border-radius: 0.7rem;
    padding: 1.2rem 1.15rem 1.25rem;
    background: #fafafa;
}

.tk-cart__summary h2 {
    margin: 0 0 1rem;
    font-size: 1.05rem;
    font-weight: 700;
}

.tk-cart__summary-row {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
    font-size: 0.94rem;
    color: #555;
}

.tk-cart__summary-row--total {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid #e6e6e6;
    color: #111;
    font-weight: 700;
    font-size: 1.05rem;
}

.tk-cart__summary-note {
    margin: 0.85rem 0 1.1rem;
    font-size: 0.84rem;
    color: #888;
    line-height: 1.45;
}

.tk-cart__checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 0.5rem;
    background: #1f1f1f;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.tk-cart__checkout:hover {
    background: #333;
}

.tk-cart__continue {
    display: block;
    margin-top: 0.85rem;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
}

.tk-cart__continue:hover {
    color: #111;
}

.tk-cart__empty {
    text-align: center;
    padding: 3rem 1rem;
    border: 1px dashed #ddd;
    border-radius: 0.75rem;
    background: #fafafa;
}

.tk-cart__empty i {
    font-size: 2.2rem;
    color: #bbb;
}

.tk-cart__empty h2 {
    margin: 0.85rem 0 0.4rem;
    font-size: 1.25rem;
}

.tk-cart__empty p {
    margin: 0 0 1.25rem;
    color: #777;
}

.tk-cart__empty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.6rem 1.2rem;
    border-radius: 0.5rem;
    background: #1f1f1f;
    color: #fff;
    font-weight: 600;
}

.tk-cart__empty-btn:hover {
    background: #333;
    color: #fff;
}

.tk-cart-toast {
    position: fixed;
    left: 50%;
    bottom: 1.4rem;
    transform: translateX(-50%) translateY(120%);
    z-index: 1080;
    padding: 0.75rem 1.1rem;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.tk-cart-toast.is-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* “Bunları da beğenebilirsiniz” — kompakt şerit */
.tk-cart__cross.tk-product__related {
    margin-top: 2rem;
    padding-top: 1.35rem;
}

.tk-cart__cross .tk-product__related-head {
    margin-bottom: 0.75rem;
}

.tk-cart__cross .tk-product__related-head h2 {
    font-size: 1.05rem;
    font-family: var(--tk-font, "Manrope", "Segoe UI", sans-serif);
    letter-spacing: -0.01em;
}

.tk-cart__cross .tk-product__related-grid {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.tk-cart__cross .tk-product__related-grid .tk-product-card {
    flex: 0 0 138px;
    min-width: 138px;
    width: 138px;
    scroll-snap-align: start;
}

.tk-cart__cross .tk-product-card__media {
    aspect-ratio: 1 / 1;
    border-radius: 0.5rem;
    box-shadow: none;
}

.tk-cart__cross .tk-product-card__badge {
    top: 0.4rem;
    left: 0.4rem;
    padding: 0.22rem 0.4rem;
    font-size: 0.55rem;
    max-width: 4.5rem;
}

.tk-cart__cross .tk-product-card__actions {
    right: 0.35rem;
    gap: 0.25rem;
}

.tk-cart__cross .tk-product-card__action {
    width: 28px;
    height: 28px;
    font-size: 0.78rem;
}

.tk-cart__cross .tk-product-card__body {
    padding: 0.45rem 0.05rem 0;
}

.tk-cart__cross .tk-product-card__title {
    margin: 0 0 0.2rem;
    font-size: 0.75rem;
    line-height: 1.3;
    min-height: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tk-cart__cross .tk-product-card__stars {
    font-size: 0.65rem;
    margin-bottom: 0.2rem;
}

.tk-cart__cross .tk-product-card__price strong {
    font-size: 0.82rem;
}

.tk-cart__cross .tk-product-card__price span {
    font-size: 0.7rem;
}

@media (max-width: 991.98px) {
    .tk-cart__layout {
        grid-template-columns: 1fr;
    }

    .tk-cart__summary {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .tk-cart {
        padding: 1.1rem 0 2.25rem;
    }

    .tk-cart__head {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.35rem;
    }

    .tk-cart-item {
        grid-template-columns: 78px minmax(0, 1fr);
        gap: 0.8rem;
        padding: 0.85rem;
    }

    .tk-cart-item__top h2 {
        font-size: 0.94rem;
    }

    .tk-cart-item__row {
        flex-wrap: wrap;
    }
}
