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

body.page-light {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #ffffff;
    color: #111827;
}

a {
    text-decoration: none;
    color: inherit;
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background: #111111;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 14px;
    height: 58px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    color: #ffffff;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 100%;
}

.menu-toggle {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(0, 0, 0, 0.35);
    color: #ffffff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: -8px;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 100%;
}

.logo-link {
    display: flex;
    align-items: center;
    height: 100%;
    color: inherit;
}

.logo-text {
    width: 160px;
    height: 22px;
    display: block;
    align-self: center;
    background: url('assets/logo-inzinero-white-cropped.png?v=9') center center / contain no-repeat;
    font-size: 0;
    line-height: 0;
    color: transparent;
    user-select: none;
}

.nav {
    display: flex;
    flex: 1;
    min-width: 0;
    font-size: 13px;
    letter-spacing: 0.08em;
}

.nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background-color: transparent;
    transition: background-color 0.2s ease, color 0.2s ease;
    text-align: center;
    white-space: nowrap;
}

.nav a:first-child {
    margin-left: 0;
}

.nav a:hover {
    background-color: rgba(59, 130, 246, 0.35);
    color: #e0f2fe;
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 220px;
    min-width: 220px;
    flex-shrink: 0;
    font-size: 14px;
}

.search-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    width: 100%;
}

.search-input {
    width: 0;
    padding: 0;
    margin: 0;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 14px;
    outline: none;
    border-radius: 999px;
    transition: width 0.25s ease, padding 0.25s ease;
    overflow: hidden;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-wrap.is-open .search-input {
    width: 180px;
    padding: 6px 12px 6px 14px;
    border: 1px solid rgba(255, 255, 255, 0.35);
}


.search-icon {
    width: 26px;
    height: 26px;
    min-width: 26px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    color: #fff;
}

.search-icon:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Šoninis meniu (tas pats kaip pagrindiniame puslapyje) */
.side-menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 25;
}

.side-menu-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
}

.side-menu {
    position: fixed;
    inset: 0 auto 0 0;
    width: 280px;
    max-width: 80vw;
    background: #111827;
    color: #f9fafb;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    z-index: 30;
    display: flex;
    flex-direction: column;
}

.side-menu.is-open {
    transform: translateX(0);
}

.side-menu-header {
    padding: 18px 20px;
    border-bottom: 1px solid #1f2937;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
}

.side-menu-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 18px;
    cursor: pointer;
}

.side-menu-list {
    list-style: none;
    padding: 10px 0 18px;
}

.side-menu-item {
    width: 100%;
    padding: 10px 20px;
    background: none;
    border: none;
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    cursor: pointer;
}

.side-menu-item:hover {
    background: #020617;
}

.side-menu-arrow {
    color: #9ca3af;
}

.content {
    flex: 1;
    padding: 40px 0 60px;
}

.content-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
    background: #ffffff;
    box-shadow: none;
    border-radius: 0;
    min-height: calc(100vh - 120px);
}

/* Produkto aprašymo puslapio maketas (dviejų stulpelių) */
.product-detail-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.product-detail-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ea580c;
    margin-bottom: 12px;
    line-height: 1.35;
}

.product-detail-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.product-detail-nav-links {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
}

.product-detail-nav-links a {
    color: #2563eb;
}

.product-detail-nav-links a:hover {
    text-decoration: underline;
}

.product-detail-nav-counter {
    color: #6b7280;
    font-size: 14px;
}

.product-detail-nav-back {
    font-size: 14px;
    color: #2563eb;
}

.product-detail-nav-back:hover {
    text-decoration: underline;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 32px;
}

.product-detail-gallery {
    position: sticky;
    top: 90px;
}

.product-detail-main-image-wrap {
    width: 100%;
    aspect-ratio: 1;
    max-height: 380px;
    background: #fafafa;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 12px;
}

.product-detail-main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-detail-thumbs {
    display: flex;
    gap: 8px;
}

.product-detail-thumb {
    width: 56px;
    height: 56px;
    border-radius: 4px;
    border: 2px solid #e5e7eb;
    background: #f9fafb;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
}

.product-detail-thumb.active {
    border-color: #ea580c;
}

.product-detail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-detail-info {
    background: #fff;
}

.product-detail-brand {
    display: inline-block;
    background: #1e3a5f;
    color: #fff;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.product-detail-meta {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 8px;
}

.product-detail-price {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
}

.product-detail-contact {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 20px;
}

.btn-inquiry {
    display: inline-block;
    background: #ea580c;
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease;
}

.btn-inquiry:hover {
    background: #c2410c;
}

/* Skirtukai produkto aprašymo puslapyje */
.product-detail-tabs {
    margin-top: 32px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.product-detail-tab-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    background: #e5e7eb;
    padding: 0;
    border-bottom: 1px solid #e5e7eb;
}

.product-detail-tab-btn {
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    background: #e5e7eb;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.product-detail-tab-btn:hover {
    background: #d1d5db;
    color: #374151;
}

.product-detail-tab-btn.active {
    background: #fff;
    color: #111827;
    border-bottom: 1px solid #fff;
    margin-bottom: -1px;
    border-radius: 8px 8px 0 0;
}

.product-detail-tab-count {
    color: inherit;
    opacity: 0.9;
}

.product-detail-tab-panels {
    padding: 24px;
}

.product-detail-tab-panel {
    display: none;
    font-size: 15px;
    line-height: 1.7;
    color: #374151;
}

.product-detail-tab-panel.active {
    display: block;
}

.product-detail-tab-panel p,
.product-detail-tab-panel ul {
    margin-bottom: 14px;
}

.product-detail-tab-panel ul {
    padding-left: 24px;
}

.product-detail-tab-panel h3 {
    font-size: 16px;
    margin: 20px 0 10px;
    color: #111827;
}

.product-detail-spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.product-detail-spec-table th,
.product-detail-spec-table td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.product-detail-spec-table th {
    font-weight: 600;
    color: #374151;
    width: 45%;
}

.product-detail-tab-panel.comments-empty {
    color: #6b7280;
    font-style: italic;
}

/* Komentarų forma ir sąrašas */
.product-comments-wrap {
    margin-top: 0;
}

.product-comment-form {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e5e7eb;
}

.product-comment-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
}

.product-comment-form input[type="text"],
.product-comment-form textarea {
    width: 100%;
    max-width: 400px;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    margin-bottom: 14px;
    font-family: inherit;
}

.product-comment-form textarea {
    min-height: 100px;
    resize: vertical;
}

.product-comment-form .btn-submit-comment {
    background: #ea580c;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
}

.product-comment-form .btn-submit-comment:hover {
    background: #c2410c;
}

.product-comment-form .comment-error {
    color: #dc2626;
    font-size: 14px;
    margin-top: 8px;
}

.product-comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-comment-item {
    padding: 14px 0;
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
}

.product-comment-item:last-child {
    border-bottom: none;
}

.product-comment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 6px;
}

.product-comment-author {
    font-weight: 600;
    color: #111827;
}

.product-comment-date {
    color: #6b7280;
    font-size: 13px;
}

.product-comment-text {
    color: #374151;
    line-height: 1.5;
    white-space: pre-wrap;
}

.product-comment-delete {
    background: none;
    border: none;
    color: #dc2626;
    font-size: 13px;
    cursor: pointer;
    padding: 2px 0;
}

.product-comment-delete:hover {
    text-decoration: underline;
}

.product-comment-list-empty {
    color: #6b7280;
    font-style: italic;
    margin-bottom: 20px;
}

.product-detail-description {
    margin-top: 0;
}

.product-detail-description .content-inner h1,
.product-detail-description h2 {
    display: none;
}

.product-detail-description p,
.product-detail-description ul {
    font-size: 15px;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 14px;
}

.product-detail-description ul {
    padding-left: 24px;
}

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

    .product-detail-gallery {
        position: static;
    }

    .product-detail-main-image-wrap {
        max-height: 320px;
    }
}

.product-detail-image {
    width: 100%;
    max-width: 400px;
    height: 220px;
    object-fit: contain;
    margin-bottom: 24px;
    border-radius: 8px;
    display: block;
}

.content-inner h1 {
    font-size: 28px;
    margin-bottom: 16px;
    padding-top: 32px;
}

.content-inner p {
    font-size: 15px;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 14px;
}

/* Produktų kortelės */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 28px;
    padding-bottom: 20px;
}

.product-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    padding: 14px 14px 16px;
    display: flex;
    flex-direction: column;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
}

.product-image {
    width: 100%;
    height: 160px;
    border-radius: 4px;
    margin-bottom: 12px;
    display: block;
    margin-inline: auto;
    object-fit: contain;
}

.product-name {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.product-meta {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 10px;
}

.product-price {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin-top: auto;
}

.product-link {
    font-size: 13px;
    color: #2563eb;
    margin-top: 6px;
}

.product-link:hover {
    text-decoration: underline;
}

/* Mūsų paslaugos – sekcijos su nuotrauka kairėje, tekstas dešinėje */
.paslaugos-intro {
    margin-bottom: 40px;
}

.paslaugos-intro p {
    font-size: 15px;
    line-height: 1.7;
    color: #374151;
}

.paslaugos-section {
    display: grid;
    grid-template-columns: 58% 1fr;
    gap: 0;
    align-items: stretch;
    margin-bottom: 48px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.paslaugos-section:nth-child(even) {
    grid-template-columns: 1fr 58%;
}

.paslaugos-section:nth-child(even) .paslaugos-section-image {
    order: 2;
}

.paslaugos-section:nth-child(even) .paslaugos-section-content {
    order: 1;
}

.paslaugos-section-image {
    position: relative;
    height: 360px;
    min-height: 360px;
}

.paslaugos-section-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.paslaugos-section-content {
    padding: 32px 36px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.paslaugos-section-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 14px;
    line-height: 1.3;
}

.paslaugos-section-content p {
    font-size: 15px;
    line-height: 1.7;
    color: #374151;
    margin: 0;
}

.paslaugos-section-text-only {
    padding: 28px 0 36px;
    border-top: 1px solid #e5e7eb;
}

.paslaugos-section-text-only h2 {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}

.paslaugos-section-text-only p {
    font-size: 15px;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 14px;
}

@media (max-width: 768px) {
    .paslaugos-section {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .paslaugos-section:nth-child(even) .paslaugos-section-image,
    .paslaugos-section:nth-child(even) .paslaugos-section-content {
        order: unset;
    }

    .paslaugos-section-image {
        height: 260px;
        min-height: 260px;
    }

    .paslaugos-section-image img {
        height: 100%;
    }

    .paslaugos-section-content {
        padding: 24px 24px 28px;
    }
}

.footer {
    padding: 18px 24px 24px;
    font-size: 12px;
    color: #6b7280;
    text-align: center;
}

/* TELEFONUI IR PLANSETEMS */
@media (max-width: 960px) {
    .nav {
        display: none;
    }

    .header-right {
        width: auto;
        min-width: auto;
    }

    .header-inner {
        padding: 0 12px;
    }

    .logo-text {
        width: 140px;
        height: 20px;
    }

    .content-inner h1 {
        font-size: 24px;
    }

    .product-detail-title {
        font-size: 1.05rem;
    }

    .product-detail-tab-btn {
        padding: 10px 14px;
        font-size: 13px;
    }
}

@media (max-width: 640px) {
    .header-inner {
        padding: 0 12px;
        height: 54px;
    }

    .menu-toggle {
        width: 34px;
        height: 34px;
        margin-left: -4px;
    }

    .logo-text {
        width: 120px;
        height: 18px;
    }

    .content {
        padding: 24px 0 40px;
    }

    .content-inner {
        padding: 0 14px;
    }

    .content-inner h1 {
        font-size: 22px;
        padding-top: 16px;
        margin-bottom: 12px;
    }

    .content-inner p {
        font-size: 14px;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .product-card {
        padding: 10px 10px 14px;
    }

    .product-image {
        height: 120px;
    }

    .product-name {
        font-size: 13px;
    }

    .product-meta {
        font-size: 12px;
    }

    .product-price {
        font-size: 14px;
    }

    .product-link {
        font-size: 12px;
    }

    .product-detail-wrap {
        padding: 0 14px;
    }

    .product-detail-layout {
        gap: 20px;
    }

    .product-detail-tab-panels {
        padding: 16px 14px;
    }

    .product-detail-tab-btn {
        flex: 1;
        padding: 10px 6px;
        font-size: 12px;
    }

    .product-detail-spec-table th,
    .product-detail-spec-table td {
        padding: 8px 10px;
        font-size: 13px;
    }

    .product-detail-spec-table th {
        width: 50%;
    }

    .paslaugos-section-content {
        padding: 20px 18px 24px;
    }

    .paslaugos-section-content h2 {
        font-size: 19px;
    }

    .paslaugos-section-image {
        height: 220px;
        min-height: 220px;
    }

    .product-comment-form input[type="text"],
    .product-comment-form textarea {
        max-width: none;
    }

    .search-wrap.is-open .search-input {
        width: 130px;
    }

    .side-menu {
        width: 260px;
    }
}

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

    .product-image {
        height: 180px;
    }

    .logo-text {
        width: 110px;
        height: 17px;
    }
}

