:root {
    --primary-color: #0066cc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", system-ui, sans-serif;
    background: linear-gradient(135deg, #f5f7fa, #e8f0f8);
    color: #1a1a1a;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: linear-gradient(135deg, #0066cc, #003d7a);
    color: white;
    padding: 1.5rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h1 {
    font-size: 2rem;
}

.back-btn {
    color: white;
    text-decoration: none;
    border: 2px solid white;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-weight: 600;
}

.product-header {
    border-bottom: 4px solid var(--primary-color);
    padding: 3rem 0 1rem;
}

.product-header h2 {
    font-size: 2.4rem;
    color: var(--primary-color);
}

.product-main {
    align-items: start;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 4rem 0;
}

.main-image-container {
    border: 4px solid var(--primary-color);
    border-radius: 10px;
    overflow: hidden;
    height: auto;
}

.main-image {
    width: 100%;
    height: 380px;
    object-fit: cover;
    cursor: pointer;
}

.price {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1rem 0;
}

.description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.specs-section {
    padding: 4rem 0;
    background: #ffffff;
}

.specs-section h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid #e0e0e0;
}

.specs-table td {
    padding: 0.8rem;
}

.specs-table td:first-child {
    font-weight: 600;
    color: var(--primary-color);
    width: 40%;
}

footer {
    background: #001f3f;
    color: white;
    padding: 2rem 0;
    text-align: center;
    margin-top: 3rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal.active {
    display: flex;
}

.modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    background: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .product-main {
        grid-template-columns: 1fr;
    }

    .main-image {
        height: 300px;
    }
}

.form-section {
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #f1f6fb, #e6eef7);
    border-top: 4px solid #0066cc;
}

.form-section h3 {
    color: #0066cc;
    margin-bottom: 1.5rem;
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 600;
}

.radio-option input {
    width: 18px;
    height: 18px;
}

.info-text {
    background: #e3f2fd;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid #0066cc;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.form-group input {
    width: 100%;
    padding: 0.7rem;
    border-radius: 6px;
    border: 2px solid #ddd;
}

.form-group input:focus {
    outline: none;
    border-color: #0066cc;
}

.billing-section {
    display: none;
    margin-top: 2rem;
    padding: 1.5rem;
    background: #fff;
    border: 2px solid #0066cc;
    border-radius: 8px;
}

.billing-section.active {
    display: block;
}

.btn {
    margin-top: 1.5rem;
    padding: 0.9rem 2.5rem;
    background: #0066cc;
    color: #fff;
    border-radius: 25px;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

.btn:hover {
    background: #0052a3;
}

/* MOBIL */
@media (max-width: 600px) {
    .radio-group {
        flex-direction: column;
        gap: 1rem;
    }
}

textarea {
    resize: vertical;
    min-height: 110px;
}

.hint {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.85rem;
    color: #666;
}

.billing-section {
    display: none;
}

.billing-section.active {
    display: block;
}

.form-group textarea {
    width: 100%;
    padding: 0.7rem;
    border-radius: 6px;
    border: 2px solid #ddd;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-status {
    margin-top: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    display: none;
}

.form-status.success {
    display: block;
    background: #e6f4ea;
    color: #1e7e34;
    border-left: 4px solid #28a745;
}

.form-status.error {
    display: block;
    background: #fdecea;
    color: #b02a37;
    border-left: 4px solid #dc3545;
}

.form-status.loading {
    display: block;
    background: #e3f2fd;
    color: #0b5ed7;
    border-left: 4px solid #0066cc;
}

.privacy-note {
    font-size: 0.85rem;
    color: #555;
    margin-top: 0.8rem;
    line-height: 1.4;
}

/* ===== Erősebb ár megjelenítés ===== */

.price-section {
    margin-top: 2rem;
}

.price-section h3 {
    font-size: 1.6rem;
    margin-bottom: 1.8rem;
    color: var(--primary-color);
}

.price-card {
    position: relative;
    background: #ffffff;
    padding: 35px 25px 25px 25px;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border: 2px solid #e6eef7;
}

.sale-badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background: #e30613;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.price-card td {
    padding: 16px 0;
    font-size: 1.05rem;
}

.price-value {
    text-align: right;
    font-weight: 800;
    font-size: 1.4rem;
    color: #0b5ed7;
}

.price-value .vat {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: #666;
    margin-top: 2px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #eee;
}

.price-row:last-child {
    border-bottom: none;
}

.kw {
    font-size: 1.1rem;
    font-weight: 600;
}

.price-block {
    text-align: right;
}

.amount {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0b5ed7;
    line-height: 1.1;
}

.vat {
    font-size: 0.75rem;
    color: #666;
    margin-top: 4px;
}

.price-row {
    cursor: pointer;
    transition: 0.2s ease;
}

.price-row:hover {
    background: #f1f6fb;
}

.price-row.active {
    background: #e3f2fd;
    border-radius: 8px;
}

/* ===== Select egységesítése ===== */

.form-group select {
    width: 100%;
    padding: 0.7rem;
    border-radius: 6px;
    border: 2px solid #ddd;
    font-family: inherit;
    font-size: 1rem;
    background-color: #fff;

    /* natív stílus eltávolítása */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    /* saját nyíl ikon */
    background-image: url("data:image/svg+xml;utf8,<svg fill='%230066cc' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;

    cursor: pointer;
}

.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

#contact-placeholder {
    scroll-margin-top: 0;
}






