/*
 Theme Name:   Simply Green Child
 Description:  Simply Green Child
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

.sgc-discount-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sgc-tooltip-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ffe300;
    color: #000000;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    cursor: default;
    user-select: none;
}
.cart-total-discount th {
    font-weight: 600;
    font-size: 15px;
}
.sgc-discount-wrap > span > bdi {
    color: #ffe300;
}
.sgc-tooltip {
    display: none;
    position: absolute;
    bottom: calc(100% + 6px);
    right: 0;
    min-width: 220px;
    background: #fff;
    color: #000000;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 13px;
    line-height: 25px;
    white-space: nowrap;
    z-index: 999;
    box-shadow: 0 12px 48px rgba(0,0,0,.25);
}

.sgc-tooltip-trigger:hover .sgc-tooltip,
.sgc-tooltip-trigger:focus .sgc-tooltip {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sgc-breakdown-line {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.sgc-breakdown-label {
    opacity: .8;
}

.sgc-breakdown-amount {
    font-weight: 600;
}

.sg-locked-field {
    cursor: not-allowed;
}