/**
 * Plik CSS dla widgetu FeedWeaver "Duża Zajawka" (v1.0)
 * Lokalizacja: /assets/css/large-teaser-widget.css
 */

/* --- Wrapper i Nagłówek --- */
.fw-large-teaser-wrapper {
    transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
    overflow: hidden; /* Dla border-radius */
}
.fw-widget-header {
    /* Style z kontrolek Elementora */
}

/* --- Układ Grid --- */
.fw-large-teaser-grid {
    display: grid;
    /* grid-template-columns jest ustawiane przez kontrolkę 'left_column_width' */
    /* gap jest ustawiany przez kontrolkę 'column_gap' */
}

/* --- Lewa Kolumna (Obrazek) --- */
.fw-large-teaser-image-wrapper {
    width: 100%;
    position: relative;
}
.fw-large-teaser-image-wrapper a {
    display: block;
    text-decoration: none;
}
.fw-large-teaser-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    /* border-radius, border, box-shadow z kontrolek */
}
.fw-large-image-placeholder {
    width: 100%;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
    color: #ccc;
    /* border-radius, border z kontrolek */
}
.fw-large-image-placeholder::before {
    font-family: 'eicons';
    content: '\\e912'; /* Ikona obrazka */
    font-size: 50px;
}

/* --- Prawa Kolumna (Treść) --- */
.fw-large-teaser-content-wrapper {
    display: flex;
    flex-direction: column;
    /* gap (odstęp) ustawiany przez kontrolkę 'rows_gap' */
}

.fw-content-row {
    display: flex;
    flex-flow: row wrap; /* Pozwala etykiecie i wartości być w jednej linii */
    align-items: baseline;
}

.fw-row-label {
    font-weight: 600;
    flex-shrink: 0;
    /* kolor, typografia, margin-right z kontrolek */
}

.fw-row-value {
    flex-grow: 1;
    /* kolor, typografia z kontrolek */
}
.fw-row-value a {
    text-decoration: none;
    color: inherit; /* Domyślnie dziedziczy kolor */
    transition: color 0.3s;
}

/* Style specjalne dla typów */
.fw-row-type-name .fw-row-value,
.fw-row-type-name .fw-row-value a {
    font-size: 1.5em;
    font-weight: 700;
    line-height: 1.2;
    /* Inne style (kolor, typo) z kontrolek */
}

/* Ceny (kopiujemy logikę z Małej Zajawki) */
.fw-large-price-wrapper {
    display: flex;
    flex-flow: row wrap;
    gap: 5px 10px;
    align-items: baseline;
}
.fw-large-price-promo {
    font-size: 1.3em;
    font-weight: 700;
    color: #d32f2f;
    /* Inne style (kolor, typo) z kontrolek */
}
.fw-large-price-regular {
    font-size: 1.1em;
    font-weight: 600;
    color: #333;
    /* Inne style (kolor, typo) z kontrolek */
}
.fw-large-price-old {
    text-decoration: line-through;
    opacity: 0.7;
    font-size: 0.9em;
    font-weight: 400;
}

/* Przycisk */
.fw-row-type-button {
    width: 100%; /* Przycisk zajmuje całą szerokość */
}
.fw-large-button {
    display: inline-block; /* Pozwala na padding */
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    /* Style (padding, kolory, border, radius) z kontrolek */
}

/* Listy (np. Cechy, Kategorie) */
.fw-row-value ul,
.fw-row-value ol {
    margin: 0;
    padding-left: 20px;
}
.fw-row-value .fw-features-list li {
    margin-bottom: 5px;
}

/* --- Responsywność (dla układu grid) --- */
@media (max-width: 1024px) {
    .fw-large-teaser-grid {
        /* grid-template-columns: 100%; (Ustawiane przez kontrolki responsywne) */
    }
}

@media (max-width: 767px) {
    .fw-large-teaser-grid {
        /* grid-template-columns: 100%; (Ustawiane przez kontrolki responsywne) */
    }
}

/* --- Alerty Edytora --- */
.elementor-widget-feedweaver-large-teaser-widget .fw-editor-alert { 
    padding: 15px; margin: 10px; border: 1px dashed; text-align: center; 
}
.fw-editor-alert--warning { 
    background-color: #fff8e1; border-color: #ffc107; color: #856404; 
}
.fw-editor-alert--danger { 
    background-color: #ffebee; border-color: #f44336; color: #c62828; 
}