/* Fit Quote System Public Styles */

:root {
    --fqs-primary: #22ce09; /* New Green color */
    --fqs-secondary: #1a1a1a;
    --fqs-accent: #ffeb3b;
    --fqs-text-dark: #333;
    --fqs-text-light: #fff;
    --fqs-glass: rgba(255, 255, 255, 0.1);
    --fqs-glass-border: rgba(255, 255, 255, 0.2);
}

/* Aggressively hide prices and standard cart buttons */
.price, 
.amount,
.woocommerce-Price-amount,
.cart,
.add_to_cart_button,
.single_add_to_cart_button {
    display: none !important;
}

/* Ensure our button is visible */
.fqs-add-to-quote-wrapper .fqs-add-to-quote-btn {
    display: block !important;
}

.fqs-add-to-quote-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 100%;
}

.fqs-qty-controls {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    width: fit-content;
}

.fqs-qty-controls button {
    background: transparent;
    border: none;
    width: 35px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: 400;
    color: #666;
    transition: color 0.2s;
}

.fqs-qty-controls button:hover {
    color: var(--fqs-primary);
}

.fqs-qty-input {
    width: 40px;
    height: 40px;
    text-align: center;
    border: none;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    background: #fff;
    font-size: 14px;
    font-weight: bold;
    padding: 0;
    -moz-appearance: textfield;
}

.fqs-qty-input::-webkit-inner-spin-button,
.fqs-qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.fqs-add-to-quote-btn {
    background: var(--fqs-primary) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 25px !important;
    padding: 10px 22px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease !important;
    cursor: pointer;
    box-shadow: 0 3px 6px rgba(34, 206, 9, 0.2);
}

.fqs-add-to-quote-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(34, 206, 9, 0.4);
    background: #1ba507 !important;
}

.fqs-add-to-quote-btn:active {
    transform: translateY(0);
}

/* Floating Bar */
.fqs-floating-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 12px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: #fff;
    transition: bottom 0.3s ease-in-out;
}

.fqs-floating-bar.hidden {
    bottom: -100px;
}

.fqs-bar-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.fqs-cart-icon {
    font-size: 20px;
    background: var(--fqs-primary);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.fqs-view-quote-btn {
    background: #fff;
    color: #000;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
}

.fqs-view-quote-btn:hover {
    background: var(--fqs-primary);
    color: #fff;
}

/* Animations */
@keyframes slideUp {
    from { transform: translateY(100%) translateX(-50%); }
    to { transform: translateY(0) translateX(-50%); }
}

.fqs-floating-bar {
    animation: slideUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Stack Suggestions */
.fqs-stack-suggestion {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 350px;
    background: #fff;
    border-left: 5px solid var(--fqs-primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    padding: 20px;
    border-radius: 8px;
    z-index: 10000;
    transform: translateX(400px);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fqs-stack-suggestion.visible {
    transform: translateX(0);
}

.fqs-stack-suggestion h3 {
    margin: 0 0 10px 0;
    color: var(--fqs-primary);
}

.fqs-stack-suggestion p {
    font-size: 14px;
    margin-bottom: 15px;
}

.fqs-stack-actions {
    display: flex;
    gap: 10px;
}

.fqs-stack-actions button {
    font-size: 12px;
    padding: 8px 12px;
    cursor: pointer;
}

.fqs-dismiss {
    background: none;
    border: none;
    color: #888;
    text-decoration: underline;
}

/* Badge on Image */
.fqs-badge-on-image {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--fqs-primary);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    z-index: 10;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(34, 206, 9, 0.3);
}

.product {
    position: relative; /* Ensure badge is positioned correctly */
}
