/* =====================================================
   PRODUCT CARD — Golisans Style / lisansmatik.net
   ===================================================== */

.lm-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 20px;
    align-items: stretch;
}

/* Kart */
.lm-gl-card {
    background: #fff;
    border: 1px solid #e4ecf7;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 14px rgba(15,23,42,.06);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.lm-gl-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 38px rgba(15,23,42,.11);
    border-color: #bfdbfe;
}

/* Resim alanı — tam kaplama, boylu boyunca */
.lm-gl-img-wrap {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4.2;   /* daha uzun — ürün fotosu büyük */
    overflow: hidden;
    background: #f4f6fb;
    flex-shrink: 0;
}

.lm-gl-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.lm-gl-card:hover .lm-gl-img-wrap img {
    transform: scale(1.04);
}

/* İndirim rozeti */
.lm-gl-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    background: linear-gradient(135deg, #3b7ef8, #1d4ed8);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    padding: 5px 11px;
    border-radius: 999px;
    letter-spacing: .02em;
    box-shadow: 0 4px 10px rgba(29,78,216,.28);
    pointer-events: none;
}

/* Bilgi alanı */
.lm-gl-info {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

/* Başlık */
.lm-gl-title {
    color: #1e293b;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.38;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none !important;
    min-height: 38px;
    transition: color .15s;
}
.lm-gl-title:hover { color: #2563eb; }

/* Yıldızlar */
.lm-gl-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}
.lm-gl-rc {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 600;
    margin-left: 3px;
}

/* Fiyat */
.lm-gl-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}
.lm-gl-price del {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 600;
    text-decoration: line-through;
}
.lm-gl-price strong {
    font-size: 22px;
    font-weight: 900;
    color: #2563eb;
    letter-spacing: -.03em;
}

/* Buton */
.lm-gl-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 44px;
    margin-top: 4px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff !important;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .05em;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(37,99,235,.26);
    transition: all .2s ease;
    border: none;
}
.lm-gl-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    box-shadow: 0 12px 28px rgba(37,99,235,.36);
    transform: translateY(-1px);
    color: #fff !important;
}

/* Responsive */
@media (max-width: 1199px) {
    .lm-products-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
}
@media (max-width: 767px) {
    .lm-products-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .lm-gl-price strong { font-size: 18px; }
    .lm-gl-btn { height: 40px; font-size: 12px; }
    .lm-gl-title { font-size: 13px; }
}
@media (max-width: 400px) {
    .lm-products-grid { grid-template-columns: 1fr; }
}
