/* === Global ===*/


a {
    /*color: #c00000;*/
    color: #4a4f57
    position: relative;
    text-decoration: none;
}

/*a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background: #c00000;
    transition: 0.3s;
}*/

a:hover::after {
    width: 100%;
}

a:hover {
    color: #c00000;
    text-decoration: none;
    /*text-decoration: underline; */
}

a:visited {
    color: #4a4f57;;
    text-decoration: none;
    /*text-decoration: underline; */
}

/*body a {
    color: #c00000 !important;
}*/

/* Linki w menu */
.nav a,
.navigation a {
    color: #c00000;
}

/* Stopka */
footer a {
    color: #d0d0d0;
}

footer a:hover {
    color: #ffffff;
} */


/* modular text */

section .modular-text {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* === Wideo baner === */

.video-banner {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}
.video-banner {
    margin-left: calc(-50vw + 50%);
    width: 100vw; 
    pointer-events: none;
}

.video-banner video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.video-overlay h1 {
    color: rgba(255, 255, 255, 0.5);
    font-size: clamp(2rem, 6vw, 5rem);
    font-weight: 800;
    letter-spacing: 3px;
 /*   text-transform: uppercase; */
    text-shadow: 0 6px 25px rgba(0, 0, 0, 0.7);
}

.under-banner-text h1 {
    text-align: center;
}

.under-banner-text h2 {
    text-align: center;
}
/* product gallery */

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    /* USUWAMY ODSTĘPY */
}

.product-item {
    position: relative;
    overflow: hidden;
}

.product-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

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

.product-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    color: #ffffff !important;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 2;

    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));

    /* KLUCZOWE NADPISANIE */
    visibility: visible !important;
    height: auto !important;
    opacity: 1 !important;
}

.product-item:hover .overlay {
    padding-bottom: 35px;
}

.product-thumb.active-thumb {
    border: 2px solid #111;
}

.product-main-image img {
    transition: opacity 0.2s ease;
}

.product-image-caption {
    margin-top: 10px;
    font-size: 14px;
    color: #777;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* rozmiar logo */
#header .logo img,#header .logo svg {
    display: inherit;
    height: 60px
} 

/* stopka */
/* ===== STOPKA ===== */

.custom-footer {
    background: #161616; /* głęboki grafit */
    padding: 50px 20px;
    border-top: 2px solid #575757; /* subtelna linia oddzielająca */
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.footer-logo img {
    max-width: 170px;
     padding: 50px 20px;
 /*   filter: brightness(0) invert(1); */
}

.footer-columns {
    flex: 1;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 0.95rem;
    margin-bottom: 18px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.footer-col h4::after {
    content: "";
    display: block;
    width: 30px;
    height: 2px;
    background: #c00000; /* kolor marki */
    margin-top: 8px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    text-decoration: none;
    color: #d0d0d0;
   /* font-size: 0.95rem;*/
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: #ffffff;
    transform: translateX(3px); /* delikatny ruch premium */
}

.footer-col p {
    color: #d0d0d0;
 /*   font-size: 0.95rem; */
    line-height: 1.7;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 900px) {

    .footer-container {
        flex-direction: column;
        gap: 40px;
    }

    .footer-columns {
        flex-direction: column;
        gap: 30px;
    }

}

/* ===== STRONA PRODUKTY ===== */

.products-page {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.category-title {
    margin: 60px 0 30px;
    font-size: 1.8rem;
    font-weight: 700;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    display: block;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    margin: 0 0 10px;
    color: #111;
}

.product-info p {
    color: #666;
    font-size: 0.95rem;
}

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

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* ===== STRONA PRODUKTU ===== */

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

/* ===== TYTUŁ ===== */

.product-title {
    font-size: 34px;
    margin-bottom: 40px;
    max-width: 600px;
}

/* GŁÓWNY UKŁAD */

.product-main {
    display: flex;
    justify-content: space-between;
    gap: 40px; /* zmniejszony odstęp */
    align-items: flex-start;
}

/* LEWA KOLUMNA - OGRANICZENIE SZEROKOŚCI */

.product-left {
    flex: 0 0 45%;
    max-width: 600px;
}

/* GŁÓWNE ZDJĘCIE */


.product-main-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    /* możesz zmienić na 1 / 1 jeśli wolisz kwadrat */
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* OBRAZ */

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* nie przycina */
    transition: opacity 0.2s ease;
}

/* MINIATURY */

.product-thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 20px;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-behavior: smooth;
}

/* ukrycie pasków */
.product-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.product-thumbnails::-webkit-scrollbar-thumb {
    background: #bbb;
}

.product-thumb {
    flex: 0 0 calc((100% - 48px) / 5); /* max 5 widocznych */
    max-width: 110px;
    height: 80px;

    object-fit: cover;
    cursor: pointer;
    transition: 0.3s;
}

.product-thumb:hover {
    transform: scale(1.05);
}

/* PRAWA KOLUMNA */

.product-right {
    flex: 1;
    max-width: 600px;
}

.product-right {
    flex: 0 0 55%;
    max-width: 700px;
}


/* OPIS KRÓTKI */

.product-short-desc {
    font-size: 17px;
    line-height: 1.8;
}

/* ===== PRZYCISK SPRAWDŹ CENĘ ===== */

.product-price-button {
    margin-top: 25px;
}

.product-price-button .btn-check-price {
    display: inline-block;
    background-color: #c00000 !important;
    color: #ffffff !important;
    padding: 14px 32px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.product-price-button .btn-check-price:hover {
    background-color: #900000 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* OPIS PEŁNY */

.product-full-desc {
    margin-top: 100px;
    font-size: 16px;
    line-height: 1.8;
}

.product-full-desc img {
    max-width: 100%;
    height: auto;
}

/* ===== TABELA PRODUKTY - STYL PREMIUM ===== */

.product-full-desc table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px 0;
    font-size: 15px;
    background: #ffffff;
}

/* Nagłówek */
.product-full-desc table thead {
    background-color: #111111;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-full-desc table thead th {
    padding: 14px 16px;
    font-weight: 600;
    border-bottom: 3px solid #c00000;
    text-align: left;
}

/* Komórki */
.product-full-desc table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid #e5e5e5;
}

/* Alternatywne wiersze */
.product-full-desc table tbody tr:nth-child(even) {
    background-color: #f7f7f7;
}

/* Hover */
.product-full-desc table tbody tr:hover {
    background-color: #fff5f5;
    transition: 0.2s ease;
}

/* Linki w tabeli */
.product-full-desc table a {
    color: #c00000;
    font-weight: 600;
    text-decoration: none;
}

.product-full-desc table a:hover {
    text-decoration: underline;
}

/* ===== RESPONSYWNA TABELA ===== */

@media (max-width: 768px) {
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}


/* ===== POWIĄZANE PRODUKTY ===== */

.related-products {
    margin-top: 60px;
}

.related-products h3 {
    margin-bottom: 25px;
    font-size: 22px;
}

.related-products-wrapper {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.related-products-wrapper::-webkit-scrollbar {
    height: 6px;
}

.related-products-wrapper::-webkit-scrollbar-thumb {
    background: #c00000;
    border-radius: 3px;
}

.related-item {
    flex: 0 0 20%; /* max 5 na szerokość */
    min-width: 180px;
    text-decoration: none;
    color: #222;
    transition: 0.3s ease;
}

.related-item img {
    width: 100%;
    border-radius: 6px;
    display: block;
}

.related-title {
    display: block;
    margin-top: 10px;
    font-weight: 600;
    text-align: center;
}

.related-item:hover {
    transform: translateY(-5px);
}


/* ===== MOBILE ===== */

@media (max-width: 1000px) {

    .product-main {
        flex-direction: column;
        gap: 40px;
    }

    .product-left,
    .product-right {
        max-width: 100%;
    }

    .product-main-image img {
        max-height: 350px;
    }

    .product-thumb {
        flex: 0 0 90px;
    }
}

/* === MENU  === */

.dropmenu ul li a.active, .dropmenu ul li a:focus, .dropmenu ul li a:hover {
    color: #c00000 !important;
}


/* === Default template === */

/* --- zmniejsz odstęp pod paragrafem --- */
.container p {
    margin: 0 0 0.2rem;
}

/* ===== MODUŁ FEATURES WHITE ===== */

.features-white {
    background: #ffffff;
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-item {
    text-align: center;
    text-decoration: none;
    color: #222;
}

.feature-item img {
    width: 100%;
    max-width: 220px;
    margin: 0 auto 20px;
    display: block;
}

.feature-title {
    font-weight: 600;
    font-size: 16px;
}

.feature-title a {
    color: #c40000;
    text-decoration: none;

}

/* RESPONSYWNOŚĆ */

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Logo mobile */
@media (max-width: 768px) {
    #header .logo img {
        content: url('/user/themes/tauros/images/logo/tauros-hand-logo.png');
    }
}