.fixnet-berles-wrapper {
    --primary: #0a594a;
    --primary-hover: #073f34;
    --accent: #7ebb47;
    --accent-hover: #6ca53b;
    --dark: #1e293b;
    --light-bg: #f8fafc;
    --card-bg: #ffffff;
    --border: #e2e8f0;
    --text-main: #334155;
    --text-muted: #64748b;
    --radius: 12px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    width: 100%;
    margin: 0 auto;
    padding-bottom: 0; /* az oldal több blokkból áll, a térközt a blokkok adják */
}

.fixnet-berles-wrapper * {
    box-sizing: border-box;
}

.fixnet-berles-wrapper .berles-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Hero Header */
.fixnet-berles-wrapper .hero {
    background: linear-gradient(135deg, #0a594a 0%, #0e6e5c 100%);
    border-bottom: 4px solid var(--accent);
    color: #ffffff;
    padding: 40px 24px;
    border-radius: var(--radius);
    margin-bottom: 40px;
    box-shadow: var(--shadow-lg);
}

.fixnet-berles-wrapper .hero-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: center;
}

@media (max-width: 768px) {
    .fixnet-berles-wrapper .hero-content {
        grid-template-columns: 1fr;
    }
}

.fixnet-berles-wrapper .hero h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    color: #ffffff;
}

.fixnet-berles-wrapper .hero p {
    font-size: 1.05rem;
    opacity: 0.95;
    margin-bottom: 15px;
    color: #ffffff;
}

.fixnet-berles-wrapper .contact-box {
    background-color: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-left: 4px solid var(--accent);
    padding: 20px;
    border-radius: var(--radius);
}

.fixnet-berles-wrapper .contact-box h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: #ffffff;
}

.fixnet-berles-wrapper .contact-item {
    margin-bottom: 10px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
}

.fixnet-berles-wrapper .contact-item a {
    color: #ffffff;
    font-weight: 600;
    text-decoration: underline;
}

/* Information Cards */
.fixnet-berles-wrapper .info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}

.fixnet-berles-wrapper .info-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-top: 3px solid var(--primary);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.fixnet-berles-wrapper .info-card h2 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fixnet-berles-wrapper .info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fixnet-berles-wrapper .info-card ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.fixnet-berles-wrapper .info-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: 1.1rem;
}

.fixnet-berles-wrapper .shipping-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
    font-size: 0.9rem;
}

.fixnet-berles-wrapper .shipping-table td {
    padding: 8px 12px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.fixnet-berles-wrapper .shipping-table td:last-child {
    font-weight: 600;
    color: var(--primary);
    text-align: right;
}

/* Section Title */
.fixnet-berles-wrapper .section-title {
    text-align: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 30px;
    font-weight: 700;
}

/* Szűrősáv */
.fixnet-berles-wrapper .fnb-filter {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 18px 20px;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fixnet-berles-wrapper .filter-types {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fixnet-berles-wrapper .filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--light-bg);
    color: var(--dark);
    font: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.fixnet-berles-wrapper .filter-chip:hover {
    border-color: var(--accent);
    background: #f2f8ed;
}

.fixnet-berles-wrapper .filter-chip.is-active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.fixnet-berles-wrapper .chip-count {
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 22px;
    padding: 2px 7px;
    border-radius: 999px;
    background: #e2e8f0;
    color: var(--text-main);
    text-align: center;
}

.fixnet-berles-wrapper .filter-chip.is-active .chip-count {
    background: var(--accent);
    color: #ffffff;
}

.fixnet-berles-wrapper .filter-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 14px 18px;
}

.fixnet-berles-wrapper .filter-types + .filter-bottom {
    border-top: 1px dashed var(--border);
    padding-top: 14px;
}

.fixnet-berles-wrapper .filter-select {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
}

.fixnet-berles-wrapper .filter-select span {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.fixnet-berles-wrapper .filter-select select {
    min-width: 180px;
    height: 40px;
    padding: 0 36px 0 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230a594a' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center;
    -webkit-appearance: none;
    appearance: none;
    color: var(--dark);
    font: inherit;
    font-size: 0.92rem;
    cursor: pointer;
}

.fixnet-berles-wrapper .filter-select select:focus,
.fixnet-berles-wrapper .filter-chip:focus-visible,
.fixnet-berles-wrapper .filter-reset:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.fixnet-berles-wrapper .filter-meta {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 40px;
}

.fixnet-berles-wrapper .filter-count {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.fixnet-berles-wrapper .filter-reset {
    border: none;
    background: none;
    padding: 0;
    color: var(--primary);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.fixnet-berles-wrapper .filter-reset[hidden],
.fixnet-berles-wrapper .machine-card[hidden],
.fixnet-berles-wrapper .machine-grid[hidden],
.fixnet-berles-wrapper .filter-empty[hidden] {
    display: none !important;
}

.fixnet-berles-wrapper .filter-empty {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 50px;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    color: var(--text-muted);
}

.fixnet-berles-wrapper .filter-empty p {
    margin: 0 0 8px;
}

@media (max-width: 600px) {
    .fixnet-berles-wrapper .filter-select,
    .fixnet-berles-wrapper .filter-select select {
        width: 100%;
    }
    .fixnet-berles-wrapper .filter-meta {
        margin-left: 0;
        width: 100%;
        justify-content: space-between;
    }
}

/* Machine Cards Grid */
.fixnet-berles-wrapper .machine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
    align-items: stretch;
}

.fixnet-berles-wrapper .machine-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fixnet-berles-wrapper .machine-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.fixnet-berles-wrapper .machine-header {
    padding: 12px 18px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    height: 90px;
    box-sizing: border-box;
    background-color: #f8fafc;
    flex-shrink: 0;
}

.fixnet-berles-wrapper .machine-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.25;
    margin: 0;
}

.fixnet-berles-wrapper .price-badge {
    background-color: #f2f8ed;
    color: var(--primary);
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    white-space: nowrap;
    border: 1px solid var(--accent);
}

.fixnet-berles-wrapper .price-badge.quote {
    background-color: #f1f5f9;
    color: var(--dark);
    border-color: #cbd5e1;
}

.fixnet-berles-wrapper .machine-img-container {
    width: 100%;
    height: 200px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
    box-sizing: border-box;
}

.fixnet-berles-wrapper .machine-img-container img {
    max-width: 100%;
    max-height: 100%;
    width: auto;   /* a WordPress width/height attribútumai ne torzítsák a képet */
    height: auto;
    object-fit: contain;
}

.fixnet-berles-wrapper .machine-img-container a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.fixnet-berles-wrapper .machine-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.fixnet-berles-wrapper .machine-desc {
    font-size: 0.9rem;
    color: var(--text-main);
    background: var(--light-bg);
    padding: 12px 16px;
    border-radius: 8px;
    height: 105px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    margin-bottom: 20px;
    line-height: 1.35;
    border-left: 3px solid var(--accent);
}

.fixnet-berles-wrapper .specs-list {
    min-height: 180px;
    margin-bottom: 20px;
    font-size: 0.88rem;
}

.fixnet-berles-wrapper .spec-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
    border-bottom: 1px dashed var(--border);
}

.fixnet-berles-wrapper .spec-label {
    color: var(--text-muted);
}

.fixnet-berles-wrapper .spec-value {
    font-weight: 600;
    color: var(--dark);
    text-align: right;
}

/* Használati útmutatók a kártya alján */
.fixnet-berles-wrapper .machine-docs {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fixnet-berles-wrapper .docs-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.fixnet-berles-wrapper .docs-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}

.fixnet-berles-wrapper .doc-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--light-bg);
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.fixnet-berles-wrapper .doc-link:hover {
    border-color: var(--accent);
    background: #f2f8ed;
    color: var(--primary-hover);
}

.fixnet-berles-wrapper .doc-label {
    flex: 1;
}

.fixnet-berles-wrapper .doc-type {
    font-size: 0.72rem;
    font-weight: 700;
    color: #ffffff;
    background: var(--primary);
    padding: 2px 8px;
    border-radius: 4px;
}

.fixnet-berles-wrapper .accessories-title {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.fixnet-berles-wrapper .accessories-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 60px;
    align-content: flex-start;
    margin-top: auto;
}

.fixnet-berles-wrapper .tag {
    background-color: #f1f5f9;
    color: #334155;
    font-size: 0.78rem;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

/* Accessories Section */
.fixnet-berles-wrapper .accessories-section {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-top: 3px solid var(--primary);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    margin-bottom: 50px;
}

/* a korábbi inline stílusok helyett */
.fixnet-berles-wrapper .acc-section-title {
    font-size: 1.5rem;
    color: var(--primary);
}

.fixnet-berles-wrapper .acc-section-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.fixnet-berles-wrapper .acc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.fixnet-berles-wrapper .acc-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background-color: var(--light-bg);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.fixnet-berles-wrapper .acc-name {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.9rem;
}

.fixnet-berles-wrapper .acc-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Download Section */
.fixnet-berles-wrapper .download-box {
    background: linear-gradient(135deg, #0a594a 0%, #073f34 100%);
    border-left: 4px solid var(--accent);
    color: #ffffff;
    padding: 25px 30px;
    border-radius: var(--radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.fixnet-berles-wrapper .download-box h3 {
    font-size: 1.25rem;
    margin-bottom: 6px;
    color: #ffffff;
}

.fixnet-berles-wrapper .download-box p {
    color: #e2e8f0;
    margin: 0;
}

.fixnet-berles-wrapper .btn-outline {
    background-color: var(--accent);
    color: #ffffff;
    border: none;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
}

.fixnet-berles-wrapper .btn-outline:hover {
    background-color: var(--accent-hover);
    color: #ffffff;
}

/* Mobilon a keskeny kártyák ne lógjanak ki */
@media (max-width: 400px) {
    .fixnet-berles-wrapper .machine-grid,
    .fixnet-berles-wrapper .info-grid,
    .fixnet-berles-wrapper .acc-grid {
        grid-template-columns: 1fr;
    }
}
