/* =========================================
   SINGLE PRODUCT PAGE STYLES
   ========================================= */

/* Strona produktu – zwiększona minimalna czcionka */
body.product-page {
    --font-tiny: 12px;
    --font-small: 13px;
}

body {
    background-color: #f7f8fa;
    color: #111;
    font-family: 'Inter', sans-serif;
}

body.product-page {
    overflow-x: hidden;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 14px 0;
    color: #666;
    font-size: var(--font-small);
    margin-bottom: 14px;
}

.breadcrumbs a {
    color: #666;
    margin-right: 8px;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumbs span {
    margin: 0 8px;
    color: #ccc;
}

.current-page {
    color: #111;
    font-weight: 600;
}

/* Product Hero */
.product-hero {
    background: #fff;
    border-radius: 10px;
    padding: 40px;
    margin-bottom: 60px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Gallery */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image-wrap {
    position: relative;
    width: 100%;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    background: #fff;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.gallery-arrow:hover {
    background: #f5f5f5;
    border-color: #ccc;
    color: #111;
}

.gallery-prev {
    left: 12px;
}

.gallery-next {
    right: 12px;
}

.main-image {
    width: 100%;
    aspect-ratio: 4/3;
    background: #FFFFFF;
    border: 2px solid #bebebe;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.main-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    mix-blend-mode: multiply; /* Helps if image has white bg */
}

.main-image-viewer-badge {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.95);
    color: #333;
    font-size: 15px;
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
    transition: transform 0.2s, box-shadow 0.2s;
}

.main-image:hover .main-image-viewer-badge {
    transform: scale(1.06);
    box-shadow: 0 6px 20px rgba(0,0,0,0.16);
}

.thumbnails {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.thumb {
    aspect-ratio: 1/1;
    background: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid #eee;
    transition: all 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.thumb:hover, .thumb.active {
    border-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Custom viewer podglądu zdjęć */
.product-viewer {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.product-viewer.is-open {
    opacity: 1;
    visibility: visible;
}

.product-viewer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.product-viewer__panel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: min(90vw, 960px);
    transform: scale(0.96);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.product-viewer.is-open .product-viewer__panel {
    transform: scale(1);
    opacity: 1;
}

.product-viewer__frame {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-viewer__img {
    max-width: 100%;
    max-height: 72vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.product-viewer__close {
    position: absolute;
    top: -44px;
    right: 0;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background 0.2s, color 0.2s;
}

.product-viewer__close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.product-viewer__footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.product-viewer__arrow {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.product-viewer__arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.05);
}

.product-viewer__counter {
    min-width: 48px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .product-viewer {
        padding: 16px;
    }
    .product-viewer__frame {
        padding: 12px;
    }
    .product-viewer__img {
        max-height: 60vh;
    }
    .product-viewer__close {
        top: -36px;
        right: 50%;
        transform: translateX(50%);
    }
}

.thumb img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
}

/* Product Details */
.product-details {
    padding-top: 10px;
}

.product-details h1 {
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 6px;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #111;
}

.product-subtitle {
    font-size: var(--font-tiny);
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 500;
}

.product-description {
    font-size: var(--font-body);
    color: #555;
    line-height: 1.85;
    margin-bottom: 24px;
    font-weight: 400;
    max-width: 560px;
}

.highlight-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.stat-box {
    background: #e0e0e0;
    padding: 16px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 72px;
}

.stat-number {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 4px;
    line-height: 1;
}

.stat-desc {
    font-size: var(--font-tiny);
    color: #111;
    line-height: 1.3;
    font-weight: 500;
}

.stat-sub {
    font-size: 10px;
    color: #666;
    display: block;
    margin-top: 2px;
    font-weight: 400;
}

.specs-list {
    margin-bottom: 24px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

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

.spec-name {
    font-size: var(--font-body);
    color: #555;
    font-weight: 400;
    line-height: 1.85;
}

.spec-val {
    font-size: var(--font-body);
    color: #555;
    font-weight: 600;
    line-height: 1.85;
}

.spec-item a,
.link-download,
.tech-table a {
    text-decoration: none;
    color: inherit;
}

.spec-item a:hover,
.link-download:hover {
    text-decoration: underline;
    color: var(--primary-color);
}

.product-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-green {
    background: #5C8343;
    color: #FFFFFF;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 500;
    text-transform: uppercase;
    font-size: var(--font-small);
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
    letter-spacing: 0.05em;
    display: inline-block;
}

.btn-green:hover {
    background: #4a6b36;
}

.packaging-cta {
    text-align: center;
    margin-top: 48px;
}

.btn-outline {
    background: transparent;
    color: #111;
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: var(--font-small);
    border: 1px solid #ccc;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.05em;
}

.btn-outline:hover {
    border-color: #111;
    background: #fff;
}

.link-download {
    color: #111;
    font-weight: 600;
    font-size: var(--font-small);
    margin-left: auto;
}

/* Sticky Navigation */
.product-nav-bar {
    background: #404A3D;
    position: -webkit-sticky;
    position: sticky;
    top: 72px;
    z-index: 90;
    margin-bottom: 80px;
    padding: 0;
}

.product-nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 24px;
    list-style: none;
    padding: 12px 0 16px;
    margin: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.product-nav-list li {
    flex: 0 0 auto;
}

.product-nav-list li a {
    display: block;
    padding: 10px 4px 12px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    text-transform: uppercase;
    font-size: var(--font-tiny);
    font-weight: 600;
    letter-spacing: 0.05em;
    white-space: nowrap;
    transition: all 0.3s;
    position: relative;
}

.product-nav-list li a:hover,
.product-nav-list li a.active {
    color: #fff;
}

.product-nav-list li a.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 8px;
    height: 1px;
    background: #fff;
}

/* Sections General */
.product-section-przeznaczenie-wrap {
    background-color: #E8EAE8;
    padding: 56px 0;
}

.product-section-przeznaczenie-wrap .product-section {
    margin-bottom: 0;
}

.product-section {
    margin-bottom: 56px;
    scroll-margin-top: 140px;
}

.section-heading {
    text-align: center;
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 32px;
    color: #111;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.section-heading-sub {
    font-size: var(--font-small);
    font-weight: 400;
    color: var(--primary-color);
}

.features-section .section-heading {
    color: #111;
}

.features-section .section-heading-sub {
    color: var(--primary-color);
}

/* Technical Data */
.tech-data-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.tech-table {
    width: 100%;
    border-collapse: collapse;
}

.tech-table tr {
    border-bottom: 1px solid #e0e0e0;
}

.tech-table td {
    padding: 8px 0;
    font-size: var(--font-body);
    color: #555;
    font-weight: 400;
    line-height: 1.85;
}

.tech-table td:first-child {
    width: 50%;
    font-weight: 400;
}

.tech-table td:last-child {
    text-align: right;
    font-weight: 600;
}

.tech-table td a {
    text-decoration: none;
    color: inherit;
}

.tech-table td a:hover {
    text-decoration: underline;
    color: var(--primary-color);
}

/* Product Application (Icons) */
.application-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.app-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 110px;
    flex: 0 0 auto;
}

.icon-circle {
    width: 52px;
    height: 52px;
    background: #3A732C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: #fff;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(58, 115, 44, 0.3);
}

.app-label {
    font-size: var(--font-tiny);
    color: #555;
    line-height: 1.4;
    font-weight: 500;
}

/* General Info */
.product-section-info-wrap {
    background-color: #F4F5F7;
    padding: 80px 0 56px;
}

.product-section-info-wrap .product-section {
    margin-bottom: 0;
}

.product-section-info-wrap .section-heading {
    text-align: center;
}

.info-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.info-text {
    font-size: var(--font-body);
    line-height: 1.7;
    color: #111;
}

.info-content-grid .info-text {
    max-width: none;
}

.info-text p {
    margin-bottom: 18px;
}

.info-text p:last-child {
    margin-bottom: 0;
}

.info-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Packaging */
.product-section-packaging-wrap {
    background-color: #FFFFFF;
    padding: 96px 0;
}

.product-section-packaging-wrap .product-section {
    margin-bottom: 0;
}

.packaging-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.pallet-diagram {
    display: flex;
    justify-content: center;
}

.pallet-diagram img {
    width: 100%;
    max-width: 350px;
    display: block;
    opacity: 0.8;
}

/* Documents */
.docs-section-bg {
    background-color: #F5F6F5;
    padding: 80px 0;
    border-radius: 0; /* Full width bg usually implies no radius or handled by container */
    margin-bottom: 100px;
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.doc-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    min-height: 70px;
    text-decoration: none;
    transition: transform 0.2s;
}

.doc-card:hover {
    transform: translateY(-2px);
}

.doc-content {
    flex: 1;
    padding: 0 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.doc-logo {
    height: 24px;
    width: auto;
    max-height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.doc-title {
    font-size: var(--font-tiny);
    font-weight: 500;
    color: #111;
    flex: 1;
    min-width: 0;
    word-wrap: break-word;
    white-space: normal;
    letter-spacing: 0.04em;
}

.doc-icon {
    width: 52px;
    min-width: 52px;
    background: #4a5249;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.doc-download-icon {
    width: 20px;
    height: 20px;
    display: block;
    color: #FFFFFF;
}

.doc-download-icon line,
.doc-download-icon path {
    stroke: #FFFFFF;
}

.arch-btn-container {
    text-align: center;
}

/* Features Grid – tylko karty szare (bez szarego tła sekcji), animacja zapadania */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 18px;
}

.features-row-2 {
    display: flex;
    justify-content: center;
    gap: 18px;
}

.feature-card {
    background: #F0F1F0;
    padding: 24px 20px;
    border-radius: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
    position: relative;
}

.feature-card:hover {
    transform: translateY(4px) scale(0.99);
    box-shadow: inset 0 4px 12px rgba(0,0,0,0.06);
    background: #E5E6E5;
}

.feature-icon {
    font-size: 1.25rem;
    margin-bottom: 14px;
    color: #111;
}

.feature-title {
    font-size: var(--font-h3);
    font-weight: 700;
    margin-bottom: 10px;
    color: #111;
}

.feature-desc {
    font-size: var(--font-tiny);
    color: #444;
    line-height: 1.5;
}

/* Portfolio realizacji (ze strony głównej) – mniejsze fonty na stronie produktu */
.product-section.portfolio {
    margin-top: 30px;
}

.portfolio-slider-wrap {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.portfolio-slider-view {
    overflow: hidden;
    width: 100%;
}

.portfolio-slider-track {
    width: 200%;
    transition: transform 0.4s ease;
}

.portfolio-slider-track .portfolio-grid.portfolio-slider-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    width: 100%;
    grid-template-columns: unset;
}

.portfolio-slider-track .portfolio-item {
    flex: 0 0 calc((100% - 100px) / 6);
}

@media (max-width: 768px) {
    .portfolio-slider-track {
        width: 600%;
    }
    .portfolio-slider-track .portfolio-grid.portfolio-slider-grid {
        gap: 12px;
    }
    .portfolio-slider-track .portfolio-item {
        flex: 0 0 calc((100% - 60px) / 6);
    }
}

.portfolio-slider-arrows {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.portfolio-slider-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    background: #fff;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background 0.2s, border-color 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.portfolio-slider-arrow:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

.portfolio-slider-arrow:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.product-section.portfolio .section-title,
.product-section.portfolio .section-title-center {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 400;
    text-transform: uppercase;
}

.product-section.portfolio .portfolio-content h3 {
    font-size: var(--font-h3);
}

.product-section.portfolio .portfolio-desc {
    font-size: var(--font-tiny);
    color: var(--primary-color);
}
.product-section.portfolio .portfolio-text {
    font-size: var(--font-tiny);
}

.product-section.portfolio .portfolio-tag {
    font-size: var(--font-tiny);
}

/* Video section – szare tło na pełnej szerokości, wideo ok. 15% większe */
.product-video-section {
    margin-bottom: 56px;
}

.product-video-section-bg {
    width: 100%;
    background-color: #e8e8e8;
    padding: 40px 24px;
}

.product-video-wrapper {
    position: relative;
    max-width: 828px; /* 720 * 1.15 ≈ 15% większe */
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    background: #d0d0d0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.product-video {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    vertical-align: middle;
}

.video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s;
}

.video-play-overlay:hover {
    background: rgba(0,0,0,0.1);
}

.video-play-overlay.playing {
    pointer-events: none;
}

.video-play-overlay.playing .video-play-icon {
    opacity: 0;
}

.video-play-icon {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 28px 0 28px 48px;
    border-color: transparent transparent transparent #fff;
    margin-left: 8px;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
    transition: opacity 0.2s;
}

.video-controls-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    z-index: 3;
    color: #fff;
    font-size: var(--font-small);
    font-variant-numeric: tabular-nums;
}

.video-time-current,
.video-time-duration {
    flex-shrink: 0;
    font-size: var(--font-small);
    color: #fff;
}

.video-progress-wrap {
    flex: 1;
    height: 4px;
    position: relative;
    background: rgba(255,255,255,0.35);
    border-radius: 10px;
    cursor: pointer;
}

.video-progress-track {
    position: absolute;
    inset: 0;
    border-radius: 10px;
}

.video-progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: #fff;
    border-radius: 10px;
    width: 0%;
    pointer-events: none;
}

.video-progress-thumb {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    left: 0%;
    pointer-events: none;
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* Realizations – czysta biel */
.product-section-realizations-wrap {
    background-color: #FFFFFF;
    padding: 96px 0;
}

.product-section-realizations-wrap .product-section {
    margin-bottom: 0;
}

/* Realizations Grid */
.realizations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.realization-item {
    aspect-ratio: 16/10;
    border-radius: 10px;
    overflow: hidden;
}

.realization-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.realization-item:hover img {
    transform: scale(1.05);
}

/* Related Products */
.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.related-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.related-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: contain;
    margin-bottom: 20px;
}

.related-title {
    font-weight: 700;
    font-size: var(--font-small);
    color: #111;
}

.related-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.nav-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: #333;
    background: #fff;
}

.nav-circle:hover {
    background: #3A732C;
    color: #fff;
    border-color: #3A732C;
}

/* Contact Section */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: flex-start;
    padding: 80px 0;
}

.contact-text {
    padding-top: 20px;
}

.contact-text h2 {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 18px;
    letter-spacing: -0.03em;
    color: #111;
    text-transform: uppercase;
}

.contact-text p {
    font-size: var(--font-small);
    color: #555;
    line-height: 1.6;
    max-width: 450px;
}

.contact-form h3 {
    font-size: var(--font-h3);
    font-weight: 400;
    margin-bottom: 24px;
    color: #111;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: var(--font-tiny);
    margin-bottom: 6px;
    color: #666;
    font-weight: 500;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
    font-size: var(--font-tiny);
    background: #fff;
    transition: border-color 0.2s;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: #3A732C;
}

.form-textarea {
    height: 140px;
    resize: vertical;
}

.form-footer {
    font-size: 10px;
    color: #999;
    margin-bottom: 20px;
    line-height: 1.4;
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    color: #111;
    font-size: var(--font-body);
}

.btn-submit:hover {
    border-color: #3A732C;
    color: #3A732C;
    background: #f9fcf9;
}

/* Responsive */
@media (max-width: 1024px) {
    .product-hero {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .tech-data-grid, .info-content-grid, .packaging-container, .contact-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .docs-grid, .features-grid, .realizations-grid, .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .features-row-2 {
        flex-direction: column;
        align-items: center;
    }
    .feature-card {
        width: 100%;
        max-width: none !important;
    }
    .product-details h1 {
        font-size: 1.5rem;
    }
    .contact-text h2 {
        font-size: 1.35rem;
    }
}

@media (max-width: 768px) {
    .product-page .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    .breadcrumbs {
        padding: 10px 0;
        margin-bottom: 10px;
        font-size: 11px;
    }
    .product-hero {
        padding: 24px 20px;
        margin-bottom: 40px;
        border-radius: 10px;
        gap: 28px;
    }
    .product-nav-bar {
        margin-top: 16px;
        top: 88px;
        margin-bottom: 48px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }
    .product-nav-list {
        gap: 6px 16px;
        padding: 10px 0 14px;
    }
    .product-nav-list li a {
        padding: 8px 2px 10px;
        font-size: 10px;
    }
    .product-nav-list li a.active::after {
        bottom: 6px;
    }
    /* Pierwsza sekcja pod paskiem – padding, żeby treść nie chowała się pod sticky paskiem */
    #parametry.product-section {
        padding-top: 56px;
    }
    .product-section-przeznaczenie-wrap,
    .product-section-tech-wrap,
    .product-section-info-wrap,
    .product-section-packaging-wrap,
    .docs-section-bg,
    .product-section-realizations-wrap {
        padding-left: 20px;
        padding-right: 20px;
    }
    .product-section-przeznaczenie-wrap {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .application-grid {
        gap: 20px 24px;
    }
    .app-icon-item {
        width: 90px;
    }
    .icon-circle {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
    .product-section-tech-wrap {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .product-section-info-wrap {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .product-section-packaging-wrap {
        padding-top: 56px;
        padding-bottom: 56px;
    }
    .docs-section-bg {
        padding-top: 48px;
        padding-bottom: 48px;
        margin-bottom: 56px;
    }
    .product-section-realizations-wrap {
        padding-top: 56px;
        padding-bottom: 56px;
    }
    .product-section {
        scroll-margin-top: 150px;
    }
    .product-section-heading,
    .section-heading {
        font-size: 1.25rem;
        margin-bottom: 24px;
    }
    .docs-grid {
        gap: 12px;
        margin-bottom: 32px;
    }
    .features-grid {
        gap: 12px;
        margin-bottom: 12px;
    }
    .realizations-grid {
        gap: 16px;
    }
    .related-grid {
        gap: 16px;
    }
    .contact-section {
        padding: 48px 0;
        gap: 40px;
    }
    .docs-grid, .features-grid, .realizations-grid, .related-grid {
        grid-template-columns: 1fr;
    }
    .highlight-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .thumbnails {
        grid-template-columns: repeat(5, 1fr);
        gap: 8px;
    }
    .main-image {
        border-radius: 10px;
    }
    .gallery-arrow {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
    .product-details h1 {
        font-size: 1.25rem;
    }
    .product-description {
        font-size: var(--font-small);
    }
    .specs-list {
        gap: 10px;
    }
    .packaging-container {
        gap: 32px;
    }
    .feature-card {
        padding: 20px 16px;
        border-radius: 10px;
    }
    .product-video-section-bg {
        padding: 24px 20px;
    }
    .product-section.portfolio {
        margin-top: 20px;
    }
    .product-section.portfolio .section-title,
    .product-section.portfolio .section-title-center {
        font-size: 1.2rem;
        margin-bottom: 16px;
    }
}