/* GG Print Selectors — Technique + Position carousels */

/* Remove WC/Elementor separator lines */
form.variations_form hr,
.single_variation_wrap hr {
    display: none !important;
}

/* Shared label */
.gg-print-label {
    display: block;
    font-weight: 200;
    font-size: 18px;
    color: var(--gg-dark, #1E1E1C);
    margin-bottom: 10px;
    text-align: center;
}

/* Wrapper spacing */
.gg-print-techniques-wrap,
.gg-print-positions-wrap {
    width: 100%;
    flex-basis: 100%;
    margin: 12px 0;
    background: #F3F3F3;
    border-radius: 10px;
    padding: 12px;
}

/* ============================================
   SHARED CAROUSEL
   ============================================ */

.gg-print-carousel {
    display: flex;
    align-items: center;
    gap: 6px;
}

.gg-print-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #ccc;
    background: #fff;
    font-size: 20px;
    line-height: 1;
    color: #555;
    cursor: pointer;
    flex-shrink: 0;
    user-select: none;
    transition: border-color 0.2s, color 0.2s;
}

.gg-print-nav:hover {
    border-color: var(--gg-primary, #00A1E1);
    color: var(--gg-primary, #00A1E1);
}

.gg-print-nav.disabled {
    opacity: 0.3;
    pointer-events: none;
}

.gg-print-track-wrap {
    flex: 1;
    overflow: hidden;
}

.gg-print-track {
    display: flex;
    gap: 10px;
    transition: transform 0.3s ease;
}

/* ============================================
   TECHNIQUE CARDS
   ============================================ */

.gg-print-card {
    flex: 0 0 calc(25% - 8px);
    min-width: 0;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    background: #fff;
    text-align: center;
    padding: 12px 6px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.gg-print-card:hover {
    border-color: #b0b0b0;
}

.gg-print-card.active {
    border-color: var(--gg-primary, #00A1E1);
    box-shadow: 0 0 0 2px rgba(0, 161, 225, 0.25);
}

.gg-print-card-icon {
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    color: #555;
}

.gg-print-card.active .gg-print-card-icon {
    color: var(--gg-primary, #00A1E1);
}

/* Full color icon — rainbow gradient (matches filter sidebar) */
.gg-print-icon-full-card {
    display: block;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: conic-gradient(#00bcd4, #e91e63, #ffc107, #4caf50, #2196f3, #00bcd4);
}

/* Color dots */
.gg-print-color-dots {
    display: flex;
    gap: 3px;
    justify-content: center;
    flex-wrap: wrap;
    width: 32px;
    padding: 2px;
}

.gg-color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.gg-color-dot.gg-dot-single {
    width: 18px;
    height: 18px;
}

.gg-dot-0 { background: #333; }
.gg-dot-1 { background: #2563eb; }
.gg-dot-2 { background: #eab308; }
.gg-dot-3 { background: #dc2626; }

/* Embroidery SVG in card */
.gg-print-emb-svg {
    display: block;
}

.gg-print-card-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--gg-dark, #1E1E1C);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gg-print-card.active .gg-print-card-label {
    color: var(--gg-primary, #00A1E1);
}

.gg-print-card-sub {
    font-size: 10px;
    color: #888;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================
   POSITION CARDS
   ============================================ */

.gg-print-pos {
    flex: 0 0 calc(25% - 8px);
    min-width: 0;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    background: #fff;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s, opacity 0.2s;
    overflow: hidden;
}

.gg-print-pos:hover {
    border-color: #b0b0b0;
}

.gg-print-pos.active {
    border-color: var(--gg-primary, #00A1E1);
    box-shadow: 0 0 0 2px rgba(0, 161, 225, 0.25);
}

.gg-print-pos.dimmed {
    opacity: 0.35;
    pointer-events: none;
}

.gg-print-pos-image {
    width: 100%;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    padding: 6px;
}

.gg-print-pos-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.gg-print-pos-name {
    font-size: 11px;
    font-weight: 600;
    color: var(--gg-dark, #1E1E1C);
    padding: 6px 4px 0;
    line-height: 1.3;
    text-transform: capitalize;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gg-print-pos-size {
    font-size: 10px;
    color: #888;
    padding: 2px 4px 2px;
}

.gg-print-pos-colors {
    display: none;
    font-size: 10px;
    font-weight: 600;
    color: var(--gg-primary, #00A1E1);
    padding: 0 4px 6px;
}

.gg-print-pos.active .gg-print-pos-name {
    color: var(--gg-primary, #00A1E1);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .gg-print-card,
    .gg-print-pos {
        flex: 0 0 calc(33.33% - 7px);
    }
}

@media (max-width: 480px) {
    .gg-print-card,
    .gg-print-pos {
        flex: 0 0 calc(50% - 5px);
    }
}
