/* Modal Structure */
.modal-dialog {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.modal-dialog.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #fff;
    width: 90%;
    max-width: 800px;
    border-radius: 8px;
    position: relative;
    margin: 30px auto;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.modal-dialog.show .modal-content {
    transform: translateY(0);
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    color: #666;
}

.modal-body {
    padding: 20px;
}

/* Form Container */
.request-form-container {
    padding: 20px;
}

/* Products Section */
.selected-products-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #f7f7f7;
    border-radius: 6px;
}

.product-header {
    margin-bottom: 20px;
}

.product-header h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 600;
}

/* Product Search */
.product-search-wrapper {
    position: relative;
    margin-bottom: 15px;
}

.product-search {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
}

.search-result-item {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s ease;
    user-select: none;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background-color: #f5f5f5;
}

.search-result-item:active {
    background-color: #e9ecef;
}

.search-result-item strong {
    display: block;
    color: #333;
    margin-bottom: 4px;
}

.search-result-item small {
    display: block;
    color: #666;
}

/* Selected Products */
.selected-product {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.product-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 20px;
}

.product-details {
    flex: 1;
}

.product-name {
    font-weight: 600;
    margin-bottom: 4px;
}

.product-sku {
    font-size: 13px;
    color: #666;
}

.product-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.quantity-input {
    width: 60px;
    padding: 8px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.remove-product {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 5px;
    font-size: 20px;
    line-height: 1;
    transition: color 0.2s ease;
}

.remove-product:hover {
    color: #bd2130;
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

/* Form Fields */
.form-field {
    margin-bottom: 20px;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-field textarea {
    min-height: 120px;
    resize: vertical;
}

/* Submit Button */
.submit-button {
    background: #0073aa;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.submit-button:hover {
    background: #005c8a;
}

/* Contact Form 7 Specific Styles */
.wpcf7-form-control-wrap {
    display: block;
}

.wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
}

.wpcf7-response-output {
    margin: 20px 0 0 0 !important;
    padding: 12px !important;
    border-radius: 4px;
}

/* Responsive Styles */
@media (max-width: 767px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .product-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .modal-content {
        margin: 15px;
    }

    .modal-body {
        padding: 15px;
    }
}





.star-rating {
    display: none!important;
}

@media screen and (min-width: 1201px) {
    #pxl-wapper .container {
      max-width: 1820px!important;
      width: 100%;
    }
  }


  @media screen and (min-width: 1201px) {
    .pxl-sidebar-sticky {
      position: -webkit-sticky;
      position: sticky;
      top: 100px!important;
    }
  }


  @media (min-width: 992px) {
    .woocommerce .pxl-has-sidebar .pxl-sidebar-area {
      padding-left: 35px;
      max-width: 20%!important;
    }
  }

  @media (min-width: 992px) {
    .col-lg-8 {
      -webkit-box-flex: 0;
      -ms-flex: 0 0 80%!important;
      flex: 0 0 80%!important;
      max-width: 80%!important;
    }
  }