/* Landing oldal CSS - index.php style.css alapján */
/* Csak a landing specifikus hero szekció stílusai */
/* MINDEN MÁS STÍLUS a style.css-ből jön! */

/* Landing Hero Banner - kompakt és egyszerű */
.landing-hero {
    background: var(--gradient-secondary);
    padding: 2rem 0;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.landing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="%23ffffff" opacity="0.1"><polygon points="1000,100 1000,0 0,0 0,80"/></svg>');
    background-size: cover;
}

.landing-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

.landing-hero-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.landing-hero-description {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: var(--text-color);
    margin-bottom: 1rem;
    opacity: 0.8;
    line-height: 1.5;
}

.landing-hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.landing-stat {
    text-align: center;
}

.landing-stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.landing-stat-label {
    font-size: 0.8rem;
    color: var(--text-color);
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* JAVÍTÁS: Biztosítjuk hogy a style.css grid mérete érvényesüljön */
/* NE legyen saját products-grid stílus a landing.css-ben! */

/* JAVÍTÁS: Csillagok színének javítása */
.star-filled {
    color: #ffd700 !important;
}

.star-half {
    color: #ffd700 !important;
}

.star-empty {
    color: #ddd !important;
}

/* Responsive a landing hero-nak */
@media (max-width: 768px) {
    .landing-hero {
        padding: 1.5rem 0;
    }
    
    .landing-hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .landing-stat-number {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .landing-hero {
        padding: 1rem 0;
    }
    
    .landing-hero-title {
        font-size: 1.5rem;
    }
    
    .landing-hero-description {
        font-size: 0.85rem;
    }
}

/* Landing oldal grid javítás - add hozzá a landing.css végéhez */

/* TERMÉK GRID JAVÍTÁS - ERŐSEBB SZELEKTOROKKAL */
.main-content .products-grid,
body .products-grid,
#products-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
    gap: 1rem !important;
    margin: 1rem 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* TERMÉK KÁRTYA JAVÍTÁS */
.products-grid .product-card,
.products-grid > div,
.products-grid > article {
    background: white !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
}

.products-grid .product-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

/* TERMÉK KÉP JAVÍTÁS */
.product-card .product-image,
.product-card img {
    width: 100% !important;
    aspect-ratio: 1 !important;
    object-fit: cover !important;
    border-radius: 0 !important;
}

/* TERMÉK INFORMÁCIÓK */
.product-card .product-info {
    padding: 1rem !important;
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

.product-card .product-title {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.3 !important;
    color: #333 !important;
}

.product-card .product-price {
    font-size: 1.2rem !important;
    font-weight: bold !important;
    color: var(--primary-color) !important;
    margin-top: auto !important;
}

/* RESPONSIVE GRID */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
    }
}

/* HA A TERMÉKEK LISTA ELEMEK (<li>) */
.products-grid li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* INLINE STÍLUS FELÜLÍRÁSA */
.products-grid[style] {
    display: grid !important;
}

/* TOVÁBBI FALLBACK */
.termekek-container,
.products-container,
.product-list {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
    gap: 1rem !important;
}