.product-type-woosg form.cart:not(.woosg-cart) .quantity {
    display: none;
}

.product-type-woosg.woosg-show-atc-each form.cart:not(.woosg-cart), .product-type-woosg.woosg-show-atc-each .woosg-total, .product-type-woosg.woosg-show-atc-each .woosg-alert {
    display: none !important;
}

.product-type-woosg.woosg-show-atc-no form.cart, .product-type-woosg.woosg-show-atc-no .woosg-total, .product-type-woosg.woosg-show-atc-no .woosg-alert {
    display: none !important;
}

.woosg-wrap.woosg-wrap-show-atc-each + form.cart, .woosg-wrap.woosg-wrap-show-atc-no + form.cart {
    display: none !important;
}

.woosg-wrap .woosg-text, .woosg-wrap .woosg-products {
    margin: 0 0 15px 0;
}

.woosg-wrap .woosg-text {
    white-space: pre-line;
}

.woosg-products {
    border-width: 1px 0 0 0;
    border-style: dotted;
    border-color: #e5e5e5;
}

.woosg-products .woosg-item-text {
    padding: 10px 0;
    margin: 0;
    border-bottom: 1px dotted #e5e5e5;
}

.woosg-item-text-type-h1 > h1, .woosg-item-text-type-h2 > h2, .woosg-item-text-type-h3 > h3, .woosg-item-text-type-h4 > h4, .woosg-item-text-type-h5 > h5, .woosg-item-text-type-h6 > h6, .woosg-item-text-type-p > p {
    margin: 0 !important;
}

.woosg-products .woosg-product {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dotted #e5e5e5;
    box-sizing: border-box;
}

.woosg-products .woosg-product.woosg-product-unpurchasable > div {
    opacity: .5;
}

.woosg-products .woosg-product.woosg-product-unpurchasable .woosg-quantity, .woosg-products .woosg-product.woosg-product-unpurchasable .woosg-checkbox {
    pointer-events: none;
}

.woosg-products .woosg-product > div {
    padding-left: 5px;
    padding-right: 5px;
}

.woosg-products .woosg-product .woosg-atc {
    width: 190px;
    flex: 0 0 190px;
}

.woosg-products .woosg-product .woosg-atc form.cart {
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
}

.woosg-products .woosg-product .woosg-atc form.cart .added_to_cart {
    display: none !important;
}

.woosg-products .woosg-product .woosg-atc form.cart .woosg-quantity {
    width: auto;
    flex: auto;
}

.woosg-products .woosg-product .woosg-atc form.cart .quantity {
    float: none;
}

.woosg-products .woosg-product .woosg-atc form.cart .single_add_to_cart_button {
    margin: 10px 0 0 0 !important;
    display: block;
    width: 100%;
}

.woosg-products .woosg-product .woosg-thumb {
    width: 50px;
    flex: 0 0 50px;
}

.woosg-products .woosg-product .woosg-thumb img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

.woosg-products .woosg-product .woosg-thumb-new {
    display: none;
}

.woosg-products .woosg-product .woosg-thumb-new img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

.woosg-quantity-minus:hover, .woosg-quantity-plus:hover {
    background-color: #f0f0f0;
}

.woosg-products .woosg-product .woosg-quantity {
    width: 80px;
    flex: 0 0 80px;
}

.woosg-products .woosg-product .woosg-quantity .quantity {
    margin: 0 !important;
}

.woosg-products .woosg-product .woosg-quantity input {
    width: 100%;
    min-width: 40px;
}

.woosg-quantity-plus-minus .plus, .woosg-quantity-plus-minus .minus, .woosg-quantity-plus-minus .minus-btn, .woosg-quantity-plus-minus .plus-btn {
    display: none !important;
}

.woosg-products .woosg-product .woosg-quantity.woosg-quantity-plus-minus {
    width: 130px;
    flex: 0 0 130px;
}

.woosg-products .woosg-product .woosg-quantity.woosg-quantity-plus-minus .woosg-quantity-input {
    display: flex;
    align-items: center;
}

.woosg-products .woosg-product .woosg-quantity.woosg-quantity-plus-minus .woosg-quantity-minus, .woosg-products .woosg-product .woosg-quantity.woosg-quantity-plus-minus .woosg-quantity-plus {
    display: inline-block;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    line-height: 38px;
    text-align: center;
    cursor: pointer;
    background-color: #fefefe;
    border-width: 1px;
    border-style: solid;
    border-color: #e5e5e5;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.woosg-products .woosg-product .woosg-quantity.woosg-quantity-plus-minus .woosg-quantity-plus:hover, .woosg-products .woosg-product .woosg-quantity.woosg-quantity-plus-minus .woosg-quantity-minus:hover {
    background-color: #f0f0f0
}

.woosg-products .woosg-product .woosg-quantity.woosg-quantity-plus-minus .woosg-quantity-minus {
    border-right-width: 0;
}

.woosg-products .woosg-product .woosg-quantity.woosg-quantity-plus-minus .woosg-quantity-plus {
    border-left-width: 0;
}

.woosg-products .woosg-product .woosg-quantity.woosg-quantity-plus-minus .quantity {
    flex-grow: 1;
}

.woosg-products .woosg-product .woosg-quantity.woosg-quantity-plus-minus input {
    width: 100%;
    text-align: center;
    padding: 0 5px;
    height: 40px;
    line-height: 38px;
    box-shadow: none;
    border-width: 1px;
    border-style: solid;
    border-color: #ddd;
    background-color: #fff;
    background-image: none;
    -moz-appearance: textfield;
}

.woosg-quantity-plus-minus input {
    border-radius: 0;
}

.woosg-products .woosg-product .woosg-quantity.woosg-quantity-plus-minus input:focus {
    outline: none;
    outline-color: transparent;
}

.woosg-products .woosg-product .woosg-quantity.woosg-quantity-plus-minus input::-webkit-outer-spin-button, .woosg-products .woosg-product .woosg-quantity.woosg-quantity-plus-minus input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.woosg-products .woosg-product .woosg-price {
    font-size: 14px;
}

.woosg-products .woosg-product .woosg-price del {
    opacity: .5;
    text-decoration: line-through;
}

.woosg-products .woosg-product .woosg-price del span {
    text-decoration: line-through;
}

.woosg-products .woosg-product .woosg-price ins {
    font-weight: normal;
}

.woosg-products .woosg-product .woosg-price .amount {
    display: inline-block;
}

.woosg-products .woosg-product .woosg-title {
    flex-grow: 1;
}

.woosg-products .woosg-product .woosg-title .woosg-title-inner {
    display: block;
    overflow: hidden;
}

.woosg-products .woosg-product .woosg-title .woosg-title-inner a {
    text-decoration: none;
    box-shadow: none;
}

.woosg-products .woosg-product .woosg-title .woovr-variations-default .woovr-variation-image, .woosg-products .woosg-product .woosg-title .woovr-variations-default .woovr-variation-price {
    display: none !important;
}

.woosg-products .woosg-product form.variations_form {
    margin: 0;
    padding: 0;
}

.woosg-products .woosg-product .woosg-title .stock, .woosg-products .woosg-product .woosg-title .variations_form .stock {
    font-size: 14px;
    margin: 0;
}

.woosg-products .woosg-product .woosg-title .stock.in-stock {
    color: green;
}

.woosg-products .woosg-product .woosg-title .stock.available-on-backorder {
    color: orange;
}

.woosg-products .woosg-product .woosg-title .stock.out-of-stock {
    color: red;
}

.woosg-products .woosg-product .woosg-description, .woosg-products .woosg-product .woosg-variation-description {
    font-size: 14px;
}

.woosg-products .woosg-product form.variations_form .variations {
    display: inline-block;
    margin: 0 -3px;
    padding: 0;
}

.woosg-products .woosg-product form.variations_form .variations .variation {
    display: inline-block;
    border-width: 1px;
    border-style: solid;
    border-color: #e5e5e5;
    padding: 5px 10px;
    margin: 5px 3px 0 3px;
    max-width: 100%;
    border-radius: 2px;
}

.woosg-products .woosg-product form.variations_form .variations .variation > div {
    display: block;
}

.woosg-products .woosg-product form.variations_form .variations .reset {
    display: inline-block;
}

.woosg-products .woosg-product form.variations_form .variations .variation:last-child {
    margin-bottom: 0;
}

.woosg-products .woosg-product form.variations_form .variations .variation .label {
    font-size: 12px;
    line-height: 1;
}

.woosg-products .woosg-product form.variations_form .variations .variation .value {
    line-height: 1;
}

.woosg-products .woosg-product form.variations_form .variations .variation .value select {
    width: 100%;
    line-height: 1;
    padding: 0 16px 0 0;
    background-color: transparent;
    border-radius: 0;
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAECAYAAACtBE5DAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpGNEQzN0Y2NTY0NjcxMUU3QjU5NUI5N0U0NjlDMTIzNiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpGNEQzN0Y2NjY0NjcxMUU3QjU5NUI5N0U0NjlDMTIzNiI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkY0RDM3RjYzNjQ2NzExRTdCNTk1Qjk3RTQ2OUMxMjM2IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkY0RDM3RjY0NjQ2NzExRTdCNTk1Qjk3RTQ2OUMxMjM2Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+pzgqpQAAADdJREFUeNpirKioWMDAwBDPgAoWMQGJLCC+hiR4HYgzQRLfgDgUSoNwCIhmgaq6BtXJCNMNEGAAbM0MK7OUU3AAAAAASUVORK5CYII=');
    background-repeat: no-repeat;
    background-position: 100% 50%;
    background-size: auto;
}

.woosg-products .woosg-product form.variations_form .variations a.reset_variations {
    margin: 0;
    font-size: 12px;
}

.woosg-item-child .product-price .amount, .woosg-item-child .product-price .tax_label,
.woosg-item-child .product-subtotal .amount, .woosg-item-child .product-subtotal .tax_label,
.woosg-item-child .product-total .amount, .woosg-item-child .product-total .tax_label {
    opacity: .3;
}

.woosg-alert {
    padding: 6px 10px 6px 14px;
    border-left: 4px solid #222;
    background-color: #eeeeee;
    font-size: 14px;
}

body.woocommerce-no-js .woosg-wrap + form.cart {
    display: none;
}

.woosg-disabled {
    opacity: .5 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

/* Grid */

.woosg-products[class*="woosg-products-layout-grid"] {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
    border: none;
}

.woosg-products[class*="woosg-products-layout-grid"] .woosg-item-text {
    width: 100%;
    margin: 10px;
    padding: 10px 0;
}

.woosg-products[class*="woosg-products-layout-grid"] .woosg-product {
    width: calc(50% - 20px);
    margin: 10px;
    padding: 10px;
    border: 1px solid #dddddd;
    font-size: 14px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
}

.woosg-products[class*="woosg-products-layout-grid"] .woosg-product:hover {
    border-color: green;
}

.woosg-products[class*="woosg-products-layout-grid"] .woosg-product .woosg-title-inner {
    font-weight: 700;
}

.woosg-products.woosg-products-layout-grid-1 .woosg-product {
    width: calc(100% - 20px);
}

.woosg-products.woosg-products-layout-grid-3 .woosg-product {
    width: calc(100% / 3 - 20px);
}

.woosg-products.woosg-products-layout-grid-4 .woosg-product {
    width: calc(25% - 20px);
}

.woosg-products[class*="woosg-products-layout-grid"] .woosg-product > div {
    width: 100% !important;
    flex: 0 0 auto !important;
    text-align: center;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 5px;
}

.woosg-products[class*="woosg-products-layout-grid"] .woosg-product > div:last-child {
    margin-bottom: 0;
}

.woosg-products[class*="woosg-products-layout-grid"] .woosg-product select {
    text-align: center;
}

.woosg-products[class*="woosg-products-layout-grid"] .woosg-product .variations_form .variations .reset {
    display: none;
}

@media only screen and (max-width: 767px) {
    .woosg-products[class*="woosg-products-layout-grid"] .woosg-product {
        width: calc(50% - 20px);
    }
}

@media only screen and (max-width: 479px) {
    .woosg-products[class*="woosg-products-layout-grid"] .woosg-product {
        width: calc(100% - 20px);
    }
}

/* Carousel */

.woosg-products[class*="woosg-products-layout-carousel"] {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
    border: none;
}

.woosg-products[class*="woosg-products-layout-carousel"] .woosg-item-text {
    width: 100%;
    margin: 10px;
    padding: 10px 0;
}

.woosg-products[class*="woosg-products-layout-carousel"] .woosg-product {
    width: calc(50% - 20px);
    margin: 10px;
    padding: 10px;
    border: 1px solid #dddddd;
    font-size: 14px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
}

.woosg-products[class*="woosg-products-layout-carousel"] .woosg-product:hover {
    border-color: green;
}

.woosg-products[class*="woosg-products-layout-carousel"] .woosg-product .woosg-title-inner {
    font-weight: 700;
}

.woosg-products.woosg-products-layout-carousel-1 .woosg-product {
    width: calc(100% - 20px);
}

.woosg-products.woosg-products-layout-carousel-3 .woosg-product {
    width: calc(100% / 3 - 20px);
}

.woosg-products.woosg-products-layout-carousel-4 .woosg-product {
    width: calc(25% - 20px);
}

.woosg-products[class*="woosg-products-layout-carousel"] .woosg-product > div {
    width: 100% !important;
    flex: 0 0 auto !important;
    text-align: center;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 5px;
}

.woosg-products[class*="woosg-products-layout-carousel"] .woosg-product > div:last-child {
    margin-bottom: 0;
}

.woosg-products[class*="woosg-products-layout-carousel"] .woosg-product select {
    text-align: center;
}

.woosg-products[class*="woosg-products-layout-carousel"] .woosg-product .variations_form .variations .reset {
    display: none;
}

.woosg-wrap[class*="woosg-wrap-layout-carousel"] {
    display: none !important;
}

.woosg-wrap.woosg-carousel-initialized {
    display: block !important;
    position: relative;
}

.woosg-wrap.woosg-carousel-initialized .slick-slider .slick-list {
    width: 100%;
}

.woosg-carousel-initialized .slick-dots {
    display: block;
    width: 100%;
    list-style: none;
    text-align: center;
    margin: 0;
    padding: 0;
}

.woosg-carousel-initialized .slick-dots li {
    display: inline-block;
    margin: 0 5px;
    font-size: 0;
}

.woosg-carousel-initialized .slick-dots li button {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    padding: 0;
    font-size: 0;
    line-height: 0;
    border: none;
    background-color: rgba(0, 0, 0, .3);
    outline: none;
    overflow: hidden;
}

.woosg-carousel-initialized .slick-dots li.slick-active button {
    background-color: rgba(0, 0, 0, 1);
}

.woosg-carousel-initialized .slick-arrow {
    width: 44px;
    height: 44px;
    line-height: 42px;
    text-align: center;
    padding: 0 0 0 0;
    margin: 0 0 0 0;
    overflow: hidden;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0;
    color: #222;
    background-color: #fff;
    border-radius: 0;
    border: 1px solid #ddd;
    z-index: 8;
    opacity: 0;
    visibility: hidden;
}

.woosg-carousel-initialized:hover .slick-arrow {
    opacity: 1;
    visibility: visible;
}

.woosg-carousel-initialized .slick-arrow:hover {
    color: #fff;
    background-color: rgba(0, 0, 0, .5);
}

.woosg-carousel-initialized .slick-arrow:before {
    font-size: 24px;
    line-height: 44px;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    speak: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.woosg-carousel-initialized .slick-arrow:focus {
    outline: none;
}

.woosg-carousel-initialized .slick-arrow.slick-prev {
    left: 10px;
}

.woosg-carousel-initialized .slick-arrow.slick-prev:before {
    content: '‹';
}

.woosg-carousel-initialized .slick-arrow.slick-next {
    right: 10px;
}

.woosg-carousel-initialized .slick-arrow.slick-next:before {
    content: '›';
}

/* RTL */

body.rtl .woosg-products .woosg-product .woosg-quantity.woosg-quantity-plus-minus .woosg-quantity-minus {
    border-left-width: 0;
    border-right-width: 1px;
}

body.rtl .woosg-products .woosg-product .woosg-quantity.woosg-quantity-plus-minus .woosg-quantity-plus {
    border-right-width: 0;
    border-left-width: 1px;
}

/* Variable Product Variations */
.woosg-products .woosg-product .woosg-variations {
    margin: 5px 0;
    width: 100%;
}

.woosg-products .woosg-product .woosg-variation-row {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}

.woosg-products .woosg-product .woosg-variation-row label {
    font-size: 14px;
    font-weight: 600;
    margin-right: 10px;
    margin-bottom: 8px;
    min-width: 80px;
    display: block;
    width: 100%;
}

.woosg-products .woosg-product .woosg-variation-row select {
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
    min-width: 150px;
    background-color: #fff;
}

.woosg-products .woosg-product .woosg-variation-row select:focus {
    outline: none;
    border-color: #999;
}

.woosg-products[class*="woosg-products-layout-grid"] .woosg-product .woosg-variations,
.woosg-products[class*="woosg-products-layout-carousel"] .woosg-product .woosg-variations {
    text-align: center;
}

.woosg-products[class*="woosg-products-layout-grid"] .woosg-product .woosg-variation-row,
.woosg-products[class*="woosg-products-layout-carousel"] .woosg-product .woosg-variation-row {
    justify-content: center;
}

/* Swatches Styles - 兼容 Variation Swatches 插件 */
.woosg-products .woosg-product .woosg-swatches {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    align-items: center !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 所有 Swatch 基础样式 */
.woosg-products .woosg-product .woosg-swatches .woosg-swatch {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    background-color: #fff !important;
    position: relative !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
    margin: 0 !important;
    line-height: 1 !important;
    list-style: none !important;
}

/* 圆形 Swatch - 用于颜色和图片 */
.woosg-products .woosg-product .woosg-swatches .woosg-swatch.color-variable-item,
.woosg-products .woosg-product .woosg-swatches .woosg-swatch.image-variable-item {
    width: 40px !important;
    height: 40px !important;
    padding: 2px !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 100% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

.woosg-products .woosg-product .woosg-swatches .woosg-swatch.color-variable-item:hover,
.woosg-products .woosg-product .woosg-swatches .woosg-swatch.image-variable-item:hover {
    border-color: #999 !important;
}

.woosg-products .woosg-product .woosg-swatches .woosg-swatch.color-variable-item.selected,
.woosg-products .woosg-product .woosg-swatches .woosg-swatch.image-variable-item.selected {
    border-color: #333 !important;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #333 !important;
}

/* 图片 Swatch */
.woosg-products .woosg-product .woosg-swatches .woosg-swatch.image-variable-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 100% !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
}

/* 颜色 Swatch */
.woosg-products .woosg-product .woosg-swatches .woosg-swatch.color-variable-item .variable-item-span-color {
    width: 100% !important;
    height: 100% !important;
    border-radius: 100% !important;
    display: block !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
}

/* 确保颜色 Swatch 显示为圆形 */
.woosg-products .woosg-product .woosg-swatches .woosg-swatch.color-variable-item {
    background-color: #fff !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 100% !important;
    padding: 2px !important;
    position: relative !important;
}

/* 文本/尺寸 Swatch - 椭圆形 */
.woosg-products .woosg-product .woosg-swatches .woosg-swatch.button-variable-item,
.woosg-products .woosg-product .woosg-swatches .woosg-swatch.button-variable-item.selected {
    min-width: 100px !important;
    height: 40px !important;
    padding: 0 20px !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
}

.woosg-products .woosg-product .woosg-swatches .woosg-swatch.button-variable-item:hover {
    border-color: #999 !important;
    background-color: #f5f5f5 !important;
}

.woosg-products .woosg-product .woosg-swatches .woosg-swatch.button-variable-item.selected {
    border-color: #333 !important;
    background-color: #f0f0f0 !important;
}

.woosg-products .woosg-product .woosg-swatches .woosg-swatch .variable-item-span-button {
    font-size: 13px !important;
    font-weight: 500 !important;
    text-align: center !important;
    line-height: 1 !important;
    color: #333 !important;
    display: inline !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
}

/* 禁用状态 */
.woosg-products .woosg-product .woosg-swatches .woosg-swatch.disabled {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
}

.woosg-products .woosg-product .woosg-swatches .woosg-swatch.disabled::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1px;
    height: 120%;
    background-color: #999;
    transform: translate(-50%, -50%) rotate(45deg);
}