* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Inter, sans-serif;
    background: #faf8f5;
    color: #222;
    padding: 20px;
    -webkit-font-smoothing: antialiased;
}

/* HEADER */
header {
    text-align: center;
    margin-bottom: 25px;
}

header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
}

header p {
    color: #777;
}

/* PROMO */
.promo-banner {
    background: linear-gradient(135deg, #111, #333);
    color: #fff;
    text-align: center;
    padding: 12px 16px;
    margin: 15px auto 25px;
    border-radius: 14px;
    max-width: 600px;
    font-size: 13px;
}

/* SEARCH */
.toolbar {
    max-width: 600px;
    margin: auto;
    margin-bottom: 20px;
}

.toolbar input {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 12px;
    outline: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* GRID - IG STYLE */
.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 1000px;
    margin: 0 auto;
}

/* TABLET */
@media (min-width: 768px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }
}

/* DESKTOP */
@media (min-width: 1024px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* CARD */
.card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    transition: 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

/* IMAGE SMALL + CLEAN */
.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* INFO */
.info {
    padding: 12px;
}

.name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
}

.meta {
    color: #666;
    font-size: 12px;
    margin-bottom: 4px;
}

.reason {
    font-size: 11px;
    color: #999;
    font-style: italic;
}

.price {
    font-size: 16px;
    font-weight: 700;
    margin: 10px 0;
}

/* BUTTONS */
.actions {
    display: flex;
    gap: 8px;
}

.btn {
    flex: 1;
    border: none;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s ease;
    font-size: 13px;
}

.btn:hover {
    transform: scale(1.03);
    opacity: 0.9;
}

.img-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(6px);
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 90%;
    max-height: 80%;
    border-radius: 12px;
    animation: zoomIn 0.2s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 28px;
    color: white;
    cursor: pointer;
}

/* WHATSAPP */
.whatsapp {
    background: #25D366;
    color: white;
    font-weight: 600;
}

/* FAVORITE */
.favorite {
    background: #f2f2f2;
}

/* MOBILE TWEAK */
@media (max-width: 480px) {
    body {
        padding: 12px;
    }

    header h1 {
        font-size: 22px;
    }

    .card img {
        height: 160px;
    }
}