@charset "utf-8";

/* ===== UNIMO Inventory Sale Board Skin ===== */
#sale_board {
    margin: 0 auto;
    padding: 20px 0 60px;
    font-family: 'Pretendard', -apple-system, sans-serif;
    color: #1e293b;
}

.sale_header {
    background: linear-gradient(135deg, #009261 0%, #0d3e8c 100%);
    color: #ffffff;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 146, 97, 0.15);
}
.sale_header h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
}
.sale_header p {
    font-size: 16px;
    color: #e2e8f0;
    line-height: 1.6;
}

/* Sale Product Grid */
.sale_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.sale_card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.sale_card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
    border-color: #009261;
}

.sale_img_wrap {
    position: relative;
    height: 220px;
    background: #f8fafc;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sale_img_wrap img {
    max-height: 180px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.sale_card:hover .sale_img_wrap img {
    transform: scale(1.06);
}

.sale_badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 12px;
    background: #ef4444;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    border-radius: 20px;
}
.sale_status_badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    background: rgba(13, 62, 140, 0.9);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 6px;
    backdrop-filter: blur(4px);
}

.sale_body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sale_model {
    font-size: 13px;
    font-weight: 700;
    color: #009261;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.sale_title {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
    line-height: 1.35;
}
.sale_desc {
    font-size: 14px;
    color: #475569;
    margin-bottom: 16px;
    line-height: 1.6;
}

.sale_price_wrap {
    margin-bottom: 20px;
    padding-top: 14px;
    border-top: 1px dashed #e2e8f0;
}
.orig_price {
    font-size: 14px;
    color: #94a3b8;
    text-decoration: line-through;
    margin-right: 8px;
}
.disc_price {
    font-size: 22px;
    font-weight: 900;
    color: #ef4444;
}

.sale_actions {
    display: flex;
    gap: 10px;
}
.sale_btn {
    flex: 1;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}
.sale_btn.pdf {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
}
.sale_btn.pdf:hover {
    background: #e2e8f0;
    color: #0f172a;
}
.sale_btn.buy {
    background: #009261;
    color: #ffffff;
}
.sale_btn.buy:hover {
    background: #007a50;
}

@media (max-width: 1024px) {
    .sale_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .sale_grid {
        grid-template-columns: 1fr;
    }
}
