/* Modern ürün kartı - sadece script liste kartlarını etkiler */
.product_list_ph .product {
    display: flex;
    margin-bottom: 30px;
}

.product_list_ph .product .ws-product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: auto;
    background: #fff;
    border: 1px solid #d8ecf8;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(44, 49, 59, 0.08);
    transition: all 0.25s ease;
}

.product_list_ph .product .ws-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(44, 49, 59, 0.14);
    border-color: rgba(26, 155, 212, 0.55);
}

/* İndirim etiketi */
.product_list_ph .product .ws-product-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 4;
    display: inline-block;
    height: 28px;
    line-height: 28px;
    padding: 0 12px;
    border-radius: 4px;
    background: #06c765;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 8px 18px rgba(6, 199, 101, 0.28);
}

.product_list_ph .product .ws-product-badge i {
    margin-right: 5px;
}

/* Görsel alanı */
.product_list_ph .product .ws-product-image {
    display: block;
    flex: 0 0 auto;
    margin: 52px 14px 0;
    height: 230px;
    border-radius: 12px;
    background: #f7f9fc;
    overflow: hidden;
}

.product_list_ph .product .ws-product-image img {
    display: block;
    width: 100%;
    height: 230px;
    object-fit: contain;
    background: #f7f9fc;
    transform: scale(1.10);
    transition: all 0.35s ease;
}

.product_list_ph .product .ws-product-card:hover .ws-product-image img {
    transform: scale(1.14);
}

/* İçerik alanı */
.product_list_ph .product .ws-product-content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 12px 20px 18px;
}

/* Başlık alanı sabitlenir: uzun başlık hiza bozmaz */
.product_list_ph .product .ws-product-content h3 {
    min-height: 42px;
    max-height: 42px;
    margin: 0 0 10px;
    overflow: hidden;
    font-size: 16px;
    line-height: 21px;
    font-weight: 700;
    color: #08172f;
}

.product_list_ph .product .ws-product-content h3 a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #08172f;
}

.product_list_ph .product .ws-product-content h3 a:hover {
    color: #1A9BD4;
}

/* Kart içi kısa açıklama alanı görünmeyecek */
.product_list_ph .product .ws-product-desc {
    display: none !important;
}

/* Fiyat alanı: solda sabit Fiyatı, sağda fiyat */
.product_list_ph .product .ws-product-price {
    display: flex;
    align-items: center;
    min-height: 44px;
    margin: 0 0 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e1e5ec;
    white-space: nowrap;
}

.product_list_ph .product .ws-product-price::before {
    content: "Fiyatı";
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    flex: 1 1 auto;
    color: #1f2f46;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
}

.product_list_ph .product .ws-old-price {
    display: inline-block;
    flex: 0 0 auto;
    margin-right: 8px;
    color: #ff5353;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    text-decoration: line-through;
}

.product_list_ph .product .ws-current-price {
    display: inline-block;
    flex: 0 0 auto;
    margin-left: 0;
    color: #08172f;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.5px;
    text-align: right;
}

/* Özellik etiketleri yan yana */
.product_list_ph .product .ws-product-tags {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    min-height: auto;
    margin-top: 0;
    margin-bottom: 18px;
}

.product_list_ph .product .ws-product-tags span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    height: 31px;
    padding: 0 8px;
    border: 1px solid #dfe6f0;
    border-radius: 4px;
    background: #fbfcfe;
    color: #617087;
    font-size: 11px;
    line-height: 31px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product_list_ph .product .ws-product-tags i {
    flex: 0 0 auto;
    margin-right: 5px;
    color: #1A9BD4;
}

/* Sepete ekle / Detaylar butonları */
.product_list_ph .product .ws-product-actions {
    display: flex;
    gap: 8px;
    align-items: stretch;
    margin-top: auto;
}

.product_list_ph .product .ws-product-actions form,
.product_list_ph .product .ws-product-actions .ws-btn-detail {
    flex: 1 1 0 !important;
    width: 50% !important;
    max-width: 50% !important;
}

.product_list_ph .product .ws-product-actions form {
    display: block;
    margin: 0;
}

.product_list_ph .product .ws-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 38px;
    min-height: 38px;
    padding: 0 6px;
    border: 0;
    border-radius: 4px;
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
}

.product_list_ph .product .ws-btn i {
    margin-right: 4px;
}

.product_list_ph .product .ws-btn-cart {
    background: #00c96b;
}

.product_list_ph .product .ws-btn-cart:hover {
    background: #08ad60;
    color: #fff;
}

.product_list_ph .product .ws-btn-detail {
    background: #10264a;
    letter-spacing: -0.2px;
}

.product_list_ph .product .ws-btn-detail:hover {
    background: #1A9BD4;
    color: #fff;
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1199px) {
    .product_list_ph .product .ws-product-image {
        margin: 48px 14px 0;
        height: 220px;
    }

    .product_list_ph .product .ws-product-image img {
        height: 220px;
        transform: scale(1.08);
    }

    .product_list_ph .product .ws-product-card:hover .ws-product-image img {
        transform: scale(1.12);
    }

    .product_list_ph .product .ws-product-content {
        padding: 12px 16px 16px;
    }

    .product_list_ph .product .ws-product-content h3 {
        font-size: 15.5px;
        line-height: 21px;
    }

    .product_list_ph .product .ws-current-price {
        font-size: 22px;
    }

    .product_list_ph .product .ws-btn {
        font-size: 12px;
        padding: 0 5px;
    }
}

/* Mobil */
@media (max-width: 767px) {
    .product_list_ph .product .ws-product-card {
        min-height: auto;
    }

    .product_list_ph .product .ws-product-image {
        margin: 50px 14px 0;
        height: 225px;
        min-height: 0;
    }

    .product_list_ph .product .ws-product-image img {
        height: 225px;
        min-height: 0;
        object-fit: contain;
        transform: scale(1.10);
    }

    .product_list_ph .product .ws-product-card:hover .ws-product-image img {
        transform: scale(1.13);
    }

    .product_list_ph .product .ws-product-content {
        padding: 10px 16px 16px;
    }

    .product_list_ph .product .ws-product-content h3 {
        min-height: 40px;
        max-height: 40px;
        margin: 0 0 8px;
        font-size: 15px;
        line-height: 20px;
    }

    .product_list_ph .product .ws-product-price {
        min-height: 42px;
        margin-bottom: 12px;
        padding-bottom: 12px;
    }

    .product_list_ph .product .ws-product-price::before {
        font-size: 14px;
    }

    .product_list_ph .product .ws-old-price {
        font-size: 16px;
        margin-right: 7px;
    }

    .product_list_ph .product .ws-current-price {
        font-size: 22px;
    }

    .product_list_ph .product .ws-product-tags {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
        margin-bottom: 18px;
    }

    .product_list_ph .product .ws-product-tags span {
        height: 30px;
        padding: 0 6px;
        font-size: 10.5px;
        line-height: 30px;
    }

    .product_list_ph .product .ws-product-actions {
        flex-direction: row !important;
        gap: 8px;
    }

    .product_list_ph .product .ws-product-actions form,
    .product_list_ph .product .ws-product-actions .ws-btn-detail {
        flex: 1 1 0 !important;
        width: 50% !important;
        max-width: 50% !important;
    }

    .product_list_ph .product .ws-product-actions form .ws-btn,
    .product_list_ph .product .ws-product-actions .ws-btn-detail {
        font-size: 12px;
        padding: 0 5px;
    }
}

/* Çok dar ekran */
@media (max-width: 360px) {
    .product_list_ph .product .ws-product-image {
        height: 210px;
    }

    .product_list_ph .product .ws-product-image img {
        height: 210px;
    }

    .product_list_ph .product .ws-product-tags span {
        font-size: 10px;
        padding: 0 5px;
    }

    .product_list_ph .product .ws-product-price::before {
        font-size: 13px;
    }

    .product_list_ph .product .ws-current-price {
        font-size: 20px;
    }

    .product_list_ph .product .ws-btn {
        font-size: 11px;
    }
}

/* Ürün kartı görselini daha yakın ve büyük göster */
.product_list_ph .product .ws-product-image {
    height: 245px !important;
    margin: 42px 14px 0 !important;
}

.product_list_ph .product .ws-product-image img {
    height: 245px !important;
    object-fit: contain !important;
    transform: scale(1.40) !important;
    transform-origin: center center;
}

.product_list_ph .product .ws-product-card:hover .ws-product-image img {
    transform: scale(1.26) !important;
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1199px) {
    .product_list_ph .product .ws-product-image {
        height: 235px !important;
        margin: 40px 14px 0 !important;
    }

    .product_list_ph .product .ws-product-image img {
        height: 235px !important;
        transform: scale(1.20) !important;
    }

    .product_list_ph .product .ws-product-card:hover .ws-product-image img {
        transform: scale(1.24) !important;
    }
}

/* Mobil */
@media (max-width: 767px) {
    .product_list_ph .product .ws-product-image {
        height: 240px !important;
        margin: 42px 14px 0 !important;
    }

    .product_list_ph .product .ws-product-image img {
        height: 240px !important;
        transform: scale(1.55) !important;
    }

    .product_list_ph .product .ws-product-card:hover .ws-product-image img {
        transform: scale(1.26) !important;
    }
}

/* Çok dar ekran */
@media (max-width: 360px) {
    .product_list_ph .product .ws-product-image {
        height: 225px !important;
    }

    .product_list_ph .product .ws-product-image img {
        height: 225px !important;
        transform: scale(1.20) !important;
    }
}

/* Anasayfa işlem adımları - eski 3 kutulu alanı modern 4 adımlı yapar */
.ws-process-steps {
    margin: 0 0 34px;
}

.ws-process-card {
    min-height: 188px;
    padding: 28px 18px 22px;
    background: #fff;
    border: 1px solid #d6d6d6;
    border-radius: 5px;
    text-align: center;
    transition: all 0.25s ease;
}

.ws-process-card:hover {
    border-color: #1A9BD4;
    box-shadow: 0 10px 28px rgba(44, 49, 59, 0.10);
    transform: translateY(-3px);
}

.ws-process-icon {
    height: 58px;
    line-height: 58px;
    margin-bottom: 14px;
    color: #1b5f99;
    font-size: 48px;
}

.ws-process-card h3 {
    margin: 0 0 14px;
    color: #111;
    font-size: 19px;
    font-weight: 700;
    line-height: 24px;
}

.ws-process-card p {
    margin: 0;
    color: #333;
    font-size: 14px;
    line-height: 22px;
}

@media (max-width: 991px) {
    .ws-process-card {
        margin-bottom: 18px;
    }
}

@media (max-width: 767px) {
    .ws-process-steps {
        margin-bottom: 24px;
    }

    .ws-process-card {
        min-height: auto;
        padding: 24px 15px 20px;
    }

    .ws-process-icon {
        height: 52px;
        line-height: 52px;
        margin-bottom: 10px;
        font-size: 42px;
    }

    .ws-process-card h3 {
        font-size: 18px;
        line-height: 23px;
    }
}

/* Anasayfa 4 işlem kartını aynı hizaya alma - düzeltilmiş */
.ws-process-steps {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    margin-bottom: 34px;
}

.ws-process-steps > div {
    display: flex;
    margin-bottom: 20px;
}

.ws-process-card {
    width: 100%;
    min-height: 230px;
    height: 100%;
    padding: 30px 18px 22px;
    display: block;
    text-align: center;
}

.ws-process-icon {
    height: 64px;
    line-height: 64px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ws-process-card h3 {
    min-height: 52px;
    max-height: 52px;
    margin: 0 0 12px;
    display: block !important;
    text-align: center;
    overflow: hidden;
    color: #111;
    font-size: 19px;
    font-weight: 700;
    line-height: 26px;
}

.ws-process-card p {
    min-height: 48px;
    margin: 0;
    display: block;
    text-align: center;
    color: #333;
    font-size: 14px;
    line-height: 22px;
}

/* Tablet */
@media (max-width: 991px) {
    .ws-process-card {
        min-height: 220px;
    }
}

/* Mobil */
@media (max-width: 767px) {
    .ws-process-steps {
        display: block;
        margin-bottom: 24px;
    }

    .ws-process-steps > div {
        display: block;
    }

    .ws-process-card {
        min-height: auto;
        margin-bottom: 18px;
    }

    .ws-process-card h3,
    .ws-process-card p {
        min-height: auto;
        max-height: none;
    }
}

/* Mobilde işlem kutularını 4 sütun göster */
@media (max-width: 767px) {
    .ws-process-steps {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
        margin-left: -4px;
        margin-right: -4px;
        margin-bottom: 24px;
    }

    .ws-process-steps > div {
        width: 25% !important;
        max-width: 25% !important;
        flex: 0 0 25% !important;
        float: left !important;
        display: flex !important;
        padding-left: 4px !important;
        padding-right: 4px !important;
        margin-bottom: 0 !important;
    }

    .ws-process-card {
        width: 100%;
        min-height: 345px !important;
        height: 100%;
        padding: 18px 6px 14px !important;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        text-align: center;
        border-radius: 4px;
    }

    .ws-process-icon {
        height: 54px !important;
        line-height: 54px !important;
        margin-bottom: 10px !important;
        font-size: 38px !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .ws-process-card h3 {
        min-height: 92px !important;
        max-height: none !important;
        margin: 0 0 10px !important;
        display: block !important;
        color: #111;
        font-size: 17px !important;
        font-weight: 700;
        line-height: 24px !important;
        text-align: center;
        overflow: visible !important;
        word-break: normal;
    }

    .ws-process-card p {
        min-height: auto !important;
        max-height: none !important;
        margin: 0 !important;
        display: block !important;
        color: #222;
        font-size: 14px !important;
        line-height: 22px !important;
        text-align: center;
        word-break: normal;
    }
}

/* Çok dar telefonlarda biraz daha sıkıştır */
@media (max-width: 390px) {
    .ws-process-steps > div {
        padding-left: 3px !important;
        padding-right: 3px !important;
    }

    .ws-process-card {
        min-height: 350px !important;
        padding: 16px 5px 12px !important;
    }

    .ws-process-icon {
        font-size: 34px !important;
        height: 48px !important;
        line-height: 48px !important;
    }

    .ws-process-card h3 {
        font-size: 16px !important;
        line-height: 23px !important;
    }

    .ws-process-card p {
        font-size: 13px !important;
        line-height: 21px !important;
    }
}