html, body, header {
    max-width: 100%;
}
.main-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding-left: 2vw;
    padding-right: 2vw;
    box-sizing: border-box;
}

a {
    color: #4d8ffb;
    /* text-blue-600 */
    text-decoration: none;
    align-items: center;
}

a:hover {
    text-decoration: underline;
}

/* Base style for the SVG icon */
.animated-icon-right,
.products-category-icon,
.products-category-icon-reverse {
    /* Explicitly set initial position.
       This transition will handle the smooth return when the animation is removed by JS. */
    transition: all 1s;
}

@media (max-width: 700px) {
    .main-wrapper {
        padding-left: 0.5vw;
        padding-right: 0.5vw;
    }
}

/* products-section.css */

.products-section-wrapper {
    width: 100%;
    background: rgba(24, 28, 34, 0.534);
    padding: 4vw 0 4vw 0;
    display: flex;
    justify-content: center;
}

.products-section-container {
    max-width: 1440px;
    /* szersze okno na produkty */
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    /* px-4 */
    padding-right: 16px;
    /* px-4 */
    padding-top: 32px;
    /* py-8 */
    padding-bottom: 32px;
    /* py-8 */
    background-color: #23272e;
    /* ciemniejsze tło zamiast białego */
    border-radius: 8px;
    /* rounded-lg */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    /* shadow-lg */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /* flex-col by default */
}

@media (min-width: 1024px) {

    /* Equivalent to lg breakpoint */
    .products-section-container {
        flex-direction: row;
        /* lg:flex-row */
    }
}

@media (max-width: 600px) {
    .products-section-container {
        padding-left: 0;
        padding-right: 0;
        border-radius: 0;
        box-shadow: none;
    }
}

/* Lewa kolumna: Opis sekcji */
.products-description-column {
    padding: 32px;
    /* p-8 */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* justify-between */
    background: #23272e;
    /* ciemniejsze tło */
    color: #f3f4f6;
    /* jaśniejszy tekst */
    border-radius: 8px 0 0 8px;
}

@media (min-width: 1024px) {

    /* Equivalent to lg breakpoint */
    .products-description-column {
        width: 33.333333%;
        /* lg:w-1/3 */
    }
}

.products-category {
    color: #f3f4f6;
    font-weight: 600;
    /* font-semibold */
    margin-bottom: 8px;
    /* mb-2 */
    display: flex;
    align-items: center;
}

.products-category-icon {
    width: 16px;
    /* w-4 */
    height: 16px;
    /* h-4 */
}

.products-title {
    font-size: 36px;
    /* text-4xl */
    font-weight: 700;
    /* font-bold */
    color: #f3f4f6;
    margin-bottom: 24px;
    /* mb-6 */
}

.products-description {
    color: #d1d5db;
    line-height: 1.625;
    /* leading-relaxed */
    margin-bottom: 32px;
    /* mb-8 */
}

.products-navigation {
    display: flex;
    gap: 16px;
    /* space-x-4 */
    margin-top: 32px;
    /* mt-8 */
}

@media (min-width: 1024px) {

    /* Equivalent to lg breakpoint */
    .products-navigation {
        margin-top: 0;
        /* lg:mt-0 */
    }
}

.products-nav-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    /* w-10 */
    height: 40px;
    /* h-10 */
    border-radius: 9999px;
    /* rounded-full */
    background-color: #e5e7eb;
    /* bg-gray-200 */
    color: #374151;
    /* text-gray-700 */
    transition: background-color 0.3s ease;
    /* transition duration-300 */
    border: none;
    cursor: pointer;
}

.products-nav-button:hover {
    background-color: #d1d5db;
    /* hover:bg-gray-300 */
}

.products-nav-icon {
    width: 20px;
    /* w-5 */
    height: 20px;
    /* h-5 */
}

/* Prawa kolumna: Karty produktów */
.products-cards-column {
    padding: 32px;
    background-color: #2d3138;
    /* lekko jaśniejszy od #23272e */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    flex-direction: column;
}

@media (min-width: 1024px) {

    /* Equivalent to lg breakpoint */
    .products-cards-column {
        width: 66.666667%;
        /* lg:w-2/3 */
    }
}

@media (max-width: 600px) {
    .products-cards-column {
        padding: 8px;
        border-radius: 0;
    }
}

/* Grid produktów */
.products-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 24px;
    padding-bottom: 8px;
    /* Pokaż tylko 3 karty w pełni na desktopie */
    width: 100%;
    max-width: 1248px;
    /* 3 * 384px + 2 * 24px gap */
    margin: 0 auto;
}

@media (max-width: 1279px) {
    .products-grid {
        max-width: 816px;
        /* 2 * 384px + 1 * 24px gap */
    }
}

@media (max-width: 850px) {
    .products-grid {
        max-width: 384px;
    }
}

@media (max-width: 600px) {
    .products-grid {
        max-width: 100vw;
        width: 100vw;
        gap: 8px;
        padding-bottom: 4px;
        margin: 0;
    }
}

/* Ukryj poziomy pasek przewijania w sekcji produktów */
.products-cards-column .products-grid {
    scrollbar-width: none;
    /* Firefox */
}

/* Karta produktu */
.product-card {
    min-width: 384px;
    max-width: 384px;
    flex: 0 0 384px;
    background: #23272e;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: #f3f4f6;
}

@media (max-width: 600px) {
    .product-card {
        min-width: 100vw;
        max-width: 100vw;
        flex: 0 0 100vw;
        border-radius: 0;
        box-shadow: none;
    }
}

/* Obrazek karty produktu */
.product-card-image {
    width: 100%;
    height: 192px;
    /* h-48 */
    object-fit: cover;
}

@media (max-width: 600px) {
    .product-card-image {
        height: 44vw;
        min-height: 120px;
        max-height: 180px;
        border-radius: 0;
    }
}

/* Treść karty produktu */
.product-card-content {
    padding: 16px;
    /* p-4 */
    background: #23272e;
}

.product-card-title {
    color: #f3f4f6;
    font-weight: 600;
    /* font-semibold */
    font-size: 18px;
    /* text-lg */
    margin-bottom: 8px;
    /* mb-2 */
}

.product-card-link {
    color: #498bf7;
    /* text-blue-600 */
    text-decoration: none;
    display: flex;
    align-items: center;
}

.product-card-link:hover {
    text-decoration: underline;
}

.product-card-link-icon {
    width: 16px;
    /* w-4 */
    height: 16px;
    /* h-4 */
    margin-left: 4px;
    /* ml-1 */
}

.product-card-list {
    color: #d1d5db;
    font-size: 14px;
    /* text-sm */
    list-style-type: disc;
    padding-left: 20px;
    /* pl-5 */
    margin-bottom: 16px;
    /* mb-4 */
}

/* Postęp suwaka */
.products-slider-progress-wrapper {
    width: 100%;
    height: 4px;
    background: #23272e;
    border-radius: 2px;
    margin: 12px 0 0 0;
    overflow: hidden;
    position: static;
    z-index: 1;
}

@media (max-width: 900px) {
    .products-slider-progress-wrapper {
        margin-top: 16px;
    }
}

.products-slider-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #3b82f6 0%, #60a5fa 100%);
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(.4, 1, .7, 1);
    transform-origin: right center;
}

@media (max-width: 600px) {
    .products-slider-progress-wrapper {
        margin-left: 0;
        margin-right: 0;
        width: 100vw;
        border-radius: 0;
    }
}

/* Kontakt Section - stylistyka spójna z resztą strony */
.contact-section {
    width: 100%;
    background: #1a1a1abb;
    padding: 4vw 0 4vw 0;
    display: flex;
    justify-content: center;
    flex-direction: column;
    position: relative;
}

/* Pseudo-element for transparent background image */
.contact-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*
    background-image: url(../../../images/photos/background-image-1.webp);
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 500px;*/
    opacity: 0.1;
    /* Adjust this value (0.1 to 1.0) to control transparency */
    pointer-events: none;
    /* Ensures the pseudo-element doesn't interfere with interactions */
    z-index: 0;
    /* Places the background image behind the content */
}

/* Ensure content appears above the background image */
.contact-section>* {
    position: relative;
    z-index: 1;
}

.contact-container {
    max-width: 1440px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 32px 16px;
    background-color: #23272e;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

@media (min-width: 1024px) {
    .contact-container {
        gap: 0;
    }
}

@media (max-width: 600px) {
    .contact-container {
        padding: 8px 0;
        border-radius: 0;
        box-shadow: none;
    }
}

.contact-info {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #23272e;
    color: #f3f4f6;
    border-radius: 8px 0 0 8px;
    flex: 1 1 0%;
    min-width: 0;
}

@media (min-width: 1024px) {
    .contact-info {
        width: 33.333333%;
    }
}

.contact-info h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #f3f4f6;
    margin-bottom: 16px;
}

.contact-info p {
    color: #d1d5db;
    line-height: 1.625;
    margin-bottom: 24px;
}

.contact-details {
    margin-bottom: 24px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #d1d5db;
    font-size: 1rem;
    margin-bottom: 10px;
}

.detail-item i {
    color: #4a8df9;
    font-size: 1.2em;
    min-width: 20px;
    text-align: center;
}

.detail-item a {
    color: #4a8df9;
    text-decoration: none;
}

.detail-item a:hover {
    text-decoration: underline;
}

.social-icons {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.social-icons a {
    color: #3b82f6;
    font-size: 1.3em;
    transition: color 0.2s;
}

.social-icons a:hover {
    color: #60a5fa;
}

.contact-form-container {
    padding: 32px;
    background-color: #2d3138;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 8px 8px 0;
    flex: 2 1 0%;
    min-width: 0;
}

@media (min-width: 1024px) {
    .contact-form-container {
        width: 50%;
    }
}

@media (max-width: 600px) {

    .contact-info,
    .contact-form-container {
        padding: 8px;
        border-radius: 0;
    }
}

.contact-form {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form h3 {
    color: #f3f4f6;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-group label {
    color: #d1d5db;
    font-size: 1rem;
    margin-bottom: 2px;
}

.form-group input,
.form-group textarea {
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #374151;
    background: #23272e;
    color: #f3f4f6;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #3b82f6;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.privacy-link {
    color: #5d99f9;
    text-decoration: underline;
}

.privacy-link:hover {
    color: #60a5fa;
}

.submit-btn {
    background: linear-gradient(90deg, #3b82f6 0%, #60a5fa 100%);
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    padding: 12px 0;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 8px;
}

.submit-btn:hover {
    background: linear-gradient(90deg, #2563eb 0%, #3b82f6 100%);
}

@media (max-width: 900px) {
    .contact-section {
        padding: 24px 0;
    }

    .contact-container {
        flex-direction: column;
        gap: 16px;
    }

    .contact-info,
    .contact-form-container {
        border-radius: 0;
    }
}

/* Dodatkowe style dla sekcji kontaktowej */
.contact-map-wrapper {
    width: 50%;
    border-radius: 0;
    overflow: hidden;
    background: #23272e;
    box-shadow: none;
    display: flex;
    justify-content: center;
}

.contact-map {
    max-width: 1440px;
    height: auto;
    border: none;
    background: #23272e;
    opacity: 1;
    transition: filter 0.3s;
}

.contact-subcontainer-south {
    display: flex;
}

@media (max-width: 700px) {
    .contact-subcontainer-south {
        flex-direction: column;
    }

    .contact-map-wrapper {
        width: 100%;
    }
}

@media (max-width: 900px) {
    .contact-map {
        height: 600px;
    }
}

@media (max-width: 600px) {
    .contact-map {
        height: 600px;
    }

    .contact-map-wrapper {
        border-radius: 0;
    }
}

.contact-subcontainer-north {
    width: 100%;
    margin-bottom: 24px;
}

.contact-north-flex {
    display: flex;
    gap: 48px;
    justify-content: space-between;
    align-items: stretch;
    background: #23272e;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 32px 24px;
    color: #f3f4f6;
}

.contact-info-left,
.contact-info-right {
    flex: 1 1 0;
    min-width: 220px;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-info-left h2 {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #f3f4f6;
}

.contact-info-right .contact-person {
    margin-bottom: 18px;
    background: none;
    padding: 0;
    color: #f3f4f6;
    font-size: 1rem;
}

.contact-info-right .contact-person strong {
    font-size: 1.08em;
    color: #4a8df9;
}

.contact-info-right .contact-person span {
    color: #d1d5db;
    font-size: 0.98em;
}

.contact-info-right .contact-person a {
    color: #60a5fa;
    text-decoration: none;
}

.contact-info-right .contact-person a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .contact-north-flex {
        flex-direction: column;
        gap: 24px;
        padding: 18px 6px;
    }

    .contact-info-left,
    .contact-info-right {
        max-width: 100%;
    }
}

/* Footer styles: white text, black bg, background image, and improved layout */
.footer-section {
    background: #111 url('../../../images/photos/background-image-2.webp') center bottom 45px repeat-x;
    color: #fff;
    padding: 48px 0 0 0;
    font-family: 'Roboto', Arial, sans-serif;
    position: relative;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 32px;
    gap: 32px;
}

.footer-col {
    flex: 1 1 220px;
    min-width: 220px;
    margin-bottom: 32px;
}

.footer-col-logo {
    max-width: 350px;
}

.footer-logo {
    width: 120px;
    margin-bottom: 16px;
}

.footer-heading {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-menu a:hover {
    color: #00bfff;
}

.footer-email a:hover {
    color: #00bfff;
}

.phone-link:hover {
    color: #00bfff;
}

@media (max-width:600px) {
    .footer-menu {
        display: flex;
        flex-wrap: wrap;
    }

    .footer-menu li {
        margin-right: 5px;
    }

    .footer-col {
        flex: 0 0 0;
    }
}

.footer-col-address a {
    color: #fff;
    text-decoration: underline;
    word-break: break-all;
}

.footer-col-address {
    display: flex;
    flex-direction: column;
}

.footer-col-address>div {
    height: 50%;
}

.footer-col-contact {
    display: flex;
    flex-direction: column;
}

.footer-col-contact>div {
    height: 100%;
}

@media (max-width:600px) {
    .footer-col-address>div {
        height: auto;
    }

    .footer-col-contact>div {
        height: auto;
    }
}

.footer-phones {
    list-style: none;
    padding: 0;
    margin: 0 0 12px 0;
}

.footer-phones li {
    margin-bottom: 6px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.footer-social-icon {
    color: #fff;
    background: #222;
    border-radius: 4px;
    padding: 8px 10px;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    transition: background 0.2s, color 0.2s;
    width: 34px;
    max-width: 34px;
}

.footer-social-icon:hover {
    background: #00bfff;
    color: #111;
}

.footer-desc {
    font-size: 1rem;
    color: #fff;
    margin-top: 0;
    margin-bottom: 0;
}

.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    color: #fff;
    font-size: 1rem;
    padding: 18px 0 12px 0;
    margin-top: 12px;
    background: rgba(0, 0, 0, 0.7);
}

@media (max-width: 600px) {
    .footer-container {
        flex-direction: column;
        gap: 0;
        padding: 0 16px;
    }

    .footer-col {
        margin-bottom: 24px;
    }
}

/* === Lista przycisków produktowych === */
.product-btn-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0 0 24px 0;
}

.product-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    color: #222;
    border: none;
    border-radius: 6px;
    padding: 16px 22px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
    position: relative;
}

.product-btn .product-btn-arrow {
    display: none;
    margin-left: 12px;
    font-size: 1.3rem;
    font-weight: 700;
    transition: color 0.2s;
}

.product-btn.selected,
.product-btn:hover {
    background: #0883c6;
    color: #fff;
}

.product-btn.selected .product-btn-arrow,
.product-btn:hover .product-btn-arrow {
    display: inline;
    color: #fff;
}

.product-btn:not(.selected):not(:hover) .product-btn-arrow {
    display: none;
}

.product-description-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    margin: 25px;
    max-width: 1385px;
}

.sticky-middle {
    display: block;
    position: sticky;
    top: 0%;
    display: flex;
    align-items: center;
    width: 60%;
}

@media (max-width:1530px) {
    .product-description-container {
        justify-content: unset;
    }
}

@media (max-width: 1040px) {
    .dark-overlay-img {
        width: 80%;
    }

    .sticky-middle {
        flex-direction: column;
    }

    .product-btn-list {
        flex-wrap: wrap;
        flex-direction: row;
    }

    .dark-overlay-img {
        width: 100%;
    }
}

@media (max-width: 600px) {}

.dark-overlay-img {
    /* Adjust darkness */
    /* Experiment with 'multiply', 'color-burn', etc. */
}

/* === Koniec stylów listy przycisków === */

/* Białe litery na czarnym tle dla sekcji opisu produktu */
.product-description-text.white-on-black {
    background: #111;
    color: #fff;
    padding: 32px 28px;
    border-radius: 8px;
    font-size: 1.08rem;
    line-height: 1.7;
    margin-bottom: 18px;
    width: 30%;
}

.product-description-text.white-on-black strong {
    color: #fff;
    font-weight: 700;
}

.product-description-text.white-on-black a.white-link {
    color: #fff;
    text-decoration: underline;
    transition: color 0.2s;
}

.product-description-text.white-on-black a.white-link:hover {
    color: #0883c6;
}

@media (max-width: 700px) {
    .product-description-text.white-on-black {
        padding: 18px 8px;
        font-size: 0.98rem;
    }
}

/* Kontener ograniczający rozmiar obrazka w sticky-middle */
.sticky-middle .img-parent {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sticky-middle .img-parent img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.13);
}

/* === Nowa struktura sekcji produktu === */
.product-header-section {
    background: #181818;
    padding: 48px 0 0 0;
    text-align: center;
}

.product-header-container {
    max-width: 1100px;
    margin: 0 auto;
}

.product-main-image img {
    width: 100%;
    max-width: 520px;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.10);
    padding: 12px;
    display: block;
}

.product-main-image {
    background: #232323;
    border-radius: 10px;
    margin-top: 12px;
}

.product-title-main {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0;
    letter-spacing: -1px;
}

.product-details-section {
    color: #fff;
    padding: 40px 0 48px 0;
    background-blend-mode: multiply;
}

.product-details-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: flex-start;
}

.product-description-block {
    position: sticky;

    z-index: 2;
    border-radius: 10px;
    padding: 32px 28px 28px 28px;
    margin-bottom: 0;
    max-width: 420px;
    min-width: 280px;
}

.product-description-block-large {
    padding: 32px 5px 28px 5px;
    max-width: 550px;
}

@media (max-width:900px) {
    .product-description-block {
        position: relative;
    }
}

.product-details-heading {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: #fff;
}

.product-features-heading {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 28px 0 10px 0;
    color: #fff;
}

.product-features-list {
    margin: 0 0 0 18px;
    padding: 0;
    color: #fff;
    font-size: 1.08rem;
    line-height: 1.7;
}

.product-technical-block {
    flex: 1 1 340px;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.product-table-title {
    margin-bottom: 10px;
}

.product-technical-drawing {
    border-radius: 10px;
    padding: 18px 18px 10px 18px;
    text-align: center;
}

.product-technical-drawing img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;

}

.product-drawing-caption {
    font-size: 0.98rem;
    color: #bbb;
    margin-bottom: 0;
}

.product-spec-table-wrapper {
    background: #232323;
    border-radius: 10px;
    padding: 18px 12px 12px 12px;
    overflow-x: auto;
}

.product-spec-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 480px;
    background: transparent;
}

.product-spec-table th,
.product-spec-table td {
    border: 1px solid #333;
    padding: 10px 16px;
    text-align: left;
    font-size: 1.05rem;
}

.product-spec-table th {
    background: #222;
    color: #fff;
    font-weight: 700;
}

.product-spec-table td {
    background: #232323;
    color: #fff;
}

.product-spec-table tr:nth-child(even) td {
    background: #202020;
}

@media (max-width: 900px) {
    .product-details-container {
        flex-direction: column;
        gap: 32px;
    }

    .product-description-block,
    .product-technical-block {
        max-width: 100%;
        margin: auto;
        padding: 15px;
    }
}

@media (max-width: 600px) {
    .product-header-section {
        padding: 24px 0 10px 0;
    }

    .product-title-main {
        font-size: 1.4rem;
    }

    .product-details-section {
        padding: 18px 0 24px 0;
    }

    .product-details-heading,
    .product-features-heading {
        font-size: 1.05rem;
    }

    .product-spec-table th,
    .product-spec-table td {
        padding: 7px 6px;
        font-size: 0.95rem;
    }
}


@media (max-width:600px) {

    .product-spec-table-wrapper,
    .product-technical-drawing,
    .product-main-image,
    .product-main-image img {
        border-radius: 0px;
    }
}

/* === Vertical Product Buttons Menu (template style) === */
.product-buttons-menu {
    list-style: none;
    margin: 32px 0 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.product-buttons-menu--vertical {
    width: 100%;
    max-width: 100%;
}

.product-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 15px;
    font-size: 1.18rem;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    background: linear-gradient(1deg, #181818 0%, #232323 100%);
    color: #fff;
    box-shadow: 0 2px 12px 0 rgba(66, 153, 161, 0.10);
    cursor: pointer;
    transition: box-shadow 0.2s, background 0.2s, color 0.2s;
    outline: none;
    position: relative;
}

.product-menu-btn--primary {
    background: linear-gradient(90deg, #3b82f6 0%, #60a5fa 100%);
    color: #fff;
}

.product-menu-btn:hover {
    background: linear-gradient(90deg, #2563eb 0%, #3b82f6 100%);
    color: #fff;
    box-shadow: 0 4px 16px 0 rgba(66, 153, 161, 0.18);
}

.product-menu-btn--premium {
    box-shadow: 0 0 12px 2px #4299a1;
}

.product-menu-btn i {
    margin-right: 8px;
    font-size: 1.1em;
}

@media (max-width: 600px) {
    .product-buttons-menu {
        gap: 10px;
    }

    .product-menu-btn {
        font-size: 1rem;
        padding: 14px 10px;
    }
}


.product-menu-li {
    width: 100%;
}

        .gallery-section {
            padding: 40px 0 60px 0;
        }

        .gallery-container {
            max-width: 1300px;
            margin: 0 auto;
            padding: 0 24px;
        }

        .gallery-heading {
            color: #fff;
            text-align: center;
            font-size: 2.2rem;
            font-weight: 500;
            margin-bottom: 32px;
            letter-spacing: 1px;
        }

        .gallery-grid {
            display: grid;
            justify-items: center;
            grid-template-columns: repeat(4, 1fr);
            gap: 16px 16px;
        }

        .gallery-item {
            background: #4a90a4;
            border-radius: 8px;
            box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.10);
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2px;
            transition: box-shadow 0.2s;
        }

        .gallery-item:hover {
            box-shadow: 0 4px 24px 0 rgba(49,171,255,0.18);
        }

        .gallery-item img {
            width: 320px;
            height: 220px;
            max-width: 100%;
            max-height: 100%;
            object-fit: cover;
            border-radius: 8px;
            background: #fff;
            cursor: pointer;
            transition: transform 0.2s;
        }

        .gallery-item img:hover {
            transform: scale(1.04);
        }

        /* Modal styles */
        .img-modal {
            display: flex;
            position: fixed;
            z-index: 9999;
            left: 0;
            top: 0;
            width: 100vw;
            height: 100vh;
            overflow: auto;
            background-color: rgba(0,0,0,0.92);
            align-items: center;
            justify-content: center;
            animation: fadeIn 0.2s;
        }

        .img-modal-content {
            margin: auto;
            display: block;
            max-width: 90vw;
            max-height: 90vh;
            border-radius: 12px;
            box-shadow: 0 4px 32px 0 rgba(49,171,255,0.18);
        }

        .img-modal-close {
            position: absolute;
            top: 32px;
            right: 48px;
            color: #fff;
            font-size: 3rem;
            font-weight: 300;
            cursor: pointer;
            z-index: 10000;
            transition: color 0.2s;
        }

        .img-modal-close:hover {
            color: #49abff;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @media (max-width: 700px) {
            .gallery-grid {
                grid-template-columns: 1fr;
            }

            .gallery-item img {
                width: 100%;
                height: 180px;
            }
        }

/* Product Grid Section */
.product-grid-section {
    padding: 2rem 3rem 3rem 3rem;
    background: #181818;
}

@media (max-width: 700px) {
    .product-grid-section {
        padding: 0.25rem;
    }
}

.product-grid-section-title {
    font-family: 'Inter', 'Roboto', Arial, sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #e5e7eb;
    margin-bottom: 2rem;
    text-align: center;
}

.product-grid {
    display: grid;
    grid-template-columns: 2fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 2fr);
    }
}
@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 2fr);
    }
}

.product-option-card {
    border-radius: 1rem;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.18);
    overflow: hidden;
    background: #232323;
    padding: 0.2rem;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.product-option-card-container {
    background: #222;
    border-radius: 0.75rem;
    padding: 1.5rem;
    gap: 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-option-card-container:hover {
    background:#2b2b2b;
}

/* Product card background blend hover effect */
.product-option-card-container {
    transition: background-color 0.25s, background 0.25s;
}
.product-option-card:hover .product-option-card-container,
.product-option-card:focus .product-option-card-container {
    background-color: #2b2b2b !important;
    /* If using inline background-image, keep it, just change color */
}

.product-option-card-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
}
@media (min-width: 768px) {
    .product-option-card-top {
        flex-direction: row;
        align-items: flex-start;
    }
}

.product-option-card-image {
    width: 6rem;
    height: 6rem;
    background: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px 0 rgba(0,0,0,0.12);
    flex-shrink: 0;
    border-radius: 0.5rem;
}
@media (min-width: 768px) {
    .product-option-card-image {
        width: 8rem;
        height: 8rem;
    }
}

.product-option-card-title {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1rem;
    text-align: center;
}
@media (min-width: 768px) {
    .product-option-card-title {
        margin-left: 1rem;
        margin-top: 0;
        text-align: left;
        font-size: 1.5rem;
    }
}

.product-option-card-description {
    color: #d1d5db;
    font-size: 1rem;
    line-height: 1.7;
    margin-top: 1rem;
}
@media (min-width: 768px) {
    .product-option-card-description {
        font-size: 1.08rem;
    }
}


.underscore-disabled:hover {
    text-decoration: none;
}

/* Ensure all product cards have equal height in the grid */
.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}
@media (max-width: 700px) {
    .product-grid {
        grid-template-columns: auto;
    }
}
@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.product-option-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.product-option-card-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-grid-title {
    color: white;
    text-align: center;
    justify-content: center;
    align-items: center;
    display: flex;
    margin-bottom: 50px;
}