
.breadcrumb-container {
    padding: 10px 0;
    margin-top: 40px;
    
    font-size: 0.85rem;
    color: #262626;
    display: block;
    position: relative;
    z-index: 10;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: #0071c2;
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    color: #6b6b6b;
    font-size: 0.8rem;
}

.breadcrumb-active {
    color: #262626;
    font-weight: 600;
}


html {
    scroll-behavior: smooth;
    scroll-padding-top: 140px;
}


.hotel-detail-card {
    background-color: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    margin-bottom: 40px;
}

.hotel-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.hotel-title-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hotel-badges {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.badge-type {
    background-color: var(--color-background);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
}

.hotel-title-main {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
    color: var(--color-text);
}

.hotel-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin: 5px 0 10px 0;
    font-weight: 500;
}

.ideal-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 5px;
}

.badge-ideal {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.badge-ideal.discreet {
    background-color: #2c3e50;
    color: #fff;
    border: 1px solid #2c3e50;
}

.badge-ideal.romantic {
    background-color: #fff0f3;
    color: #d63384;
    border: 1px solid #ffdeeb;
}

.hotel-header-actions {
    display: flex;
    gap: 10px;
}

.btn-action-icon {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    color: var(--color-primary);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.btn-action-icon:hover {
    background-color: var(--color-background);
}

.hotel-header-bottom {
    margin-bottom: 25px;
}

.hotel-location-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--color-text);
}

.location-icon {
    color: var(--color-primary);
}

.btn-link-map {
    background: none;
    border: none;
    color: var(--color-primary);
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    font-size: 0.95rem;
}

.btn-link-map:hover {
    text-decoration: underline;
}


.anchor-nav {
    display: flex;
    gap: 20px;
    border-bottom: 1px solid #e7e7e7;
    margin-bottom: 20px;
    padding-bottom: 0px;
    overflow-x: auto;
    
    white-space: nowrap;
}

.anchor-nav-link {
    text-decoration: none;
    color: #262626;
    font-weight: 500;
    padding: 10px 15px;
    border-bottom: 3px solid transparent;
    transition: color 0.2s, border-bottom-color 0.2s;
    background: transparent;
    border-radius: 0;
}

.anchor-nav-link:hover,
.anchor-nav-link.active {
    color: #0071c2;
    border-bottom-color: #0071c2;
    background-color: transparent;
}

@media (max-width: 768px) {
    .hotel-location-row {
        flex-wrap: nowrap;
        align-items: flex-start;
        
    }

    .hotel-location-row .location-icon {
        margin-top: 3px;
        
    }

    .hotel-location-row .separator {
        display: none;
    }

    .hotel-location-row .btn-link-map {
        display: none;
    }

    .anchor-nav {
        display: none;
    }
}


.hotel-info-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 25px;
}

@media (min-width: 992px) {
    .hotel-info-layout {
        grid-template-columns: 1fr 340px;
    }
}




.mobile-gallery-container {
    display: block;
    
}

.desktop-gallery-grid {
    display: none;
}


.mobile-gallery-container .main-image-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.mobile-gallery-container .main-image-viewer {
    display: flex;
    width: 100%;
    height: 100%;
}

.mobile-gallery-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}


.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

.gallery-nav-btn.prev {
    left: 10px;
}

.gallery-nav-btn.next {
    right: 10px;
}

.gallery-nav-btn svg {
    width: 24px;
    height: 24px;
}

.gallery-counter {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
}


@media (min-width: 992px) {
    .mobile-gallery-container {
        display: none;
    }

    .desktop-gallery-grid {
        display: block;
    }

    .gallery-grid-layout {
        display: grid;
        grid-template-areas:
            "main main side0"
            "main main side1";
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 200px 200px;
        gap: 10px;
        border-radius: var(--border-radius);
        overflow: hidden;
    }

    .gallery-item {
        position: relative;
        overflow: hidden;
        cursor: pointer;
    }

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

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

    .gallery-item-main {
        grid-area: main;
    }

    .gallery-grid-layout>div:nth-child(1) {
        grid-area: main;
    }

    .gallery-grid-layout>div:nth-child(2) {
        grid-area: side0;
    }

    .gallery-grid-layout>div:nth-child(3) {
        grid-area: side1;
    }

    .more-photos-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        font-weight: bold;
        z-index: 10;
        pointer-events: none;
    }
}


.left-column {
    background-color: var(--color-surface);
    border-radius: var(--border-radius);
    
}

.hotel-description-wrapper {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
}


.right-column {
    display: flex;
    flex-direction: column;
    height: 100%;
}


.rating-box-sidebar {
    background-color: transparent;
    padding: 0;
    border: none;
    margin-bottom: 20px;
    flex-shrink: 0;
    
}

.rating-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
    border: 1px solid #cecece;
    border-radius: 8px;
    padding: 9px;
}

.rating-text {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.rating-label {
    font-weight: 700;
    font-size: 1rem;
    color: #262626;
}

.rating-count {
    font-size: 0.8rem;
    color: #6b6b6b;
    font-weight: 400;
}

.rating-badge {
    background-color: #003580;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px 5px 5px 0;
    margin-left: 0;
}


.sidebar-map-wrapper {
    flex-grow: 1;
    
    display: flex;
    flex-direction: column;
    min-height: 200px;
}

.sidebar-map-wrapper .sidebar-map-caption {
    display: none;
}

.static-map-container.sidebar {
    flex-grow: 1;
    
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: auto;
    min-height: 200px;
    display: flex;
}

.static-map-container.sidebar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.reviewer-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
}

.reviewer-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}


.sidebar-map-wrapper {
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: var(--color-surface);
}

.sidebar-map-caption {
    padding: 10px;
    margin: 0;
    font-weight: 600;
    text-align: center;
    background-color: #f0f6ff;
    
    color: var(--color-text);
    font-size: 0.9rem;
}

.static-map-container.sidebar {
    position: relative;
    height: 150px;
}

.static-map-container.sidebar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.static-map-container.sidebar .btn-view-on-map {
    top: auto;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 0.8rem;
    padding: 8px 16px;
    width: auto;
}


.full-services-section {
    margin-top: 40px;
}

.service-category-group {
    margin-bottom: 30px;
}

.service-category-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 15px;
}

.services-buttons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.service-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 15px;
}

.service-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 4px;
    padding: 12px 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.service-btn:hover {
    border-color: #cdcdcd;
}

@media (max-width: 768px) {
    .service-btn {
        width: 100%;
        justify-content: center;
    }
}

.service-icon {
    font-size: 1.2rem;
    
    color: #262626;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-text {
    font-size: 0.95rem;
    color: #262626;
    font-weight: 500;
    line-height: 1.2;
}


.service-icon i {
    width: 20px;
    text-align: center;
}


.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}


.static-map-container {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.static-map-container img {
    display: block;
    width: 100%;
}


.btn-view-on-map {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 40px);
    
    background-color: var(--color-primary);
    color: var(--color-surface);
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    
    align-items: center;
    gap: 0.75rem;
    
}

.btn-view-on-map:hover {
    transform: translate(-50%, 40px) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    background-color: var(--color-primary-hover);
}




.availability-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.availability-table {
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    background-color: var(--color-surface);
}

.availability-header {
    display: none;
    
    padding: 1rem 1.5rem;
    background-color: var(--color-background);
    font-weight: bold;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--color-border);
}

.room-block {
    border-bottom: 1px solid var(--color-border);
}

.room-block:last-child {
    border-bottom: none;
}

.room-info,
.rate-row,
.availability-header {
    display: grid;
    grid-template-columns: 2fr 1fr;
    
    gap: 1rem;
    align-items: center;
}

.room-info {
    padding: 1.5rem;
    background-color: #fdfdff;
}

.rate-row {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--color-border);
}

.rate-row:hover {
    background-color: #f7faff;
}

.col-room-type {
    font-weight: bold;
}

.room-name {
    color: var(--color-primary);
    font-size: 1.2rem;
}

.view-room-details {
    background: none;
    border: none;
    color: var(--color-primary);
    text-decoration: underline;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0;
    display: block;
}

.col-capacity {
    display: none;
    
}

.col-price {
    text-align: right;
    font-weight: bold;
}

.current-price {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--color-text);
}

.original-price {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    text-decoration: line-through;
    margin-left: 0.5rem;
}

.col-action {
    text-align: right;
}

.col-action .btn-contact.reserve {
    padding: 0.75rem 1.5rem;
}

.rate-description {
    font-weight: normal;
}


@media (min-width: 992px) {
    .availability-header {
        display: grid;
    }

    .room-info,
    .rate-row,
    .availability-header {
        grid-template-columns: 3fr 1fr 1fr 1.5fr;
        
    }

    .col-capacity {
        display: block;
        text-align: center;
    }

    .col-price {
        text-align: center;
    }

    .col-action {
        text-align: center;
    }

    
    .rate-row .col-room-type {
        padding-left: 1rem;
    }
}


@media (max-width: 991px) {
    .availability-table {
        border: none;
        background-color: transparent;
    }

    .availability-header {
        display: none;
        
    }

    .room-block {
        border: 1px solid var(--color-border);
        border-radius: var(--border-radius);
        margin-bottom: 1.5rem;
        background-color: var(--color-surface);
        overflow: hidden;
    }

    .rate-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 1.5rem;
    }

    
    .rate-row .col-capacity {
        display: none;
    }

    
    .rate-row .rate-description {
        flex-basis: 100%;
        margin-bottom: 0.5rem;
        font-weight: normal;
    }

    .rate-row .col-price {
        flex-grow: 1;
        text-align: left;
        
    }

    
    .rate-row .col-action {
        flex-shrink: 0;
        text-align: right;
    }
}


@media (max-width: 768px) {

    
    main>.container:has(.hotel-detail-card) {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    
    .hotel-detail-card {
        padding: 20px;
        margin-bottom: 20px;
    }

    
    .main-header .container,
    .sb-footer-new .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    
    .breadcrumb {
        padding-left: 15px;
        padding-right: 15px;
    }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1060;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    border-radius: var(--border-radius-lg);
    width: 90%;
    max-width: 900px;
    height: 90vh;
    max-height: 800px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    display: flex;
    flex-direction: column;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.room-modal-overlay.show .room-modal-content {
    transform: scale(1);
}

.room-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2.5rem;
    font-weight: 300;
    color: #fff;
    background: rgba(0, 0, 0, 0.4);
    border: none;
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    line-height: 35px;
    text-align: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.room-modal-close:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.room-modal-body {
    overflow-y: auto;
    height: 100%;
    border-radius: var(--border-radius-lg);
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) var(--color-surface);
}


.room-modal-body::-webkit-scrollbar {
    width: 8px;
}

.room-modal-body::-webkit-scrollbar-track {
    background: var(--color-surface);
    border-radius: 10px;
}

.room-modal-body::-webkit-scrollbar-thumb {
    background-color: var(--color-primary);
    border-radius: 10px;
    border: 2px solid var(--color-surface);
}

.room-modal-body::-webkit-scrollbar-thumb:hover {
    background-color: var(--color-primary-hover);
}

.modal-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--color-text-muted);
}

.spinner {
    border: 4px solid var(--color-border);
    border-top: 4px solid var(--color-primary);
    
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.modal-room-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4rem 1rem 2rem;
    
}

.modal-room-title {
    font-size: 1.8rem;
    margin: 0;
    line-height: 1.2;
}

.modal-hotel-name {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    font-weight: 400;
    margin: 0.25rem 0 0 0;
}

.modal-separator {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 0;
}

.modal-room-main-content {
    padding: 1.5rem 2rem;
}

.modal-room-description {
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.modal-room-services {
    margin-top: 2rem;
}


.room-modal-body .image-gallery-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}



.room-modal-body .gallery-nav-btn,
.room-modal-body .gallery-counter {
    display: block;
    
}

.room-modal-body .thumbnail-strip {
    display: none !important;
    
}

.room-modal-body .main-image-wrapper {
    border-radius: 0;
    position: relative;
    
    width: 100%;
    aspect-ratio: 16 / 10;
    background-color: var(--color-background);
    overflow: hidden;
}


@media (max-width: 768px) {
    .modal-content {
        width: 100%;
        height: 100%;
        max-height: 100%;
        max-width: 100%;
        margin: 0;
        border-radius: 0;
        
        transform: none;
    }

    .room-modal-close {
        top: 15px;
        right: 15px;
    }
}


.custom-marker {
    position: absolute;
    cursor: pointer;
    
}

.custom-marker.main-hotel {
    z-index: 100;
    
}

.price-tag {
    background-color: var(--color-primary);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 6px;
}


.price-tag::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--color-primary);
}

.room-modal-close {
    z-index: 1070;
    
}


.custom-marker.main-hotel .pulse {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(13, 110, 253, 0.2);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.7;
    }

    70% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0;
    }

    100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }
}


.custom-infowindow {
    position: absolute;
    background-color: var(--color-surface);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    width: 280px;
    z-index: 101;
    
    transform-origin: bottom center;
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


.custom-infowindow::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px 10px 0 10px;
    border-style: solid;
    border-color: var(--color-surface) transparent transparent transparent;
}


.custom-infowindow.infowindow-bottom::after {
    bottom: auto;
    top: -10px;
    border-color: transparent transparent var(--color-surface) transparent;
}


.custom-infowindow.infowindow-mobile-pointer::after {
    left: var(--pointer-offset, 50%);
    
}


.custom-infowindow.infowindow-left::after {
    bottom: auto;
    top: 50%;
    left: -10px;
    transform: translateY(-50%);
    border-color: transparent var(--color-surface) transparent transparent;
}


.custom-infowindow.infowindow-right::after {
    bottom: auto;
    top: 50%;
    left: auto;
    right: -10px;
    transform: translateY(-50%);
    border-color: transparent transparent transparent var(--color-surface);
}

.custom-infowindow-image {
    height: 150px;
    background-color: var(--color-background);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    overflow: hidden;
}

.custom-infowindow-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.custom-infowindow-content {
    padding: 15px;
}

.custom-infowindow-content h4 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: bold;
}

.custom-infowindow-content a {
    color: var(--color-primary);
    font-weight: bold;
    text-decoration: none;
}

.custom-infowindow-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    font-size: 1.5rem;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.custom-infowow-close:hover {
    background-color: rgba(0, 0, 0, 0.8);
}


body.modal-open {
    
}




.fullscreen-gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 20000;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.gallery-modal-header {
    position: sticky;
    top: 0;
    background-color: #fff;
    padding: 15px 20px;
    border-bottom: 1px solid #e7e7e7;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 20001;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.gallery-tabs-container {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 5px;
    max-width: 80%;
}

.gallery-modal-tab {
    background: none;
    border: none;
    padding: 8px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #262626;
    cursor: pointer;
    border-radius: 20px;
    white-space: nowrap;
    transition: all 0.2s;
}

.gallery-modal-tab:hover {
    background-color: #f2f2f2;
}

.gallery-modal-tab.active {
    background-color: #0071c2;
    color: #fff;
}

.gallery-modal-close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    color: #262626;
    padding: 0 10px;
}

.gallery-modal-content {
    flex: 1;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-modal-item {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 4px;
    background-color: #f0f0f0;
}

.gallery-modal-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
    cursor: pointer;
}

.gallery-modal-item img:hover {
    transform: scale(1.03);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }

    .gallery-modal-header {
        padding: 10px;
        flex-direction: column-reverse;
        
        align-items: flex-end;
        gap: 10px;
    }

    .gallery-tabs-container {
        width: 100%;
        max-width: 100%;
        margin-top: 10px;
    }

    .gallery-modal-close-btn {
        position: relative;
        top: 0;
        right: 0;
    }
}