#jshop-ajax-attr-modal .js-attr-field-label { font-weight: 600; margin-bottom: 4px; }

.js-product-title { display: flex; gap: 12px; line-height: 18px; }

.js-modal-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    border: 1px solid #e5e5e5;
}

.js-modal-title-text { display: flex; flex-direction: column; gap: 4px; }

.js-modal-base-price { font-size: 14px; font-weight: 400; color: #888; }

.js-chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 5px 0 10px;
    list-style: none;
    padding: 0;
}

.js-chip-item { position: relative; display: inline-flex; }

.js-chip-radio {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.js-chip-label {
    background: #fff;
    color: #333;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 4px 10px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 500;
    user-select: none;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
    position: relative;
}

.js-chip-qty-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--jsca-accent, #82e6ce);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    line-height: 1;
    pointer-events: none;
}

.js-chip-radio:checked + .js-chip-label { border-color: var(--jsca-accent, #82e6ce); box-shadow: inset 0 0 0 1px var(--jsca-accent, #82e6ce); }

.js-chip-price {
    font-size: 11px;
    font-weight: normal;
    color: #333;
    margin-top: 1px;
}

.js-cart-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 auto;
    margin-top: 20px;
}

.js-cart-footer > button[type="submit"], .js-cart-footer > a.js-go-to-cart { flex: 1 1 auto; white-space: nowrap; }

.js-cart-footer > a.js-go-to-cart { text-align: center; }

.js-modal-qty-wrap {
    display: flex;
    align-items: center;
    background: #f0f0f0;
    border-radius: 10px;
    flex: 1 1 auto;
    height: 43px;
    padding: 5px 10px;
    box-sizing: border-box;
}

.js-page-qty-wrap { flex: 0 0 auto; width: 160px; }

.js-modal-qty-btn {
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1.2;
    padding: 0;
}

.js-modal-qty-btn:hover { color: #212121; }

.js-modal-qty-btn-minus { margin-right: auto; }

.js-modal-qty-btn-plus { margin-left: auto; }

.js-modal-qty-display {
    text-align: center;
    font-size: 17px;
    font-weight: 500;
    font-family: inherit;
    background: none;
    border: none;
    outline: none;
    width: 50px;
    padding: 0;
    -moz-appearance: textfield;
    appearance: textfield;
}

.js-modal-qty-display::-webkit-inner-spin-button, .js-modal-qty-display::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.mod-jshopping-mini-cart {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-family: inherit;
    border-radius: 10px;
    line-height: 1.3;
}

.cart-count-wrapper { position: relative; display: inline-flex; align-items: center; }

.cart-count-wrapper a { color: inherit; text-decoration: none; }

.cart-count {
    position: absolute;
    top: -10px;
    right: -15px;
    width: 24px;
    height: 24px;
    border-radius: 500px;
    background: var(--jsca-accent, #82e6ce);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    text-align: center;
    pointer-events: none;
}

.cart-count:empty, .cart-count[data-count="0"] { display: none; }

.cart-total { margin-left: 15px; }

.cart-title { font-weight: 500; font-size: 15px; }

.cart-cost { font-weight: 600; font-size: 19px; }
