/* GG Product UX — product thumbnail swatches only */
.gg-color-swatches {
    box-sizing: border-box;
    width: 100%;
    clear: both;
    margin: 12px 0 16px;
    padding: 0;
}

.gg-color-swatches__head {
    display: flex;
    align-items: baseline;
    gap: 5px;
    font-size: 13px;
    line-height: 1.2;
    margin-bottom: 9px;
    color: #2a2a2a;
}

.gg-color-swatches__head strong {
    font-size: 13px;
    font-weight: 700;
    color: #111;
}

.gg-color-swatches__list {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 2px 1px 7px;
    margin: 0 -1px;
    scrollbar-width: none;
}

.gg-color-swatches__list::-webkit-scrollbar {
    display: none;
}

.gg-color-swatch {
    width: 76px;
    min-width: 76px;
    min-height: 98px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    padding: 6px 6px 8px;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    color: #171717;
    background: #fff;
    text-decoration: none !important;
    text-align: center;
    font-size: 11px;
    line-height: 1.1;
    transition: border-color .18s ease, box-shadow .18s ease, opacity .18s ease, transform .18s ease;
}

.gg-color-swatch:hover {
    color: #000;
    border-color: #aaa;
    transform: translateY(-1px);
}

.gg-color-swatch.is-active {
    border-color: #111;
    box-shadow: 0 0 0 1px #111 inset;
}

.gg-color-swatch.is-unavailable {
    opacity: .42;
}

.gg-color-swatch__thumb-wrap {
    width: 62px;
    height: 62px;
    border-radius: 12px;
    overflow: hidden;
    background: #f6f6f6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 62px;
}

.gg-color-swatch__thumb {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.gg-color-swatch__dot {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--gg-swatch-color, #ddd);
    border: 1px solid rgba(0,0,0,.14);
    flex: 0 0 25px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
}

.gg-color-swatch__name {
    display: block;
    max-width: 64px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
}

.gg-color-swatch__status {
    display: block;
    margin-top: -1px;
    font-size: 9px;
    line-height: 1;
    color: #777;
}

@media (min-width: 850px) {
    .gg-color-swatches__list {
        flex-wrap: wrap;
        overflow: visible;
        padding-bottom: 2px;
    }
}


/* Subtili tos pačios kolekcijos navigacija */
.gg-collection-chips {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 2px;
    font-size: 11px;
    line-height: 1.25;
    color: #777;
}

.gg-collection-chips__label {
    color: #777;
    margin-right: 1px;
}

.gg-collection-chips__list {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 5px;
}

.gg-collection-chip {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 8px;
    border: 1px solid #e8e8e8;
    border-radius: 999px;
    background: #fafafa;
    color: #444;
    text-decoration: none !important;
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}

.gg-collection-chip:hover {
    border-color: #cfcfcf;
    background: #f3f3f3;
    color: #111;
}

@media (max-width: 849px) {
    .gg-collection-chips {
        margin-top: 0;
        padding-right: 4px;
    }
}
