/* ONEMC.LT – paslaugos.php stiliai */

* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {

    margin: 0;

    background: #0a0d14;

    color: #e5e7eb;

    font-family: 'Inter', sans-serif;

    overflow-x: hidden;
}

.neon-line {

    height: 2px;

    width: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            #3b82f6,
            transparent
        );

    box-shadow:
        0 0 14px
        rgba(59,130,246,.7);
}

.content-width {

    max-width: 1280px;

    margin: 0 auto;

    width: 100%;

    padding-left: 48px;

    padding-right: 48px;
}

.page-header {

    padding-top: 64px;

    padding-bottom: 42px;

    border-bottom:
        1px solid
        rgba(31,41,55,.8);
}

.section-title {

    display: flex;

    align-items: center;

    gap: 11px;

    margin-bottom: 10px;
}

.section-title::before {

    content: '';

    display: block;

    width: 3px;

    height: 22px;

    background: #3b82f6;

    box-shadow:
        0 0 10px
        rgba(59,130,246,.65);
}

.section-title h1 {

    margin: 0;

    color: #ffffff;

    font-size: 28px;

    line-height: 1.3;

    font-weight: 800;
}

.page-description {

    margin-left: 14px;

    max-width: 650px;

    color: #6b7280;

    font-size: 13px;

    line-height: 1.8;
}

.services-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fill, minmax(260px, 1fr));

    gap: 22px;
}

.service-card {

    position: relative;

    display: flex;

    flex-direction: column;

    min-width: 0;

    padding: 28px;

    background: #11151e;

    border:
        1px solid
        rgba(31,41,55,.9);

    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease;
}

.service-card:hover {

    transform: translateY(-4px);

    background: #141a25;

    border-color:
        rgba(59,130,246,.65);
}

.service-card.featured {

    border-color:
        rgba(59,130,246,.8);

    box-shadow:
        0 0 0 1px
        rgba(59,130,246,.12);
}

.service-badge {

    position: absolute;

    top: -12px;

    right: 22px;

    padding: 5px 11px;

    background: #2563eb;

    color: #ffffff;

    border-radius: 5px;

    font-size: 10px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: .06em;
}

.service-icon {

    width: 48px;

    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 22px;

    border-radius: 10px;

    background:
        rgba(59,130,246,.12);

    border:
        1px solid
        rgba(59,130,246,.25);

    color: #60a5fa;

    font-size: 20px;
}

.service-name {

    color: #ffffff;

    font-size: 22px;

    font-weight: 800;
}

.service-description {

    min-height: 48px;

    margin-top: 8px;

    color: #6b7280;

    font-size: 12px;

    line-height: 1.7;
}

.service-price {

    margin-top: 25px;

    padding-top: 22px;

    border-top:
        1px solid
        rgba(31,41,55,.85);
}

.service-price-value {

    color: #ffffff;

    font-size: 32px;

    line-height: 1;

    font-weight: 800;
}

.service-price-period {

    margin-left: 5px;

    color: #6b7280;

    font-size: 12px;
}

.service-features {

    display: flex;

    flex-direction: column;

    gap: 13px;

    margin-top: 26px;

    flex: 1;
}

.service-feature {

    display: flex;

    align-items: flex-start;

    gap: 10px;

    color: #9ca3af;

    font-size: 12px;

    line-height: 1.5;
}

.service-feature i {

    margin-top: 2px;

    color: #3b82f6;

    font-size: 11px;
}

.service-button {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    width: 100%;

    margin-top: 30px;

    padding: 13px 18px;

    background: #1d4ed8;

    color: #ffffff;

    border: 1px solid
        rgba(96,165,250,.25);

    border-radius: 6px;

    font-size: 12px;

    font-weight: 700;

    text-decoration: none;

    transition:
        background .2s ease,
        transform .2s ease;
}

.service-button:hover {

    background: #2563eb;

    transform: translateY(-1px);
}

.service-button.secondary {

    background: transparent;

    border-color:
        rgba(75,85,99,.8);

    color: #d1d5db;
}

.service-button.secondary:hover {

    background: #1f2937;

    border-color: #4b5563;
}

.info-section {

    margin-top: 60px;

    padding-top: 32px;

    border-top:
        1px solid
        rgba(31,41,55,.8);
}

.info-grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 30px;
}

.info-item {

    display: flex;

    align-items: flex-start;

    gap: 14px;
}

.info-item-icon {

    color: #60a5fa;

    font-size: 18px;

    margin-top: 2px;
}

.info-item-title {

    color: #e5e7eb;

    font-size: 13px;

    font-weight: 700;
}

.info-item-description {

    margin-top: 5px;

    color: #6b7280;

    font-size: 11px;

    line-height: 1.7;
}

@media (max-width: 1024px) {

    .content-width {

        padding-left: 32px;

        padding-right: 32px;
    }

    .services-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .info-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {

    .content-width {

        padding-left: 20px;

        padding-right: 20px;
    }

    .page-header {

        padding-top: 42px;

        padding-bottom: 32px;
    }

    .section-title h1 {

        font-size: 24px;
    }

    .services-grid {

        grid-template-columns: 1fr;
    }

    .info-grid {

        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {

    .content-width {

        padding-left: 16px;

        padding-right: 16px;
    }

    .service-card {

        padding: 23px;
    }
}


/* =====================================================================
   PARDUOTUVĖ: kategorijos, kortelės, langas
   ===================================================================== */

.shop-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.shop-account {
    display: flex;
    align-items: center;
    gap: 12px;
}

.shop-balance {
    display: flex;
    flex-direction: column;
    padding: 9px 16px;
    background: #11151e;
    border: 1px solid rgba(31, 41, 55, .9);
    border-radius: 10px;
}

.shop-balance-label {
    color: #6b7280;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.shop-balance-value {
    color: #ffffff;
    font-size: 17px;
    font-weight: 800;
}

.shop-topup {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: rgba(59, 130, 246, .12);
    border: 1px solid rgba(59, 130, 246, .35);
    border-radius: 10px;
    color: #60a5fa;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s, color .2s;
}

.shop-topup:hover {
    background: rgba(59, 130, 246, .22);
    color: #93c5fd;
}

.shop-flash {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid;
    font-size: 13px;
    font-weight: 600;
}

.shop-flash.ok {
    background: rgba(34, 197, 94, .1);
    border-color: rgba(34, 197, 94, .35);
    color: #4ade80;
}

.shop-flash.error {
    background: rgba(239, 68, 68, .1);
    border-color: rgba(239, 68, 68, .35);
    color: #f87171;
}

.shop-empty {
    padding: 70px 20px;
    text-align: center;
    color: #6b7280;
    border: 1px dashed rgba(31, 41, 55, .9);
    border-radius: 14px;
}

.shop-empty i {
    margin-bottom: 14px;
    font-size: 30px;
    color: #374151;
}

/* Kategorijų juosta */

.shop-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}

.shop-tab {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 16px;
    background: #11151e;
    border: 1px solid rgba(31, 41, 55, .9);
    border-radius: 999px;
    color: #9ca3af;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: border-color .2s, color .2s, background .2s;
}

.shop-tab span {
    padding: 1px 7px;
    background: rgba(55, 65, 81, .5);
    border-radius: 999px;
    color: #6b7280;
    font-size: 10px;
}

.shop-tab:hover {
    color: #ffffff;
    border-color: rgba(75, 85, 99, .9);
}

.shop-tab.active {
    background: rgba(59, 130, 246, .14);
    border-color: rgba(59, 130, 246, .6);
    color: #93c5fd;
}

.shop-tab.active span {
    background: rgba(59, 130, 246, .25);
    color: #bfdbfe;
}

.shop-category { margin-bottom: 48px; }
.shop-category[hidden] { display: none; }

.shop-category-title {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 22px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
}

.shop-category-title::before {
    content: '';
    width: 3px;
    height: 18px;
    background: #3b82f6;
    box-shadow: 0 0 10px rgba(59, 130, 246, .65);
}

/* Kortelė */

.service-card { padding: 24px; }

.service-icon img {
    max-width: 30px;
    max-height: 30px;
    object-fit: contain;
    image-rendering: pixelated;
}

.service-name { font-size: 18px; }

.service-description {
    min-height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 14px;
    flex: 1;
    color: #6b7280;
    font-size: 11px;
}

.service-meta i { margin-right: 5px; color: #3b82f6; }

.service-price { margin-top: 18px; padding-top: 16px; display: flex; align-items: baseline; gap: 10px; }
.service-price-value { font-size: 26px; }

.service-price-old {
    color: #6b7280;
    font-size: 13px;
    text-decoration: line-through;
}

.service-card .service-button { margin-top: 18px; cursor: pointer; font-family: inherit; font-size: 12px; font-weight: 700; }

/* Langas */

body.shop-modal-open { overflow: hidden; }

.shop-modal[hidden] { display: none; }

.shop-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.shop-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 5, 9, .78);
    backdrop-filter: blur(3px);
}

.shop-modal-box {
    position: relative;
    width: 100%;
    max-width: 540px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 30px;
    background: #11151e;
    border: 1px solid rgba(59, 130, 246, .35);
    border-radius: 14px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .65), 0 0 0 1px rgba(59, 130, 246, .08);
}

.shop-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    background: transparent;
    border: 1px solid rgba(55, 65, 81, .8);
    border-radius: 8px;
    color: #9ca3af;
    cursor: pointer;
}

.shop-modal-close:hover { color: #ffffff; background: #1f2937; }

.shop-modal-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; padding-right: 40px; }
.shop-modal-head .service-icon { margin-bottom: 0; flex: none; }

.shop-modal-category {
    margin: 0 0 4px;
    color: #60a5fa;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.shop-modal-name { margin: 0; color: #ffffff; font-size: 22px; font-weight: 800; }

.shop-modal-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }

.shop-modal-tags span {
    padding: 5px 11px;
    background: rgba(59, 130, 246, .08);
    border: 1px solid rgba(59, 130, 246, .2);
    border-radius: 999px;
    color: #93c5fd;
    font-size: 11px;
    font-weight: 600;
}

.shop-modal-tags span[hidden] { display: none; }

.shop-modal-desc {
    margin-bottom: 22px;
    padding: 16px;
    background: #0a0d14;
    border: 1px solid rgba(31, 41, 55, .8);
    border-radius: 10px;
    color: #9ca3af;
    font-size: 13px;
    line-height: 1.8;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.shop-modal-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 14px;
}

.shop-modal-price #modal-price { color: #ffffff; font-size: 30px; font-weight: 800; }

.shop-modal-note { margin: 0 0 12px; color: #f87171; font-size: 12px; font-weight: 600; }
.shop-modal-note[hidden], #modal-old-price[hidden], #modal-form[hidden], #modal-topup[hidden] { display: none; }

.shop-modal-foot .service-button { margin-top: 0; cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 700; text-decoration: none; }
.shop-modal-foot .service-button:disabled { opacity: .6; cursor: wait; }

/* Mobilus */

@media (max-width: 1023px) {
    .shop-header { align-items: flex-start; }
}

@media (max-width: 640px) {
    .shop-account { width: 100%; justify-content: space-between; }
    .shop-modal-box { padding: 22px; }
}
