/* Grid Offers Shortcode Styles */
.asari-offers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 2000px;
    margin: 0 auto;
    padding: 20px;
}

.asari-offer-card-grid {
    background: #fff;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.asari-offer-card-grid:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    text-decoration: none;
    color: inherit;
}

.asari-offer-image-grid {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.asari-offer-image-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.asari-offer-card-grid:hover .asari-offer-image-grid img {
    transform: scale(1.05);
}

.asari-offer-status-badge-grid {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    background: rgba(17, 24, 39, 0.88);
}

.asari-offer-status-badge-grid--sold {
    background: rgba(5, 150, 105, 0.92);
}

.asari-offer-status-badge-grid--reservation {
    background: #000000ab;
}


.asari-offer-content-grid {
    padding: 20px;
    background: #fff;
}

.asari-offer-title-grid {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.asari-offer-location-grid {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 4px;
}

.asari-offer-location-grid::before {
    content: '📍';
    font-size: 12px;
}

.asari-offer-divider {
    height: 1px;
    background: #e5e5e5;
    margin: 0 0 12px 0;
}

.asari-offer-meta-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.asari-offer-area-grid {
    font-size: 14px;
    color: #1a1a1a;
    font-weight: 500;
}

.asari-offer-price-grid {
    font-size: 16px;
    color: #1a1a1a;
    font-weight: 700;
}

.asari-offer-actions-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.asari-video-btn-grid {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    color: #374151;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}

.asari-video-btn-grid:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
    color: #1f2937;
    text-decoration: none;
}

.asari-video-btn-grid .play-icon {
    font-size: 14px;
}

.asari-offer-label-grid {
    font-size: 12px;
    color: #9ca3af;
}

/* Responsive Design: szerokość i kolumny przejmuje kontener nadrzędny.
   Poniżej zachowujemy tylko drobne dopasowania elementów kart. */
@media (max-width: 768px) {
    .asari-offer-image-grid { height: 180px; }
    .asari-offer-content-grid { padding: 16px; }
    .asari-offer-title-grid { font-size: 15px; }
}
@media (max-width: 480px) {
    .asari-offer-image-grid { height: 160px; }
    .asari-offer-content-grid { padding: 14px; }
    .asari-offer-title-grid { font-size: 14px; }
    .asari-video-btn-grid { padding: 6px 10px; font-size: 11px; }
}
