
/* =========================================================
   WEBEKO ÁRLISTA
   Beilleszthető Divi Code modulba
   ========================================================= */

.webeko-pricing {
    --webeko-blue: #0873be;
    --webeko-blue-dark: #045f9e;
    --webeko-light: #eef7fc;
    --webeko-border: #d9e7ef;
    --webeko-text: #171717;
    --webeko-muted: #696969;

    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: inherit;
    color: var(--webeko-text);
}

.webeko-pricing * {
    box-sizing: border-box;
}

/* ---------- FEJLÉC ---------- */

.webeko-pricing-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 42px;
}

.webeko-pricing-label {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--webeko-blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.webeko-pricing-header h2 {
    margin: 0 0 14px;
    padding: 0;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.1;
    font-weight: 700;
    color: #111;
}

.webeko-pricing-header p {
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    color: var(--webeko-muted);
}

/* ---------- KATEGÓRIA ---------- */

.webeko-price-group {
    margin-bottom: 18px;
    border: 1px solid var(--webeko-border);
    background: #fff;
    overflow: hidden;
    transition: border-color .25s ease, box-shadow .25s ease;
}

.webeko-price-group:hover {
    border-color: #a7d3eb;
    box-shadow: 0 14px 40px rgba(0,0,0,.045);
}

.webeko-price-group[open] {
    border-color: #afd8ed;
}

/* ---------- LENYITHATÓ FEJLÉC ---------- */

.webeko-price-group summary {
    list-style: none;
    cursor: pointer;
    padding: 23px 28px;
    display: flex;
    align-items: center;
    gap: 18px;
    position: relative;
    background: #fff;
    transition: background .25s ease;
}

.webeko-price-group summary::-webkit-details-marker {
    display: none;
}

.webeko-price-group[open] summary {
    background: var(--webeko-light);
}

.webeko-price-number {
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--webeko-blue);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.webeko-price-title {
    flex: 1;
}

.webeko-price-title strong {
    display: block;
    color: #111;
    font-size: 19px;
    line-height: 1.3;
}

.webeko-price-title span {
    display: block;
    margin-top: 4px;
    color: #777;
    font-size: 13px;
    line-height: 1.5;
}

.webeko-price-toggle {
    width: 32px;
    height: 32px;
    border: 1px solid #bcdbea;
    position: relative;
    flex: 0 0 32px;
}

.webeko-price-toggle:before,
.webeko-price-toggle:after {
    content: "";
    position: absolute;
    background: var(--webeko-blue);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: .25s ease;
}

.webeko-price-toggle:before {
    width: 12px;
    height: 2px;
}

.webeko-price-toggle:after {
    width: 2px;
    height: 12px;
}

.webeko-price-group[open] .webeko-price-toggle:after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

/* ---------- TARTALOM ---------- */

.webeko-price-content {
    padding: 8px 28px 28px;
    background: #fff;
}

.webeko-price-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 25px;
    align-items: center;
    padding: 19px 0;
    border-bottom: 1px solid #edf1f3;
}

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

.webeko-service-name {
    font-size: 15px;
    line-height: 1.55;
    color: #222;
}

.webeko-service-name strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #111;
}

.webeko-service-name small {
    display: block;
    margin-top: 4px;
    color: #777;
    font-size: 13px;
    line-height: 1.55;
}

.webeko-price {
    white-space: nowrap;
    text-align: right;
    color: var(--webeko-blue);
    font-size: 17px;
    font-weight: 700;
}

/* ---------- KIEMELT INFÓ ---------- */

.webeko-pricing-note {
    margin-top: 35px;
    padding: 28px 30px;
    border-left: 4px solid var(--webeko-blue);
    background: var(--webeko-light);
}

.webeko-pricing-note strong {
    display: block;
    margin-bottom: 7px;
    font-size: 17px;
    color: #111;
}

.webeko-pricing-note p {
    margin: 0;
    color: #555;
    font-size: 14px;
    line-height: 1.7;
}

/* ---------- CTA ---------- */

.webeko-price-cta {
    margin-top: 45px;
    padding: 42px 30px;
    text-align: center;
    background: #111;
    position: relative;
    overflow: hidden;
}

.webeko-price-cta:before {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    right: -90px;
    top: -130px;
    border: 1px solid rgba(105,194,240,.22);
    transform: rotate(45deg);
}

.webeko-price-cta h3 {
    position: relative;
    margin: 0 0 10px;
    padding: 0;
    color: #fff;
    font-size: clamp(24px, 3vw, 34px);
}

.webeko-price-cta p {
    position: relative;
    max-width: 620px;
    margin: 0 auto 23px;
    color: #c8c8c8;
    font-size: 14px;
    line-height: 1.7;
}

.webeko-price-button {
    position: relative;
    display: inline-block;
    padding: 14px 24px;
    background: var(--webeko-blue);
    border: 1px solid var(--webeko-blue);
    color: #fff !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: .25s ease;
}

.webeko-price-button:hover {
    background: #fff;
    color: #111 !important;
    border-color: #fff;
}

/* ---------- MOBIL ---------- */

@media (max-width: 700px) {

    .webeko-pricing {
        margin: 40px auto;
        padding: 0 15px;
    }

    .webeko-price-group summary {
        padding: 18px;
        gap: 12px;
    }

    .webeko-price-number {
        min-width: 36px;
        width: 36px;
        height: 36px;
    }

    .webeko-price-title strong {
        font-size: 16px;
    }

    .webeko-price-title span {
        display: none;
    }

    .webeko-price-content {
        padding: 5px 18px 20px;
    }

    .webeko-price-row {
        grid-template-columns: 1fr;
        gap: 7px;
        padding: 16px 0;
    }

    .webeko-price {
        text-align: left;
        font-size: 16px;
    }

    .webeko-price-cta {
        padding: 35px 20px;
    }
}
