#product.is_papc .custom-fields:last-child {
    margin-bottom: 20px;
}

#product.is_papc #custom-fields-box
/* #product.is_papc .custom-fields .cf_options */ {
    display: none;
}

#product.is_papc .custom-fields {
    display: none;
    transition: all ease 0.3s;
    cursor: pointer;
}

#product.is_papc  #custom-fields-box h2 {
    margin-bottom: 20px;
    display: none;
}

#product.is_papc .js-product-prices,
#product.is_papc .product-prices {
    display: none;
}

/* ADD TO CART BTN */
#product.is_papc .custom-fields .papc-qty {
    padding: 0;
    text-align: center;
    font-size: 22px;
    border-radius: 2rem;
    right: -4px;
    transition: all ease 0.3s;
    cursor: pointer;
    line-height: 1.9rem;
    height: 51px;
    overflow: hidden;
    display: flex;
    align-items: center;
    width: auto;
    color: #333;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.08);
}

#product.is_papc .custom-fields .papc-qty {
    top: 72px;
    right: 8px;
    width: 36px;
    height: 36px;
    font-size: 14px;
}

#product.is_papc .custom-fields .papc-qty i {
    transition: all ease 0.3s;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
}

#product.is_papc .custom-fields .papc-qty i.fa-plus:hover,
#product.is_papc .custom-fields .papc-qty i.fa-plus.active {
    transform: rotate(-0.5turn);
    position: relative;
    top: 1px;
}

#product.is_papc .custom-fields .papc-qty input {
    text-align: center;
    font-size: 14px;
    border-radius: 0.2rem;
    border: none;
    transition: all ease 0.3s;
    background: transparent;
    outline: none;
    cursor: pointer;
    flex: 1 1 auto;
    min-width: 25px;
    width: auto;
    justify-content: center;
    align-items: center;
    display: flex;
    margin-bottom: 0 !important;
    font-weight: 500;
    display: none;
    padding: 0;
}

#product.is_papc .custom-fields .papc-qty i.fa-hyphen,
#product.is_papc .custom-fields .papc-qty input {
    height: 0;
    position: fixed;
}

#product.is_papc .custom-fields .papc-qty i.fa-hyphen {
    visibility: hidden;
    width: 36px;
    padding: 0;
    height: 36px !important;
}

#product.is_papc .custom-fields .papc-qty.active {
    width: auto;
    display: flex;
    max-width: 102px;
}

#product.is_papc .papc-qty.active i.fa-plus {
    color: #000;
    padding: 0;
}

#product.is_papc .papc-qty.active {
    width: inherit;
    background: #FFF;
    width: auto;
    display: flex;
}

#product.is_papc .papc-qty.active i.fa-hyphen,
#product.is_papc .papc-qty.active input {
    height: initial;
    position: relative;
    visibility: inherit;
    display: flex;
}

#product.is_papc .custom-fields .papc-qty {
    position: initial;
}

#product.is_papc .custom-fields .papc-qty i {
    margin: 0;
}

#product.is_papc .custom-fields .papc-qty i.disabled {
    pointer-events: none;
    cursor: not-allowed;
    color: #DDD;
}

#product.is_papc #addToCartCustomProduct {
    text-align: center;
    padding: 1rem;
    margin-bottom: 1.25rem;
    border-radius: 10px;
    background-color: #000;
    color: #FFF;
}

#product.is_papc #addToCartCustomProduct b {
    font-size: 22px;
    padding: 10px;
}

#product.is_papc #addToCartCustomProduct span {
    
}

#product.is_papc .cf_navigation{
    margin-top:15px;
    text-align:right;
}

#product.is_papc .papc-last-step{
    background:#2ecc71;
    border-color:#2ecc71;
}

#product.is_papc .cf_edit_step{
    display:none;
    cursor:pointer;
    margin-left:10px;
    color:#888;
}

#product.is_papc .custom-fields.papc-step-completed .cf_edit_step{
    display:inline-block;
    position: absolute;
    right: -15px;
    background: #ddd;
    width: 25px;
    height: 25px;
    text-align: center;
    line-height: 26px;
    border-radius: 100px;
    font-size: 11px;
    top: 0;
}

#product.is_papc .custom-fields.papc-step-completed .cf_mandatory {
    display: none;
}

#product.is_papc .cf_edit_step:hover{
    color:#000;
}

#product.is_papc .cf_option {
    display: flex;
    align-items: center;
    gap: 12px;
}

#product.is_papc .cf_option img {
    flex: 0 0 auto;
}

#product.is_papc .cf_option_sub {
    flex: 1;
}

#product.is_papc .custom-fields li.valid .cf_mandatory {
    color: #2ecc71;
    font-weight: 600;
}

#product.is_papc .custom-fields li.valid .cf_mandatory::before {
    content: "✔ ";
    color: #2ecc71;
    font-weight: bold;
}

#product.is_papc .custom-fields li .cf_mandatory.red::before{
    content:"⛔ ";
    color:#e74c3c;
    font-weight:bold;
    font-size: 12px;
    position: relative;
    top: -1px;
}

#product.is_papc .custom-fields .cf_mandatory {
    font-size: 14px;
    max-width: 115px;
    padding: 0 10px 0 5px;
    margin-bottom: 5px;
}

#product.is_papc .papc-qty-select,
#searchBox .papc-qty-select {
    margin-top: 16px;
    position: relative;
    width: 90px;
    margin-bottom: 16px;
}

#product.is_papc .papc-select,
#searchBox .papc-select {
    margin-top: 16px;
    position: relative;
    width: 250px;
    margin-bottom: 16px;
}

#product.is_papc .papc-qty-select select,
#searchBox .papc-qty-select select,
#product.is_papc .papc-select select,
#searchBox .papc-select select {
    appearance:none;
    -webkit-appearance:none;
    -moz-appearance:none;
    width:100%;
    height:44px;
    padding:0 40px 0 14px;
    font-size:16px;
    font-weight:500;
    color:#333;
    background:#fff;
    border:3px solid #777;
    border-radius:4px;
    cursor:pointer;
    transition:all 0.2s ease;
    box-shadow:0 2px 6px rgba(0,0,0,0.05);
}

#product.is_papc .papc-qty-select select:hover,
#searchBox .papc-qty-select select:hover,
#product.is_papc .papc-select select:hover,
#searchBox .papc-select select:hover {
    border-color:#bbb;
}

#product.is_papc .papc-qty-select select:focus,
#searchBox .papc-qty-select select:focus,
#product.is_papc .papc-select select:focus,
#searchBox .papc-select select:focus {
    outline:none;
    border-color:#222;
    box-shadow:0 0 0 3px rgba(0,0,0,0.08);
}

#product.is_papc .papc-qty-select::after,
#searchBox .papc-qty-select::after,
#product.is_papc .papc-select::after,
#searchBox .papc-select::after {
    content:"▾";
    position:absolute;
    right:14px;
    top:50%;
    transform:translateY(-50%);
    font-size:14px;
    color:#777;
    pointer-events:none;
}

#product.is_papc .papc-edit-mode {
    background:#fff8e1;
    border:1px solid #ffd54f;
    padding:10px 15px;
    margin-bottom:15px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:14px;
}

#product.is_papc .papc-edit-mode button {
    background:#ff5252;
    border:0;
    color:#fff;
    padding:5px 10px;
    cursor:pointer;
    border-radius:4px;
}

#product.is_papc .papc-edit-mode i {
    margin-right: 10px;
}

#addToCartCustomProduct{
    position: sticky;
    bottom: 5px;
    background: white;
    padding: 15px;
    border-top: 1px solid #eee;
    z-index: 2;
    cursor: pointer;
}

#product.is_papc .control-label,
#product.is_papc .product-quantity {
    display: none !important;
}

#product.is_papc #sbs_product_availability_footer {
    margin-bottom: 0;
}


@media screen and (max-width: 767px) {
    #product.is_papc .card-block {
        padding: 1rem 0 0.25rem;
        background-color: #FFF;
    }

    #product.is_papc .custom-papc-qty {
        text-transform: none;
    }

    #product.is_papc .custom-fields hr {
        margin: 10px 0;
    }

    #product.is_papc .custom-fields .cf_mandatory {
        position: relative;
        font-size: 13px;
        text-align: center;
    }
}
