.product-attributes {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex-direction:column;
    flex-wrap:wrap;
}

.attribute-name {
    font-weight: bold;
}

.swatch {
    display: flex;
    gap: 10px;
    flex-direction:row;
    flex-wrap:wrap;
}

/* Sembunyikan radio button */
input[type="radio"] {
    display: none;
}

/* Styling untuk pilihan warna */
.color-swatch label, .size-swatch label {
    padding: 5px 15px;
    border: 1px solid #ccc;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    min-width: 60px;
    min-height: 30px;
    background-color: #fff;
    position: relative;
}

/* Pilihan aktif */
.color-swatch label.selected, .size-swatch label.selected {
    border: 2px solid black;
}

/* Opsi habis */
.color-swatch label.out-of-stock, .size-swatch label.out-of-stock {
    opacity: 0.5;
    cursor: not-allowed;
    position: relative;
}

.color-swatch label.out-of-stock::after, .size-swatch label.out-of-stock::after {
    content: "✖";
    color: gray;
    position: absolute;
    font-size: 20px;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.variant-choice label, .size-swatch label {
    padding: 5px 15px;
    border: 1px solid #ccc;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    min-width: 60px;
    min-height: 30px;
    background-color: #fff;
    position: relative;
}

/* Pilihan aktif */
.variant-choice label.selected, .size-swatch label.selected {
    border: 2px solid black;
}

/* Opsi habis */
.variant-choice label.out-of-stock, .size-swatch label.out-of-stock {
    opacity: 0.5;
    cursor: not-allowed;
    position: relative;
}

.variant-choice label.out-of-stock::after, .size-swatch label.out-of-stock::after {
    content: "✖";
    color: gray;
    position: absolute;
    font-size: 20px;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.review-item {
    display: flex;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
}
