/* Product Grid Cards - Shared styles for deals, explore, hot deals, combo deals pages */

.product-grid-card {
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    background: #fff;
}

.product-grid-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.product-grid-card img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    border-radius: 1rem 1rem 0 0;
}

/* Add padding to grid columns for hover breathing room */
.product-grid-card-wrapper {
    padding: 8px 0;
}

.product-grid-card .card-body {
    padding: 1rem;
}

.product-grid-card .card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.5em;
    line-height: 1.25;
}

.product-grid-card .location-text {
    font-size: 0.85rem;
    min-height: 1.5em;
    margin-bottom: 0.5rem;
}

.product-grid-card .card-footer-row {
    gap: 0.75rem;
}

@media (min-width: 576px) {
    .product-grid-card .card-footer-row {
        gap: 1rem;
    }
}

.product-grid-card .price-tag {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.product-grid-card .price-tag .from-label {
    color: #000;
    font-weight: 500;
    font-size: 0.75rem;
    line-height: 1.2;
}

.product-grid-card .price-tag .price-amount {
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.2;
}

.btn-book {
    background: #f97316;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1.2rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-book:hover {
    background: #ea580c;
    color: #fff;
}

.coming-soon-tag {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.coming-soon-tag i {
    font-size: 10px;
    color: #666;
    margin-bottom: 2px;
    display: none; /* Hide clock icon on small screens */
}

.coming-soon-tag span {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #666;
    white-space: normal; /* Allow text to wrap on small screens */
    line-height: 1.3;
}

/* Show clock icon on tablet and up */
@media (min-width: 768px) {
    .coming-soon-tag i {
        display: block;
    }

    .coming-soon-tag span {
        white-space: nowrap;
    }
}

/* Sidebar links - base styles */
.sidebar-links a {
    display: block;
    padding: 0.5rem 0;
    text-decoration: none;
    border-bottom: 1px solid #f3f4f6;
}

.sidebar-links .badge {
    font-size: 0.75rem;
    border-radius: 999px;
    padding: 0.2rem 0.5rem;
}

/* Section heading - base styles */
.section-heading {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
}

/* Page hero - base styles */
.page-hero {
    color: #fff;
    padding: 3rem 0 2rem;
}

.page-hero h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.page-hero .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
}

.page-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.page-hero .breadcrumb a:hover {
    color: #fff;
}

.page-hero .breadcrumb .active {
    color: #fff;
}
