/* Cart: full-width option rows and touch controls without changing calculations. */
.cart-page .ct-variant { height: auto; min-height: 34px; padding-top: 7px; padding-bottom: 7px; }
.cart-page .ct-variant img { flex-shrink: 0; }
@media (max-width: 1023px) {
    .cart-page .ct-layout { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .cart-page .ct-receipt-wrap { position: static; }
}
@media (max-width: 767px) {
    .cart-page .ct-main > .w100 > .wrap { padding: 0 16px; }
    .cart-page .ct-head { margin: 22px 0 18px; gap: 16px; }
    .cart-page .ct-title { font-size: 24px; line-height: 1.3; flex-wrap: wrap; gap: 8px; }
    .cart-page .ct-count { font-size: 10px; }
    .cart-page .ct-steps { width: 100%; justify-content: space-between; gap: 0; }
    .cart-page .ct-steps li span { display: inline; font-size: 9px; letter-spacing: .3px; }
    .cart-page .ct-steps li + li::before { width: 12px; margin: 0 6px; }
    .cart-page .ct-row { grid-template-columns: 82px minmax(0, 1fr); gap: 12px; padding: 14px 14px 0; border: 1px solid #e3e8df; background: #fff; border-radius: 16px; overflow: hidden; }
    .cart-page .ct-media { grid-column: 1; grid-row: 1; width: 82px; height: 82px; min-height: 0; margin: 0; padding: 5px; border-radius: 10px; background: #f6f8f3; }
    .cart-page .ct-media img { width: 100%; height: 100%; object-fit: contain; }
    .cart-page .ct-index { display: none; }
    .cart-page .ct-body { display: contents; }
    .cart-page .ct-body-top { grid-column: 2; grid-row: 1; align-self: center; min-width: 0; }
    .cart-page .ct-name { font-size: 13px; line-height: 1.5; letter-spacing: 0; overflow-wrap: anywhere; }
    .cart-page .ct-variants { grid-column: 1 / -1; display: grid; gap: 0; margin: 0; border: 1px solid #e7ece2; border-radius: 10px; background: #f8faf5; }
    .cart-page .ct-variant { display: grid; grid-template-columns: minmax(0, 1fr) 22px minmax(0, .8fr); gap: 6px 8px; min-height: 54px; padding: 10px; border: 0; border-bottom: 1px solid #e7ece2; border-radius: 0; background: transparent; }
    .cart-page .ct-variant:last-child { border-bottom: 0; }
    .cart-page .ct-variant small { grid-column: 1; font-size: 10px; line-height: 1.5; overflow-wrap: anywhere; }
    .cart-page .ct-variant small::after { content: none; }
    .cart-page .ct-variant img { grid-column: 2; width: 22px; height: 22px; }
    .cart-page .ct-variant b { grid-column: 3; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
    .cart-page .ct-variant:not(:has(img)) b { grid-column: 2 / -1; }
    .cart-page .ct-variant .info-tooltip { grid-column: 1 / -1; display: block; }
    .cart-page .ct-variant .info-icon { display: none; }
    .cart-page .ct-variant .tooltip-content { display: block; position: static; width: auto; transform: none; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; color: #658051; font-size: 10px; line-height: 1.5; }
    .cart-page .ct-variant .tooltip-content::before { display: none; }
    .cart-page .ct-calc { grid-column: 1 / -1; display: flex; width: 100%; margin: 0; padding: 12px; gap: 10px; border-radius: 10px; background: #f8faf6; }
    .cart-page .ct-calc-item { flex: 1; }
    .cart-page .ct-calc-item small { font-size: 9px; white-space: normal; }
    .cart-page .ct-calc-item b { font-size: 12px; }
    .cart-page .ct-calc-step { flex: 1 1 115px; }
    .cart-page .ct-parts { grid-column: 1 / -1; min-width: 0; margin: 0; }
    .cart-page .ct-part { grid-template-columns: 34px minmax(0, 1fr); gap: 8px; }
    .cart-page .ct-part-total, .cart-page .ct-part-calc { grid-column: 2; display: block; }
    .cart-page .ct-side { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; margin: 2px -14px 0; padding: 13px 14px; border-top: 1px solid #e2e8db; border-radius: 0; background: #f1f5ed; }
    .cart-page .ct-side::before, .cart-page .ct-side::after { display: none; }
    .cart-page .ct-qty-wrap { grid-column: 1; grid-row: 1; }
    .cart-page .ct-qty { width: 132px; height: 44px; border-radius: 10px; }
    .cart-page .ct-qty button { width: 44px; height: 44px; flex: 0 0 44px; }
    .cart-page .ct-qty input { width: 42px; font-size: 14px; }
    .cart-page .ct-remove { grid-column: 2; grid-row: 1; display: flex; justify-content: center; width: 44px; height: 44px; padding: 0; border-radius: 10px; background: #fff; }
    .cart-page .ct-total { grid-column: 1 / -1; grid-row: 2; display: flex; flex-direction: row; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 5px 10px; width: 100%; padding: 10px 0 0; border-top: 1px solid #dfe6d8; }
    .cart-page .ct-total small { font-size: 10px; }
    .cart-page .ct-total em { width: 100%; order: 3; font-size: 11px; }
    .cart-page .ct-total strong { font-size: 22px; line-height: 1.3; }
    .cart-page .ct-receipt-wrap { padding: 10px; border-radius: 16px; }
    .cart-page .ct-receipt { padding: 20px 15px; border-radius: 12px; }
    .cart-page .ct-lines > div { gap: 12px; }
    .cart-page .ct-grand { flex-wrap: wrap; gap: 8px; }
    .cart-page .ct-grand strong { font-size: 27px; white-space: nowrap; }
    .cart-page .ct-checkout { min-height: 48px; border-radius: 11px; }
    .cart-page .ct-continue { min-height: 44px; }
    .cart-page .connect-whatsapp { display: none; }
    .cart-page .sf-cta .wrap { padding: 26px 20px; }
    .cart-page .sf-cta-butonlar { display: grid; grid-template-columns: 1fr; width: 100%; }
    .cart-page .sf-btn { min-height: 46px; border-radius: 12px; }
}
@media (max-width: 359px) {
    .cart-page .ct-main > .w100 > .wrap { padding: 0 12px; }
    .cart-page .ct-title { font-size: 22px; }
    .cart-page .ct-steps li + li::before { width: 8px; margin: 0 4px; }
}
