/* PAZARIX PRICING TABLE DESIGN (EXACT COPY from style.css adapted for Product Grid) */
/* Birebir Pricing Table Tasarımı */

.pzx-card {
    /* Eski isim yerine 'ptable-box' stilini buraya uyguluyoruz ama
       conflict olmaması için pzx-card üzerinde tutabiliriz veya
       direkt .ptable-box classlarını kullanabiliriz.
       User "birebir aynı" dediği için burada class isimlerini ptable-box yapacağım.
       CSS dosyasında ptable-box tanımları yapıyorum.
    */
}

/* Container Fix */
.cat-detail-products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 32px !important;
}

/* Pricing Box Style */
.ptable-box {
    width: 100% !important;
    height: 100% !important;
    box-sizing: border-box;
    margin: 0 !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.04);
    background-color: #fff;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    /* Modern touch */
}

.ptable-box:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    border-color: #000;
}

/* Image & Header Area */
.ptable-box-img {
    width: 100%;
    padding: 40px 20px 20px 20px;
    text-align: center;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    position: relative;
    z-index: 1;
    background-color: #f9fafb;
    /* Light grey bg */
    border-bottom: 1px solid #eee;
    flex: 1;
}

.ptable-box-img img {
    height: 200px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 25px;
    mix-blend-mode: multiply;
    transition: transform 0.3s;
}

.ptable-box:hover .ptable-box-img img {
    transform: scale(1.05);
}

/* Header (Title) */
.ptable-header {
    width: 100%;
    font-size: 18px;
    letter-spacing: 0.02em;
    line-height: 1.4;
    font-weight: 700;
    z-index: 9;
    color: #111;
    margin-bottom: 8px;
    min-height: 50px;
    /* 2 satır */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ptable-header a {
    color: inherit;
    text-decoration: none;
}

/* Spot (Brand) */
.ptable-header-spot {
    width: 100%;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    z-index: 9;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 5px;
}

/* Price */
.ptable-box-price {
    width: auto;
    z-index: 9;
    font-size: 28px;
    margin-top: 15px;
    line-height: 1;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #000;
    font-family: 'Inter', sans-serif;
}

.ptable-box-price-old {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    font-weight: 500;
    margin-bottom: 5px;
}

/* Button Area */
.ptable-button-div {
    width: 100%;
    padding: 25px 20px;
    text-align: center;
    margin-top: auto;
    background: #fff;
}

.ptable-button-div button {
    background-color: #000;
    color: #fff;
    border: 1px solid #000;
    padding: 12px 35px;
    border-radius: 30px;
    /* Yuvarlak buton */
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    letter-spacing: 0.5px;
}

.ptable-button-div button:hover {
    background-color: #333;
    border-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.ptable-button-div button i {
    margin-right: 8px;
}

/* Tavsiye (Ribbon) */
.ptable-tavsiye-main {
    width: 100%;
    z-index: 9;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.ptable-header-tavsiye {
    width: auto;
    border-radius: 0 0 12px 12px;
    padding: 8px 24px;
    font-size: 11px;
    font-weight: 700;
    display: inline-block;
    line-height: 1;
    background: #000;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Badges */
.ptable-badge-discount {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ef4444;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 12px;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
}