:root {
    --product-primary: #a57d0f;
    --product-secondary: #d4a821;
    --product-accent: #ff8c00;
    --product-primary-rgb: 165, 125, 15;
    --product-bg-grad-1: rgba(165, 125, 15, 0.15);
    --product-bg-grad-2: rgba(45, 85, 25, 0.1);
    --product-dark-grad: linear-gradient(155deg, rgb(45, 85, 25) 0%, rgb(110, 85, 10) 30%, rgb(165, 125, 15) 65%, rgb(135, 70, 0) 85%, #000 100%);
}

.product-category-respiratory {
    --product-primary: #9c0d2e;
    --product-secondary: #c41c42;
    --product-accent: #ff4d6d;
    --product-primary-rgb: 156, 13, 46;
    --product-bg-grad-1: rgba(156, 13, 46, 0.2);
    --product-bg-grad-2: rgba(80, 5, 20, 0.15);
    --product-dark-grad: linear-gradient(155deg, rgb(80, 5, 20) 0%, rgb(120, 10, 30) 30%, rgb(156, 13, 46) 65%, rgb(100, 0, 20) 85%, #000 100%);
}

.product-category-hearing {
    --product-primary: #8DC63F;
    --product-secondary: #7ab32e;
    --product-accent: #b8e085;
    --product-primary-rgb: 141, 198, 63;
    --product-bg-grad-1: rgba(141, 198, 63, 0.2);
    --product-bg-grad-2: rgba(45, 85, 25, 0.15);
    --product-dark-grad: linear-gradient(155deg, #05160c 0%, #0d5c46 30%, #56a71e 65%, #2f7336 85%, #000 100%);
}
/* ============================================
   PRODUCT PAGE — produkt.css
   Template for individual product detail pages
   Inspired by Moldex TDS layout
   ============================================ */

/* ======== PRODUCT HERO ======== */
#product-hero {
    position: relative;
    min-height: calc(100vh / 0.75);
    background-color: #000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 5% 80px;
}

#product-hero #aurora-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: auto;
    display: block;
}

.product-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 40%, var(--product-bg-grad-1), transparent 50%),
        radial-gradient(circle at 70% 60%, var(--product-bg-grad-2), transparent 50%),
        linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 2;
    pointer-events: none;
}

.product-hero-content {
    position: relative;
    z-index: 4;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

/* Breadcrumb */
.product-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    font-size: 0.85rem;
}

.product-breadcrumb a {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s ease;
}

.product-breadcrumb a:hover {
    color: rgba(255, 255, 255, 0.85);
}

.breadcrumb-sep {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.75rem;
}

.breadcrumb-current {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

/* Hero Grid */
.product-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Product Image */
.product-hero-image {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.product-hero-image-frame {
    background: #ffffff;
    border: 12px solid rgba(255, 255, 255, 0.1);
    background-clip: padding-box;
    border-radius: 32px;
    padding: 2rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    cursor: zoom-in;
    transition: all 0.3s ease;
}

.product-hero-image-frame.zoom-active {
    cursor: zoom-out;
}

.product-hero-image-frame img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s ease;
    transform-origin: center center;
    pointer-events: none;
}

.product-9000 .product-hero-image-frame img {
    max-width: 100%;
    max-height: 100%;
}

.product-hero-image-frame.zoom-active img {
    transform: scale(2.8);
}

.product-hero-image-frame:hover {
    border-color: rgba(var(--product-primary-rgb), 0.25);
    box-shadow: 0 0 60px rgba(var(--product-primary-rgb), 0.08);
}

/* Thumbnails */
.product-thumbnails {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.thumb {
    width: 72px;
    height: 54px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: #ffffff;
    cursor: pointer;
    overflow: hidden;
    padding: 4px;
    transition: all 0.3s ease;
}

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

.thumb:hover {
    border-color: rgba(var(--product-primary-rgb), 0.4);
}

.thumb.active {
    border-color: rgba(var(--product-primary-rgb), 0.7);
    box-shadow: 0 0 16px rgba(var(--product-primary-rgb), 0.2);
}

/* Product Info */
.product-hero-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.product-category-badge {
    display: inline-flex;
    align-self: flex-start;
    padding: 6px 16px;
    background: rgba(var(--product-primary-rgb), 0.12);
    border: 1px solid rgba(var(--product-primary-rgb), 0.25);
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--product-secondary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.product-name {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.1;
    background: linear-gradient(120deg, #ffffff 0%, var(--product-secondary) 60%, var(--product-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.product-tagline {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    max-width: 520px;
}

/* Key Specs */
.product-key-specs {
    display: flex;
    gap: 2rem;
    margin: 0.5rem 0;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.key-spec {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.key-spec-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.key-spec-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

/* CTA Buttons */
.product-hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    flex-wrap: nowrap;
}

.btn-product-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--product-primary) 0%, var(--product-secondary) 100%);
    color: #fff;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(var(--product-primary-rgb), 0.3);
    text-decoration: none;
    white-space: nowrap;
}

.btn-product-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(var(--product-primary-rgb), 0.45);
    filter: brightness(1.1);
}

.btn-product-cta-lg {
    padding: 16px 40px;
    font-size: 1.05rem;
}

.btn-product-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 14px 28px;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-product-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    transform: translateY(-2px);
}

.btn-product-back {
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.6);
}

.btn-product-back:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.9);
}

/* Update header buttons to match product category color */
.product-page .nav-cta {
    background: linear-gradient(135deg, var(--product-primary) 0%, var(--product-secondary) 100%) !important;
    box-shadow: 0 4px 15px rgba(var(--product-primary-rgb), 0.3) !important;
    border: none !important;
    color: #fff !important;
}

.product-page .nav-cta svg {
    fill: #fff !important;
}

.product-page .nav-cta:hover {
    filter: brightness(1.1);
    transform: translateY(-1px) translateZ(0);
    box-shadow: 0 6px 20px rgba(var(--product-primary-rgb), 0.4) !important;
}


/* ======== PRODUCT SECTIONS ======== */
.product-section {
    padding: 100px 5%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: auto;
}

.product-section-inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.product-section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.product-section-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.product-section-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Section Tags */
.product-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 6px 18px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 1rem;
}

/* Light section */
.product-section-light {
    background-color: #ffffff;
    background-image: none;
}

.product-section-light .product-section-header h2 {
    color: var(--dark-800);
}

.product-section-light .product-section-header p {
    color: var(--gray-500);
}

.product-section-light .product-section-tag {
    background-color: rgba(var(--product-primary-rgb), 0.08);
    border: 1px solid var(--product-bg-grad-1);
    color: var(--product-primary);
}

/* Dark section */
.product-section-dark {
    background: var(--product-dark-grad);
    overflow: hidden;
}

.product-section-dark::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at center, transparent 30%, rgba(0, 0, 0, 0.4) 100%),
        linear-gradient(to bottom, transparent 70%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 0;
    pointer-events: none;
}

.product-section-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(30deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(150deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 70px, 40px 70px;
    pointer-events: none;
    z-index: 0;
}

.product-section-dark .product-section-inner {
    position: relative;
    z-index: 3;
}

.product-section-dark .product-section-header h2 {
    color: #ffffff;
}

.product-section-dark .product-section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.product-section-tag-light {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
}


/* ======== FEATURES GRID ======== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    padding: 2rem 1.75rem;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    border-color: var(--product-bg-grad-1);
}

.feature-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--product-primary-rgb), 0.07);
    border-radius: 12px;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: rgba(var(--product-primary-rgb), 0.12);
    transform: scale(1.05);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--product-primary);
    stroke-width: 1.5;
    fill: none;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark-800);
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.65;
}

/* ======== FEATURES CAROUSEL ======== */
.features-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    gap: 1.5rem;
    padding: 1rem 0.5rem 2rem;
}

/* Bezpieczne centrowanie dla karuzeli (safe centering) */
.carousel-track::before,
.carousel-track::after {
    content: '';
    margin: auto;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-slide {
    flex: 0 0 calc(33.333% - 1rem);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
    transition: transform 0.3s ease;
}

.carousel-slide:hover {
    transform: translateY(-4px);
}

.carousel-slide img {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
    border-radius: 4px;
}

.slide-content {
    width: 100%;
    padding: 1.5rem 0.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: left;
}

.slide-content h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--dark-800);
    margin-bottom: 1rem;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.slide-content p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.5;
}

.carousel-btn {
    position: absolute;
    top: 35%;
    transform: translateY(-50%);
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    width: 45px;
    height: 80px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #0056b3;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.carousel-btn:hover {
    background: #f8f9fa;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    color: #004085;
}

.carousel-btn.prev {
    left: -20px;
}

.carousel-btn.next {
    right: -20px;
}

/* Minimalist CSS Chevrons */
.carousel-btn::before {
    content: '';
    width: 12px;
    height: 12px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    display: block;
}

.carousel-btn.prev::before {
    transform: rotate(-135deg);
    margin-left: 4px;
}

.carousel-btn.next::before {
    transform: rotate(45deg);
    margin-right: 4px;
}

@media (max-width: 1024px) {
    .carousel-slide {
        flex: 0 0 calc(50% - 0.75rem);
    }
}

@media (max-width: 768px) {
    .carousel-slide {
        flex: 0 0 100%;
    }
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    .carousel-btn.prev {
        left: 5px;
    }
    .carousel-btn.next {
        right: 5px;
    }
}


/* ======== SPECS TABLE ======== */
.specs-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

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

.specs-table thead th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.specs-table tbody td {
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.85);
    vertical-align: middle;
}

.specs-table tbody td:first-child {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    width: 40%;
}

.specs-table tbody tr:last-child td {
    border-bottom: none;
}

.specs-table tbody tr {
    transition: background-color 0.2s ease;
}

.specs-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}


/* ======== LENS COLOR DOTS ======== */
.lens-dot {
    display: inline-block;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    flex-shrink: 0;
    vertical-align: middle;
}

.lens-dot-clear {
    background: #f0f0f0;
    border: 2px solid rgba(160, 160, 160, 0.5);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06);
}

.lens-dot-yellow {
    background: #e8a308;
    border: 2px solid rgba(200, 140, 0, 0.4);
    box-shadow: 0 0 6px rgba(232, 163, 8, 0.25);
}

.lens-dot-anthracite {
    background: #3a3a3a;
    border: 2px solid rgba(80, 80, 80, 0.5);
}

.lens-dot-sm {
    width: 14px;
    height: 14px;
}

/* Lens colors list in specs table */
.lens-colors-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.lens-color-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lens-color-item strong {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.3;
}

.lens-color-item .lens-desc {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 400;
}

/* Light section overrides for lens items (ordering table) */
.product-section-light .lens-color-item strong {
    color: var(--dark-800);
}

.product-section-light .lens-color-item .lens-desc {
    color: var(--gray-500);
}


/* ======== COATING TOOLTIPS ======== */
.coating-tooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-bottom: 1.5px dashed rgba(212, 168, 33, 0.5);
    cursor: help;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    transition: border-color 0.2s ease, color 0.2s ease;
    padding-bottom: 1px;
}

.coating-tooltip:hover {
    border-bottom-color: var(--product-secondary);
    color: #ffffff;
}

.product-section-light .coating-tooltip {
    border-bottom-color: rgba(var(--product-primary-rgb), 0.4);
    color: var(--dark-800);
}

.product-section-light .coating-tooltip:hover {
    border-bottom-color: var(--product-primary);
}

.coating-tooltip-text {
    visibility: hidden;
    width: 450px;
    background: rgba(15, 15, 15, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #ffffff;
    text-align: left;
    border-radius: 12px;
    padding: 14px 18px;
    position: absolute;
    z-index: 9999;
    bottom: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.55;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    pointer-events: none;
    border-left: 3px solid var(--product-secondary);
}

.coating-tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -8px;
    border-width: 8px;
    border-style: solid;
    border-color: rgba(15, 15, 15, 0.92) transparent transparent transparent;
}

/* Same styling for both dark and light sections */
.product-section-light .coating-tooltip-text {
    background: rgba(15, 15, 15, 0.92);
    color: #ffffff;
    border-left: 3px solid var(--product-secondary);
}

.product-section-light .coating-tooltip-text::after {
    border-color: rgba(15, 15, 15, 0.92) transparent transparent transparent;
}

.coating-tooltip:hover .coating-tooltip-text {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Enable tooltip visibility outside containers */
.specs-container, .ordering-container {
    overflow: visible !important;
}

.specs-table thead th:first-child, .ordering-table thead th:first-child { border-top-left-radius: 16px; }
.specs-table thead th:last-child, .ordering-table thead th:last-child { border-top-right-radius: 16px; }
.specs-table tbody tr:last-child td:first-child, .ordering-table tbody tr:last-child td:first-child { border-bottom-left-radius: 16px; }
.specs-table tbody tr:last-child td:last-child, .ordering-table tbody tr:last-child td:last-child { border-bottom-right-radius: 16px; }


/* ======== ORDERING TABLE ======== */
.ordering-container {
    max-width: 1000px;
    margin: 0 auto 2.5rem;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.ordering-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
}

.ordering-table thead th {
    padding: 1rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-500);
    border-bottom: 1px solid var(--gray-200);
    background: #f8fafc;
    vertical-align: middle;
}

.ordering-table tbody td {
    padding: 1.15rem 1rem;
    font-size: 0.92rem;
    color: var(--dark-700);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    vertical-align: middle;
    line-height: 1.4;
}

.ordering-table tbody td:first-child {
    white-space: nowrap;
    width: 1%;
    padding-right: 2rem;
}

.ordering-table tbody td strong {
    color: var(--product-primary);
    font-weight: 800;
    font-size: 0.95rem;
}

.ordering-table tbody tr:last-child td {
    border-bottom: none;
}


/* ======== CERTIFICATIONS ======== */
.certifications-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cert-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.cert-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    border-color: rgba(var(--product-primary-rgb), 0.2);
}

.cert-badge svg {
    color: var(--product-primary);
    flex-shrink: 0;
}

.cert-badge strong {
    display: block;
    font-size: 0.95rem;
    color: var(--dark-800);
    line-height: 1.2;
}

.cert-badge span {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-500);
    line-height: 1.2;
}


/* ======== CTA SECTION ======== */
.product-section-cta {
    background: var(--product-dark-grad);
    text-align: center;
    min-height: auto;
    padding: 80px 5%;
    position: relative;
    overflow: hidden;
}

.product-section-cta h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.product-section-cta p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.55);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.product-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}


/* ======== RESPONSIVE ======== */
@media (max-width: 1024px) {
    .product-hero-grid {
        gap: 3rem;
    }

    .product-name {
        font-size: 2.6rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    #product-hero {
        min-height: auto;
        padding: 100px 5% 60px;
    }

    .product-hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .product-hero-image {
        order: 1;
    }

    .product-hero-info {
        order: 2;
        text-align: center;
        align-items: center;
    }

    .product-category-badge {
        align-self: center;
    }

    .product-tagline {
        max-width: 100%;
    }

    .product-key-specs {
        justify-content: center;
    }

    .product-hero-actions {
        justify-content: center;
    }

    .product-name {
        font-size: 2.2rem;
    }

    .product-breadcrumb {
        justify-content: center;
        font-size: 0.75rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .product-section {
        padding: 60px 5%;
    }

    .product-section-header h2 {
        font-size: 1.8rem;
    }

    .specs-table thead {
        display: none;
    }

    .specs-table tbody tr {
        display: flex;
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .specs-table tbody td {
        padding: 0.35rem 0.75rem;
        border-bottom: none;
    }

    .specs-table tbody td:first-child {
        font-size: 0.7rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .ordering-table thead {
        display: none;
    }

    .ordering-table tbody tr {
        display: flex;
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .ordering-table tbody td {
        padding: 0.35rem 0.75rem;
        border-bottom: none;
    }

    .ordering-table tbody td[data-label]::before {
        content: attr(data-label);
        display: block;
        font-weight: 700;
        font-size: 0.65rem;
        color: var(--product-primary);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 0.15rem;
    }

    .product-section-cta h2 {
        font-size: 1.8rem;
    }

    .certifications-row {
        flex-direction: column;
        align-items: center;
    }

    .cert-badge {
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 480px) {
    .product-name {
        font-size: 1.8rem;
    }

    .product-key-specs {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .key-spec {
        align-items: center;
        text-align: center;
    }

    .product-hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-product-cta,
    .btn-product-secondary {
        width: 100%;
        justify-content: center;
    }

    .product-section-cta {
        padding: 50px 5%;
    }

    .product-cta-actions {
        flex-direction: column;
    }

    .product-cta-actions .btn-product-cta,
    .product-cta-actions .btn-product-secondary {
        width: 100%;
        justify-content: center;
    }

    .thumb {
        width: 56px;
        height: 42px;
    }
}

    /* ======== PROTECTION ACCORDION ======== */
    .protection-accordion {
        max-width: 1100px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .accordion-item {
        background: rgba(0, 0, 0, 0.02);
        border: 1px solid rgba(0, 0, 0, 0.06);
        border-radius: 20px;
        overflow: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .product-section-dark .accordion-item {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .accordion-item.active {
        background: #ffffff;
        border-color: rgba(var(--product-primary-rgb), 0.25);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    }

    .product-section-dark .accordion-item.active {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(var(--product-primary-rgb), 0.3);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    }

    .accordion-trigger {
        width: 100%;
        padding: 1.5rem 2rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: transparent;
        border: none;
        cursor: pointer;
        text-align: left;
        color: var(--dark-800);
        font-family: inherit;
    }

    .product-section-dark .accordion-trigger {
        color: #fff;
    }

    .trigger-title {
        font-size: 1.4rem;
        font-weight: 800;
        letter-spacing: -0.01em;
    }

    .trigger-icon {
        position: relative;
        width: 24px;
        height: 24px;
        transition: transform 0.3s ease;
    }

    .trigger-icon::before,
    .trigger-icon::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 14px;
        height: 2px;
        background: var(--product-primary);
        transform: translate(-50%, -50%);
    }

    .trigger-icon::after {
        transform: translate(-50%, -50%) rotate(90deg);
        transition: transform 0.3s ease;
    }

    .accordion-item.active .trigger-icon::after {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    .accordion-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s ease;
        padding: 0 2rem;
    }

    .accordion-item.active .accordion-content {
        max-height: 1500px;
        padding-bottom: 2.5rem;
    }

    /* Protection Grid inside Accordion */
    .protection-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        margin-top: 1rem;
    }

    .protection-card {
        background: #f8fafc;
        border: 1px solid rgba(0, 0, 0, 0.04);
        border-radius: 16px;
        padding: 1.75rem;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        transition: transform 0.3s ease;
    }

    .product-section-dark .protection-card {
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .protection-card:hover {
        transform: translateY(-5px);
        background: #f1f5f9;
    }

    .product-section-dark .protection-card:hover {
        background: rgba(255, 255, 255, 0.04);
    }

    .protection-card h4 {
        font-size: 1rem;
        font-weight: 800;
        color: var(--product-primary);
        text-transform: uppercase;
        letter-spacing: 0.05em;
        padding-bottom: 0.75rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .product-section-dark .protection-card h4 {
        color: var(--product-secondary);
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }

    .protection-card ul {
        list-style: none;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .protection-card li {
        font-size: 0.88rem;
        color: var(--gray-500);
        line-height: 1.5;
    }

    .product-section-dark .protection-card li {
        color: rgba(255, 255, 255, 0.65);
    }

    .protection-card li strong {
        color: var(--dark-800);
        display: block;
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-bottom: 0.1rem;
        opacity: 0.5;
    }

    .product-section-dark .protection-card li strong {
        color: #fff;
    }

@media (max-width: 900px) {
    .protection-grid {
        grid-template-columns: 1fr;
    }
    
    .trigger-title {
        font-size: 1.1rem;
    }
    
    .accordion-trigger {
        padding: 1.25rem 1.5rem;
    }
}

/* ======== PRODUCT PAGE SPECIFICS ======== */
/* Override ochrona-page section min-height for product pages */
.product-page.ochrona-page .product-section {
    min-height: auto;
}

.product-page.ochrona-page #product-hero {
    height: auto;
    min-height: calc(100vh / 0.75);
}

@media (max-width: 768px) {
    .product-page.ochrona-page #product-hero {
        height: auto !important;
        min-height: auto !important;
    }
}

/* Responsive YouTube Video Container */
.video-container {
    position: relative;
    aspect-ratio: 16 / 9;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


/* Responsive Background for Respiratory Products */
.product-category-respiratory #product-hero {
    background-color: #000;
}
.product-category-respiratory #product-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('assets/tlo_oddech_v2.png');
    background-size: cover;
    background-position: center center;
    z-index: 1; /* Above bg-color, below aurora */
    pointer-events: none;
    opacity: 0.4;
}

/* Navigation CTA for Respiratory Category */
.product-category-respiratory .nav-cta {
    background-color: #9c0d2e !important;
    box-shadow: 0 2px 10px rgba(156, 13, 46, 0.25) !important;
    color: #fff !important;
}

.product-category-respiratory .nav-cta:hover {
    background-color: #7a0a24 !important;
    box-shadow: 0 6px 20px rgba(156, 13, 46, 0.35) !important;
}

/* Respiratory Header Style Sync */
.product-category-respiratory .nav-cta {
    background-color: #9c0d2e !important;
    box-shadow: 0 2px 10px rgba(156, 13, 46, 0.25) !important;
    color: #fff !important;
}

.product-category-respiratory .nav-cta:hover {
    background-color: #7a0a24 !important;
    box-shadow: 0 6px 20px rgba(156, 13, 46, 0.35) !important;
    color: #fff !important;
}

/* Respiratory Section Styles */
.product-category-respiratory .product-section-light {
    background: #ffffff !important;
}

.product-category-respiratory .product-section-tag {
    background: rgba(156, 13, 46, 0.1);
    color: #ff4d6d;
}

.product-section-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at center, transparent 30%, rgba(0, 0, 0, 0.4) 100%),
        linear-gradient(to bottom, transparent 70%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 0;
    pointer-events: none;
}

.product-section-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(30deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(150deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 70px, 40px 70px;
    pointer-events: none;
    z-index: 0;
}

.product-section-cta .product-section-inner {
    position: relative;
    z-index: 2;
}

/* Ordering Notes & superscripts */
sup {
    color: #9c0d2e;
    font-weight: 600;
    margin-right: 2px;
    font-size: 0.75em;
}

.ordering-notes {
    margin: -1rem auto 2.5rem;
    padding: 0 1rem;
    color: var(--gray-500);
    font-size: 0.82rem;
    line-height: 1.6;
    max-width: 1000px;
}

.ordering-notes p {
    margin-bottom: 0.5rem;
}

/* ======== ADAPTIVE FLOATING PRODUCT NAVIGATION ======== */
.floating-product-nav {
    position: fixed;
    top: 50%;
    width: 100%;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0;
    
    /* Default Dark Mode Styles (for dark sections) */
    --nav-text: #ffffff;
    --nav-bg: rgba(255, 255, 255, 0.08);
    --nav-border: rgba(255, 255, 255, 0.15);
    --nav-accent: rgba(255, 255, 255, 0.2);
}

.floating-product-nav.light-mode {
    /* Light Mode Styles (for light sections) - INCREASED VISIBILITY */
    --nav-text: #000000;
    --nav-bg: rgba(0, 0, 0, 0.12);
    --nav-border: rgba(0, 0, 0, 0.25);
    --nav-accent: rgba(0, 0, 0, 0.3);
}

.floating-product-nav .nav-btn {
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--nav-border);
    color: var(--nav-text);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    text-decoration: none;
    padding: 35px 0; /* Dynamic vertical padding */
    height: auto; /* Height adapts to text length */
    min-height: 160px; /* Minimum height for shorter labels */
    width: 55px; /* Base width */
}

.floating-product-nav .nav-btn.prev {
    border-radius: 0 20px 20px 0;
    border-left: none;
}

.floating-product-nav .nav-btn.next {
    border-radius: 20px 0 0 20px;
    border-right: none;
}

.floating-product-nav .nav-btn span {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.3em;
    font-weight: 800;
    opacity: 0.6;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    display: block;
    text-align: center;
}

.floating-product-nav .nav-btn.next span {
    transform: rotate(0deg);
}

.floating-product-nav .nav-btn:hover {
    background: var(--nav-accent);
}

.floating-product-nav .nav-btn.prev:hover {
    width: 68px; /* Slightly wider on hover to accommodate text growth */
}

.floating-product-nav .nav-btn.next:hover {
    width: 68px;
}

.floating-product-nav .nav-btn:hover span {
    opacity: 1;
    font-size: 11.5px; /* Enlarge on hover - button height will adapt automatically */
}

@media (max-width: 1024px) {
    .floating-product-nav {
        display: none;
    }
}

/* ======== PRODUCT PAGE RESPONSIVE ADJUSTMENTS ======== */


