

.pp-selection-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem;
}
.pp-gallery-section {
    flex: 1;
    display: flex;
    flex-direction: column-reverse;
    gap: 1rem;
}
.pp-thumbnails {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    overflow-x: auto;
}
.pp-thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    background: #fff;
}
.pp-thumb.active {
    border-color: #000;
}
.pp-main-image-wrapper {
    flex: 1;
    background: #ffffff; /* Changed to white to blend with typical mockup backgrounds */
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 444px;
    border: 1px solid #f0f0f0;
}
.pp-main-image-wrapper img {
    height: 444px;
    display: block;
}
#pp-main-display {
    max-width: 80%;
    width: auto;
    height: auto;
    max-height: 444px;
    object-fit: contain;
}
/* Price tag */
.pp-price-tag {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}
/* Options Section */
.pp-info-section {
    flex: 0 0 350px;
}
.pp-option-group {
    margin-bottom: 1.5rem;
}
.pp-option-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}
/* Color Swatches */
.pp-color-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.pp-color-swatch {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #ddd;
    cursor: pointer;
    position: relative;
    transition: transform 0.1s;
}
.pp-color-swatch.active::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid #000;
    border-radius: 50%;
}
.pp-color-swatch.disabled {
    opacity: 0.2;
    cursor: not-allowed;
    filter: grayscale(1);
}
/* Size Pills */
.pp-size-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.pp-size-pill input {
    display: none;
}
.pp-size-pill span {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
}
.pp-size-pill input:checked + span {
    background: #000;
    color: #fff;
    border-color: #000;
}
.pp-size-pill.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}
.pp-size-pill.disabled span {
    background: #ffffff;
    color: #666;
    border-color: #444;
    cursor: not-allowed;
    text-decoration: line-through;
}
.pp-size-pill.disabled input {
    pointer-events: none;
}

@media (min-width: 768px) {
    .pp-selection-container {
        flex-direction: row;
        align-items: flex-start;
    }
    .pp-gallery-section {
        flex-direction: row;
    }
    .pp-thumbnails {
        flex-direction: column;
        width: 80px;
        overflow-y: auto;
    }
}
