/* Restyle the WooCommerce variation attribute dropdown(s) on single product
 * pages to match the site's pill/select language instead of the browser
 * default. Keeps the native <select> (no swatches) per explicit request. */

/* .etheme-add-to-cart-form form is display:flex (theme CSS) with the
 * variations table and .single_variation_wrap (qty + buttons) as siblings --
 * force the table onto its own full-width row so the buttons always wrap
 * below it instead of sitting side by side on desktop. */
.woocommerce div.product form.variations_form.cart {
    flex-wrap: wrap;
}
.woocommerce div.product form.variations_form table.variations {
    flex: 0 0 100%;
    width: 100%;
    border: none;
    margin: 0 0 22px;
}
.woocommerce div.product form.variations_form table.variations tbody,
.woocommerce div.product form.variations_form table.variations tr,
.woocommerce div.product form.variations_form table.variations th,
.woocommerce div.product form.variations_form table.variations td {
    display: block;
    border: none;
    padding: 0;
    width: auto;
}
.woocommerce div.product form.variations_form table.variations tr + tr {
    margin-top: 18px;
}
.woocommerce div.product form.variations_form table.variations th.label {
    margin-bottom: 10px;
}
.woocommerce div.product form.variations_form table.variations th.label label {
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    color: #1A1A1A;
    margin: 0;
}
.woocommerce div.product form.variations_form table.variations td.value {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.woocommerce div.product form.variations_form table.variations select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #1A1A1A;
    background-color: #fff;
    border: 1px solid #E8E8E8;
    border-radius: 999px;
    /* explicit height + line-height (not padding) centers the text
     * reliably across browsers -- padding-based vertical centering on
     * native <select> elements is inconsistent cross-browser. */
    height: 46px;
    line-height: 44px;
    padding: 0 42px 0 18px;
    box-sizing: border-box;
    min-width: 240px;
    max-width: 100%;
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B6B6B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.woocommerce div.product form.variations_form table.variations select::-ms-expand {
    display: none;
}
.woocommerce div.product form.variations_form table.variations select:hover {
    border-color: #C9C9C9;
}
.woocommerce div.product form.variations_form table.variations select:focus {
    outline: none;
    border-color: #1A1A1A;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, .08);
}
.woocommerce div.product form.variations_form a.reset_variations {
    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    color: #6B6B6B;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.woocommerce div.product form.variations_form a.reset_variations:hover {
    color: #1A1A1A;
}
@media (max-width: 480px) {
    .woocommerce div.product form.variations_form table.variations select {
        min-width: 0;
        width: 100%;
    }
}