﻿.dk-book-list { display: flex; flex-wrap: wrap; align-items: stretch; }
    .dk-book-col { display: flex; margin-bottom: 18px; }
    .dk-book-card {
        background: #fff;
        border: 1px solid #e9edf3;
        border-radius: 18px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        height: 100%;
        width: 100%;
        box-shadow: 0 2px 10px rgba(16,24,40,.06);
        transition: transform .22s ease, box-shadow .22s ease;
    }
    .dk-book-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(16,24,40,.12); }
    .dk-book-media { position: relative; background: #fff; height: 330px; overflow: hidden; }
    .dk-book-media a { display: block; height: 100%; }
    .dk-book-media img { width: 100%; height: 100%; object-fit: contain; object-position: top center; padding: 0; background: #fff; transition: transform .3s ease; }
    .dk-book-card:hover .dk-book-media img { transform: scale(1.04); }
    .dk-badge { position: absolute; top: 10px; font-size: 11px; font-weight: bold; padding: 4px 10px; border-radius: 999px; color: #fff; }
    .dk-badge.off { right: 10px; background: linear-gradient(135deg,#ef4444,#dc2626); }
    .dk-badge.digital { left: 10px; background: linear-gradient(135deg,#0ea5e9,#2563eb); }
    .dk-badge.latin { left: 10px; top: 40px; background: #7c3aed; }
    .dk-badge.digital.dk-only { top: 10px; }
    .dk-badge.out { right: 10px; background: #64748b; }
    .dk-book-body { padding: 14px 14px 16px; display: flex; flex-direction: column; flex: 1; }
    .dk-book-title { font-size: 14px; font-weight: bold; color: #1f2937; min-height: 42px; line-height: 21px; margin: 0 0 4px; text-align: center; }
    .dk-book-writer { font-size: 12px; color: #6b7280; text-align: center; margin-bottom: 8px; min-height: 18px; }
    .dk-book-off { text-align: center; margin: 4px 0 10px; min-height: 26px; display: flex; align-items: center; justify-content: center; }
    .dk-off-pill { display: inline-block; background: #fef2f2; border: 1px solid #fecaca; color: #dc2626; font-size: 12px; font-weight: bold; border-radius: 999px; padding: 3px 12px; line-height: 18px; }
    .dk-book-off .na-text { font-size: 12px; color: #64748b; font-weight: bold; }
    .dk-book-price { min-height: 48px; margin: 0 0 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; text-align: center; }
    .dk-book-price-current { color: #15803d; font-size: 14px; font-weight: 800; line-height: 20px; white-space: nowrap; }
    .dk-book-price-regular { color: #8792a2; font-size: 11px; line-height: 16px; text-decoration: line-through; white-space: nowrap; }
    .dk-book-price-placeholder { display: block; min-height: 48px; margin-bottom: 8px; }
    .dk-book-actions { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
    .dk-btn { display: block; width: 100%; border-radius: 12px; padding: 10px; font-size: 13px; font-weight: bold; text-align: center; border: 1px solid transparent; cursor: pointer; transition: filter .2s ease, transform .15s ease; }
    .dk-btn:active { transform: scale(.98); }
    .dk-btn-cart { background: linear-gradient(135deg,#22c55e,#16a34a); color: #fff; border: none; }
    .dk-btn-cart:hover { filter: brightness(.95); color: #fff; }
    .dk-btn-cart:disabled, .dk-btn-cart.disabled { background: #cbd5e1; cursor: not-allowed; }
    .dk-btn-detail { background: #fff; color: #1d4ed8; border-color: #bfdbfe; }
    .dk-btn-detail:hover { background: #eff6ff; }
    @media (max-width: 768px) {
        .dk-book-media { height: 260px; }
        .dk-book-title { font-size: 13px; min-height: 38px; }
    }
