/* Pricing Table */
.st-hotel-pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    border: 1px solid #231916;
}
.st-hotel-pricing-table td, .st-hotel-pricing-table th {
    border: 1px solid #231916;
    padding: 10px;
    text-align: center;
}
.st-hotel-pricing-table th {
    font-weight: bold;
    background-color: #f9f9f9;
}
.st-hotel-rooms-row td {
    width: 120px;
}
.st-hotel-dokwaterowanie-row td {
    width: 100%;
}

/* Deposit Promo */
.st-hotel-deposit-promo {
    margin-bottom: 10px;
    font-weight: bold;
}

/* Reserve Button */
.st-hotel-reserve-btn {
    display: inline-flex;
    align-items: center;
    background-color: #D8561D;
    color: white !important;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.3s;
    border-radius: 4px;
    line-height: 1.2;
}
.st-hotel-reserve-btn svg {
    margin-left: 10px;
}
.st-hotel-reserve-btn:hover {
    background-color: #b54516;
}

/* Organizer Info */
.st-organizer-info {
    margin-top: 10px;
    font-size: 12px;
    color: #64748b;
}

/* Gallery Trigger */
.wyjazdGaleria-trigger-wrapper {
    margin-top: 20px;
    text-align: center;
}
.st-gallery-trigger-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s;
}
.st-gallery-trigger-btn:hover {
    background-color: #e0e0e0;
}

/* Gallery Popup */
.st-gallery-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: block;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.st-gallery-popup.active {
    visibility: visible;
    opacity: 1;
}
.st-gallery-popup-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
}
.st-gallery-popup-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    z-index: 10;
    transform: scale(0.98);
    transition: transform 0.3s ease;
}
.st-gallery-popup.active .st-gallery-popup-container {
    transform: scale(1);
}
.st-gallery-popup-header {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 20;
}
.st-gallery-popup-title-box {
    padding: 5px 15px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 16px;
}
.st-gallery-popup-subtitle {
    font-size: 14px;
    margin-left: 15px;
    flex-grow: 1;
    font-weight: 600;
}
.st-gallery-popup-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.st-gallery-popup-content {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
}
.st-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
@media (min-width: 768px) {
    .st-gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
}
@media (min-width: 1200px) {
    .st-gallery-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}
.st-gallery-grid-item {
    aspect-ratio: 3/2;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
}
.st-gallery-grid-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.st-gallery-grid-item:hover .st-gallery-grid-img {
    transform: scale(1.05);
}

/* Lightbox */
.st-gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    align-items: center;
    justify-content: center;
}
.st-gallery-lightbox.active {
    visibility: visible;
    opacity: 1;
}
.st-gallery-lightbox-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}
.st-gallery-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 20;
    padding: 10px;
}
.st-gallery-lightbox-content {
    position: relative;
    z-index: 10;
    display: contents;
}
.st-gallery-lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    margin: auto;
    position: relative;
    z-index: 11;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}
.st-gallery-lightbox.active .st-gallery-lightbox-img {
    transform: scale(1);
}
