/* Phones and portrait tablets; retain the desktop/landscape layout. */
@media screen and (max-width: 767px), screen and (orientation: portrait) and (max-width: 1024px) {
    .satin-al .container, .sepetim .container {
        width: 100%;
        max-width: 100%;
    }
    .checkout-form .row-40 {
        margin-left: -10px;
        margin-right: -10px;
    }
    .checkout-form .row-40 > [class*="col-"],
    .sepetim > .container > .row > .col-md-8,
    .sepetim > .container > .row > .col-md-4 {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding-left: 10px;
        padding-right: 10px;
    }
    .siparis-ozet {
        position: static !important;
        margin-top: 20px;
    }
    .checkout-form .cart-summary,
    .sepetim .cart-summary {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }
    .checkout-form .cart-summary-wrap,
    .sepetim .cart-summary-wrap {
        padding: 20px 16px;
        overflow-wrap: anywhere;
    }
    .cart-summary-wrap p, .cart-summary-wrap h4, .cart-summary-wrap li {
        white-space: normal;
        overflow-wrap: anywhere;
    }
    .satin-al .btn-ileri, .sepetim .btn-ileri, .sepet-uyelik-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        width: 100%;
        max-width: 100%;
        min-height: 44px;
        height: auto;
        box-sizing: border-box;
        margin: 10px 0;
        padding: 12px 16px;
        font-size: 16px;
        line-height: 22px;
        white-space: normal;
        text-align: center;
    }
    .satin-al .btn-ileri i, .sepetim .btn-ileri i, .sepet-uyelik-btn i {
        float: none;
        padding: 0;
        flex: 0 0 auto;
    }
    .mobile-membership-options {
        flex: 0 0 100%;
        width: 100%;
        max-width: 420px;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .checkout-form input:not([type="radio"]):not([type="checkbox"]),
    .checkout-form textarea, .checkout-form select, .checkout-form .nice-select {
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
    .sepetim .cart-table table {
        width: 100%;
        min-width: 0;
        table-layout: fixed;
    }
    .sepetim .cart-table .pro-thumbnail { width: 72px; }
    .sepetim .cart-table .pro-remove { width: 32px; }
    .sepetim .cart-table td, .sepetim .cart-table th {
        padding: 10px 6px;
        white-space: normal;
        overflow-wrap: anywhere;
    }
    .sepetim .cart-table .pro-title { min-width: 0; width: auto; }
    .ek-urunler {
        width: auto !important;
        margin-left: -6px;
        margin-right: -6px;
    }
    .ek-urunler > [class*="col-"] {
        flex: 0 0 50%;
        width: 50%;
        max-width: 50%;
        min-width: 0;
        padding: 0 6px;
    }
    .ek-urunler .single-slider-product__image {
        height: auto !important;
        aspect-ratio: 1;
        overflow: hidden;
    }
    .ek-urunler .single-slider-product__image a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
    }
    .ek-urunler .single-slider-product__image img {
        position: static;
        display: block;
        width: 100%;
        height: 100% !important;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        transform: none;
    }
    .ek-urunler .product-title a {
        height: auto;
        white-space: normal;
    }
    .satin-al .mesaj-select {
        display: block;
        min-width: 0;
        overflow: visible;
    }
    .mesaj-select table.kart-mesaj-radio {
        display: block;
        width: 100%;
        margin: 0 !important;
    }
    .mesaj-select .kart-mesaj-radio tbody { display: block; }
    .mesaj-select .kart-mesaj-radio tr { display: contents; }
    .mesaj-select .kart-mesaj-radio tbody {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }
    .mesaj-select .kart-mesaj-radio td { display: block; min-width: 0; }
    .mesaj-select .kart-mesaj-radio label {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100% !important;
        min-height: 54px;
        height: auto;
        margin: 0;
        padding: 8px 4px !important;
        white-space: normal;
        overflow-wrap: anywhere;
        box-sizing: border-box;
    }
    .product-detail-content .div-teslim-saat .frb-group {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    .product-detail-content .div-teslim-saat .frb-group > .frb {
        flex: 1 1 calc(50% - 8px);
        width: calc(50% - 8px) !important;
        min-width: 0;
        margin: 0;
    }
    .div-teslim-saat .btn-group { max-width: 100%; overflow: visible; }
    .div-teslim-saat .btn-group table {
        display: block;
        width: 100%;
        max-width: 100%;
    }
    .div-teslim-saat .btn-group tbody { display: block; }
    .div-teslim-saat .btn-group tr {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
    }
    .div-teslim-saat .btn-group td {
        flex: 1 1 80px;
        min-width: 0;
        padding: 0;
        white-space: normal;
    }
    .div-teslim-saat .btn-group .btn-check tr td label {
        display: block;
        width: 100%;
        margin: 0;
        box-sizing: border-box;
        white-space: normal;
    }
    .header-top-single-dropdown__dropdown-menu-items {
        right: 0;
        left: auto !important;
        max-width: calc(100vw - 24px);
    }
    .page-wrapper-light-green .header-top-single-dropdown__dropdown-menu-items li a {
        color: #26375c !important;
        white-space: normal;
    }
}
