/**
 * Volume Order (Bulk Bundle) Frontend Styles
 *
 * Only enqueued on product pages where Volume Order mode is enabled.
 *
 * @package PrintShopStudio
 * @since 1.4.0
 */

/* Minimum-quantity hint shown below the size matrix. */
.pss-bundle-hint {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    margin: 12px 0;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.4;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.pss-bundle-hint-icon {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
}

.pss-bundle-hint-locked {
    background: #fff7ed;
    border: 1px solid #fdba74;
    color: #9a3412;
}

.pss-bundle-hint-locked .pss-bundle-hint-icon {
    background: #f97316;
    color: #fff;
}

.pss-bundle-hint-unlocked {
    background: #ecfdf5;
    border: 1px solid #86efac;
    color: #065f46;
}

.pss-bundle-hint-unlocked .pss-bundle-hint-icon {
    background: #10b981;
    color: #fff;
}

/* Flash animation when a blocked click is attempted. */
@keyframes pss-bundle-flash {
    0%   { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.55); }
    60%  { box-shadow: 0 0 0 8px rgba(249, 115, 22, 0); }
    100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); }
}

.pss-bundle-hint-flash {
    animation: pss-bundle-flash 0.6s ease-out 1;
}

/* Greys out the design button while the minimum is not met. */
.pss-bundle-locked {
    opacity: 0.55;
    filter: grayscale(0.35);
    cursor: not-allowed !important;
}

/* Volume Order price label on the product page. */
.pss-bundle-price {
    display: block;
    line-height: 1.3;
}

.pss-bundle-price-main {
    font-weight: 700;
    font-size: 1.1em;
}

.pss-bundle-price-note {
    display: block;
    font-size: 0.82em;
    font-weight: 400;
    color: #555;
    margin-top: 4px;
}

/* Subtle "no further discounts" notice row on the product page. */
.pss-bundle-no-discount {
    margin: 10px 0 16px;
    padding: 10px 14px;
    background: #f3f4f6;
    border-left: 3px solid #6b7280;
    font-size: 13px;
    color: #374151;
    border-radius: 0 4px 4px 0;
}
