/* =========================
   HORIZONTAL INSTRUMENT LIST
   ========================= */

.instrument-list-horizontal {
    display: flex;
    gap: 30px;
    list-style: none;
    padding-left: 0;
    margin: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

/* Hide scrollbar */
.instrument-list-horizontal::-webkit-scrollbar {
    display: none;
}

.instrument-list-horizontal {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.instrument-list-horizontal .products-viewed-item {
    flex: 0 0 auto;
    width: 256px;
    scroll-snap-align: start;
}

.instrument-list-horizontal figure {
    margin: 0;
}

/* =========================
   INSTRUMENT DETAILS
   ========================= */

.instrument-gallery-main img {
    width: 100%;
    display: block;
}

.instrument-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.instrument-thumbs a img {
    width: 100%;
    display: block;
}

.instrument-title {
    margin: 0;
}

.instrument-subtitle {
    margin-top: 10px;
    opacity: 0.85;
}

/* Specs list */
.spec-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.spec-list li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.spec-label {
    font-weight: 600;
    opacity: 0.9;
}

.spec-value {
    text-align: right;
    opacity: 0.85;
}

/* Responsive thumbs */
@media (max-width: 991px) {
    .instrument-thumbs {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

    .spec-list li {
        flex-direction: column;
        align-items: flex-start;
    }

    .spec-value {
        text-align: left;
    }
}


/*-----------------------*/



/* =========================
   NAVBAR: left logo | centered menu | right logo
   Minimal changes, desktop only
   ========================= */

/* nie zmieniamy działania mobilnego */
@media (min-width: 992px) {

    /* kontener navbaru jako flex */
    .navbar>.container,
    .navbar .container {
        display: flex;
        align-items: center;
    }

    /* logo-wrapper rozciąga się na całą szerokość i robi dwie strony */
    .navbar .logo-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    /* menu absolutnie na środku (nie zależy od szerokości log) */
    .navbar .navbar-collapse {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        z-index: 2;
    }

    /* upewniamy się, że ul nie ma ms-auto które spycha */
    .navbar .navbar-nav {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* loga nad menu (żeby nie znikały) */
    .navbar .logo-wrapper {
        position: relative;
        z-index: 3;
    }
}

@media (min-width: 992px) {
    .navbar .logo-wrapper {
        pointer-events: none;
    }

    .navbar .logo-wrapper a {
        pointer-events: auto;
    }
}



/* MOBILE / TABLET */
.navbar .logo-img,
.navbar .logo-img--custom {
    height: 48px;
    width: auto;
    display: block;
}

/* DESKTOP  */
@media (min-width: 992px) {

    .navbar .logo-img,
    .navbar .logo-img--custom {
        height: 94px;
    }
}



/* =========================
   NAVBAR: podstrony = jasny navbar od startu
   (home zostaje bez zmian)
   ========================= */

@media (min-width: 992px) {
    body.is-page .navbar {
        position: fixed;
        /* żeby nie "pływał" jak absolute na białym tle */
        background: #fff;
        border-bottom: 1px solid #f4f4f4;
        height: 80px;
        /* jak nav-scroll */
        transform: none;
        /* na wszelki wypadek */
    }

    body.is-page .navbar .navbar-nav .nav-link {
        color: #272727;
    }

    body.is-page .dropdown .nav-link i {
        color: rgba(0, 0, 0, 0.5);
    }

    /* jeśli JS doda .nav-scroll na podstronie, wygląd ma być identyczny */
    body.is-page .navbar.nav-scroll {
        top: 0;
        transform: none;
        background: #fff;
    }
}

/* mobile/tablet i tak masz już ciemne linki w menu, ale dopinamy spójność */
@media (max-width: 991px) {
    body.is-page .navbar {
        background: #fff;
        position: relative;
        /* albo fixed, jeśli chcesz sticky na mobile */
    }

    body.is-page .navbar .navbar-nav .nav-link {
        color: #272727;
    }
}



/* =========================
   COOKIE CONSENT (subtle)
   ========================= */
/* Cookie consent — subtle, Bauen-like */
.cookie-consent {
    position: fixed;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 9999;

    display: none;
    /* JS włączy */
}

.cookie-consent.is-visible {
    display: block;
}

.cookie-consent__inner {
    max-width: 980px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    padding: 12px 14px;

    background: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(6px);

    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 10px;
}

.cookie-consent__text {
    margin: 0;
    font-size: 13px;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.85);
}

.cookie-consent__link {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-consent__btn {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.20);
    background: rgba(255, 255, 255, 0.10);
    color: #fff;

    padding: 8px 12px;
    border-radius: 8px;

    font-size: 12px;
    letter-spacing: .04em;
    text-transform: uppercase;

    transition: transform .15s ease, background .15s ease, border-color .15s ease;
    white-space: nowrap;
}

.cookie-consent__btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.28);
}

/* mobile: układ w kolumnie */
@media (max-width: 575px) {
    .cookie-consent__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-consent__btn {
        width: 100%;
        text-align: center;
    }
}

/* Footer background — force override */
footer.main-footer.dark {
    background: #272727 !important;
    color: #fff;
}

footer.main-footer.dark .sub-footer {
    background: #272727 !important;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

footer.main-footer.dark a,
footer.main-footer.dark p,
footer.main-footer.dark h1,
footer.main-footer.dark h2,
footer.main-footer.dark h3,
footer.main-footer.dark h4,
footer.main-footer.dark h5,
footer.main-footer.dark h6,
footer.main-footer.dark .fothead h6 {
    color: #fff;
}






.footer-powered {
    font-size: 13px;
    line-height: 1.6;
    opacity: 0.85;
}

.footer-powered .powered-label {
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.15em;
    opacity: 0.6;
    margin-right: 4px;
}

.footer-powered a {
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: all .2s ease;
}

.footer-powered a:hover {
    opacity: 1;
    border-bottom-color: #fff;
}



/* Decorative lines must not block clicks */
.content-lines-wrapper,
.content-lines-inner,
.content-lines {
    pointer-events: none;
}





/* =========================
   Buttons – Nexus accent
   ========================= */

.btn-light {
    background-color: #b19777;
    border-color: #b19777;
    color: #fff;
}

/* hover / focus – klasyczny kontrast */
.btn-light:hover,
.btn-light:focus {
    background-color: #272727;
    border-color: #272727;
    color: #fff;
}

/* accessibility */
.btn-light:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(177, 151, 119, 0.35);
}







/* =========================
   Form controls 
   ========================= */

.form-control,
.form-select,
textarea {
    border: 1px solid #ced4da;
    box-shadow: none;
    background-color: #ffffff;
}

/* hover – bez fajerwerków */
.form-control:hover,
.form-select:hover,
textarea:hover {
    border-color: #ced4da;
}

/* focus – subtelny akcent */
.form-control:focus,
.form-select:focus,
textarea:focus {
    border-color: #b19777;
    box-shadow: none;
    outline: none;
}

/* placeholder – delikatniejszy */
.form-control::placeholder,
textarea::placeholder {
    color: rgba(0, 0, 0, 0.45);
}


/* =========================================================
   NEXUS FORMS — hard override BAUEN input underline styles
   Search + Contact = identical look
   ========================================================= */

.nexus-form input[type="text"],
.nexus-form input[type="email"],
.nexus-form input[type="password"],
.nexus-form input[type="file"],
.nexus-form textarea {
    background-color: #fff !important;
    border: 1px solid #ced4da !important;
    border-bottom: 1px solid #ced4da !important;

    padding: 0.375rem 0.75rem !important;
    margin-bottom: 0 !important;

    font-family: inherit;
    font-size: 16px;
    color: #212529;

    box-shadow: none !important;
    outline: none;
}

/* focus */
.nexus-form input:focus,
.nexus-form textarea:focus {
    border-color: #b19777 !important;
    box-shadow: none !important;
}

/* placeholder */
.nexus-form input::placeholder,
.nexus-form textarea::placeholder {
    color: rgba(0, 0, 0, 0.45);
}

/* textarea height */
.nexus-form textarea {
    resize: vertical;
    min-height: 140px;
}

/* Force Oswald in Nexus forms */
.nexus-form input,
.nexus-form textarea,
.nexus-form select,
.nexus-form button {
    font-family: 'Oswald', sans-serif !important;
}


