/*
 * Make the main header use the same wide shell as the service page.
 * This keeps the logo/navigation and right-side actions spread across
 * the available desktop width instead of sitting in a narrow container.
 */
body > header .container,
header > .container,
header .container,
.header > .container,
.header .container {
    width: min(1480px, calc(100% - 80px)) !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.service-page {
    --service-yellow: #ffc400;
    --service-bg: #050505;
    --service-panel: #111111;
    --service-panel-2: #171717;
    --service-line: #343434;
    --service-text: #f5f5f5;
    --service-muted: #bdbdbd;
    background: var(--service-bg);
    color: var(--service-text);
    padding: 34px 0 72px;
}

.service-page * { box-sizing: border-box; }

/*
 * Global .container on the current site is relatively narrow.
 * The service mockup is a wide desktop layout, so this page needs
 * its own container width instead of inheriting the global one.
 */
.service-page > .container {
    width: min(1480px, calc(100% - 80px)) !important;
    max-width: none !important;
    margin-left: auto;
    margin-right: auto;
}

.service-layout {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 0;
    align-items: start;
}

.service-sidebar {
    padding: 0 28px 0 0;
    border-right: 1px solid #2b2b2b;
}

.service-sidebar__title {
    margin: 0 0 20px;
    font-size: 31px;
    line-height: 1;
    text-transform: uppercase;
}

.service-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-nav__item {
    display: block;
    padding: 17px 19px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: linear-gradient(110deg, #171717, #232323);
    color: #f5f5f5;
    text-decoration: none;
    transition: .18s ease;
}

.service-nav__item:hover {
    border-color: #4a4a4a;
    transform: translateX(2px);
}

.service-nav__item.is-active {
    position: relative;
    padding: 14px 20px 16px;
    background: linear-gradient(110deg, #1d1d1d, #313131);
    border-color: #444;
    overflow: hidden;
}

.service-nav__item.is-active:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: var(--service-yellow);
}

.service-nav__name {
    display: block;
    font-size: 18px;
    line-height: 1.25;
}

.service-nav__item.is-active .service-nav__name {
    font-size: 19px;
}

.service-nav__line {
    width: 50px;
    height: 2px;
    background: var(--service-yellow);
    margin: 12px 0 10px;
}

.service-nav__description {
    display: block;
    color: #f3f3f3;
    font-size: 15px;
    line-height: 1.45;
}

.service-main {
    padding-left: 28px;
    min-width: 0;
}

.service-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr);
    gap: 28px;
    align-items: stretch;
    padding-bottom: 30px;
    margin-bottom: 48px;
    border-bottom: 1px solid #535353;
}

.service-hero__content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.service-hero h1 {
    margin: 4px 0 14px;
    font-size: clamp(42px, 3.1vw, 54px);
    line-height: 1.2;
    text-transform: uppercase;
}

.service-hero__lead {
    max-width: 650px;
    margin: 0;
    color: #e6e6e6;
    font-size: 17px;
    line-height: 1.6;
}

.service-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 38px;
    padding-top: 0;
}

.service-benefit {
    min-height: 166px;
    padding: 19px 16px;
    border: 1px solid #333;
    border-radius: 9px;
    background: linear-gradient(145deg, #111, #171717);
}

.service-benefit__title {
    display: block;
    margin-bottom: 13px;
    color: var(--service-yellow);
    font-weight: 800;
    font-size: 16px;
    line-height: 1.15;
    text-transform: uppercase;
}

.service-benefit p {
    margin: 0;
    color: #dddddd;
    font-size: 14px;
    line-height: 1.5;
}

.service-hero__image {
    width: 100%;
    height: 100%;
    min-height: 0;
    align-self: stretch;
    border: 1px solid #5d5d5d;
    border-radius: 17px;
    overflow: hidden;
    background: #0d0d0d;
}

.service-hero__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.service-overview {
    padding-top: 0;
}

.service-overview h2 {
    margin: 0 0 16px;
    font-size: 25px;
    line-height: 1.1;
    text-transform: uppercase;
}

.service-overview__text {
    margin-bottom: 48px;
    max-width: 1120px;
}

.service-overview__text p {
    margin: 0 0 16px;
    color: #dcdcdc;
    font-size: 16px;
    line-height: 1.72;
}

.service-overview__text p:last-child {
    margin-bottom: 0;
}

.service-overview__subtitle {
    position: relative;
    margin: 32px 0 14px;
    padding-left: 15px;
    color: #ffba18;
    font-size: 19px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.service-overview__subtitle:first-child {
    margin-top: 4px;
}

.service-overview__subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.18em;
    width: 3px;
    height: 1em;
    border-radius: 3px;
    background: #ffba18;
}

.service-overview__subtitle + p {
    color: #f3f3f3;
}

.service-order {
    margin-top: 0;
}

.service-order-card {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border: 1px solid #393939;
    border-radius: 18px;
    background: linear-gradient(145deg, #111111, #181818);
}

.service-order-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5,5,5,.96), rgba(5,5,5,.78)),
        url('<?= htmlspecialchars($service['image'], ENT_QUOTES) ?>') center / cover no-repeat;
    opacity: .18;
    pointer-events: none;
}

.service-order-card > * {
    position: relative;
    z-index: 1;
}

.service-order-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.service-order-card__title {
    margin: 0 0 7px;
    color: #fff;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.15;
    text-transform: uppercase;
}

.service-order-card__description {
    margin: 0;
    color: #cfcfcf;
    font-size: 14px;
    line-height: 1.5;
}

.service-order-card__formula {
    flex: 0 0 auto;
    padding: 10px 14px;
    border: 1px solid #393939;
    border-radius: 10px;
    background: rgba(0,0,0,.35);
    color: var(--service-yellow);
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.service-order__game-url {
    margin-bottom: 18px;
}

.service-order__quantity-only {
    width: min(420px, 100%);
    margin-bottom: 22px;
}

.service-order__quantity-only.is-hidden {
    display: none;
}

.service-order__options-label {
    display: block;
    margin: 0 0 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.service-order__options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.service-order-option {
    position: relative;
    display: block;
    cursor: pointer;
}

.service-order-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.service-order-option__box {
    display: flex;
    min-height: 88px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 17px 19px;
    border: 1px solid #3a3a3a;
    border-radius: 12px;
    background: rgba(12,12,12,.82);
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.service-order-option:hover .service-order-option__box {
    border-color: #5a5a5a;
    transform: translateY(-1px);
}

.service-order-option input:checked + .service-order-option__box {
    border-color: var(--service-yellow);
    background: rgba(255,196,0,.08);
}

.service-order-option__name {
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.25;
}

.service-order-option__price {
    flex: 0 0 auto;
    color: var(--service-yellow);
    font-size: 22px;
    font-weight: 800;
    white-space: nowrap;
}

.service-order-price-stack {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    line-height: 1.05;
    white-space: nowrap;
}

.service-order-price-old {
    color: #8c8c8c;
    font-size: 13px;
    font-weight: 600;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
}

.service-order-price-new {
    color: var(--service-yellow);
    font-size: 22px;
    font-weight: 800;
}

.service-order-price-new small {
    color: #bdbdbd;
    font-size: 12px;
    font-weight: 700;
}

.service-order__summary-value .service-order-price-stack {
    align-items: flex-start;
}

.service-order__summary-value.is-total .service-order-price-old {
    font-size: 13px;
}

.service-order__summary-value.is-total .service-order-price-new {
    font-size: 27px;
}

.service-order-base-box {
    margin-bottom: 22px;
    border-color: #484848;
    background: rgba(16,16,16,.9);
}

.service-order-option__price small {
    font-size: 12px;
    font-weight: 700;
    color: #bdbdbd;
}

.service-order__fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, .72fr);
    gap: 18px;
    margin-bottom: 22px;
}

.service-order__field {
    display: block;
}

.service-order__label {
    display: block;
    margin-bottom: 9px;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.service-order__input-wrap {
    display: flex;
    min-height: 52px;
    align-items: center;
    border: 1px solid #414141;
    border-radius: 10px;
    background: #0e0e0e;
    overflow: hidden;
    transition: border-color .18s ease;
}

.service-order__input-wrap:focus-within {
    border-color: var(--service-yellow);
}

.service-order__currency {
    padding-left: 17px;
    color: var(--service-yellow);
    font-size: 18px;
    font-weight: 800;
}

.service-order__input {
    width: 100%;
    min-width: 0;
    height: 50px;
    padding: 0 16px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 17px;
}

.service-order__input::-webkit-outer-spin-button,
.service-order__input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.service-order__input[type=number] {
    -moz-appearance: textfield;
}

.service-order__quantity {
    display: grid;
    grid-template-columns: 52px minmax(70px, 1fr) 52px;
    min-height: 52px;
    border: 1px solid #414141;
    border-radius: 10px;
    background: #0e0e0e;
    overflow: hidden;
}

.service-order__quantity-button {
    border: 0;
    background: #191919;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    transition: background .18s ease, color .18s ease;
}

.service-order__quantity-button:hover {
    background: #242424;
    color: var(--service-yellow);
}

.service-order__quantity .service-order__input {
    height: 50px;
    padding: 0 8px;
    text-align: center;
}

.service-order__summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 86px;
    gap: 12px;
    padding-top: 22px;
    border-top: 1px solid #383838;
}

.service-order__summary-item {
    display: flex;
    min-height: 86px;
    flex-direction: column;
    justify-content: center;
    padding: 14px 17px;
    border: 1px solid #333;
    border-radius: 12px;
    background: rgba(12,12,12,.82);
}

.service-order__summary-label {
    margin-bottom: 6px;
    color: #bdbdbd;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.service-order__summary-value {
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.1;
}

.service-order__summary-value.is-total {
    color: var(--service-yellow);
    font-size: 27px;
}

.service-order__summary-note {
    margin-top: 6px;
    color: #9e9e9e;
    font-size: 12px;
    line-height: 1.35;
}

.service-order__basket.custom_button {
    display: flex !important;
    width: 86px !important;
    min-width: 86px !important;
    height: 100% !important;
    min-height: 86px !important;
    align-self: stretch !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center;
    justify-content: center;
    border: 1px solid #3c3c3c !important;
    border-radius: 12px !important;
    background: #171717 !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease, opacity .18s ease;
}

.service-order__basket.custom_button:hover:not(:disabled) {
    background: #222 !important;
    transform: translateY(-1px);
}

.service-order__basket.custom_button:disabled {
    cursor: not-allowed;
    opacity: .45;
}

.service-order__basket .icon {
    width: 27px;
    height: 27px;
    margin: 0;
    object-fit: contain;
}

.service-order__message {
    min-height: 20px;
    margin-top: 12px;
    color: #bdbdbd;
    font-size: 13px;
}

.service-order__message.is-success {
    color: #8fd694;
}

.service-order__message.is-error {
    color: #ff8d8d;
}

.service-preview-banner{margin:0 0 18px;padding:12px 15px;border:1px solid rgba(255,191,24,.35);border-radius:10px;background:rgba(255,191,24,.08);color:#ffbf18;font-weight:700}
.service-order-unavailable {
    padding: 20px;
    border: 1px solid #393939;
    border-radius: 14px;
    background: #111;
    color: #ccc;
}

@media (max-width: 1180px) {
    body > header .container,
    header > .container,
    header .container,
    .header > .container,
    .header .container,
    .service-page > .container {
        width: min(1080px, calc(100% - 48px)) !important;
    }
    .service-layout { grid-template-columns: 280px minmax(0, 1fr); }
    .service-sidebar { padding-right: 22px; }
    .service-main { padding-left: 22px; }
    .service-hero { grid-template-columns: 1fr; }
    .service-hero__image {
        width: 100%;
        height: auto;
        aspect-ratio: 3 / 2;
        max-height: 430px;
        order: -1;
    }
    .service-benefits { margin-top: 24px; }
}

@media (max-width: 820px) {
    .service-page { padding-top: 18px; }
    body > header .container,
    header > .container,
    header .container,
    .header > .container,
    .header .container,
    .service-page > .container {
        width: calc(100% - 32px) !important;
    }
    .service-layout { display: block; }
    .service-sidebar {
        padding: 0 0 22px;
        border-right: 0;
        border-bottom: 1px solid #2b2b2b;
    }
    .service-sidebar__title { font-size: 25px; }
    .service-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .service-main { padding: 26px 0 0; }
    .service-benefits { grid-template-columns: 1fr; }
    .service-benefit { min-height: 0; }
    .service-order__fields,
    .service-order__options,
    .service-order__summary { grid-template-columns: 1fr; }
    .service-order__basket.custom_button { width: 100% !important; min-width: 0 !important; }
}

@media (max-width: 560px) {
    .service-nav { grid-template-columns: 1fr; }
    .service-hero h1 { font-size: 38px; }
    .service-hero__image { min-height: 220px; }
    .service-order-card { padding: 18px; }
    .service-order-card__header { display: block; }
    .service-order-card__formula {
        display: inline-block;
        margin-top: 13px;
        white-space: normal;
    }
    .service-order__fields { grid-template-columns: 1fr; }
}
    .service-order-discount{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:15px;padding:13px 15px;border:1px solid rgba(255,191,24,.28);border-radius:11px;background:rgba(255,191,24,.07)}.service-order-discount strong{color:#ffbf18;font-size:18px}.service-order-discount span{display:block;opacity:.72;font-size:13px;line-height:1.45}


/* SEO navigation and contextual internal links ---------------------------- */
.service-breadcrumb{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 18px;color:#8f8f8f;font-size:12px;line-height:1.4}.service-breadcrumb a{color:#bdbdbd;text-decoration:none}.service-breadcrumb a:hover{color:var(--service-yellow)}.service-breadcrumb span[aria-current="page"]{color:#eee}
.service-discover__head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:18px}.service-discover__head h2{margin:0 0 8px;font-size:25px;line-height:1.1;text-transform:uppercase}.service-discover__head p{margin:0;color:#aaa;font-size:14px;line-height:1.55}.service-discover__actions{display:flex;gap:14px;flex-wrap:wrap}.service-discover__actions a{color:#fff;text-decoration:none;border-bottom:1px solid #666;font-size:12px;font-weight:800}.service-discover__actions a:hover{color:var(--service-yellow);border-color:var(--service-yellow)}
@media(max-width:820px){.service-discover__head{align-items:flex-start;flex-direction:column}}

/* Stage 4: contextual guide links */
.service-guides{margin-top:28px;padding-top:28px;border-top:1px solid rgba(255,255,255,.1)}
.service-guides__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.service-guide-card{display:flex;flex-direction:column;min-height:190px;padding:21px;border:1px solid rgba(255,255,255,.09);border-radius:14px;background:rgba(255,255,255,.035);color:#fff;text-decoration:none;transition:border-color .2s ease,transform .2s ease}
.service-guide-card:hover{border-color:rgba(255,191,24,.35);transform:translateY(-2px);color:#fff}
.service-guide-card>span{margin-bottom:9px;color:#ffbf18;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.service-guide-card strong{font-size:20px;line-height:1.25}
.service-guide-card p{margin:10px 0 16px;line-height:1.55;opacity:.72}
.service-guide-card em{margin-top:auto;color:#ffbf18;font-style:normal;font-weight:800}
@media(max-width:720px){.service-guides__grid{grid-template-columns:1fr}}
