/**
* 2007-2022 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2022 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/

.peptides-calc {
    position: relative;
    width: 100%;
    max-width: 576px;
    margin-bottom: 30px;
    margin-right: 4rem;
}
@media (max-width: 767px) {  
    .peptides-calc {
        margin-right: 0;
    }
}
.peptides-calc-head {
    min-height: 6.4rem;
    border-radius: 18px 18px 0 0;
    background: linear-gradient(#1ba3cc 0%, #26326f 100%);
    display: flex;
    align-items: center;
    padding: 10px 35px;
}
.peptides-calc-head h5 {
    font-size: var(--mr_fontsize__normal);
    color: var(--mr_color__white);
    font-weight: var(--mr_fontweight__medium);
    margin: 0;
}
.peptides-calc-head .head-icon {
    margin-right: 15px;
}

.peptides-calc-body {
    background-color: #E3EAF8;
    padding: 15px 35px 35px 35px;
    border-radius: 0 0 18px 18px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
}
.peptides-calc-body label {
    width: 100%;
    border: 1px solid var(--mr_color__primary);
    position: relative;
    margin-bottom: 0;
    display: flex;
}
.peptides-calc-body label[for="ui"] {
    margin-bottom: 15px;
}
.peptides-calc-body input,
.peptides-calc-body select {
    background: none;
    border: none;
    font-size: var(--mr_fontsize__normal);
    color: var(--mr_color__primary);
    font-weight: var(--mr_fontweight__medium);
    display: inline-flex;
    border-radius: 0;
    padding-left: 30px;
}
.peptides-calc-body input:focus,
.peptides-calc-body input:active {
    border: none;
    outline: 0;
}
.peptides-calc-body .hint {
    font-size: var(--mr_fontsize__normal);
    color: var(--mr_color__primary);
    font-weight: var(--mr_fontweight__medium);
    margin: 0;
    margin-bottom: 10px;
}
.peptides-calc-body span {
    font-size: var(--mr_fontsize__small);
    color: var(--mr_color__primary);
    font-weight: var(--mr_fontweight__medium);
    display: inline-flex;
}
.peptides-calc-body span.lbli {
    text-align: left;
    padding: 8px 15px 8px 25px;
    color: var(--mr_color__white);
    background-color: var(--mr_color__primary);
    font-weight: var(--mr_fontweight__medium);
    line-height: 17px;
    display: inline-flex;
    align-items: center;
}
.peptides-calc-body span:not(.lbli) {
    position: absolute;
    right: 25px;
    bottom: 0;
    top: 0;
    margin: auto;
    height: 100%;
    display: flex;
    align-items: center;
    font-size: var(--mr_fontsize__small);
    color: var(--mr_color__primary);
    font-weight: var(--mr_fontweight__medium);
}
#btn-peptides {
    max-width: 19rem;
    width: 100%;
    font-size: var(--mr_fontsize__normal);
    background-color: var(--mr_color__primary);
    color: var(--mr_color__white);
    padding: 10px;
    border-radius: 18px;
    border: none;
    position: absolute;
    bottom: -17px;
    cursor: pointer;
}
#btn-peptides:focus {
    outline-color: var(--mr_color__primary);
    border-color: var(--mr_color__primary);
}

.peptides-calc .quantity {
    position: relative;
    margin: auto;
}

.peptides-calc input[type=number]::-webkit-inner-spin-button,
.peptides-calc input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.peptides-calc input[type=number] {
    -moz-appearance: textfield;
}

.peptides-calc .quantity input {
    height: 100%;
    float: left;
    display: block;
    padding: 0;
    margin: 0;
    padding-left: 10px;
    border: none;
    border-radius: 4px;
    width: 50px;
    height: 40px;
}

.peptides-calc .quantity input:focus {
    outline: 0;
}

.peptides-calc .quantity-nav {
    position: relative;
    height: 40px;
}

.peptides-calc .quantity-button {
    position: relative;
    cursor: pointer;
    border: none;
    width: 21px;
    text-align: center;
    color: var(--mr_color__primary);
    font-size: 16px;
    font-family: "FontAwesome" !important;
    line-height: 1.5;
    padding: 0;
    background: transparent;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.peptides-calc .quantity-button:active,
.peptides-calc .quantity-button:focus {
    background: var(--mr_color__primary);
    color: var(--mr_color__white);
    border: none;
    outline: none;
}

.peptides-calc .quantity-button.quantity-up {
    position: absolute;
    height: 20px;
    top: 0;
    font-family: "FontAwesome";
    border-radius: 0;
    line-height: 1;
    font-size: 16px;
}

.peptides-calc .quantity-button.quantity-down {
    position: absolute;
    bottom: 0;
    height: 20px;
    line-height: 1;
    font-family: "FontAwesome";
    border-radius: 0;
    font-size: 16px;
}
.peptides-calc-body span.spn-absolute {
    position: absolute;
    bottom: -33px;
    right: 3px;
    top: auto;
}

.peptides-calc .mobile-open {
    display: none;
    padding: 4px;
    background: #fff;
    color: var(--mr_color__primary);
    border-radius: 18px;
    position: absolute;
    right: 10px;
    padding: 10px;
    cursor: pointer;
}

@media (max-width: 767px) {
    .peptides-calc .mobile-open {
        display: block;
    }
    .hide-body-mobile .peptides-calc-body {
        display: none !important;
    }
    .peptides-calc-body {
        display: block !important;
    }
    .peptides-calc.hide-body-mobile .peptides-calc-head {
        border-radius: 18px;
    }
    .peptides-calc-body {
        padding: 15px 25px 35px 25px;
    }
}

@media (max-width: 480px) {
    .peptides-calc-head {
        padding: 10px 20px;
        padding-right: 85px;
    }
    .peptides-calc-body {
        padding: 15px;
        padding-bottom: 35px;
    }
    .peptides-calc-body span.lbli {
        padding: 8px 15px 8px 15px;
    }
}