/* ============================================
   Hide WC Price - Public Styles
   ============================================ */

/* CTA Wrapper - simple spacing */
/* CTA Wrapper - simple spacing */
.hwp-cta-wrapper {
    margin: 0;
}

.hwp-btn-group-loop {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hwp-add-to-basket.secondary {
    background: #f8fafc !important;
    color: #475569 !important;
    border: 1px solid #e2e8f0 !important;
    padding: 12px 15px !important;
    border-radius: 50% !important;
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05) !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
}

.hwp-cta-wrapper .hwp-add-to-basket.secondary {
    border-radius: 50px !important;
    width: auto !important;
    flex: 1;
    padding: 12px 25px !important;
}

.hwp-add-to-basket.secondary:hover {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #1e293b !important;
    transform: scale(1.05);
}

.hwp-add-to-basket.secondary .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    line-height: 1;
}



/* Hide native add to cart elements while keeping the form structure */
.single_add_to_cart_button,
.quantity,
.woocommerce-variation-add-to-cart .button,
.woocommerce-variation-add-to-cart .quantity,
button[name="add-to-cart"] {
    display: none !important;
}








/* CTA Button (Product Pages) - Premium Style */
.hwp-trigger-modal {
    background: linear-gradient(135deg, #4A90E2 0%, #007AFF 100%) !important;
    color: #fff !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-weight: 600 !important;
    padding: 12px 28px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3) !important;
    cursor: pointer !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Hover effects */
.hwp-trigger-modal:hover {
    background: linear-gradient(135deg, #007AFF 0%, #0056b3 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.4) !important;
    color: #fff !important;
}

/* Modal Overlay */
.hwp-modal-overlay {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Modal Content */
.hwp-modal-content {
    background-color: rgba(255, 255, 255, 0.95);
    margin: auto;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 90%;
    max-width: 520px;
    border-radius: 20px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
    position: relative;
    max-height: 90vh;
    padding: 30px;
    overflow-y: auto;
    animation: hwpModalSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes hwpModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Product Header */
.hwp-product-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.hwp-product-image {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

.hwp-product-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #0073aa;
}

.hwp-modal-content h2,
.hwp-modal-title {
    margin: 0 0 25px 0 !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #1a1a2e !important;
    text-align: center !important;
    width: 100% !important;
}

/* Close Button */
.hwp-modal-close {
    color: #aaa;
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.hwp-modal-close:hover,
.hwp-modal-close:focus {
    color: #333;
}

/* Form Styles */
.hwp-form-group {
    margin-bottom: 20px;
    width: 100%;
    text-align: left;
}

.hwp-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #1a1a2e;
}


.hwp-form-group input,
.hwp-form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.hwp-form-group input:focus,
.hwp-form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

/* Form Row (side by side fields) */
.hwp-form-row {
    display: flex;
    gap: 10px;
}

.hwp-form-half {
    flex: 1;
}

@media (max-width: 480px) {
    .hwp-form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* Consent Checkbox */
.hwp-consent-group {
    margin-top: 15px;
}

.hwp-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-weight: 400 !important;
    font-size: 13px;
    color: #555;
    line-height: 1.4;
}

.hwp-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    accent-color: #667eea;
    cursor: pointer;
}

.hwp-checkbox-label a {
    color: #667eea;
    text-decoration: underline;
}

.hwp-checkbox-label a:hover {
    color: #764ba2;
}

/* Button Group (Primary) */
.hwp-button-group {
    margin-top: 25px;
}

.hwp-btn-primary,
.hwp-next-step-btn,
.hwp-submit-btn {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.hwp-btn-primary:hover,
.hwp-next-step-btn:hover,
.hwp-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    filter: brightness(1.1);
}

.hwp-btn-secondary,
.hwp-prev-step-btn {
    padding: 10px 20px;
    background: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hwp-btn-secondary:hover,
.hwp-prev-step-btn:hover {
    background: #eee;
    color: #333;
}

.hwp-step-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.hwp-step-buttons .hwp-submit-btn {
    flex: 2;
}

.hwp-step-buttons .hwp-prev-step-btn {
    flex: 1;
}

/* Submit Button */
.hwp-submit-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.hwp-submit-btn:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.hwp-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Or Divider */
.hwp-or-divider {
    position: relative;
    text-align: center;
    margin: 25px 0 20px;
    color: #999;
    font-size: 13px;
    font-weight: 500;
}

.hwp-or-divider::before,
.hwp-or-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 70px);
    height: 1px;
    background: #eee;
}

.hwp-or-divider::before { left: 0; }

.hwp-or-divider::after { right: 0; }

/* Social Buttons */
.hwp-social-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 5px;
}

/* WhatsApp Button */
.hwp-whatsapp-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.hwp-whatsapp-btn:hover {
    background: linear-gradient(135deg, #128c7e 0%, #25d366 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Instagram Button */
.hwp-instagram-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(225, 48, 108, 0.3);
}

.hwp-instagram-btn:hover {
    background: linear-gradient(135deg, #bc1888 0%, #cc2366 25%, #dc2743 50%, #e6683c 75%, #f09433 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225, 48, 108, 0.4);
}

/* Message Box */
.hwp-message {
    margin-top: 15px;
    padding: 12px 16px;
    border-radius: 8px;
    display: none;
    font-size: 14px;
}

.hwp-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.hwp-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive */
@media (max-width: 480px) {
    .hwp-modal-content {
        padding: 20px;
        margin: 10px;
        width: calc(100% - 20px);
    }

    .hwp-social-buttons {
        flex-direction: column;
    }

    .hwp-whatsapp-btn,
    .hwp-instagram-btn {
        width: 100%;
    }
}

/* ============================================
   Floating WhatsApp Button
   ============================================ */
.hwp-floating-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    animation: hwp-pulse 2s ease-in-out infinite;
    opacity: 1;
    transform: scale(1) translateY(0);
}

.hwp-floating-whatsapp.hwp-hide-on-scroll {
    opacity: 0;
    transform: scale(0.8) translateY(100px);
    pointer-events: none;
}

.hwp-floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    animation: none;
}

.hwp-floating-whatsapp:active {
    transform: scale(0.95);
}

.hwp-floating-whatsapp svg,
.hwp-floating-whatsapp img {
    width: 32px;
    height: 32px;
}

@keyframes hwp-pulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }
}

/* Mobile responsiveness for floating WhatsApp */
@media (max-width: 768px) {
    .hwp-floating-whatsapp {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .hwp-floating-whatsapp svg,
    .hwp-floating-whatsapp img {
        width: 26px;
        height: 26px;
    }
}

@media (max-width: 480px) {
    .hwp-floating-whatsapp {
        bottom: 80px;
        right: 15px;
    }
}

/* Scroll Hide Behavior (JS controlled) */
.hwp-hide-on-scroll {
    opacity: 0 !important;
    transform: scale(0) rotate(90deg) !important;
    pointer-events: none;
}

/* Custom Icon Image */
.hwp-floating-whatsapp.hwp-floating-custom-icon {
    padding: 0;
    background: transparent;
    box-shadow: none;
    animation: none;
    width: auto;
    height: auto;
}

.hwp-floating-whatsapp.hwp-floating-custom-icon:hover {
    transform: scale(1.1);
    box-shadow: none;
}

.hwp-floating-whatsapp .hwp-custom-icon-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.hwp-floating-whatsapp:hover .hwp-custom-icon-img {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .hwp-floating-whatsapp.hwp-floating-custom-icon .hwp-custom-icon-img {
        width: 50px;
        height: 50px;
    }
}

/* ============================================
   Version 2.0.0 Enhancements
   ============================================ */

/* Step Indicator */
#hwp-quote-modal .hwp-step-indicator {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 30px !important;
    width: 100% !important;
    gap: 40px !important;
    clear: both !important;
}

#hwp-quote-modal .hwp-step {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    flex: 0 0 auto !important;
}

#hwp-quote-modal .hwp-step-number {
    width: 32px !important;
    height: 32px !important;
    background: #e9ecef !important;
    color: #495057 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    margin-bottom: 6px !important;
    border: 2px solid #fff !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
}

#hwp-quote-modal .hwp-step.active .hwp-step-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4) !important;
}

#hwp-quote-modal .hwp-step-label {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #6c757d !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
}

.hwp-step-line {
    display: none !important;
}

#hwp-quote-modal .hwp-step.active .hwp-step-label {
    color: #1a1a2e !important;
}

/* Form Steps */
.hwp-form-step {
    animation: hwpFadeIn 0.4s ease;
}

@keyframes hwpFadeIn {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

/* File Upload */
.hwp-file-upload-wrapper {
    position: relative;
    border: 2px dashed #ddd;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hwp-file-upload-wrapper:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.hwp-file-upload-wrapper input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.hwp-file-upload-text {
    font-weight: 500;
    color: #666;
}

.hwp-help-text {
    display: block;
    margin-top: 5px;
    color: #999;
    font-size: 11px;
}

/* Sticky Mobile Bar */
.hwp-sticky-mobile-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 10px 15px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    display: none;
    z-index: 9999;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .hwp-sticky-mobile-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

.hwp-sticky-product-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.hwp-sticky-product-info img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}

.hwp-sticky-product-info span {
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

/* Success Overlay */
.hwp-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 20px;
}

.hwp-success-content {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Checkmark Animation */
.hwp-checkmark-circle {
    width: 60px;
    height: 60px;
    border: 3px solid #4caf50;
    border-radius: 50%;
    margin: 0 auto 20px;
    position: relative;
}

.hwp-checkmark {
    width: 30px;
    height: 15px;
    border-left: 3px solid #4caf50;
    border-bottom: 3px solid #4caf50;
    transform: rotate(-45deg);
    position: absolute;
    top: 18px;
    left: 14px;
}

.hwp-checkmark.draw {
    animation: hwpCheckmark 0.6s ease;
}

@keyframes hwpCheckmark {
    0% { height: 0; width: 0; opacity: 0; }
    40% { height: 0; width: 30px; opacity: 1; }
    100% { height: 15px; width: 30px; opacity: 1; }
}

/* Spinner */
.hwp-spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: hwpSpin 1s linear infinite;
    margin-left: 10px;
}

@keyframes hwpSpin {
    to { transform: rotate(360deg); }
}

/* Basket Bar */
.hwp-basket-bar {
    position: fixed;
    top: 80px;
    right: 20px;
    background: #fff;
    padding: 10px 15px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 999;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hwp-basket-bar:hover {
    transform: scale(1.05);
}

.hwp-basket-count {
    background: #667eea;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}