/* Contenedor principal de galleryCar */
.gc-gallery-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    margin: 20px 0;
    box-sizing: border-box;
}

/* Visor de la foto principal (position: relative para anclar la capa de labels) */
.gc-main-viewer {
    position: relative;
    width: var(--gc-main-w, 100%);
    height: var(--gc-main-h, 450px);
    background: #0f1012;
    border: 1px solid #2b2d33;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.gc-main-viewer > img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

/* Capa persistente de Labels de Advanced Woo Labels */
.gc-awl-labels-overlay {
    position: absolute;
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
    max-width: calc(100% - 32px);
}

.gc-awl-pos-top-left {
    top: 16px;
    left: 16px;
    align-items: flex-start;
}

.gc-awl-pos-top-right {
    top: 16px;
    right: 16px;
    align-items: flex-end;
}

.gc-awl-pos-bottom-left {
    bottom: 16px;
    left: 16px;
    align-items: flex-start;
}

.gc-awl-pos-bottom-right {
    bottom: 16px;
    right: 16px;
    align-items: flex-end;
}

.gc-awl-label-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: 5px;
    background-color: #d4a338;
    color: #0f1012;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    user-select: none;
}

.gc-awl-label-badge .gc-awl-label-text {
    color: inherit;
}

.gc-awl-label-badge .gc-awl-label-img {
    max-height: 44px;
    width: auto;
    height: auto;
    display: block;
}

/* Contenedor de miniaturas con scroll horizontal bidireccional */
.gc-thumbs-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: #d4a338 #1f2126;
}

.gc-thumbs-wrapper::-webkit-scrollbar {
    height: 8px;
}

.gc-thumbs-wrapper::-webkit-scrollbar-track {
    background: #1f2126;
    border-radius: 4px;
}

.gc-thumbs-wrapper::-webkit-scrollbar-thumb {
    background: #d4a338;
    border-radius: 4px;
}

.gc-thumbs-scroll {
    display: flex;
    gap: 12px;
    align-items: center;
    width: max-content;
    padding: 4px;
}

/* Miniatura individual */
.gc-thumb-item {
    width: var(--gc-thumb-w, 120px);
    height: var(--gc-thumb-h, 80px);
    background: #121214;
    border: 2px solid #2b2d33;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.gc-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gc-thumb-item:hover {
    transform: translateY(-2px);
    border-color: #888;
}

.gc-thumb-item.is-active {
    border-color: #d4a338;
    box-shadow: 0 0 12px rgba(212, 163, 56, 0.35);
}
