.rfq-cart {
    position: fixed;
    top: 0;
    right: -450px;
    max-width: 450px;
    height: 100%;
    background: white;
    box-shadow: -2px 0 15px rgba(0,0,0,0.2);
    transition: right 0.3s ease-in-out;
    padding: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
}

.rfq-cart.open {
    right: 0;
}

.rfq-cart-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    position: relative;
    background: #f8f9fa;
}

.rfq-cart-header h2 {
    margin: 0;
    font-size: 20px;
    color: #333;
    font-weight: 600;
}

.rfq-cart-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.rfq-cart-close:hover {
    background: #e9ecef;
    color: #333;
}

.rfq-cart-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.rfq-cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background: #f8f9fa;
}

.rfq-toggle-button,
.rfq-add-button,
.rfq-delete,
.rfq-continue,
.rfq-close,
.rfq-submit-button,
.rfq-save-qty {
    cursor: pointer;
}

/* RFQ Toggle Button - SVG Shopping Bag Icon */
.rfq-toggle-button {
    background: none;
    border: none;
    padding: 8px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rfq-shopping-bag-icon {
    width: 24px;
    height: 24px;
    display: block;
    transition: all 0.2s ease;
}

.rfq-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #007cba;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    border: 2px solid white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* RFQ Cart Product Items */
.rfq-cart ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rfq-cart li {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    gap: 15px;
}

.rfq-cart li:last-child {
    border-bottom: none;
}

.rfq-product-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    flex-shrink: 0;
}

.rfq-product-info {
    flex: 1;
    min-width: 0;
}

.rfq-product-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    line-height: 1.4;
    display: block;
    margin-bottom: 5px;
}

.rfq-product-title:hover {
    color: #007cba;
    text-decoration: underline;
}

.rfq-product-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.rfq-qty {
    width: 50px;
    padding: 6px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
}

.rfq-save-qty {
    padding: 10px 24px;
    font-size: 12px;
    font-family: inherit;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.rfq-save-qty:hover {
    background: #218838;
}

.rfq-delete {
    padding: 10px 24px;
    font-size: 12px;
    font-family: inherit;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.rfq-delete:hover {
    background: #c82333;
}

.rfq-continue {
    width: 100%;
    padding: 15px;
    background: #007cba;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.rfq-continue:hover {
    background: #005a87;
}

.rfq-cart-empty {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.rfq-cart-empty p {
    margin: 0;
    font-size: 16px;
}

/* RFQ Form Page Layout */
.rfq-form-container {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
}

.rfq-form-left {
    flex: 1;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

.rfq-form-right {
    flex: 1;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    overflow: hidden;
}

/* Business Details Form Styling */
#rfq-submit-form h2 {
    margin: 0 0 30px 0;
    color: #2c3e50;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

#rfq-submit-form h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #007cba 0%, #005a87 100%);
    border-radius: 2px;
}

#rfq-submit-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#rfq-submit-form input[type="text"],
#rfq-submit-form input[type="email"],
#rfq-submit-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #dbdddf;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    background: #fff;
    transition: all 0.3s ease;
    box-sizing: border-box;
    margin-bottom: 10px;
    margin-top: 4px;
}

#rfq-submit-form input[type="text"]:focus,
#rfq-submit-form input[type="email"]:focus,
#rfq-submit-form textarea:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
    transform: translateY(-1px);
}

#rfq-submit-form input[type="text"]:hover,
#rfq-submit-form input[type="email"]:hover,
#rfq-submit-form textarea:hover {
    border-color: #007cba;
}

#rfq-submit-form textarea {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}

.rfq-submit-button {
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

.rfq-submit-button:hover {
    background: linear-gradient(135deg, #1e7e34 0%, #155724 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(40, 167, 69, 0.4);
}

.rfq-submit-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(40, 167, 69, 0.3);
}

/* RFQ Form Cart Styling */
.rfq-form-cart {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.rfq-form-cart h2 {
    margin: 0;
    padding: 30px 30px 20px 30px;
    color: #2c3e50;
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
    text-align: center;
}

.rfq-form-cart-content {
    flex: 1;
    padding: 20px 30px;
    overflow-y: auto;
}

.rfq-form-cart ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rfq-form-cart li {
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: background 0.2s ease;
}

.rfq-form-cart li:last-child {
    border-bottom: none;
}

.rfq-form-cart .rfq-qty {
    width: 70px;
    padding: 8px 12px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.rfq-form-cart .rfq-qty:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

.rfq-form-cart .rfq-qty:hover {
    border-color: #007cba;
}

/* Add to RFQ Form Styling */
.rfq-add-form {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

.rfq-add-form input[name="quantity"] {
    width: 80px;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    background: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.rfq-add-form input[name="quantity"]:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
    transform: translateY(-1px);
}

.rfq-add-form input[name="quantity"]:hover {
    border-color: #007cba;
}

.rfq-add-button {
    padding: 10px 24px;
    background: linear-gradient(135deg, #007cba 0%, #005a87 100%);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 124, 186, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
	font-family:inherit;
}

.rfq-add-button:hover {
    background: linear-gradient(135deg, #005a87 0%, #004066 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 124, 186, 0.4);
}

.rfq-add-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 124, 186, 0.3);
}

.rfq-add-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.rfq-add-button:hover:before {
    left: 100%;
}

.rfq-add-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.rfq-add-button:disabled:hover {
    background: #ccc;
    transform: none;
    box-shadow: none;
}

/* Success state for add button */
.rfq-add-button.success {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.rfq-add-button.success:hover {
    background: linear-gradient(135deg, #1e7e34 0%, #155724 100%);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

/* Responsive design */
@media (max-width: 768px) {
    .rfq-form-container {
        flex-direction: column;
        padding: 10px;
        gap: 20px;
    }
    
    .rfq-form-left,
    .rfq-form-right {
        padding: 20px;
    }
    
    #rfq-submit-form h2 {
        font-size: 24px;
    }
    
    .rfq-form-cart h2 {
        font-size: 20px;
        padding: 20px;
    }
    
    .rfq-form-cart-content {
        padding: 15px 20px;
    }
    
    .rfq-add-form {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .rfq-add-form input[name="quantity"] {
        width: 100%;
        text-align: center;
    }
    
    .rfq-add-button {
        width: 100%;
        padding: 14px 24px;
    }
    
    .rfq-form-cart li {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .rfq-form-cart .rfq-qty {
        width: 100px;
    }
}

/* Success Page Styling */
.rfq-success-page {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

.rfq-success-icon {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.rfq-success-icon svg {
    animation: rfq-success-bounce 0.6s ease-in-out;
}

@keyframes rfq-success-bounce {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.rfq-success-title {
    font-size: 28px;
    font-weight: 600;
    color: #28a745;
    margin-bottom: 20px;
    line-height: 1.3;
}

.rfq-success-message {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

/* Responsive Success Page */
@media (max-width: 768px) {
    .rfq-success-page {
        padding: 40px 15px;
    }
    
    .rfq-success-title {
        font-size: 24px;
    }
    
    .rfq-success-message {
        font-size: 15px;
    }
}