.business-section {
    --green: #4CAF50;
    padding: 60px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.business-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    text-align: center;
}

.business-section .section-subtitle {
    color: #666;
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.business-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e0e0e0;
}

.business-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.business-card.featured {
    background: linear-gradient(135deg, var(--green) 0%, #45a049 100%);
    color: white;
}

.business-card .icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--green);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: white;
}

.business-card.featured .icon-wrapper {
    background: rgba(255,255,255,0.2);
}

.business-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.business-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
}

.gallery-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e0e0e0;
    height: 100%;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.gallery-card .icon-wrapper {
    width: 50px;
    height: 50px;
    background: var(--green);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: white;
}

.gallery-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gallery-card .images-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-top: 1rem;
}

.gallery-card .images-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.gallery-card .view-text {
    text-align: center;
    color: #666;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.modal-header {
    background: var(--green);
    color: white;
    border-radius: 0;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.category-section {
    margin-bottom: 2.5rem;
}

.category-section h5 {
    color: var(--green);
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--green);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.product-item {
    text-align: center;
}

.product-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.product-item p {
    font-size: 0.9rem;
    margin: 0;
    color: #666;
}

.business-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (max-width: 991px) {
    .business-section .section-title {
        font-size: 1.8rem;
    }


    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mobile-order-1 {
        order: 1;
    }

    .mobile-order-2 {
        order: 2;
    }
}

@media (min-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}



/* Oprava pre zachovanie 2x2 gridu na mobile */
@media (max-width: 767px) {
    .business-cards-grid {
        display: grid;
        /* Fixný grid 2 stĺpce */
        grid-template-columns: repeat(2, 1fr) !important; 
        gap: 8px !important; /* Menšia medzera medzi kartami */
        padding: 0 10px;
    }

    .business-card {
        padding: 1rem 0.75rem !important; /* Menší padding vnútri karty */
        display: flex;
        flex-direction: column;
        align-items: center; /* Centrovanie obsahu pre lepší vzhľad */
        text-align: center;
    }

    .business-card .icon-wrapper {
        width: 40px !important; /* Menšia ikona */
        height: 40px !important;
        font-size: 1.2rem !important;
        margin-bottom: 0.75rem !important;
        border-radius: 8px !important;
    }

    .business-card h3 {
        font-size: 0.9rem !important; /* Menší nadpis */
        line-height: 1.2;
        margin-bottom: 0.5rem !important;
        min-height: 2.4rem; /* Zabezpečí, aby nadpisy lícovali */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .business-card p {
        font-size: 0.75rem !important; /* Menší text popisu */
        line-height: 1.3;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
}

/* Zabezpečí, aby celá plocha karty reagovala na klik */
.gallery-card {
    position: relative;
    z-index: 1;
    -webkit-tap-highlight-color: transparent; /* Odstráni modrý blik pri kliku na mobile */
}

/* Toto je kľúčové: Vnútorné prvky nebudú blokovať kliknutie na kartu */
.gallery-card > * {
    pointer-events: none;
}