/* public/assets/css/guest/umkm.css */

.profil-desa-section {
    font-family: 'Poppins', sans-serif;
    color: #111827;
    padding-bottom: 0;
}

/* Page Header */
.profil-desa-header {
    text-align: center;
    margin-bottom: 3rem;
}

.profil-desa-subtitle {
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2E7D32;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    display: inline-block;
    position: relative;
}

.profil-desa-subtitle::before,
.profil-desa-subtitle::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background-color: #2E7D32;
}

.profil-desa-subtitle::before {
    left: -40px;
}

.profil-desa-subtitle::after {
    right: -40px;
}

.profil-desa-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
}

.profil-desa-title span {
    color: #2E7D32;
}

/* Lightweight Scroll Animation */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* UMKM Card */
.umkm-list-card {
    border: 1px solid #edf2f7;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}
.umkm-list-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    border-color: #e2e8f0;
}
.umkm-list-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10 !important;
    overflow: hidden;
    background-color: #f8fafc;
}
.umkm-list-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.umkm-list-card:hover .umkm-list-img-wrapper img {
    transform: scale(1.05);
}

/* Placeholder for UMKM */
.umkm-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    background-color: #f8fafc;
    gap: 0.5rem;
}
.umkm-placeholder i {
    font-size: 3.5rem;
}
.umkm-placeholder span {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.umkm-list-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.umkm-list-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    transition: color 0.2s ease;
}
.umkm-list-card:hover .umkm-list-title {
    color: #2E7D32;
}
.umkm-excerpt {
    font-size: 0.875rem;
    color: #64748b;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex-grow: 1;
}
.umkm-read-more {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    background: #2E7D32;
    padding: 10px;
    border-radius: 12px;
    text-decoration: none;
    margin-top: auto;
    transition: all 0.25s ease;
}
.umkm-card:hover .umkm-read-more {
    background: #1b5e20;
    color: #ffffff;
}

/* Product Card for Detail Page */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08) !important;
}
.product-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Price & Action Row (Copied from home) */
.umkm-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: auto;
}

.umkm-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: #166534;
    letter-spacing: -0.5px;
}

.umkm-action-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #f1f5f9;
    color: #166534;
    transition: all 0.3s ease;
}

.umkm-card:hover .umkm-action-icon {
    background-color: #166534;
    color: white;
    transform: translateY(-6px) rotate(-45deg) scale(1.1);
}