* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

html,
body {
    min-height: 100%;
}

body {
    background: #111;
    color: #222;
}

body.admin-body {
    background: #f4f4f4;
}

.site-video-bg {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.site-video-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.60);
    z-index: -1;
}

.navbar {
    width: 100%;
    min-height: 85px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: 45px;
    padding: 0 40px;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    position: relative;
    z-index: 50;
}

.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-left {
    justify-content: flex-end;
}

.nav-right {
    justify-content: flex-start;
}

.nav-link {
    text-decoration: none;
    color: #777;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
    padding: 32px 0;
    transition: 0.2s ease;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: #111;
}

.nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 23px;
    width: 100%;
    height: 2px;
    background: #111;
}

.logo {
    position: relative;
    width: 195px;
    height: 42px;
    border: 3px solid #222;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #111;
    background: #fff;
}

.logo-mp {
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1px;
    white-space: nowrap;
}

.logo-text {
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 5px;
    padding-left: 5px;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 999px;
    padding: 5px;
}

.lang-btn {
    padding: 7px 12px;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: #777;
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
    transition: 0.2s ease;
}

.lang-btn.active {
    background: #111;
    color: #fff;
}

.page-header,
.home-hero {
    min-height: 360px;
    padding: 80px 20px 55px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-hero {
    min-height: calc(100vh - 85px);
}

.page-header-content,
.home-hero-content {
    color: #fff;
    max-width: 900px;
}

.page-header h1,
.home-hero h1 {
    font-size: 56px;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: #fff;
}

.home-hero h1 {
    font-size: clamp(42px, 7vw, 78px);
    line-height: 1;
}

.page-header p,
.home-hero p {
    color: #f1f1f1;
    font-size: 18px;
    letter-spacing: 1px;
    line-height: 1.7;
    max-width: 780px;
    margin: 0 auto;
}

.hero-line,
.page-line {
    width: 90px;
    height: 3px;
    background: #fff;
    margin: 28px auto;
}

.cta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 36px;
}

.btn,
button.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 999px;
    border: 2px solid #111;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.25s ease;
}

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

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

.btn:hover,
button.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25);
}

.admin-link {
    text-align: center;
    margin-top: 20px;
}

.admin-link a {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid #fff;
}

.content-container,
.posts-container,
.form-wrapper {
    max-width: 1250px;
    margin: 0 auto;
    padding: 55px 25px 90px;
    position: relative;
    z-index: 3;
}

.card,
.photo-post,
.form-card {
    position: relative;
    margin-bottom: 85px;
    padding: 48px;
    background: rgba(255, 255, 255, 0.92);
    border: 2px solid rgba(255, 255, 255, 0.75);
    border-radius: 22px;
    box-shadow:
        0 25px 55px rgba(0, 0, 0, 0.35),
        inset 0 0 0 1px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.card::before,
.photo-post::before,
.form-card::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 16px;
    pointer-events: none;
}

.card::after,
.photo-post::after,
.form-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 160px;
    height: 4px;
    background: #111;
    transform: translateX(-50%);
    border-radius: 0 0 10px 10px;
}

.card-inner,
.form-inner {
    position: relative;
    z-index: 2;
}

.card-title,
.post-title,
.form-title {
    position: relative;
    font-size: 32px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 22px;
    text-align: center;
    color: #111;
    padding-bottom: 18px;
    z-index: 2;
}

.card-title::after,
.post-title::after,
.form-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 70px;
    height: 3px;
    background: #111;
    transform: translateX(-50%);
}

.card-text,
.post-description,
.form-intro {
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin: 0 auto 38px;
    text-align: center;
    color: #555;
    font-size: 16px;
    line-height: 1.8;
}

.post-description:empty {
    display: none;
}

.photo-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.photo-item {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    background: #fff;
    padding: 8px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.16);
    box-shadow:
        0 10px 22px rgba(0, 0, 0, 0.18),
        inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    overflow: hidden;
    transition: 0.3s ease;
}

.photo-item::before {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 11px;
    z-index: 2;
    pointer-events: none;
}

.photo-item::after {
    content: "View";
    position: absolute;
    inset: 8px;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0;
    transition: 0.3s ease;
    z-index: 3;
    border-radius: 11px;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 11px;
    transition: 0.4s ease;
}

.photo-item:hover {
    transform: translateY(-6px);
    box-shadow:
        0 18px 35px rgba(0, 0, 0, 0.28),
        inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.photo-item:hover img {
    transform: scale(1.08);
}

.photo-item:hover::after {
    opacity: 1;
}

.hidden-photo {
    display: none;
}

.show-more-btn {
    position: relative;
    z-index: 2;
    display: block;
    margin: 32px auto 0;
    padding: 13px 34px;
    border: 2px solid #111;
    border-radius: 30px;
    background: transparent;
    color: #111;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.25s ease;
}

.show-more-btn:hover {
    background: #111;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

.empty-message {
    text-align: center;
    color: #111;
    font-size: 18px;
    padding: 45px 20px;
    background: rgba(255, 255, 255, 0.93);
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.75);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
}

.form-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label,
.admin-form label {
    display: block;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: #111;
}

input,
textarea,
select {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 12px;
    background: #fff;
    color: #111;
    font-size: 15px;
    outline: none;
    transition: 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #111;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

textarea {
    min-height: 145px;
    resize: vertical;
    line-height: 1.6;
}

.hidden-field {
    display: none;
}

.message-box {
    position: relative;
    z-index: 2;
    margin-bottom: 25px;
    padding: 15px 18px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.5;
}

.message-success {
    background: #e8ffe8;
    border: 1px solid #8ad68a;
    color: #1f7a1f;
}

.message-error {
    background: #ffe9e9;
    border: 1px solid #d68a8a;
    color: #8a1f1f;
}

.info-box {
    position: relative;
    z-index: 2;
    margin-top: 34px;
    padding: 22px;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.04);
    border-left: 4px solid #111;
    color: #555;
    line-height: 1.7;
}

.about-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}

.about-text h2,
.gear-box h2 {
    font-size: 24px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
    color: #111;
}

.about-text p {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 18px;
}

.highlight {
    font-weight: 800;
    color: #111;
}

.gear-box {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.gear-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.gear-item {
    padding: 18px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.gear-item strong {
    display: block;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 7px;
    color: #111;
}

.gear-item span {
    display: block;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.quote {
    margin-top: 35px;
    padding: 24px;
    border-left: 4px solid #111;
    background: rgba(0, 0, 0, 0.04);
    font-size: 18px;
    line-height: 1.7;
    color: #333;
    font-weight: 700;
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.94);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 80px 30px 55px;
}

.modal.active {
    display: flex;
}

.modal-content {
    width: 100%;
    height: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.modal-title {
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-align: center;
    max-width: 90%;
}

.modal-img {
    max-width: 90%;
    max-height: 72vh;
    object-fit: contain;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.modal-close,
.modal-prev,
.modal-next {
    position: absolute;
    border: none;
    background: rgba(255,255,255,0.12);
    color: #fff;
    cursor: pointer;
    transition: 0.2s ease;
}

.modal-close:hover,
.modal-prev:hover,
.modal-next:hover {
    background: rgba(255,255,255,0.28);
}

.modal-close {
    top: 25px;
    right: 30px;
    width: 45px;
    height: 45px;
    font-size: 28px;
}

.modal-prev,
.modal-next {
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 70px;
    font-size: 42px;
}

.modal-prev {
    left: 30px;
}

.modal-next {
    right: 30px;
}

.modal-counter {
    color: #fff;
    font-size: 14px;
    letter-spacing: 2px;
    text-align: center;
}

/* ADMIN */
.admin-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 280px 1fr;
}

.admin-sidebar {
    background: #111;
    color: #fff;
    padding: 32px 20px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.admin-brand {
    margin-bottom: 35px;
}

.admin-brand strong {
    display: block;
    font-size: 24px;
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.admin-brand span {
    color: #aaa;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.admin-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-menu a,
.admin-menu button {
    width: 100%;
    text-align: left;
    padding: 13px 14px;
    border-radius: 12px;
    color: #ddd;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.2s ease;
}

.admin-menu a:hover,
.admin-menu button:hover,
.admin-menu a.active {
    background: #fff;
    color: #111;
}

.admin-content {
    padding: 45px 30px;
}

.admin-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.08);
    margin-bottom: 28px;
}

.admin-card h1,
.admin-card h2 {
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.admin-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
    border-radius: 8px;
    margin-bottom: 18px;
}

.admin-language-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-bottom: 22px;
}

.admin-language-box {
    border: 1px solid #ddd;
    border-radius: 14px;
    background: #fafafa;
    padding: 22px;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-bottom: 25px;
}

.preview-item {
    position: relative;
    width: 100%;
}

.preview-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 1px solid #ddd;
    display: block;
}

.remove-photo-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 26px;
    height: 26px;
    border: none;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: 20px;
    line-height: 20px;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

.remove-photo-btn:hover {
    background: #b00020;
    color: #fff;
}

.admin-row,
.booking-row {
    padding: 18px;
    border: 1px solid #ddd;
    border-radius: 14px;
    margin-bottom: 15px;
    background: #fafafa;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: start;
}

.admin-row strong,
.booking-row strong {
    display: block;
    margin-bottom: 7px;
    font-size: 17px;
}

.admin-row span,
.booking-row span {
    display: block;
    color: #666;
    font-size: 14px;
    margin-bottom: 4px;
    line-height: 1.5;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: #e5e7eb;
    color: #111;
    margin-bottom: 10px;
}

.status-new { background: #dbeafe; color: #1d4ed8; }
.status-confirmed { background: #dcfce7; color: #166534; }
.status-declined { background: #fee2e2; color: #991b1b; }
.status-completed { background: #f3e8ff; color: #6b21a8; }

.inline-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    align-items: center;
}

.inline-form select {
    width: auto;
    min-width: 160px;
    margin: 0;
    padding: 10px;
}

.small-btn,
button.small-btn {
    padding: 10px 15px;
    font-size: 11px;
    margin: 0;
    border-radius: 999px;
}

.danger,
button.danger {
    background: #b00020;
    border-color: #b00020;
    color: #fff;
}

.danger:hover,
button.danger:hover {
    background: transparent;
    color: #b00020;
}

.admin-login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.admin-login-box {
    max-width: 460px;
    width: 100%;
    background: #fff;
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.14);
}

.admin-login-box h1 {
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.admin-login-box p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

@media (max-width: 1000px) {
    .photo-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: relative;
        height: auto;
    }
}

@media (max-width: 900px) {
    .navbar {
        grid-template-columns: 1fr;
        padding: 25px 20px;
        gap: 22px;
    }

    .logo {
        grid-row: 1;
        margin: 10px auto 0;
        width: 195px;
        height: 42px;
    }

    .nav-left,
    .nav-right {
        justify-content: center;
        flex-wrap: wrap;
        gap: 22px;
    }

    .language-switcher {
        margin: 0 auto;
    }

    .nav-link {
        padding: 8px 0;
        font-size: 12px;
    }

    .nav-link.active::after {
        bottom: 0;
    }

    .page-header {
        min-height: 300px;
    }

    .page-header h1,
    .home-hero h1 {
        font-size: 36px;
    }

    .photo-post,
    .card,
    .form-card {
        padding: 34px 24px;
    }

    .photo-post::before,
    .card::before,
    .form-card::before {
        inset: 10px;
    }

    .about-grid,
    .form-grid,
    .admin-language-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .post-title,
    .card-title,
    .form-title {
        font-size: 24px;
    }

    .post-description,
    .card-text,
    .form-intro {
        font-size: 15px;
    }

    .modal {
        padding: 80px 15px 45px;
    }

    .modal-img {
        max-width: 96%;
        max-height: 68vh;
    }

    .modal-prev,
    .modal-next {
        width: 42px;
        height: 55px;
        font-size: 32px;
    }

    .modal-prev { left: 10px; }
    .modal-next { right: 10px; }

    .admin-row,
    .booking-row {
        grid-template-columns: 1fr;
    }

    .inline-form {
        justify-content: flex-start;
    }

    .preview-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .logo {
        width: 185px;
        height: 40px;
    }

    .logo-text {
        font-size: 11px;
        letter-spacing: 4px;
    }

    .logo-mp {
        font-size: 11px;
    }

    .content-container,
    .posts-container,
    .form-wrapper {
        padding: 35px 14px 60px;
    }

    .photo-post,
    .card,
    .form-card {
        padding: 30px 16px;
        border-radius: 18px;
    }

    .photo-post::before,
    .card::before,
    .form-card::before {
        display: none;
    }

    .photo-item {
        padding: 6px;
        border-radius: 13px;
    }

    .photo-item img,
    .photo-item::before,
    .photo-item::after {
        border-radius: 9px;
    }

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

.booking-action-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 290px;
    max-width: 360px;
}

.booking-action-form label {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #111;
}

.booking-action-form select,
.booking-action-form textarea {
    width: 100%;
    margin: 0;
    border-radius: 10px;
    padding: 11px;
}

.booking-action-form textarea {
    min-height: 120px;
}

.checkbox-line {
    display: flex !important;
    align-items: center;
    gap: 8px;
    text-transform: none !important;
    letter-spacing: 0 !important;
    color: #555 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

.checkbox-line input {
    width: auto;
    margin: 0;
}

@media (max-width: 700px) {
    .booking-action-form {
        min-width: 100%;
        max-width: 100%;
    }
}

/* ===== FIX: krótsze tło PL / EN na telefonie ===== */
@media (max-width: 700px) {
    .nav-right .language-switcher {
        flex: 0 0 auto;
        flex-basis: auto;
        width: fit-content;
        max-width: fit-content;
        margin: 4px auto 0;
        padding: 5px;
    }

    .language-switcher {
        display: inline-flex;
    }
}

/* ===== PHOTOGRAPHY VIDEO FIX ===== */
.photo-item.video-item {
    position: relative;
    overflow: hidden;
    padding: 8px;
}

.photo-item.video-item .thumb-video,
.photo-item.video-item video {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 11px;
    background: #000;
}

.photo-item.video-item::before {
    inset: 8px;
    z-index: 3;
}

/* wyłączamy overlay "View/Play" dla video, zostaje ikona play */
.photo-item.video-item::after {
    content: "";
    opacity: 0;
}

.video-badge {
    display: none;
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 56px;
    height: 56px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 1;
    z-index: 6;
    pointer-events: none;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.38);
}

.video-play-icon span {
    display: block;
    transform: translateX(2px);
}

.photo-item.video-item:hover .video-play-icon {
    background: rgba(0, 0, 0, 0.86);
    transform: translate(-50%, -50%) scale(1.06);
}

/* mniejsze okno video w modalu */
.modal-content.video-modal-content {
    max-width: 950px;
    height: auto;
}

.modal-video {
    display: none;
    width: auto;
    height: auto;
    max-width: min(92vw, 850px);
    max-height: 62vh;
    object-fit: contain;
    border-radius: 14px;
    background: #000;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.65);
}

@media (max-width: 600px) {
    .video-play-icon {
        width: 46px;
        height: 46px;
        font-size: 20px;
    }

    .modal-video {
        max-width: 94vw;
        max-height: 56vh;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .photo-item.video-item .thumb-video,
    .photo-item.video-item video,
    .photo-item.video-item::before,
    .photo-item.video-item::after {
        border-radius: 9px;
    }
}


/* ===== VIDEO THUMBNAIL PATCH ===== */
.photo-item.video-item {
    position: relative !important;
    overflow: hidden !important;
}

.photo-item.video-item .video-thumb-img,
.photo-item.video-item .thumb-video,
.photo-item.video-item video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 11px !important;
    background: #000 !important;
}

.photo-item.video-item::after {
    display: none !important;
}

.video-play-icon {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 54px !important;
    height: 54px !important;
    transform: translate(-50%, -50%) !important;
    border-radius: 50% !important;
    background: rgba(0, 0, 0, 0.72) !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 23px !important;
    line-height: 1 !important;
    z-index: 6 !important;
    pointer-events: none !important;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.38) !important;
}

.video-play-icon span {
    display: block !important;
    transform: translateX(2px) !important;
}

/* mniejszy odtwarzacz w modalu, format 16:9 */
#imageModal .modal-video,
.modal.active .modal-video,
.modal.active video.modal-video {
    width: 720px !important;
    height: 405px !important;
    max-width: 90vw !important;
    max-height: 70vh !important;
    object-fit: contain !important;
    background: #000 !important;
    border-radius: 14px !important;
    display: block;
}

#imageModal .modal-content.video-modal-content,
.modal.active .modal-content.video-modal-content {
    width: auto !important;
    max-width: 760px !important;
    height: auto !important;
    max-height: none !important;
}

.thumb-preview-grid {
    margin-top: 8px;
}

.thumb-preview-item {
    position: relative;
}

.thumb-order-label {
    position: absolute;
    left: 6px;
    bottom: 6px;
    padding: 4px 7px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.76);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

@media (max-width: 600px) {
    .video-play-icon {
        width: 44px !important;
        height: 44px !important;
        font-size: 19px !important;
    }

    #imageModal .modal-video,
    .modal.active .modal-video,
    .modal.active video.modal-video {
        width: 92vw !important;
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
        max-height: 260px !important;
    }

    #imageModal .modal-content.video-modal-content,
    .modal.active .modal-content.video-modal-content {
        max-width: 94vw !important;
    }
}
