.offertspage_container .offertspage-table_box .add-product-box.visible.mt--1 { margin-top: 10px; }

.me-45 {
    margin-right: 2rem !important;
}

span.pink,
li.pink,
p.pink,
a.pink { color: #e20079; }

.mt--1 { margin-top: 10px; }
.mt--2 { margin-top: 20px; }
.mt--3 { margin-top: 30px; }
.mt--4 { margin-top: 40px; }

.mb--1 { margin-bottom: 10px; }
.mb--2 { margin-bottom: 20px; }
.mb--3 { margin-bottom: 30px; }
.mb--4 { margin-bottom: 40px; }

.pt--1 { padding-top: 10px; }
.pt--2 { padding-top: 20px; }
.pt--3 { padding-top: 30px; }
.pt--4 { padding-top: 40px; }

.pb--1 { padding-bottom: 10px; }
.pb--2 { padding-bottom: 20px; }
.pb--3 { padding-bottom: 30px; }
.pb--4 { padding-bottom: 40px; }

.alert  { border-radius: 0; }

.email      { display: none; }

a.common    { color: #e6007e; text-decoration: none; }
a.common:focus,
a.common:hover { color: #34224f; }

.color-btn:hover img {
    content: url(./../assets/icons/common/buttons/button_pink_arrow.svg);
}

.red {
    color: red;
}

.green {
    color: green;
}

textarea.fail,
select.fail,
input.fail {
    border-color: #f4afad !important;
    color: #a94442 !important;
    background-color: #f08481 !important;
}

label.fail,
label.fail a {
    color: #a94442 !important;
}

div#types-brandings-info {
    display: flex;
    flex-direction: row;
    gap: 35px;
}

@media (max-width: 768px) {
    div#types-brandings-info {
        flex-direction: column;
    }
    div#types-brandings-info div.branding-techniques {
        margin-top: 35px;
    }
}

.types-container-tags .types-container__tag {
    max-height: 40px;
}

/* === Slajd 360 === */
.slide-360 .view360-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    overflow: hidden;
}

.slide-360 .iframe-360 {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* === Miniatura 360 === */
.thumb-360 {
    position: relative;
    overflow: hidden;
}

/* wyśrodkowanie idealnie na środku */
.thumb-360-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    pointer-events: none;
    z-index: 2;
    opacity: 0.9;
}

/* opcjonalne przyciemnione tło */
.thumb-360-badge::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(2px);
    border-radius: 50%;
}

/* SVG nad tłem */
.thumb-360-badge svg {
    position: relative;
    z-index: 1;
    width: 54px;
    height: 54px;
    color: #fff;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}

.dashboard-wrapper.filtered {
    height: auto;
}

/* Główny kontener paska filtrów - układa elementy w poziomie od lewej do prawej */
.dashboard-wrapper .title.title-filter {
    display: flex;
    flex-wrap: wrap;       /* Pozwala na zawijanie na mniejszych ekranach */
    justify-content: flex-start; /* Wymusza przyleganie od lewej strony i kierunek w prawo */
    align-items: center;   /* POPRAWKA: środek w pionie (wartość 'left' tu nie działa) */
    gap: 15px;             /* Odstępy między elementami */
    padding: 15px 40px 15px 0;
}

/* Styl dla napisu "Filtruj" */
.dashboard-wrapper .title.title-filter .filter-header {
    margin: 0 40px 0 0;
    font-size: 1.1em;
    font-weight: bold;
    /* Obniża napis o wysokość labela + marginesu, żeby był w jednej linii z inputami */
    margin-top: 18px;
}

/* Pojedynczy box filtra: label nad inputem */
.dashboard-wrapper .title.title-filter .filter-group {
    display: flex;
    flex-direction: column; /* Label ląduje nad inputem */
    font-size: 0.75em;
}

/* Delikatny odstęp między labelem a inputem */
.dashboard-wrapper .title.title-filter .filter-group label {
    margin-bottom: 4px;
    font-weight: 600;
}

.dashboard-wrapper .title.title-filter .filter-group input {
    max-width: 120px;
    font-size: 1em;
    padding: 10px 6px;
    height: auto;
    margin: 0;
}

/* Dopasowanie wysokości przycisku i wyrównanie go do dołu, by pasował do inputów */
.dashboard-wrapper .title.title-filter .filter-actions {
    align-self: flex-end; /* Wyrównuje dół przycisku do dolnej krawędzi inputów */
}

@media (max-width: 991px) {
    .dashboard-wrapper .title.title-filter {
        justify-content: center;
    }
    .dashboard-wrapper .title.title-filter .filter-group input {
        margin: 0;
    }
}

.dashboard-wrapper .title.title-filter .filter-actions button.color-btn,
.dashboard-wrapper .title.title-filter .filter-actions button.white-btn {
    padding: 6px 15px;
    margin-top: 20px;
    height: auto;
}

/* Kontener główny ramki */
.checkbox-frame.selectable-active {
    position: relative;
    border: 2px solid #ebebeb;
    border-radius: 0px;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    padding: 45px 15px 15px 15px;
    background: #fff;
    box-sizing: border-box;
}

/* Efekt najechania */
.checkbox-frame.selectable-active:hover {
    border-color: #afafaf;
}

/* Stan po zaznaczeniu ramki */
.checkbox-frame.is-selected {
    border-color: #f26521;
    background-color: #fffbf9;
}

/* Pasek górny (tekst + checkbox) */
.selection-top-bar {
    position: absolute;
    top: 5px;
    right: 5px;
    display: flex;
    align-items: end;
    justify-content: flex-end;
    z-index: 10;
    width: 25px;
    height: 25px;
}

/* Stylizacja checkboxa */
.frame-selector-input {
    width: 25px !important;
    height: 25px !important;
    cursor: pointer;
    margin: 0 !important;
    flex-shrink: 0;
}

/* Poprawka dla obrazka, aby nie blokował kliknięć jeśli potrzeba */
.checkbox-frame .image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

div#nav-branding {
    background-color: #fff;
}
div#nav-branding p.frames-choice {
    width: 100%;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f4f4f4;
}

.btn-small {
    height: auto !important;
    width: auto !important;
    white-space: unset !important;
    margin: 0 !important;
    padding: 5px 15px !important;
    font-size: 0.75em !important;
}

button.btn-load-intro:hover {
    border: 1px solid #e6007e;
}

nav .nav-account-cart a span {
    font-size: 14px;
    width: 72px;
}

/* ===== Miniaturka wideo ===== */
.yt-container {
    position: relative;
    cursor: pointer;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.yt-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    background: rgba(255, 0, 0, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    pointer-events: none;
}

.play-button::after {
    content: '';
    display: block;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent #fff;
    margin-left: 3px;
}

.yt-container:hover .play-button {
    background: #ff0000;
    transform: translate(-50%, -50%) scale(1.1);
}

/* ===== Popup z filmem ===== */
.yt-popup-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 99999;
    justify-content: center;
    align-items: center;
}

.yt-popup-content {
    position: relative;
    width: 95%;
    max-width: 1200px;
    aspect-ratio: 16 / 9;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    background: #000;
}

#yt-player-container,
#yt-player-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.close-popup {
    position: absolute;
    top: -50px;
    right: 0;
    color: #fff;
    font-size: 45px;
    cursor: pointer;
    line-height: 1;
}