/* Main Layout */
.addify-quote-form.template_two{
    display:flex;
    gap:30px;
    align-items:flex-start;
}

/* Left Side */
.addify-quote-form.template_two .adf-quote-detail-wrap{
    flex:1;
    min-width:0;
    width:auto !important;
}

/* Right Side */
.addify-quote-form.template_two .af_quote_fields{
    flex:0 0 360px;
    width:360px !important;
}

/* Page Container */
.adf-request-quote-page.template_two{
    width:100%;
    max-width:1160px;
    margin:0 auto;
    padding:0;
    box-sizing:border-box;
}


/* ===================================
   PRODUCT SECTION
=================================== */

.adf-quote-detail-wrap{
    background:#fff;
    border:1px solid #e8e8e8;
    border-radius:12px;
    padding:24px;
}

.addify-quote-form__contents{
    width:100%;
    border-collapse:separate;
    border-spacing:0;
    margin:0;
    border:none !important;
}

/* Header */

.addify-quote-form__contents thead th{
    background:#fafafa !important;
    color:#222 !important;
    font-size:13px;
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:.4px;
    padding:16px 18px !important;
    border-bottom:1px solid #ececec !important;
}

/* Product Row */

.addify-quote-form__contents tbody tr.cart_item{
    transition:.25s;
}

.addify-quote-form__contents tbody tr.cart_item:hover{
    background:#fcfcfc;
}

/* Cells */

.addify-quote-form__contents td{
    padding:20px 18px !important;
    vertical-align:top;
    border-bottom:1px solid #f3f3f3 !important;
    font-size:14px;
}

/* Image */

.product-thumbnail{
    width:110px;
}

.product-thumbnail img{
    width:85px;
    height:85px;
    object-fit:contain;
    border:1px solid #ededed;
    border-radius:8px;
    padding:8px;
    background:#fff;
    transition:.25s;
}

.product-thumbnail img:hover{
    transform:scale(1.03);
}

/* Product Name */

.product-name a{
    font-size:16px;
    font-weight:600;
    color:#222;
    line-height:1.45;
    text-decoration:none;
    transition:.25s;
}

.product-name a:hover{
    color:#e60100;
}

/* SKU */

.product-name p{
    margin:6px 0 14px;
}

.product-name small{
    font-size:12px;
    color:#777;
}

.product-name small b{
    color:#555;
    margin-right:5px;
}

/* Remove */

.adf-product-remove{
    margin-top:12px;
}

.adf-product-remove a{
    color:#777;
    font-size:12px;
    font-weight:500;
    text-decoration:none;
    transition:.25s;
}

.adf-product-remove a:hover{
    color:#e60100;
}

/* Quantity */

.product-quantity{
    margin-top:14px !important;
}

.quantity{
    display:inline-flex;
    align-items:center;
    border:1px solid #ddd;
    border-radius:8px;
    overflow:hidden;
    background:#fff;
}

.quantity button{
    width:34px;
    height:34px;
    border:none;
    background:#f6f6f6;
    color:#333;
    cursor:pointer;
    font-size:16px;
    transition:.25s;
}

.quantity button:hover{
    background:#e60100;
    color:#fff;
}

.quantity input.qty{
    width:46px !important;
    height:34px !important;
    border:none !important;
    text-align:center;
    font-size:14px;
    font-weight:500;
    box-shadow:none !important;
    background:#fff;
}

.quantity input.qty:focus{
    outline:none;
}

/* Remove last border */

.addify-quote-form__contents tbody tr:last-child td{
    border-bottom:none !important;
}

/* Mobile */

@media (max-width:768px){

    .adf-quote-detail-wrap{
        padding:18px;
    }

    .product-thumbnail{
        width:80px;
    }

    .product-thumbnail img{
        width:65px;
        height:65px;
    }

    .product-name a{
        font-size:15px;
    }

    .quantity button{
        width:30px;
        height:30px;
        font-size:14px;
    }

    .quantity input.qty{
        width:40px !important;
        height:30px !important;
        font-size:13px;
    }
}


/* ==================================================
   MENA3D REQUEST A QUOTE FORM
================================================== */

.af_quote_fields{
    background:#fff;
    border:1px solid #e8e8e8;
    border-radius:12px;
    padding:30px !important;
    box-shadow:0 8px 25px rgba(0,0,0,.05);
}

.af-quote-field-table{
    width:100%;
}

/* ==========================================
   FORM GRID
========================================== */

.quote-fields{
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
    gap:16px;
}

.quote-fields .addify-option-field.adf_half_width{
    width:calc(50% - 8px) !important;
    max-width:calc(50% - 8px) !important;
    flex:0 0 calc(50% - 8px) !important;
    margin:0 !important;
}

.quote-fields .addify-option-field.adf_full_width{
    width:100% !important;
    max-width:100% !important;
    flex:0 0 100% !important;
    margin:0 !important;
}

/* ==========================================
   LABELS
========================================== */

.addify-option-field label{
    display:block;
    margin-bottom:8px;
    font-size:13px;
    font-weight:600;
    color:#222;
    line-height:1.4;
}

/* Required Asterisk */

.addify-option-field label::after{
    content:" *";
    color:#e60100;
    font-weight:700;
}

/* ==========================================
   INPUTS
========================================== */

.af_quote_fields input[type="text"],
.af_quote_fields input[type="email"],
.af_quote_fields input[type="number"],
.af_quote_fields input[type="tel"],
.af_quote_fields input[type="date"],
.af_quote_fields input[type="time"],
.af_quote_fields input[type="datetime-local"],
.af_quote_fields textarea,
.af_quote_fields select{

    width:100%;
    height:44px !important;

    border:1px solid #dcdcdc !important;
    border-radius:8px;

    background:#fff;

    padding:0 14px !important;

    font-size:14px;
    color:#333;

    transition:all .25s ease;

    box-sizing:border-box;

    box-shadow:none;
}

/* Remove plugin red left border */

.af_quote_fields input[required]{
    border-left:1px solid #dcdcdc !important;
}

/* Placeholder */

.af_quote_fields input::placeholder,
.af_quote_fields textarea::placeholder{
    color:#999;
}

/* Focus */

.af_quote_fields input:focus,
.af_quote_fields textarea:focus,
.af_quote_fields select:focus{

    border-color:#e60100 !important;

    box-shadow:
        0 0 0 3px rgba(230,1,0,.10);

    outline:none;
}

/* ==========================================
   TEXTAREA
========================================== */

.af_quote_fields textarea{

    min-height:120px;
    padding:14px !important;
    resize:vertical;
}

/* ==========================================
   SELECT
========================================== */

.af_quote_fields select{

    cursor:pointer;
}

/* ==========================================
   FILE INPUT
========================================== */

.af_quote_fields input[type=file]{

    padding:8px 0 !important;
    border:none !important;
}

/* ==========================================
   BUTTON AREA
========================================== */

.form_row{

    margin-top:28px;
}

/* Submit Button */

.addify_checkout_place_quote{

    width:100%;

    height:48px;

    border:none;

    border-radius:8px;

    background:#e60100 !important;

    color:#fff !important;

    font-size:15px;

    font-weight:600;

    letter-spacing:.3px;

    cursor:pointer;

    transition:all .25s ease;
}

.addify_checkout_place_quote:hover{

    background:#c00000 !important;

    transform:translateY(-1px);

    box-shadow:0 8px 20px rgba(230,1,0,.22);
}

/* ==========================================
   REMOVE DEFAULT SPACING
========================================== */

.quote-fields p{

    margin-bottom:0 !important;
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width:768px){

    .af_quote_fields{

        padding:22px !important;
    }

    .quote-fields{

        gap:14px;
    }

    .quote-fields .addify-option-field.adf_half_width{

        width:100% !important;
        max-width:100% !important;
        flex:0 0 100% !important;
    }

    .addify_checkout_place_quote{

        height:46px;
    }

}