
.cpc-wrapper {
    max-width: 1000px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    text-align: center;
}

.cpc-main-display {
    flex: 1;
    position: relative;
}

.cpc-main-display img {
    width: 100%;
    border-radius: 24px;
    display: block;
}

.cpc-color-swatches {
    position: absolute;
    transform: translateY(-50%);
    top: 35%;
    right: -100px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-right: 20px;
}

.cpc-color {
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    padding: 2px;
    transition: border 0.3s ease;
}

.cpc-color img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.cpc-color img.active {
    border: 2px solid #ac9559;
    padding: 2px;
    border-radius: 8px;
}

.cpc-controls {
    width: 100%;
    text-align: center;
    margin-top: 40px;
}

.cpc-sizes {
    margin-bottom: 20px;
}

.cpc-sizes label {
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.cpc-size {
    padding: 10px 16px;
    margin: 5px;
    border: 2px solid #ddd;
    background: #D9D9D9;
    border-radius: 6px;
    cursor: pointer;
    display: inline-block;
    transition: all 0.3s ease;
    color: black;
}

.cpc-size:hover {
    background: #ac9559 !important;
}

.cpc-size.active {
    background: #ac9559;
    color: white;
    border-color: #ac9559;
}

.cpc-actions {
    margin-top: 10px;
}

#cpc-add-to-cart {
    background: #ac9559;
    color: white;
    padding: 10px 22px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.3s;
}

#cpc-add-to-cart[disabled] {
    background: #ccc;
    cursor: not-allowed;
}
