/* ══════════════════════════════════════════
   WC Measurement Pricing — Frontend styles
   ══════════════════════════════════════════ */

/* ── Flex row: [qty-box] [price badge] ── */
.wcmp-row {
    display: flex !important;
    align-items: stretch;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

/* ── Qty card ── */
.wcmp-qty-box {
    display: inline-flex;
    flex-direction: column;
    background: #fff;
    border: 1.5px solid #e2e2e2;
    border-radius: 16px;
    padding: 14px 18px 12px;
}

/* ── Label "Kiekis (MIN 0.5 m)" ── */
.wcmp-qty-label {
    display: block;
    font-size: 0.8em;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
    white-space: nowrap;
}
.wcmp-qty-label small {
    font-weight: 400;
    color: #888;
}

/* ── WoodMart qty wrapper inside our card ── */
.wcmp-qty-box .quantity {
    display: flex !important;
    align-items: center;
    background: #fff;
    border: 1.5px solid #d8d8d8;
    border-radius: 999px;
    overflow: hidden;
    height: 44px;
    width: auto !important;
}

/* ── Input inside pill ── */
.wcmp-qty-box .quantity input.qty {
    width: 52px !important;
    height: 44px !important;
    border: none !important;
    border-left: 1.5px solid #e2e2e2 !important;
    border-right: 1.5px solid #e2e2e2 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    text-align: center !important;
    font-size: 1em !important;
    font-weight: 500 !important;
    color: #222 !important;
    padding: 0 !important;
    margin: 0 !important;
    -moz-appearance: textfield !important;
}
.wcmp-qty-box .quantity input.qty::-webkit-outer-spin-button,
.wcmp-qty-box .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/* ── WoodMart +/- buttons styled as pill buttons ── */
.wcmp-qty-box .quantity .plus,
.wcmp-qty-box .quantity .minus,
.wcmp-qty-box .quantity button.plus,
.wcmp-qty-box .quantity button.minus {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: 1.3em !important;
    font-weight: 300 !important;
    color: #333 !important;
    cursor: pointer;
    transition: background 0.12s;
    padding: 0 !important;
    margin: 0 !important;
}
.wcmp-qty-box .quantity .plus:hover,
.wcmp-qty-box .quantity .minus:hover,
.wcmp-qty-box .quantity button.plus:hover,
.wcmp-qty-box .quantity button.minus:hover {
    background: #f5f5f5 !important;
}

/* ── Price badge ── */
.wcmp-price-badge {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1.5px solid #e2e2e2;
    border-radius: 16px;
    padding: 14px 22px;
    font-size: 1.65em;
    font-weight: 700;
    color: #222;
    white-space: nowrap;
    min-width: 120px;
    line-height: 1;
}

/* ── Note text below ── */
.wcmp-cutting-note {
    font-size: 0.82em;
    color: #888;
    margin-top: 8px;
    margin-bottom: 0;
}
