/*
    CUSTOM CSS
*/

.image .number_02{
    position: absolute;
    bottom: -13px;
    /* left: 0; */
    width: 100%;
    /* height: 15px; */
    z-index: 999999;
    /* background: black; */
    /* color: white; */
    font-size: 14px;
    padding-top: 4px;
    padding-bottom: 4px;
    margin: auto;
}

.border-red { border: 2px solid red; }

.text-red { color: #e6001e; }

.has-error { background: #ef9191; }

#cart_form .field .err-msg { display: none; }

.back-btn {
    font-size: 1.3rem;
    /* color: #fff; */
    cursor: pointer;
    text-transform: uppercase;
    padding: 10px 12px;
    background: #cbcbcb;
    border: 0;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

a.back-btn:hover{
    background: #b5b4b4;
}

.if .field.submit input[type="submit"]:hover{
    background: #e6001e;
}


/* infobox errori form che appare sotto al button per salvare e continuare */
.error-message-area{
    margin-top: 10px;
    border: 2px solid red;
    padding: 6px;
    font-size: 16px;
    background: #f3dcdc;
}

form input.error, form select.error {
    background: #db6262 !important;
    color: #fff !important;
}

#cart_form .error-message {
    display: block;
    margin-top: 5px;
    font-size: 11px;
    color: #4c0101;
}

#main_form .submit{
    padding: 10px;
    
}

.auth .left .code .form .submit input { font-size: 1.4rem; }

.auth .left .code .form .fillin { padding-bottom: 20px; }

/* =========================================== */
/*
    Form Language Selector
*/
.lang-sel .language-selector {
    display: flex;
    flex-direction: row;
    gap: 10px;
    /* max-width: 100%; */
    justify-content: center;
}

.lang-sel .language-option {
    position: relative;
    margin-top: 10px;
}

.lang-sel .language-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.lang-sel .language-option label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 3px 4px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafafa;
}

.lang-sel .language-option label:hover {
    background: #f0f0f0;
    border-color: #28a3a7;
}

.lang-sel .language-option input[type="radio"]:checked + label {
    background: #d4edda;
    border-color: #2894a7;
    border-width: 2px;
    font-weight: bold;
}

.lang-sel .language-option img {
    width: 30px;
    height: 20px;
    border-radius: 7px;
}

.lang-sel .language-name {
    font-size: 13px;
    color: #333;
}

.d-none { display: none !important; }

/* =========================================== */
/* Spinner | Loading */

.sp {
    width: 20px;
    height: 20px;
    clear: both;
    /* margin: 20px auto; */

    position: relative;
    top: 7px;
}

.sp-sm{
    width: 12px;
    height: 12px;
    top: 2px;
}

/* Spinner Circle Rotation */
.sp-circle {
    border: 4px rgba(0, 0, 0, 0.25) solid;
    border-top: 4px black solid;
    border-radius: 50%;
    -webkit-animation: spCircRot 0.6s infinite linear;
    animation: spCircRot 0.6s infinite linear;
}

.sp-circle-white {
    border: 4px rgba(187, 187, 187, 0.25) solid;
    border-top: 4px rgb(235, 224, 224) solid;
}

@-webkit-keyframes spCircRot {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(359deg);
    }
}
@keyframes spCircRot {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}

/* =========================================== */
/* Order summary */

.ord-summary .section {
    border-left: 4px solid #c00;
    padding: 20px;
    margin-bottom: 25px;
    background: #fafafa;
}

.ord-summary .section-title {
    color: #c00;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.ord-summary .field-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 12px;
}

.ord-summary .field {
    flex: 1;
    min-width: 200px;
}

.ord-summary .field-label {
    font-size: 10px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.ord-summary .field-value {
    font-size: 15px;
    color: #222;
    padding: 6px 0;
    border-bottom: 1px solid #e0e0e0;
}

.ord-summary .button {
    background: transparent;
    color: #666;
    border: 1px solid #ccc;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    font-size: 13px;
}