.gymwolf-add-to-cart-button {
    display: flex;
    gap: 20px;
}

.gymwolf-add-to-cart-button-quantity {
    display: flex;
}

button.gymwolf-quantity-decrease, button.gymwolf-quantity-increase {
    width: 24px;
    padding: 0;
    display: flex;
    height: 40px;
    background: #f0f0f0;
    color: #000;
    justify-content: center;
    align-items: center;

}
button.gymwolf-quantity-decrease svg, button.gymwolf-quantity-increase svg{
    width: 18px;
}

.gymwolf-add-to-cart-button-quantity input {
    margin-bottom: 0px;
    height: 40px;
    width: 64px;
    text-align: center;
    border: none;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    
}

button.gymwolf-add-to-cart-button.button.alt {
    height: 40px;
    padding: 0px 28px;
    border-radius: 0;
}

/* Color Variation Images */
.gymwolf-color-variations {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.gymwolf-color-variation-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
    position: relative;
	width: 96px;
}

.gymwolf-color-variation-item:hover {
    opacity: 0.8;
}

.gymwolf-color-variation-item.active {
    opacity: 1;
}

.gymwolf-color-variation-item.active::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background-color: #000;
}

.gymwolf-color-variation-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

.gymwolf-color-variation-item.active .gymwolf-color-variation-image {
    border-color: #000;
}

.gymwolf-color-variation-label {
    margin-top: 8px;
    font-size: 12px;
    text-align: center;
    color: #666;
    text-transform: capitalize;
}

/* Selected Color Display */
.gymwolf-selected-color {
    /* margin-bottom: 20px; */
    padding: 10px 0;
    font-size: 14px;
}

.gymwolf-selected-color-label {
    color: #666;
    font-weight: normal;
}

.gymwolf-selected-color-name {
    color: #000;
    font-weight: 600;
    text-transform: capitalize;
}

/* Hide color attribute from WooCommerce variation form */
.gymwolf-add-to-cart-widget table.variations tr:has(th label[for*="pa_color"]) {
    display: none !important;
}

/* Fallback for browsers that don't support :has() - target by label text */
.gymwolf-add-to-cart-widget table.variations tr th label[for*="pa_color"] {
    display: none;
}

.gymwolf-add-to-cart-widget table.variations tr:has(th label[for*="attribute_pa_color"]) {
    display: none !important;
}

/* Alternative: Hide the entire row containing color attribute */
.gymwolf-add-to-cart-widget .variations tr:has(select[name*="attribute_pa_color"]) {
    display: none !important;
}
.gymwolf-add-to-cart-widget .variations tr .label{
    padding: 10px 0px;
}
.gymwolf-add-to-cart-widget .variations tr .label label{
    padding: 0px;
}
.gymwolf-add-to-cart-widget .variations tr:has(select[name*="attribute_pa_size"]) ul li{
	margin: 0px!important;
	padding: 0px 20px!important;
}
.gymwolf-add-to-cart-widget .variations tr:has(select[name*="attribute_pa_size"]) ul{
	gap: 8px;
}
.gymwolf-add-to-cart-widget .woocommerce-variation-add-to-cart {
    flex-direction: column;
}
.before-add-to-cart-text {
    font-weight: 400;
    margin-bottom: 4px;
    color: #333;
    font-size: 14px;
}
/* Hide Clear/Reset variations button */
.gymwolf-add-to-cart-widget .reset_variations,
.gymwolf-add-to-cart-widget a.reset_variations {
    display: none !important;
}

/*  */
/* .woocommerce-variation-add-to-cart{
	display: block!important;
} */
.single-product .single_variation_wrap{
	margin-top: 0!important;
}
.size-guide-popup{
	display: none;
}
.gymwolf-sizeguide-popup table{
	margin-top: 24px;
}
.gymwolf-sizeguide-popup table tbody tr:first-child td {
    background: #eee;
}
a#gymwolf-size-guide-trigger {
    width: 100%;
    display: block;
    text-align: right;
    position: relative;
    margin-top: -36px;
	margin-bottom: 24px;
}
.gymwolf-sizeguide-popup.active{
	display: flex!important;
}
.gymwolf-sizeguide-popup {
    position: fixed;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: center;

    /* Animation setup */
    opacity: 0;
    transform: translateX(-100%);
    transition: transform 0.4s ease, opacity 0.3s ease;
}
.gymwolf-sizeguide-popup.active {
    display: flex !important;
    opacity: 1;
    transform: translateX(0);
}
