/*
Theme Name: Woodmart Child
Template: woodmart
Version: 1.0
*/

/* =========================================
   REMOVE DEFAULT WOOCOMMERCE VARIATION TABLE STYLE
========================================= */
table.variations {
    background: transparent !important;
    border: none !important;
    margin: 0 !important;
}

table.variations tr {
    background: transparent !important;
}

table.variations td {
    padding: 0 !important;
}

/* Hide default label row */
table.variations tr:first-child {
    display: none !important;
}

/* =========================================
   CUSTOM WEIGHT WRAPPER
========================================= */
.spishri-weight-wrapper {
    margin: 20px 0 28px 0;
}

/* Label */
.spishri-weight-wrapper label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #2b2b2b;
    margin-bottom: 10px;
    letter-spacing: 0.4px;
}

/* =========================================
   BUTTON LAYOUT
========================================= */
.spishri-weight-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* =========================================
   BUTTON DESIGN
========================================= */
.spishri-weight-btn {
    padding: 12px 22px;
     border-radius: 6px !important;
    border: 1px solid #e2ddd6;
    background: #ffffff;
    color: #3a3a3a;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    min-width: 40px;
    text-align: center;
}

/* Hover */
.spishri-weight-btn:hover {
    border-color: #AF4644;
    color: #AF4644;
    transform: translateY(-2px);
}

/* Active */
.spishri-weight-btn.active {
    background: #AF4644;
    color: #ffffff;
    border-color: #AF4644;
    box-shadow: 0 6px 18px rgba(139,46,46,0.25);
    transform: translateY(-2px);
}
/* ===== ALIGNMENT FIX ONLY ===== */

/* Separate label from flex layout */
.spishri-weight-wrapper {
    display: block !important;
}

/* Make only buttons flex */
.spishri-weight-wrapper .spishri-weight-btn {
    margin-right: 14px;
}

/* Create proper row for buttons */
.spishri-weight-wrapper label + .spishri-weight-btn,
.spishri-weight-wrapper label + br + .spishri-weight-btn {
    margin-top: 4px;
}

/* Ensure clean horizontal alignment */
.spishri-weight-wrapper {
    text-align: left;
}

/* Remove unwanted vertical jump */
.spishri-weight-btn {
    vertical-align: middle;
}
.spishri-weight-btn {
    display: inline-block;
}