.torqo-apparel-gallery .torqo-apparel-photo {
    display: block;
    height: auto;
    width: 100%;
}

.torqo-apparel-swatches:not([hidden]) {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 10px 0 6px;
}

.torqo-apparel-swatches button {
    background: var(--torqo-color) center / cover no-repeat;
    background-image: var(--torqo-swatch);
    border: 1px solid #767676;
    border-radius: 50%;
    box-shadow: none;
    display: block;
    flex: 0 0 32px;
    height: 32px;
    padding: 0;
    width: 32px;
}

.torqo-apparel-swatches button:hover,
.torqo-apparel-swatches button:focus-visible,
.torqo-apparel-swatches button[aria-pressed="true"] {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.torqo-apparel-swatches button:disabled {
    cursor: default;
    opacity: .4;
}

body.torqo-apparel-product.woocommerce div.product form.cart .variations {
    width: 100%;
}

body.torqo-apparel-product.woocommerce div.product form.cart .variations tbody,
body.torqo-apparel-product.woocommerce div.product form.cart .variations tr,
body.torqo-apparel-product.woocommerce div.product form.cart .variations th.label,
body.torqo-apparel-product.woocommerce div.product form.cart .variations td.value {
    display: block;
    width: 100%;
    float: none;
    padding-inline: 0;
    text-align: center;
}

body.torqo-apparel-product.woocommerce div.product form.cart .variations tr {
    margin-bottom: 12px;
}

body.torqo-apparel-product.woocommerce div.product form.cart .variations th.label label {
    display: block;
    margin: 0 auto 5px;
    text-align: center;
}

body.torqo-apparel-product.woocommerce div.product form.cart .variations select {
    display: block;
    float: none;
    width: 100%;
    min-width: 0;
    max-width: 380px;
    margin: 0 auto;
}

body.torqo-apparel-product .torqo-apparel-swatches:not([hidden]) {
    justify-content: center;
    max-width: 450px;
    margin: 10px auto 6px;
}

body.torqo-apparel-product.woocommerce div.product form.cart .variations .reset_variations {
    display: block;
    float: none;
    width: max-content;
    margin: 4px auto 0;
}

.torqo-apparel-view[hidden],
.torqo-apparel-views[hidden] {
    display: none !important;
}

.torqo-apparel-views:not([hidden]) {
    display: flex;
    justify-content: center;
    gap: .6rem;
    margin-top: .8rem;
}

.torqo-apparel-views button[aria-pressed="true"] {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}
