/* VMT Album Price Configurator – price breakdown line under the variation price */
.woocommerce-variation-price .vmt-apc-breakdown,
.vmt-apc-breakdown {
    display: block;
    font-size: 0.8em;
    font-weight: 400;
    color: inherit;
    opacity: 0.85;
    margin-top: 2px;
    line-height: 1.4;
}

/* Summary button + popup */
.vmt-apc-summary-btn { margin: 8px 0 12px; }

.vmt-apc-modal[hidden] { display: none; }
.vmt-apc-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; }
.vmt-apc-modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.55); }
.vmt-apc-modal__dialog {
    position: relative;
    background: #fff;
    color: #333;
    width: 92vw;
    max-width: 560px;
    max-height: 85vh;
    overflow: auto;
    border-radius: 6px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    padding: 18px 22px 20px;
    box-sizing: border-box;
}
.vmt-apc-modal__header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.vmt-apc-modal__title { margin: 0; font-size: 1.15em; }
.vmt-apc-modal__x {
    background: none; border: 0; padding: 0 4px; margin: 0; cursor: pointer;
    font-size: 26px; line-height: 1; color: #666; box-shadow: none;
}
.vmt-apc-modal__x:hover { color: #000; }
.vmt-apc-summary { width: 100%; border-collapse: collapse; margin: 0; }
.vmt-apc-summary th, .vmt-apc-summary td { padding: 7px 4px; border-bottom: 1px solid #eee; vertical-align: top; font-size: 0.95em; }
.vmt-apc-summary th { text-align: left; font-weight: 600; width: 42%; color: #555; }
.vmt-apc-summary td { text-align: right; }
.vmt-apc-summary tr.is-total th, .vmt-apc-summary tr.is-total td { font-weight: 700; font-size: 1.05em; border-bottom: 0; }
.vmt-apc-modal__footer { margin-top: 14px; text-align: right; }
html.vmt-apc-modal-open { overflow: hidden; }
