.gw-pachete {
    --gw-brand: #0087cb;
    --gw-brand-dark: #036a9f;
    --gw-ink: #1d2430;
    --gw-muted: #6b7684;
    --gw-line: #e4e9ef;
    --gw-bg: #f4f7fa;
    font-size: 15px;
    line-height: 1.6;
    text-align: left;
    color: var(--gw-ink);
    margin-top: 40px;
}

.gw-pachete, .gw-pachete *, .gw-pachete *::before, .gw-pachete *::after { box-sizing: border-box; }

.gw-pachete p { margin: 0; }
.gw-pachete ul { margin: 0; padding: 0 0 0 18px; }
.gw-pachete li { margin: 0 0 4px; }
.gw-pachete img { max-width: 100%; height: auto; }
.gw-pachete [hidden] { display: none; }

.gw-pachete-titlu {
    margin: 0 0 10px;
    font-size: 28px;
    line-height: 1.25;
    font-weight: 700;
    color: inherit;
}

.gw-pachete-intro {
    max-width: 760px;
    color: var(--gw-muted);
}

.gw-pachete-grup {
    margin: 34px 0 16px;
    font-size: 19px;
    line-height: 1.35;
    font-weight: 600;
    color: var(--gw-brand-dark);
}

.gw-pachete-grila {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Caseta */

.gw-pachet {
    display: flex;
    flex-direction: column;
    padding: 18px;
    border: 1px solid var(--gw-line);
    border-radius: 14px;
    background: #fff;
}

.gw-pachet-titlu {
    margin: 0 0 4px;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 600;
    color: inherit;
}

.gw-pachet-model {
    font-size: 13px;
    font-weight: 400;
    white-space: nowrap;
    color: var(--gw-muted);
}

.gw-pachet-model::before {
    content: "\00b7";
    margin-right: 5px;
}

.gw-pachet-imagine {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    margin: 10px 0 12px;
}

/* Componentele suplimentare: aceeasi inaltime de imagine ca la sisteme (768x186). */
.gw-pachet-componenta .gw-pachet-imagine img {
    width: 100%;
    aspect-ratio: 768 / 186;
    object-fit: contain;
}

.gw-pachet-pret {
    font-size: 15px;
    font-weight: 600;
    color: var(--gw-brand-dark);
}

.gw-pachete .gw-pachet-toggle {
    width: 100%;
    margin: 12px 0 0;
    padding: 9px 12px;
    border: 0;
    border-radius: 6px;
    background: var(--gw-brand);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
    text-transform: none;
    letter-spacing: normal;
    color: #fff;
    cursor: pointer;
    transition: background-color .15s ease;
}

.gw-pachet-toggle::before {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    margin-right: 7px;
    vertical-align: 2px;
    border-left: 5px solid currentColor;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    transition: transform .15s ease;
}

.gw-pachet-toggle[aria-expanded="true"]::before { transform: rotate(90deg); }

.gw-pachete .gw-pachet-toggle:hover,
.gw-pachete .gw-pachet-toggle:focus-visible {
    background: var(--gw-brand-dark);
    color: #fff;
}

.gw-pachet-detalii {
    margin-top: 10px;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--gw-muted);
}

.gw-pachet-detalii ul ul { margin-top: 4px; }
.gw-pachete .gw-pachet-detalii p { margin-top: 8px; }

/* Tabelul de punctaj */

.gw-pachete-tabel {
    width: 100%;
    margin: 14px 0 0;
    border: 1px solid var(--gw-line);
    border-radius: 10px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    font-size: 11.5px;
    line-height: 1.35;
    table-layout: fixed;
}

.gw-pachete-tabel .gw-pachete-antet th {
    padding: 7px 8px;
    border-top: 0;
    background: var(--gw-brand);
    color: #fff;
    font-size: 11.5px;
    font-weight: 600;
    text-align: center;
}

.gw-pachete-tabel th,
.gw-pachete-tabel td {
    padding: 6px 6px;
    border-top: 1px solid var(--gw-line);
    text-align: center;
    vertical-align: middle;
    word-break: normal;
    hyphens: none;
    color: inherit;
}

.gw-pachete-tabel thead th {
    border-top: 1px solid var(--gw-line);
    background: var(--gw-bg);
    font-size: 10.5px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
}

.gw-pachete-tabel thead td { border-top: 0; background: var(--gw-bg); }

.gw-pachete-tabel tbody th {
    width: 33%;
    background: var(--gw-bg);
    font-size: 11px;
    font-weight: 600;
    text-align: left;
}

.gw-pachete-tabel .gw-pachete-total th,
.gw-pachete-tabel .gw-pachete-total td {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--gw-brand-dark);
}

.gw-pachete-col-personalizat { background: #fbfdff; }

.gw-pachete-input {
    width: 100%;
    -moz-appearance: textfield;
    padding: 4px 5px;
    border: 1px solid var(--gw-line);
    border-radius: 6px;
    background: #fff;
    font-family: inherit;
    font-size: 11.5px;
    line-height: 1.3;
    text-align: center;
    color: inherit;
}

.gw-pachete-input::-webkit-outer-spin-button,
.gw-pachete-input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.gw-pachete-input:focus {
    outline: 0;
    border-color: var(--gw-brand);
    box-shadow: 0 0 0 2px rgba(0, 135, 203, .15);
}

.gw-pachete .gw-pachete-nota {
    margin-top: 8px;
    font-size: 11.5px;
    line-height: 1.45;
    color: var(--gw-muted);
}

.gw-pachete .gw-pachete-disclaimer {
    margin-top: 28px;
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--gw-muted);
}

@media (max-width: 1024px) {
    .gw-pachete-grila { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .gw-pachete-grila { grid-template-columns: 1fr; }
    .gw-pachete-titlu { font-size: 24px; }
    .gw-pachete-tabel { font-size: 12.5px; }
    .gw-pachete-tabel thead th { font-size: 11.5px; }
    .gw-pachete-tabel tbody th { font-size: 12px; }
}

@media (max-width: 430px) {
    .gw-pachet { padding: 14px; }
    .gw-pachete-tabel { font-size: 11px; }
    .gw-pachete-tabel thead th { font-size: 10px; }
    .gw-pachete-tabel tbody th { width: 29%; font-size: 10.5px; }
    .gw-pachete-tabel th,
    .gw-pachete-tabel td { padding: 6px 4px; }
    .gw-pachete-input { padding: 4px 2px; font-size: 11px; }
}
