/* VARIANT LIST */
.jsce-variantlist {
    --item-bg-beige: #ffefda;
    --item-bg-beige-light: #fef7ee;
}


.jsce-variantlist ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.jsce-variantlist-table {
    border-collapse: collapse;
    width: 100%;
}

.jsce-variantlist-table tr:first-child {
    border-top: 1px solid #000000;
}

.jsce-variantlist-table tr {
    border-bottom: 1px solid #000000;
}

.jsce-variantlist-table td:first-child {
    font-weight: bold;
}

.jsce-variantlist-table td:last-child {
    text-align:right;
}
.jsce-variantlist-table td {
    padding: 0.5rem 0;
}

/* VARIANT-LIST AS DROPDOWN */
.custom-select-wrapper {
    font-family: inherit;
    position: relative;
}

.custom-select-trigger {
    font-weight: bold;
    background-color: #ffffff;
    border: 1px solid #ccc;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
}

.custom-select-trigger::after {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f107';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 12px;
    color: #666;
}

.custom-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 99;
    width: 100%;
    background: white;
    border: 1px solid #ccc;
    border-top: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
}

.custom-options.active {
    display: block;
}

.custom-option {
    font-weight: bold;
    padding: 15px;
    cursor: pointer;
    background-color: #ffefda;
    transition: background-color 0.2s ease;
}

.custom-option:hover {
    background-color: #fff4e7;
}

.custom-option.variation {
    padding-left: 30px;
    font-style: italic;
    color: #555;
}

.custom-option.selected {
    background-color: var(--item-bg-beige-light);
}


/* VARIANT-LIST AS COLUMNS */
.jsce-variant-columns {
    display: flex;
    justify-content: center;
}

.variant-column-item-container {
    margin-bottom: 1rem;
    max-width: 230px;
}

.variant-column-item {
    position: relative;
    text-align: center;
    background-color: var(--item-bg-beige-light);
    padding: 2rem 1.5rem;
    min-height: 190px;
    color: #000;
}

.variant-title {
    min-height: 60px;
    font-size: 1.5rem;
    font-weight: bold;
}

.variant-title,
.variant-location {
    margin-bottom: 1.3rem;
}

.variant-out-of-stock {
    color: red;
    padding: 0.5rem;
    font-weight: bold;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}