.wd-swatches-product {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-bottom: 15px;
}

.wd-swatch {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    width: 100%;
    padding: 15px 20px;
    min-height: 60px;
    border: 1px solid #E5E5E5;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #FFFFFF;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.wd-swatch:hover {
    background-color: #F8F8F8;
    border-color: #D1D1D1;
}

.wd-swatch.wd-active {
    border-color: #8D8143;
    background-color: #FFFFFF;
    box-shadow: 0 1px 4px rgba(141, 129, 67, 0.2);
}

/* Remove the radio button style */
.wd-swatch::before {
    display: none;
}

.wd-swatch-text {
    font-size: 14px;
    font-weight: 500;
    color: #333333;
    text-align: left;
    padding-right: 15px;
}
/* Override WooCommerce default swatch styles */
.wd-swatches-product .wd-swatch {
    position: static !important;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    height: auto !important;
    min-height: 60px !important;
    padding: 15px 20px !important;
    border: 1px solid #E5E5E5 !important;
    border-radius: 4px !important;
    background-color: #FFFFFF !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
}

.wd-swatches-product .wd-swatch:hover {
    background-color: #F8F8F8 !important;
    border-color: #D1D1D1 !important;
}

.wd-swatches-product .wd-swatch.wd-active {
    border-color: #8D8143 !important;
    background-color: #FFFFFF !important;
    box-shadow: 0 1px 4px rgba(141, 129, 67, 0.2) !important;
}

.wd-swatches-product .wd-swatch-text {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #333333 !important;
    text-align: left !important;
    padding-right: 15px !important;
    line-height: 1.4 !important;
}

/* Rest of your existing CSS... */

.wd-swatch-quantity {
    width: 80px !important;
    padding: 8px 12px !important;
    border: 1px solid #E5E5E5 !important;
    border-radius: 4px !important;
    text-align: center;
    background-color: #FFFFFF;
}

.wd-swatch-quantity:disabled {
    background-color: #F5F5F5;
    cursor: not-allowed;
}

#wd-variable-total-price {
    margin: 20px 0;
    font-size: 1.2em;
    font-weight: 600;
}

/* Hide the default select dropdown */
.variations select {
    display: none !important;
}

/* Adjust the variations table layout */
.variations {
    width: 100%;
    margin-bottom: 20px;
}

.variations .label {
    padding-bottom: 10px;
}

.variations .value {
    padding: 0;
}

/* Hide reset variations when not needed */
.reset_variations {
    display: none !important;
}

.variations tr{
    width:100%;
}
.variations td{
    display: block;
    width: 100%;
}