/* #region base */
body, html, a, p, span, div, ul li, h1, h2, h3, h4, h5, h6 {
    font-family: "Montserrat", sans-serif;
    font-style: normal;
}

ul {
    padding-left: 40px !important;
}

input,
select,
textarea {
    outline: none;
    box-shadow: none;
}

input:focus,
select:focus,
textarea:focus,
input:active,
select:active,
textarea:active {
    outline: none;
    box-shadow: none;
    border-color: inherit;
}

input[type="checkbox"] {
    -webkit-appearance: none !important;
    appearance: none !important;
    background-color: #fff !important;
    margin: 0 !important;
    font: inherit !important;
    color: var(--tertiary-bg-color) !important;
    width: 22px !important;
    height: 22px !important;
    border: 0.15em solid var(--tertiary-bg-color) !important;
    border-radius: 5px;
    transform: translateY(-0.075em) !important;
    display: grid !important;
    place-content: center !important;
    float: left;
    margin-right: 10px !important;
    padding: 0px;
}

input[type="checkbox"]::before {
    content: "" !important;
    border-radius: 3px;
    width: 20px !important;
    height: 20px !important;
    transform: scale(0) !important;
    transition: 120ms transform ease-in-out !important;
    box-shadow: inset 1em 1em var(--primary-bg-color) !important;
    background-color: var(--primary-bg-color);
}

input[type="checkbox"]:checked::before {
    transform: scale(0.9) !important;
}
.form-group label {
    color: #6c6868;
    margin-bottom: 5px;
    margin-left: 5px;
    display: block;
    font-weight: 500;
}
.form-group.form-select {
    position: relative;
    display: inline-block;
    width: 100%;
}
.form-group.form-select select {
    width: 100%;
    padding: 5px 10px;
    border-radius: 14px;
    border-color: #dedede;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
.form-group.form-select::after {
    content: "\f078";
    font-family: "Font Awesome 7 Pro";
    font-weight: 900;
    position: absolute;
    bottom: 6px;
    right: 16px;
    transform: translateY(-50%);
    pointer-events: none;
    color: #666;
    font-size: 13px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.primary-bg-color{
    background: var(--primary-bg-color);
}

.primary-color{
    color: var(--primary-bg-color);
}

.secondary-color{
    color: var(--secondary-bg-color);
}

.btn-primary {
    background: var(--primary-bg-color);
    border:1px solid var(--primary-bg-color);    
    color: var(--primary-color);
    padding: 8px 14px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
}
.btn-primary-light {
    background: #f1f5ff;
    color: #555555;
    padding: 8px 14px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 16px;
    border:1px solid #dddddd;    
}

.btn-primary-light i{
    color: #2ec5b7;
}

.btn-primary:hover{
    opacity: 0.8;
}

.btn-primary-light:hover{
    opacity: 0.7;
    color: #333333;
}

.btn-secondary {
    background: var(--secondary-bg-color);
    color: var(--secondary-color);
    padding: 10px 16px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
}
.btn-secondary-light {
    background: #f1f5ff;
    color: var(--secondary-bg-color);
    padding: 10px 16px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
}
.btn-gradient {
    background: linear-gradient(90deg, var(--primary-bg-color) 0%, var(--secondary-bg-color) 100%);
    color: var(--primary-color);
    align-items: center;
    display: flex;
    justify-content: center;
    border: none;
    padding: 0 22px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    padding: 8px 22px;
    height: 35px;
}
.btn-gradient:hover {
    background: linear-gradient(90deg, #125bb0, #2fc3b5);
}

.input-icon {
    position: relative;
    width: 100%;
}
.input-icon.icon-user {
    --icon: '\f007';
}
.input-icon.icon-id-card {
    --icon: '\f2c2';
}
.input-icon.icon-building {
    --icon: '\f1ad';
}
.input-icon.icon-buildings {
    --icon: '\e0cc';
}
.input-icon.icon-city {
    --icon: '\f64f';
}
.input-icon.icon-user-vneck {
    --icon: '\e461';
}
.input-icon.icon-lock {
    --icon: '\f023';
}
.input-icon.icon-envelope {
    --icon: '\f0e0';
}
.input-icon.icon-envelope-check {
    --icon: '\e4e8';
}
.input-icon.icon-key {
    --icon: '\f084';
}
.input-icon.icon-what {
    --icon: '\f002';
}
.input-icon.icon-service {
    --icon: '\f5e2';
}
.input-icon.icon-where {
    --icon: '\f3c5';
}
.input-icon::before{
    color: var(--primary-bg-color);
}
.input-icon.icon-where::before {
    color: var(--secondary-bg-color);
}
.input-icon::before {
    content: var(--icon);
    font-family: "Font Awesome 7 Pro";
    font-weight: 900;
    position: absolute;
    left: 15px;
    top: 18px;
    transform: translateY(-50%);
    font-size: 16px;
    pointer-events: none;
    z-index: 2;
}
.input-icon input, .input-icon select {
    padding-left: 40px !important;
}
/* #endregion */

/* #region alert */
.alert-danger, .label-danger {
    background-color: #ffffff;
    border-color: #ffffff;
    color: #cf151d;
}
.alert-danger .alert-message {
    color: #cf151d;
    font-size: 13px;
    font-weight: 600;
}
.alert-success, .label-success{
    background-color: transparent;
    border-color: transparent;
    font-weight: 600;
}
.alert-message{
    color: var(--primary-bg-color);
}
/* #endregion */

/* #region header e topbar */
.top-bar {
    background: var(--primary-bg-color);
    color: var(--primary-color);
    font-size: 14px;
}

.top-bar-container {
    font-size: 15px;
    padding: 6px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-bar-left {
    opacity: 0.9;
}

.top-bar a {
    color: var(--primary-color);
    transition: 0.2s;
}

.top-bar a:hover {
    opacity: 0.7;
}

.site-header {
    position: relative;
    background: #fff;
    z-index: 20;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.06);
}

.site-header::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0));
}

.header-container {
    padding: 8px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 62px;
    object-fit: contain;
}

.header-container nav {
    margin-left: 40px;
    flex: 1;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}
a.has-messages {
    position: relative;
}

a.has-messages::after {
    content: attr(data-count);
    position: absolute;
    top: -6px;
    right: -8px;

    min-width: 16px;
    height: 16px;
    padding: 0 4px;

    background: #ff3b30;
    color: #fff;

    font-size: 10px;
    font-weight: 600;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;
    line-height: 1;
}
.user-login {
    color: #666666;
}
.user-register, .user-profile {
    /*background: linear-gradient(90deg, var(--primary-bg-color) 0%, var(--secondary-bg-color) 100%);*/
    background-color: var(--primary-bg-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 20px;
    transition: all 0.4s;
    display: block;
    max-width: 160px;
    text-align: center;
}

.user-register:hover, .user-profile:hover {
    opacity: 0.8;
    /*background: linear-gradient(90deg, #125bb0, #2fc3b5);*/
}

.user-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    transition: 0.2s;
}

.user-icon:hover {
    background: var(--primary-bg-color);
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    font-size: 22px;
    color: #333;
    margin-right: 12px;
}


@media (max-width: 992px) {    
    .header-container {
        justify-content: space-between;
        padding: 8px 10px;
    }
    
    .header-container nav {
        display: none;
    }
    
    /*.mobile-menu-toggle {
        display: block;
    }*/
    
    .logo img {
        height: 46px;
    }
    
}

@media (max-width: 576px) {
    .hero-categories{
        justify-content: space-between;
    }
    .hero-categories div{
        width: 100%;
        text-align: center;
    }
    .top-bar-left {
        display: none;
    }
    .top-bar-container {
        flex-direction: column;
        gap: 0px;
        text-align: center;
    }        
    .user-icon {
        width: 34px;
        height: 34px;
    }    
    .user-login{
        font-size: 14px;
    }
    .user-register, .user-profile{
        padding: 6px 14px;
        font-size: 14px;
    }
    
}
/* #endregion */

/* #region titolo pagina */
.page-title-section {
    position: relative;
    background: linear-gradient(135deg, var(--primary-bg-color), var(--secondary-bg-color));
    padding: 20px 20px 80px;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.page-title {
    font-size: 36px;
    margin: 0;
}

.page-title-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.page-title-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

.page-title-wave path {
    fill: #ffffff;
}

@media (max-width: 576px) {
    
    .page-title {
        font-size: 26px;
    }
    
    .page-title-section {
        padding: 10px 15px 60px;
    }
    
    .page-title-wave svg {
        height: 60px;
    }
    
}
/* #endregion */

/* #region sezione ricerca */
.hero-section {
    position: relative;
    padding: 40px 0 80px;
    background: url(/frontend/images/bg-header.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-container {
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-left {
    background: rgba(255, 255, 255, 0.8);
    padding: 20px 20px 5px 20px;
    border-radius: 15px;
    flex: 0.6;
}

.hero-title {
    margin-top:0px;
    font-size: 26px;
    line-height: 1.3;
    color: var(--primary-bg-color);
    margin-bottom: 15px;
    font-weight: 500;
}

.hero-title strong {
    color: var(--primary-bg-color);
    font-weight: 600;
}
.hero-title span {
    font-size: 28px;
    color: #555555;
}

.hero-description {
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
    color: #555;
    margin-bottom: 15px;
}

.hero-search-box {
    background: #fff;
    padding: 20px 20px 0 20px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    margin: 20px 0px;
}

.hero-search-input-full {
    flex-direction: column;
}

.hero-input-search {
    width: 100%;
    padding: 14px 16px;
    border-radius: 20px;
    border: 1px solid #ddd;
    font-size: 15px;
}

.hero-location-row {
    display: flex;
    gap: 10px;
    padding-bottom: 10px;
}

.hero-input-location {
    flex: 1;
    padding: 12px 14px;
    border-radius: 20px;
    border: 1px solid #ddd;
    font-size: 14px;
}

.hero-search-button {
    width: 150px;
}

.hero-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-category {
    background: #e0edf3;
    color: #555555;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: 0.2s;
}

.hero-category:hover {
    background: var(--secondary-bg-color);
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image {
    max-width: 100%;
    height: auto;
}

@media (max-width: 992px) {
    .hero-search-box {    
        margin: 20px 12px;
    }
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-location-row {
        flex-direction: column;
    }
    
    .hero-search-button {
        width: 100%;
        height: 45px;
    }
    
}

@media (max-width: 576px) {   
    .hero-container{
        padding: 0px 12px;
    }
    .hero-left{
        padding: 10px;
    }
    .hero-title {
        font-size: 24px;
    }
    .hero-search-input {
        flex-direction: column;
    }
    
    .hero-title strong{
        display: block;
        font-size: 32px;
        margin-top: 10px;
    }
    
    .hero-categories{
        gap: 12px;
    }
    
    .hero-category{
        font-size: 15px;
    }
    .hero-description {
        font-size: 16px;
    }
    .hero-location-row {
        padding-bottom: 15px;
    }
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

.hero-wave path {
    fill: var(--primary-bg-color);
}

@media (max-width: 576px) {
    .hero-wave svg {
        height: 60px;
    }
}
/* #endregion */

/* #region sezione onda */
.section-wave {
    position: relative;
}

.wave-top svg,
.wave-bottom svg {
    display: block;
    width: 100%;
    height: 80px;
}
.wave-top-hover {
    position: absolute;
    top: -78px;
    left: 0;
    line-height: 0;
    overflow: hidden;
    width: 100%;
}

.wave-bottom svg {
    transform: rotate(180deg);
}

.wave-primary {
    fill: var(--primary-bg-color);
}
.wave-secondary {
    fill: var(--secondary-bg-color);
}
/* #endregion */

/* #region slogan */
.slogan-section {
    background: var(--primary-bg-color);
    text-align: center;
    padding:0 20px;
}

.slogan-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.slogan-text {
    font-size: 34px;
    color: #fff;
    font-weight: 600;
    margin-bottom: 40px;
    margin-top: 0;
}

.slogan-arrow {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #383838;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    animation: slogan-bounce 1.5s infinite;
}

@keyframes slogan-bounce {
    
    0%,
    100% {
        transform: translateY(0);
    }
    
    50% {
        transform: translateY(8px);
    }
}

@media (max-width: 576px) {
    
    .slogan-text {
        font-size: 22px;
    }
    
    .slogan-arrow {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    
}

.section-steps-title{
    font-size:32px;
    margin-bottom:60px;
    font-weight:600;
}

.section-steps-line{
    display:flex;
    justify-content:center;
    align-items:flex-start;
    gap:80px;
    position:relative;
}

.section-steps-step{
    position:relative;
    z-index:1;
    max-width:300px;
    margin-bottom: 40px;
}

.section-steps-circle-container{
    border:1px solid #cccccc;
    border-radius: 50%;
    padding: 2px;
    width:60px;
    height:60px;
    margin:0 auto 20px;    
    box-shadow:0 10px 25px rgba(0,0,0,0.2);
    background-color: rgba(255,255,255,.8);
}

.section-steps-circle{
    width:100%;
    height:100%;
    border-radius:50%;
    background:linear-gradient(135deg,#3dd0c8,#2f7bdc);
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:600;
    font-size:20px;
    color: white;
}

.section-steps-card{
    background:rgba(255,255,255,0.9);
    border:1px solid rgba(47,123,120,0.5);
    border-radius:16px;
    padding:25px 20px;
    color:#2b3a4a;
    box-shadow:0 15px 30px rgba(0,0,0,0.15);
}

.section-steps-card h3{
    margin-top: 0px;
    margin-bottom:14px;
    font-size:24px;
    color: #253f6d;
}

.section-steps-card p{
    margin-top: 0px;
    font-size:18px;
    line-height:26px;
    height: 40px;
    color: rgba(37,63,109,.8);
}

@media(max-width:1000px){
    .section-steps-line{
        gap:40px;
    }
    .section-steps-card{
        padding:20px 14px;
    }
}

/* responsive */
@media(max-width:768px){
    .section-steps-step{
        margin-bottom: 20px;
    }
    .section-steps-line{
        flex-direction:column;
        align-items:center;
        gap: 10px;
    }
    
    .section-steps-line:before{
        display:none;
    }
}

/* #endregion */

/* #region about */
.how-section {
    padding: 80px 0;
    background: #ffffff;
}

.how-container {
    padding: 40px;
}

.how-title {
    text-align: center;
    font-size: 30px;
    color: #333;
    margin-bottom: 50px;
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.how-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: 0.25s;
    position: relative;
}

.how-card:hover {
    transform: translateY(-6px);
}

.how-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 22px;
    color: #fff;
}

.how-card-primary .how-icon {
    background: linear-gradient(90deg, var(--primary-bg-color) 0%, var(--secondary-bg-color) 100%);
}

.how-card-secondary .how-icon {
    background: linear-gradient(90deg, var(--secondary-bg-color) 0%, var(--primary-bg-color) 100%);
}

.how-card-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.how-card-desc {
    font-size: 14px;
    color: #555;
}

.how-card-primary::top-border {
    content: "";
}

.how-card-primary::before,
.how-card-secondary::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}

@media (max-width: 992px) {
    
    .how-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
}

@media (max-width: 576px) {
    .how-section {
        padding-top: 0;
        padding-bottom: 0;
    }
    .how-title {
        font-size: 24px;
    }
    
}
/* #endregion */

/* #region attività */
.business-section {
    background: #fff;
    padding: 0 0 130px 0;
}
.bs-green {
    background-color: var(--secondary-bg-color);
    padding-bottom: 20px;
}
.business-container {
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 50px;
}

.business-left {
    flex: 1;
    max-width: 450px;
}

.business-title {
    font-size: 34px;
    line-height: 1.3;
    color: var(--primary-bg-color);
    margin-bottom: 15px;
    text-align: center;
    padding:0px 10px;
}
.bs-green .business-title {
    text-align: left;
    color: var(--primary-bg-color);
}

.business-title strong {
    color: var(--primary-bg-color);
}

.business-description {
    font-size: 18px;
    line-height: 24px;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
}
.business-description img {
    display: block;
    float: left;
}

.business-benefits {
    width: 90%;
    margin-left:5%;
    list-style: none;
    padding: 20px;
    margin-bottom: 25px;
    background-color: white;
    border-radius: 16px;
    border:1px solid #dddddd;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    
}

.business-benefits li {
    font-size: 16px;
    color: #333;
    padding:14px 0px;
    display: flex;
    align-items: center;
    border-bottom:1px solid #dddddd;    
    gap: 10px;
    text-align: left;
}

.business-benefits i {
    font-size: 24px;
    color: var(--secondary-bg-color);
}

.business-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.business-btn-primary {
    background: var(--primary-bg-color);
    color: var(--primary-color);
    padding: 12px 22px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
}

.business-btn-primary:hover {
    background: #125bb0;
}

.business-btn-secondary {
    background: var(--primary-color);
    color: var(--primary-bg-color);
    padding: 12px 22px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
}

.business-btn-secondary:hover {
    background: var(--primary-bg-color);
    color: var(--primary-color);
}

.business-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.business-image {
    max-width: 100%;
    border-radius: 20px;
    width: 80%;
    /*box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);*/
}

@media (max-width: 992px) {
    
    .business-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding:0px 10px;
    }
    .business-benefit-container{
        display: flex;
        justify-content: center;
    }
    .business-benefits{
        margin-left: 0px;
    }
    
    .business-actions {
        justify-content: center;
    }
    .business-image {
        width: 60%;
    }
    
}

@media (max-width: 576px) {
    .business-container{
        gap: 10px;
    }
    .business-section {
        padding: 0px 8px;
    }
    .business-title {
        font-size: 24px;
    }
    .business-image {
        width: 80%;
    }
}
/* #endregion */

/* #region top categorie */
.featured-categories {
    width: 100%;
    background: var(--secondary-bg-color);
    padding: 5px 20px 40px 20px;
}

.featured-categories .section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-bg-color);
    margin-bottom: 50px;
    line-height: 1.2;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.category-box {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #ffffff;
    padding: 8px 24px;
    border-radius: 16px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.category-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.category-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.category-box:hover .category-icon {
    transform: scale(1.08) rotate(-3deg);
}

.category-name {
    font-size: 28px;
    color: #666666;
    line-height: 36px;
}

@media (max-width: 992px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .featured-categories {
        padding: 5px 20px;
    }
}

@media (max-width: 576px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-categories .section-title {
        margin-top: 0px;
        font-size: 26px;
        margin-bottom: 20px;
    }
    
    .category-box {
        padding: 18px 20px;
        gap: 15px;
        border-radius: 14px;
    }
    
    .category-icon {
        width: 54px;
        height: 54px;
        min-width: 54px;
    }
    
    .category-icon img {
        width: 48px;
        height: 48px;
    }
    
    .category-name {
        font-size: 20px;
    }
}
/* #endregion */

/* #region pre-footer */
.footer-wave {
    line-height: 0;
    position: relative;
}

.footer-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

.footer-wave path {
    fill: var(--tertiary-bg-color);
}
/* #endregion */

/* #region footer */
.site-footer {
    background: var(--tertiary-bg-color);
    color: var(--tertiary-color);
    font-size: 14px;
}

.footer-top {
    padding: 0;
}

.footer-container {
    padding: 0 20px 20px 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-subcolumn {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-subcolumn-item a {
    color: #cbd5e1;
    text-decoration: none;
    transition: 0.2s;
}

.footer-subcolumn-item a:hover {
    color: var(--secondary-bg-color);
}

.footer-subcolumn-item-text {
    margin: 0;
    color: #94a3b8;
    line-height: 1.5;
}

.footer-subcolumn-item-icon-text,
.footer-subcolumn-item-icon-phone,
.footer-subcolumn-item-icon-mobile,
.footer-subcolumn-item-icon-email,
.footer-subcolumn-item-icon-address {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    color: #cbd5e1;
}

.footer-subcolumn-item-icon-text i,
.footer-subcolumn-item-icon-phone i,
.footer-subcolumn-item-icon-mobile i,
.footer-subcolumn-item-icon-email i,
.footer-subcolumn-item-icon-address i {
    color: var(--secondary-bg-color);
    margin-top: 3px;
}

.footer-subcolumn-item-icon-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cbd5e1;
    text-decoration: none;
    transition: 0.2s;
}

.footer-subcolumn-item-icon-link i {
    color: var(--secondary-bg-color);
}

.footer-subcolumn-item-icon-link:hover {
    color: #fff;
}

.footer-social p {
    margin: 0;
    color: #fff;
    font-weight: 600;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1e293b;
    color: var(--secondary-bg-color);
    margin-right: 8px;
    transition: 0.2s;
}

.footer-social a:hover {
    background: var(--secondary-bg-color);
    color: var(--secondary-color);
}

.footer-logo {
    max-width: 200px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 0;
    font-size: 13px;
}

.footer-bottom-boxed {
    padding: 0 20px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom-content a {
    color: var(--secondary-bg-color);
    text-decoration: none;
}

.footer-bottom-content a:hover {
    text-decoration: underline;
}

@media (max-width: 992px) {
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
}

@media (max-width: 576px) {
    .footer-subcolumn-item {
        display: flex;
        justify-content: center;
    }
    .footer-social {
        text-align: center;
    }
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
}
/* #endregion */

/* #region pagina contattaci */
.contact-section {
    background: #fff;
    padding: 80px 0;
}

.contact-container {
    padding: 0 20px;
    text-align: center;
}

.contact-title {
    font-size: 34px;
    color: #333333;
    margin-bottom: 10px;
}

.contact-subtitle {
    color: #555;
    margin-bottom: 40px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 30px;
    text-align: left;
}

.contact-form-box {
    background: #fff;
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

input[type='text'], input[type='password'], input[type='email'], input[type='date'], input[type='time'],
textarea, select {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    border-radius: 14px;
    border: 1px solid #dedede;
    padding: 5px 15px;
    background-color: #ffffff;
}
input[type='text'], input[type='password'], input[type='email'], input[type='date'], input[type='time'], select {
    height: 35px;
}

textarea.form-control{
    border-radius: 10px;
}

.form-checkbox {
    display: flex;
}

.form-submit {
    margin-top: 10px;
    background: var(--primary-bg-color);
    color: var(--primary-color);
    border: none;
    padding: 12px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    width: 100%;
}
.form-control-label {
    width: 100%;
    display: block;
}

.contact-button:hover {
    background: #125bb0;
}

.contact-info-box {
    background: #f9fbff;
    padding: 25px;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #333;
}

.contact-info-item i {
    color: var(--secondary-bg-color);
    font-size: 18px;
}

.contact-social {
    margin-top: 10px;
}

.contact-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary-bg-color);
    color: var(--primary-color);
    margin-right: 8px;
    transition: 0.2s;
}

.contact-social a:hover {
    background: var(--secondary-bg-color);
}

@media (max-width: 992px) {
    
    .contact-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-info-item {
        justify-content: center;
    }
    
}
/* #endregion */

/* #region pagina chi siamo */
.aboutus-landing {
    font-family: Arial, sans-serif;
}

.aboutus-hero {
    background: linear-gradient(135deg, var(--tertiary-bg-color), var(--primary-bg-color));
    color: #fff;
    text-align: center;
    padding: 80px 20px;
}

.aboutus-hero h1 {
    font-size: 36px;
}

.aboutus-hero-cta {
    margin-top: 25px;
}

.aboutus-btn {
    display: inline-block;
    padding: 12px 20px;
    margin: 5px;
    border-radius: 6px;
    text-decoration: none;
}

.aboutus-primary {
    background: var(--primary-bg-color);
    color: var(--primary-color);
}

.aboutus-secondary {
    background: var(--secondary-bg-color);
    color: var(--secondary-color);
}

.aboutus-section {
    padding: 60px 20px;
}

.aboutus-container {
    max-width: 1100px;
    margin: auto;
}

.aboutus-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-bg-color);
}
.aboutus-business {
    background-color: var(--secondary-bg-color);
}
.aboutus-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.aboutus-card {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.aboutus-card h3 {
    color: var(--primary-bg-color);
}

.aboutus-card i {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--primary-bg-color);
}

.aboutus-steps {
    display: flex;
    gap: 20px;
}

.aboutus-step {
    text-align: center;
    flex: 1;
    background: linear-gradient(135deg, var(--primary-bg-color), var(--secondary-bg-color));
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    color: var(--primary-color);
    padding: 20px;
    border: 2px solid var(--primary-bg-color);
    transition: all 0.2s ease;
}
.aboutus-step:nth-child(2) {
    background: linear-gradient(135deg, var(--secondary-bg-color), var(--primary-bg-color));
}
.aboutus-step:hover {
    transform: translateY(-1px);
}

.aboutus-users {
    background: var(--tertiary-bg-color);
}

.aboutus-green {
    background: #eaf7ea;
}

.aboutus-green-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.aboutus-center {
    text-align: center;
    margin-top: 30px;
}

@media(max-width:992px) {
    .aboutus-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .aboutus-steps {
        flex-direction: column;
    }

    .aboutus-green-grid {
        flex-direction: column;
        gap: 20px;
    }
}

@media(max-width:600px) {
    .aboutus-grid {
        grid-template-columns: 1fr;
    }

    .aboutus-hero h1 {
        font-size: 26px;
    }
}

.aboutus-sponsor-section {
    padding: 80px 20px;
    background: #f7f9fc;
}

.aboutus-sponsor-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.aboutus-sponsor-content {
    flex: 1;
}

.aboutus-sponsor-label {
    display: inline-block;
    margin-bottom: 15px;
    padding: 8px 16px;
    background: #e7eefc;
    color: var(--primary-bg-color);
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
}

.aboutus-sponsor-title {
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--primary-bg-color);
}

.aboutus-sponsor-description {
    font-size: 17px;
    line-height: 1.8;
    color: #5b6472;
    margin-bottom: 40px;
}

.aboutus-sponsor-boxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.aboutus-sponsor-box {
    background: #ffffff;
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.aboutus-sponsor-box:hover {
    transform: translateY(-5px);
}

.aboutus-sponsor-box-icon {
    font-size: 32px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: var(--primary-bg-color);
}

.aboutus-sponsor-box h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--primary-bg-color);
    padding-left: 10px;
}

.aboutus-sponsor-box p {
    font-size: 15px;
    line-height: 1.7;
    color: #667085;
}

.aboutus-sponsor-info {
    flex: 1;
}

.aboutus-sponsor-image img {
    width: 100%;
    border-radius: 30px;
    display: block;
    object-fit: cover;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.10);
}

/* RESPONSIVE */

@media screen and (max-width: 991px) {

    .aboutus-sponsor-container {
        flex-direction: column;
    }

    .aboutus-sponsor-title {
        font-size: 34px;
    }

    .aboutus-sponsor-image {
        width: 100%;
    }

}

@media screen and (max-width: 767px) {

    .aboutus-sponsor-section {
        padding: 60px 15px;
    }

    .aboutus-sponsor-title {
        font-size: 28px;
    }

    .aboutus-sponsor-description {
        font-size: 16px;
    }

    .aboutus-sponsor-boxes {
        grid-template-columns: 1fr;
    }

    .aboutus-sponsor-box {
        padding: 22px;
    }

}

.aboutus-sponsor-sustainability-section {
    padding: 90px 20px;
    background: #ffffff;
}

.aboutus-sponsor-sustainability-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 70px;
}

.aboutus-sponsor-sustainability-image {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-direction: column;
}
.aboutus-sponsor-sustainability-image img {
    width: 100%;
    display: block;
    border-radius: 30px;
    object-fit: cover;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.aboutus-sponsor-sustainability-content {
    flex: 1;
}

.aboutus-sponsor-sustainability-label {
    display: inline-block;
    padding: 8px 16px;
    background: #e7f7ec;
    color: #2c8b57;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 18px;
}

.aboutus-sponsor-sustainability-title {
    font-size: 34px;
    line-height: 1.2;
    color: var(--primary-bg-color);
    margin-bottom: 25px;
}

.aboutus-sponsor-sustainability-description {
    font-size: 17px;
    line-height: 1.8;
    color: #5f6b7a;
    margin-bottom: 35px;
}

.aboutus-sponsor-sustainability-services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.aboutus-sponsor-sustainability-service {
    background: #f7f9fc;
    padding: 18px 20px;
    border-radius: 16px;
    font-weight: 600;
    color: var(--tertiary-bg-color);
}
.aboutus-sponsor-sustainability-service i {
    color: var(--secondary-bg-color);
}

.aboutus-sponsor-sustainability-highlight {
    background: #f3f8f4;
    padding: 35px;
    border-radius: 25px;
    border: 1px solid #ddeee1;
}

.aboutus-sponsor-sustainability-highlight h3 {
    font-size: 28px;
    margin-bottom: 18px;
    color: var(--tertiary-bg-color);
}

.aboutus-sponsor-sustainability-highlight p {
    font-size: 16px;
    line-height: 1.8;
    color: #5f6b7a;
    margin-bottom: 25px;
}

.aboutus-sponsor-sustainability-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.aboutus-sponsor-sustainability-feature {
    font-size: 15px;
    color: #2f3a47;
    font-weight: 500;
}

/* RESPONSIVE */

@media screen and (max-width: 991px) {

    .aboutus-sponsor-sustainability-container {
        flex-direction: column;
    }

    .aboutus-sponsor-sustainability-title {
        font-size: 34px;
    }

}

@media screen and (max-width: 767px) {

    .aboutus-sponsor-sustainability-section {
        padding: 60px 15px;
    }

    .aboutus-sponsor-sustainability-title {
        font-size: 28px;
    }

    .aboutus-sponsor-sustainability-description {
        font-size: 16px;
    }

    .aboutus-sponsor-sustainability-services {
        grid-template-columns: 1fr;
    }

    .aboutus-sponsor-sustainability-highlight {
        padding: 25px;
    }

    .aboutus-sponsor-sustainability-highlight h3 {
        font-size: 24px;
    }

}
/* #endregion */

/* #region risultati ricerca */
.result-card {
    display: flex;
    gap: 20px;
    background: #fff;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.result-image {
    width: 180px;
    min-width: 180px;
    height: 180px;
    border-radius: 14px;
    position: relative;
}

.result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    overflow: hidden;
}

.result-content {
    flex: 1;
    display: flex;
    gap: 20px;
}

.result-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.result-title {
    font-size: 18px;
    color: #333333;
    margin: 0;
}

.result-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    margin: 4px 0 6px;
}

.result-rating i {
    color: #2ec5b7;
    padding-right: 6px;
}

.result-category {
    font-size: 14px;
    color: var(--primary-bg-color);
    font-weight: 600;
    margin-top: 6px;
    margin-bottom: 10px;
}

.result-subtitle {
    font-size: 14px;
    color: #333333;
    margin-top: 6px;
    margin-bottom: 10px;
}

.result-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.result-hours {
    background: #31cabb;
    color: #ffffff;    
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    position: absolute;
    top: -6px;
    left: -6px;
    z-index: 100;
}

.result-distance {
    border:1px solid #dddddd;
    background: #f5f5f5;
    color: #555;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
}

.result-distance:hover{
    color: #2fc3b5;
    font-weight: 600;
}

.result-info {
    font-size: 13px;
    color: #333333;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.result-info i {
    color: var(--secondary-bg-color);
}

.result-actions {
    margin-top: auto;
    /*display: flex;*/
    gap: 10px;
}

.result-hours-box {
    width: 140px;
    font-size: 14px;
    color: #333333;
}

.result-hours-status{
    float: left;
    font-weight: 600;
}
.result-hours-label{
    padding-left: 5px;
    float: left;
    padding-right: 20px;
    position: relative;
    cursor: pointer;
}

.result-hours-label::after{
    content: "\f078";
    font-family: "Font Awesome 7 Pro";
    font-weight: 600;
    position: absolute;
    right:0px;
    top:2px;
    font-size: 16px;
}

.result-hours-label.hours-open::after{
    content: "\f077";
}

.result-hours-list{    
    width: 100%;
    font-size: 14px;
    font-weight: 500;
    padding: 14px;
}

.result-hours-list div{    
    padding:3px 0px;
}
.result-hours-row {
    display: flex;
    justify-content: space-between;
    padding: 2px 0;
}
.result-hours-row div {
    display: flex;
    flex-direction: column;
}

.result-hours-row.closed {
    color: #999999;
}

@media (max-width: 768px) {
    
    .result-card {
        flex-direction: column;
    }
    
    .result-image {
        width: 100%;
        height: 180px;
    }
    
    .result-content {
        flex-direction: column;
    }
    
    .result-hours-box {
        width: 100%;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid #eee;
    }
    
}

@media (max-width: 575px) {    
    .result-rating {
        display: block;
    }
    
    .result-distance{
        display: block;
        width: 100px;
        margin-bottom: 8px;
    }
}
/* #endregion */

/* #region risultati attivita' */

.search-results-title {
    font-size: 26px;
    margin-bottom: 15px;
    color: #222;
}

.search-results-searchbar {
    margin-bottom: 15px;
}

input.search-results-input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #ddd;
    height: auto;
}

.search-results-filters {
    /*display: flex;*/
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
    margin-bottom: 20px;
}

.search-results-filter {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 10px 14px;
    border-radius: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid rgba(221, 221, 221, 0.6);
}

.search-results-filter i:last-child {
    margin-left: 5px;
    font-size: 12px;
}
.search-results-filter i {
    margin-left: 5px;
    font-size: 16px;
    color: var(--primary-bg-color);
}

.search-results-filter.checked {
    background: var(--primary-bg-color);
    color: var(--primary-color);
}

.search-results-clear {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 25px;
    background: #f1f5ff;
    color: var(--primary-bg-color);
    font-weight: 600;
    cursor: pointer;
}

.search-results-content {
    display: flex;
    gap: 20px;
}

.search-results-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-right: 10px;
}

.search-results-list > p{
    font-size: 20px;
    padding: 0px 10px;
    text-align: center;    
}

.search-results-list > p:before{
    content: "\f002";
    font-family: "Font Awesome 7 Pro";
    font-weight: 300;
    display: block;
    font-size: 44px;
    margin-bottom: 14px;
}

.search-results-list > p.not-found:before{
    content: "\f656";
}

.search-results-map {
    width: 500px;
    max-width: 100%;
}

.search-results-map-inner {
    position: sticky;
    top: 20px;
    height: 600px;
    background: #eaeaea;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-results-mobile-toggle {
    display: none;
    /*position: fixed;
    bottom: 20px;
    left: 0;*/
    width: 100%;
    text-align: center;
}

.search-results-toggle-btn {
    background: var(--primary-bg-color);
    color: var(--primary-color);
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    width: 200px;
    margin:0 auto;
    
}

@media(max-width:992px) {
    .search-results-map {
        display: none;
    }
    
    .search-results-content {
        flex-direction: column;
    }
    
    .search-results-mobile-toggle {
        display: block;
        margin-bottom: 20px;
    }
    
    .search-results-map.active {
        display: block;
        width: 100%;
    }
    
    .search-results-list.hidden {
        display: none;
    }
}
button.gm-ui-hover-effect{
    width: 36px !important;
    height: 36px !important;
}
button.gm-ui-hover-effect span{
    margin:6px !important;
    margin-top:10px !important;
    margin-right:10px !important;
}
.gm-style-iw-d{
    max-width: 300px;
}
.map-result-distance{
    margin:0px;    
    position: absolute;
    font-size: 16px;
    font-weight: 600;
    top:14px;
    left:10px;
}
.map-result-distance i{
    color: var(--primary-bg-color);
}
.map-result-name{
    margin:0px;    
    margin-top: 5px;
    font-weight: 600;
    font-size: 14px; 
    padding-right: 10px;
}
.result-address {
    flex: 1;
}
.map-result-address{
    margin:0px;    
    margin-top: 5px;
    font-size: 13px;    
    padding-right: 10px;
}

.map-result-btn{
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 14px;
    margin:6px 0px;
    display: block;
    text-align: center;
    font-weight: 600;
}

/* #endregion */

.seller-box{
    padding:60px 20px;
}

.seller-box-container{
    max-width:1200px;
    margin:0 auto;
    display:flex;
    flex-wrap: wrap;
    align-items:center;
    gap:40px;
    background:#f5f7fa;
    border-radius:20px;
    padding:20px 40px;
}

/* LEFT */
.seller-box-left{
    flex:1;
}

/* header logo + titolo */
.seller-box-header{
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:15px;
}

.seller-box-logo img{
    width:70px;
    height:auto;
}

.seller-box-heading h2{
    font-size:32px;
    line-height: 48px;
    color:#2b3a4a;
    margin-bottom: 10px;
}

/* testo */
.seller-box-text{
    font-size:15px;
    color:#6b7c8f;
    margin-bottom:20px;
    line-height:1.5;
}

/* lista */
.seller-box-list{
    list-style:none;
    padding:0;
    margin-bottom:25px;
}

.seller-box-list li{
    margin-bottom:10px;
    padding-left:22px;
    position:relative;
    color:#2b3a4a;
}

.seller-box-list li:before{
    content:"✔";
    position:absolute;
    left:0;
    color:#2ec4b6;
}

.seller-box-cta{
    display:inline-block;
    padding:12px 26px;
    border-radius:30px;
    background:linear-gradient(135deg,#2f7bdc,#2ec4b6);
    color:#fff;
    text-decoration:none;
    font-weight:600;
}

.seller-box-right{
    flex:1;
    text-align:right;
}

.seller-box-right img{
    max-width:100%;
    height:auto;
}

@media(max-width:768px){
    .seller-box{
        padding:30px 20px;
    }
    .seller-box-container{
        flex-direction:column;
        padding: 20px;
    }
    
    .seller-box-header{
        justify-content:center;
    }
    
    .seller-box-right{
        text-align:center;
    }
    
    .seller-box-text{
        margin-top: 0px;
    }
    
    .seller-box-cta{
        width: 80%;
        display: block;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .seller-box-heading h2{
        text-align: center;
        margin-bottom: 0px;
    }
}


@media(max-width:525px){
    .seller-box{
        padding:30px 10px;
    }
    
    .seller-box-container {
        padding: 0px;
        padding-top: 12px;
    }
    
    .seller-box-left, .seller-box-right{
        padding: 0px 20px;
    }    
}

/* #region login */
.search-heading {
    background-image: url("/frontend/images/bk-home-map.svg");
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh;
    padding-top: 100px;
    position: relative;
}

.login-overlay{
    position: absolute;
    width: 100%;
    height: 100%;
    top:0px;
    left: 0px;
    background-color: rgba(0,0,0,0.2);
}

.search-heading h2 {
    font-weight: 600;
    font-size: 36px;
    margin-top: 30px;
    color: var(--primary-color);
}
.search-heading h2 span {
    color: var(--secondary-bg-color);
}
.authentication-container {
    background: #ffffff;
    display: block;
    border: 1px solid #ececec;
    border-radius: 10px;
    padding: 30px 15px;
}
.main-logo {
    width: 70%;
    max-width: 400px;
}
.login-subtitle {
    color: var(--primary-color);
    font-size: 22px;
    font-weight: 400;
}
.login-subtitle span {
    color: var(--secondary-bg-color);
}
.login-info-list {
    color: var(--primary-color);
    font-size: 16px;
    list-style: none;
    padding-left: 20px;
}
.login-info-list i {
    color: var(--secondary-bg-color);
}
.rs-login-message {
    position: relative;
    text-align: center;
    color: #333333;
    font-size: 16px;
    font-weight: 600;
    margin-top: 0px;
    margin-bottom: 30px;
}
.go-login, .auth-go-recovery, .auth-go-register-step, .auth-go-reset-password {
    background-color: var(--primary-bg-color);
    color: var(--primary-color);
    padding: 10px 15px;
    border-radius: 20px;
    border: 0;
    font-size: 18px;
    transition: all 0.4s;
    cursor: pointer;
    text-align: center;
    display: block;
    width: 50%;
    margin: 0 auto;
    margin-bottom: 10px;
    margin-top: 20px;
}
.go-login:hover, .auth-go-recovery:hover, .auth-go-register-step:hover, .auth-go-reset-password:hover {
    opacity: 0.8;
}
.auth-return-to-login {
    color: var(--tertiary-bg-color);
    font-weight: 500;
    margin-top: 16px;
    display: block;
    font-size: 14px;
    text-align: center;
}
.login-box .input-icon.icon-envelope::before,
.recovery-box .input-icon.icon-envelope::before,
.register-box .input-icon.icon-envelope-check::before,
.register-box .input-icon.icon-envelope::before {
    color: var(--primary-bg-color);
}
.login-box .input-icon.icon-key::before,
.reset-box .input-icon.icon-key::before,
.register-box .input-icon.icon-key::before {
    color: var(--secondary-bg-color);
}
.auth-start-recovery {
    color: var(--tertiary-bg-color);
    font-weight: 500;
    font-size: 14px;
    float: right;
    margin-top: 6px;
}
.auth-message {
    display: flex;
    justify-content: center;
    width: 100%;
    color: var(--primary-bg-color);
    font-size: 16px;
    font-weight: 500;
    margin-top: 40px;
}
.auth-title {
    color: var(--primary-bg-color);
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
}
.auth-open-register {
    background-color: var(--primary-color);
    color: var(--primary-bg-color);
    border: 1px solid var(--primary-bg-color);
    padding: 10px 15px;
    border-radius: 20px;
    flex: 1;
    text-align: center;
}
.auth-open-register:hover {
    background-color: var(--primary-bg-color);
    color: var(--primary-color);
    border: 1px solid var(--primary-bg-color);
}
.auth-seller-register {
    background-color: var(--secondary-bg-color);
    color: var(--secondary-color);
    border: 1px solid var(--secondary-bg-color);
    padding: 10px 15px;
    border-radius: 20px;
    flex: 1;
    text-align: center;
    font-weight: bold;
}
.auth-seller-register:hover {
    background-color: var(--primary-color);
    color: var(--primary-bg-color);
    border: 1px solid var(--primary-bg-color);
}
.auth-buttons {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.form-group  {
    margin-bottom: 10px;
}
.form-group .error {
    color: #cf151d;
    font-size: 13px;
    margin-left: 10px;
}

.add-register-customer-type {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    color: var(--primary-bg-color);
    font-size: 18px;
    cursor: pointer;
}
.remove-register-customer-type {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    color: #cf151d;
    font-size: 18px;
    cursor: pointer;
}

.register-shop-message {
    border-left: 3px solid var(--primary-bg-color);
    padding-left: 5px;
    font-size: 17px;
    margin-bottom: 20px;
    line-height: 1.4;
}
.register-shop-message a {
    color: var(--primary-bg-color);
    text-decoration: underline;
}

@media(max-width:1100px) {
    .search-heading h2{
        font-size: 32px;
    }
}
@media(max-width:991px) {
    .authentication-info {
        text-align: center;
        margin:20px auto;
    }
    .search-heading{
        padding-top: 20px;
    }
    
    .login-overlay{
        background-color: rgba(0,0,0,0.5);
    }
    
    .authentication-container{
        max-width: 600px;
        margin:0 auto;
    }
}
@media(max-width:768px) {    
    .search-heading h2{
        margin-top: 0px;
    }
    .search-heading h2 span{
        display: block;
        margin-top: 10px;
        text-transform: uppercase;
        font-weight: 600;
    }
    .login-subtitle, .login-info-list {
        display: none;
    }
    .auth-start-recovery {
        font-size: 13px;
    }
    .search-heading { 
        height: auto;
        padding-bottom: 20px;
    }
    .register-shop-message {
        font-size: 16px;
    }
}
@media(max-width:600px) { 
    .main-logo{
        width: 90%;
    }
    .search-heading h2 {
        font-size: 28px;
    }
    .auth-buttons {
        flex-direction: column;
        gap: 10px;
    }
}
/* #endregion */

/* #region registrazione */
.go-next-step, .btn-step-login {
    background-color: var(--primary-bg-color);
    color: var(--primary-color);
    padding: 10px 15px;
    border-radius: 20px;
    border: 0;
    font-size: 18px;
    margin-bottom: 10px;
    transition: all 0.4s;
    cursor: pointer;
    text-align: center;
    display: block;
    width: 50%;
    margin: 0 auto;
    margin-top: 20px;
}
.go-next-step:hover, .btn-step-login {
    opacity: 0.8;
}
.register-step .input-icon::before {
    color: var(--primary-bg-color);
}
.rs-step {
    display: none;
}
.rs-step-input {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top:10px;
}
.rs-step-input .form-group.form-select {
    flex: 1;
}
.rs-step-input select {
    height: 35px;
}
.rs-step-terms {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    margin-left: 10px;
    margin-bottom: 30px;
}
.rs-step-terms a {
    text-decoration: underline;
    color: var(--tertiary-bg-color);
}
.rs-step.rs-active {
    display: block;
}
.rs-step.rs-step-success {
    flex-direction: column;
}
.rs-step-success {
    color: var(--primary-bg-color);
}
.rs-step-success i {
    color: var(--secondary-bg-color);
}
.step-showed {
    display: block;
}
.rs-step-message {
    position: relative;
    padding-left: 50px;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333333;
    height: 36px;
    line-height: 36px;
}

.rs-step-message::before {
    content: attr(data-step);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3dd0c8, #2f7bdc);
    color: var(--tertiary-color);
    font-weight: bold;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.rs-step-message.completed::before {
    background: var(--secondary-bg-color);
    color: var(--secondary-color);
}
.rs-step-message.rs-no-badge::before {
    display: none;
}
.rs-step-message.rs-no-badge {
    padding-left: 0;
}
@media(max-width:600px) {
    .rs-step-input {
        flex-direction: column;
        gap: 0;
    }   
}
/* #endregion */

/* #region servizi */
.service-container {
    background-color: var(--secondary-bg-color);
}

.service-box {
    background: #fff;
    border-radius: 12px;
    padding: 25px 25px 10px 10px;    
    border: 1px solid #eee;
    transition: 0.3s;
    height: 100%;
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}
.service-box i {
    font-size: 72px;
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.service-icon {
    font-size: 32px;
    margin-bottom: 15px;
    color: #1d6bb3;
}

.service-title {
    font-size: 18px;
    margin: 0;
    color: #333;
}

.service-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* MOBILE */
@media (max-width: 475px) {
    .service-box, .service-boxes {
        flex-direction: column;
        text-align: center;
    }
    .service-box i {
        /*font-size: 32px;*/
    }
}
/* #endregion */

/* #region customer area */
.c-alert-bar {
    width: 100%;
    background: #FFC107;
    color: var(--tertiary-bg-color);
    position: sticky;
    top: 0;
    z-index: 999;
}
.c-alert-bar__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    font-size: 16px;
}
.c-alert-bar__text {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}
.c-alert-bar__text i {
    background-color: var(--primary-bg-color);
    color: var(--primary-color);
    width: 25px;
    height: 25px;
    min-width: 25px;
    min-height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.c-alert-bar__action {
    background: #ffffff;
    color: #183A7A;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}
.c-alert-bar__action:hover {
    opacity: 0.85;
}

.account-layout {
    display: flex;
    gap: 30px;
    padding: 30px;
    max-width: 1200px;
    margin: auto;
}

.account-sidebar {
    width: 280px;
    background: #ffffff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border:1px solid #eeeeee;
}

.account-profile {
    text-align: center;
    margin-bottom: 25px;
}

.account-profile-image {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.account-profile img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    transition: 0.3s ease;
}

.account-profile-image i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 16px;
    opacity: 0;
    transition: 0.3s ease;
    z-index: 2;
}

.account-profile-image::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    transition: 0.3s ease;
}

.account-profile-image:hover::after {
    opacity: 1;
}
.account-profile-image:hover i {
    opacity: 1;
}
.account-profile-image:hover .edit-account-image {
    transform: scale(1.05);
}
@media (max-width: 768px) {
    .account-profile-image i {
        opacity: 1;
    }
    .account-profile-image::after {
        opacity: 0.4;
    }
}

.account-profile h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-bg-color);
}

.account-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.account-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: 20px;
    text-decoration: none;
    color: var(--primary-bg-color);
    font-weight: 500;
    transition: all 0.2s ease;
}

.account-menu-item .icon {
    font-size: 24px;
}

.account-menu-item:hover {
    background: #f5f7fa;
}

.account-menu-item.active {
    background: linear-gradient(135deg, var(--primary-bg-color), var(--secondary-bg-color));
    color: var(--primary-color);
}

.account-content {
    flex: 1;
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    min-height: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border:1px solid #eeeeee;
}

@media (max-width: 900px) {
    .account-layout {
        flex-direction: column;
        padding: 20px;
    }

    .account-sidebar {
        width: 100%;
    }

    .account-content {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .account-content{
        padding: 14px;
    }
    .account-menu {
        display: block;
    }
    .account-profile, .account-menu{
        width: 50%;
        float: left;
    }
    .account-menu-item{
        margin-bottom: 10px;
    }
}

@media (max-width: 475px) {
    .account-profile, .account-menu{
        width: 100%;
        float: left;
    }
    .ap-name{
        margin-bottom: 0px;
    }
}

.account-header {
    display: flex;
    justify-content: space-between;
}
.account-header .ah-title {
    color: var(--primary-bg-color);
    margin: 5px 0;
}
.edit-location, .edit-profile, .edit-location-opening-hours {
    background-color: var(--primary-color);
    border: 1px solid var(--primary-bg-color);
    padding: 5px 15px;
    border-radius: 20px;
    color: var(--primary-bg-color);
    cursor: pointer;
}
.edit-location:hover, .edit-profile:hover, .edit-location-opening-hours:hover {
    background-color: var(--primary-bg-color);
    color: var(--primary-color);
}
/* #endregion */

/* #region customer area: account */
.account-view {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.account-field {
    background: #ffffff;
    border-radius: 15px;
    padding: 8px 10px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.account-field:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
}

.account-field label {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.account-field .value {
    font-size: 16px;
    color: #555555;
    font-weight: 500;
    word-break: break-word;
}

.account-edit {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.customer-type-list {
    grid-column: 1 / -1;
}
.customer-type-list .account-customer-types {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 15px;
}
.customer-type-list .add-customer-type {
    margin-top: 10px;
    color: var(--primary-bg-color);
    font-size: 18px;
    cursor: pointer;
}
.customer-type-list .remove-customer-type {
    margin-top: 10px;
    color: #cf151d;
    font-size: 18px;
    cursor: pointer;
}
.customer-type-list .act-action {
    width: 93%;
}
.account-buttons {
    display: flex;
    justify-content: end;
    gap: 10px;
}
.account-buttons button {
    cursor: pointer;
}

.service-field label {
    color: #6c6868;
    margin-bottom: 5px;
    margin-left: 5px;
    display: block;
    font-weight: 500;
}
.sf-header {
    display: flex;
    justify-content: space-between;
}
.sf-header i {
    color: #cf151d;
    cursor: pointer;
}
.service-list {
    margin-top: 20px;
}
.account-service-view, .service-edit {
    margin-top: 20px;
}
.service-info {
    display: block;
    background-color: rgba(56,218,203,0.6);
    background: linear-gradient(125deg, var(--secondary-bg-color) 20%, var(--primary-bg-color));    
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.4), inset 0 -4px 8px rgba(0, 0, 0, 0.08), 0 10px 20px rgba(0, 0, 0, 0.15);
    border-radius: 18px;
    padding: 15px;
    line-height: 24px;
    margin-top: 30px;
    color: #ffffff;
}
.service-info-logo{
    width: 25%;
    float: left;
}
.service-info-content{
    width: 70%;
    float: right;
}

@media (max-width: 654px) {
    .service-info {
        background: linear-gradient(180deg, var(--secondary-bg-color) 30%, var(--primary-bg-color));  
    }
    .service-info-logo{
        width: 100%;
        text-align:center;
        margin-bottom: 10px;
    }
    .service-info-logo img{
        max-width: 60%;
    }
    .service-info-content{
        width: 100%;
    }
}

@media (max-width: 1024px) {
    .account-view {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .account-view, .account-edit {
        grid-template-columns: 1fr;
    }
}
/* #endregion */

/* #region customer area: following */
.following-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
}
.following-empty-result a {
    color: var(--primary-bg-color);
}
/* #endregion */

/* #region customer area: profili */
.profiles-grid, .locations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.profile-card, .location-card {
    display: flex;
    align-items: start;
    gap: 15px;
    background: #ffffff;
    border-radius: 18px;
    padding: 15px;
    background-color: #E8F5F9;
    /*background-color: rgba(56,218,203,0.2);*/
    border:1px solid #dddddd;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
}

.profile-card:hover, .location-card:hover {
    transform: translateY(-3px);
}

.profile-card img, .location-card img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-info, .location-info {
    flex: 1;
}

.profile-info .p-name, .location-info .p-name {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-bg-color);
}

.profile-info .p-address, .profile-info .p-location,
.location-info .p-address, .location-info .p-location {
    margin: 5px 0;
    font-size: 13px;
    color: #333333;
}

.profile-message  {
    display: flex;
    align-items: center;
    gap: 10px;
}
.profile-message i {
    background-color: var(--primary-bg-color);
    color: var(--primary-color);
    width: 25px;
    height: 25px;
    min-width: 25px;
    min-height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.edit-profile {
    float: right;
}

#profile-modal .form-group {
    margin-bottom: 15px;
}

@media (max-width: 900px) {
    .profiles-grid {
        grid-template-columns: 1fr;
    }
}

#location-opening-hours-modal .custom-modal-container {
    max-width: 700px;
}
.ohi-day {
    display: flex;
    margin-bottom: 0;
    flex: 1;
}
.ohi-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ohi-header .form-group {
    margin-top: 15px;
    margin-bottom: 0;
}
.form-switch .form-check-input:checked {
    background-color: var(--primary-bg-color) !important;
}

.opening-hour-item:nth-ohild(even) {
    border-left: 1px dotted #dedede;
}

.opening-hour-item:nth-ohild(odd) {
    border-left: none;
}

@media (max-width: 768px) {
    .opening-hour-item {
        border-left: none;
    }
}
.opening-hour-item-interval .col-6 {
    margin-bottom: 10px;
}
.opening-hour-item .form-check {
    display: flex;
    align-items: center;
}
.ohi-day {
    margin-bottom: 10px;
    font-size: 14px;
}
.ohii-label {
    position: relative;
}

.ohii-label::before {
    content: attr(data-label);
    position: absolute;
    top: 9px;
    left: 16px;
    font-size: 13px;
    pointer-events: none;
    background: #ffffff;
    color: #333333;
    padding: 0 4px;
    z-index: 1;
}

.ohii-label input {
    padding-left: 40px;
}
/* #endregion */

/* #region customer area: richieste */
.request-item {
    display: flex;
    gap: 16px;
    background: #ffffff;
    border-radius: 15px;
    padding: 18px;
    align-items: flex-start;
    border:1px solid #eeeeee;
    transition: 0.2s;
    margin-bottom: 20px;
    cursor: pointer;
}

.request-item:hover {
    transform: translateY(-2px);
}

.request-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

/* CONTENT */
.request-content {
    flex: 1;
}

/* HEADER */
.request-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.request-header h3 {
    margin: 0;
    font-size: 18px;
    color: #1e3a5f;
}

.request-profile {
    font-size: 14px;
    color: #6b7280;
    margin-top: 4px;
}

/* ACTIONS */
.request-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.request-status {
    padding: 8px 12px;
    border-radius: 15px;
    border: 1px solid;
    font-size: 13px;
    font-weight: 600;
}
.request-status.open {
    border-color: #047857;
    color: #047857;
}
.request-status.closed {
    border-color: #cf151d;
    color: #cf151d;
}

@media (max-width: 610px) {
    .request-actions{
        display: block;
        width: 150px;
        padding-left: 10px;
    }
    .request-status, .request-item .btn-view{
        display: block;
        margin-bottom: 10px;
        width: 100%;
        text-align: center;        
    }
    .request-left{
        display: none;
    }
    .request-header{
        align-items: baseline;
    }
}

.btn-view {
    background: linear-gradient(135deg, #2b6cb0, #3bb4a6);
    border: none;
    color: #fff;
    padding: 8px 16px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
}

.btn-view:hover {
    opacity: 0.9;
}

/* MESSAGE */
.request-message {
    margin-top: 10px;
    font-size: 15px;
    color: #374151;
}

/* FOOTER */
.request-footer {
    margin-top: 10px;
    font-size: 13px;
    color: #6b7280;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.request-footer .request-update i {
    color: var(--secondary-bg-color);
}
.request-footer .request-delivery-date i {
    color: var(--primary-bg-color);
}

/* HEADER */
.chat-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom:1px solid #eeeeee;
}

.chat-header-left {
    display: flex;
    gap: 12px;
    flex: 1;   /* 🔥 QUESTO è quello che ti manca */
}

.chat-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.chat-header-info{
    flex: 1;
}

.chat-title {
    font-size: 20px;
    font-weight: 600;
    color: #1e3a5f;
    display: flex;
    align-items: center;
    gap: 5px;
}

.chat-status {
    padding: 4px 10px;
    border-radius: 15px;
    border: 1px solid;
    font-size: 13px;
    margin-left: 8px;
    text-align: center;
}
.chat-status.open {
    border-color: #047857;
    color: #047857;
}
.chat-status.closed {
    border-color: #cf151d;
    color: #cf151d;
}

.chat-sub,
.chat-update {
    font-size: 16px;
    color: #6b7280;
}
.chat-sub{
    margin-top: 10px;
}
.chat-sub span{
    font-size: 18px;
    padding-top: 6px;
}
.chat-profile-attributes {
    border-left: 2px solid var(--primary-bg-color);
    padding-left: 5px;
}
.chat-subject-label{
    font-size: 13px;
    font-weight: 600;
    font-style: italic;
    margin-top: 0px;
    margin-bottom: 0px;
}

.chat-sub .form-group.form-select{
    margin-left: 10px;
    width: auto;    
    margin-bottom: 0px;
}

.chat-sub .form-group.form-select select{
    border-radius: 12px;
    padding-top: 3px;
    padding-bottom: 3px;
    padding-right: 40px;
}
.reload-requests {
    font-size: 26px;
    color: var(--primary-bg-color);
    cursor: pointer;
}

/* DATE */
.chat-date {
    text-align: center;
    font-size: 13px;
    color: #9ca3af;
    margin: 20px 0;
}

/* MESSAGES */
.chat-date-messages {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-messages {
    height: 500px;
    overflow-y: auto;
}
.chat-message {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.chat-message.right {
    justify-content: flex-end;
}

.chat-avatar-sm {
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

.bubble {
    max-width: 60%;
    padding: 12px 14px;
    border-radius: 12px;
    background: #e5e7eb;
    position: relative;
    font-size: 14px;
    color: #374151;
}

.bubble p{
    margin:0px;
    margin-bottom: 10px;
    padding-right: 10px;
}

.chat-message.right .bubble {
    background: var(--primary-bg-color);
    color: #fff;
}

.time {
    display: block;
    font-size: 12px;
    /*opacity: 0.9;*/
    position: absolute;
    right:8px;
    bottom:4px;
}

/* INPUT */
.chat-input {
    position: relative;
    margin-top: 20px;
    display: flex;
    gap: 14px;
    align-items: center;
}

.chat-input input {
    flex: 1;
    padding: 12px;
    padding-left: 16px;
    height: auto;
    border-radius: 999px;
    border: none;
    background: #eef2f7;
}
.chat-textarea {
    width: 100%;
    padding: 10px 16px 10px 44px;
    border-radius: 15px;
    border: none;
    background: #eef2f7;
    resize: none;
    overflow-y: hidden;
    font-size: 14px;
    line-height: 20px;
    height: 40px;
    min-height: 40px;
    max-height: 120px;
    box-sizing: border-box;
}

.chat-input button {
    background: #2b6cb0;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
}

.chat-input-wrapper {
    position: relative;
    flex: 1;
}
.chat-input-wrapper input {
    width: 100%;
    padding: 12px;
    padding-left: 40px; /* spazio per icona */
    border-radius: 999px;
    border: none;
    background: #eef2f7;
}
.chat-attachment-icon {
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
}

.chat-attachment-menu {
    position: absolute;
    bottom: 55px;
    left: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 10px;
    display: none;
    flex-direction: column;
    gap: 8px;
}
.chat-attachment-menu.cam-open {
    display: flex;
}

.chat-attachment-menu div {
    padding: 4px 8px;
    cursor: pointer;
}

.chat-attachment-menu div:hover {
    background: #f6f5f5;
    border-radius: 20px;
}
.chat-attachment-menu i {
    color: var(--primary-bg-color);
}
.chat-remove-file {
    position: absolute;
    top: 2px;
    right: 5px;
    cursor: pointer;
    background: rgb(200 32 32);
    color: #fff;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 20px;
}
.chat-container {
    position: relative;
}
.chat-container.chat-dragover::after {
    content: attr(data-upload-message);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 999;
    border-radius: 10px;
}
.chat-load-more {
    background: #ffffff;
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid #dedede;
    display: block;
    margin: 0 auto;
    cursor: pointer;
}

/* CLOSE */
.chat-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.chat-btn {
    padding: 10px 20px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-outline-danger {
    border: 2px solid #ef4444;
    color: #ef4444;
    background: transparent;
}

.btn-outline-primary {
    border: 2px solid var(--primary-bg-color);
    color: var(--primary-bg-color);
    background: transparent;
}

.request-camera-form .camera-buttons {
    display: flex;
    justify-content: center;
}
#request-printphoto {
    display: flex;
    justify-content: center;
    max-width: 150px;
    margin: 0 auto;
}
.camera {
    text-align: center;
    margin-bottom: 20px;
}

@media (max-width: 576px) {
    .chat-header {
        flex-direction: column;
    }
    .chat-delivery-info {
        margin-top: 20px;
    }
    .chat-status{
        display: block;
        width: 100px;
        margin:6px 0px;
    }
    .bubble{
        max-width: 80%;
    }
}

/* file */
.chat-upload {
    width: 100%;
    margin-top: 15px;
}

/* input nascosto */
#chat-file {
    display: none;
}

/* preview */
.chat-preview {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.chat-preview-item {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ddd;
    background: #fff;
}

.chat-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* file non immagine */
.chat-preview-file {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    padding: 5px;
    text-align: center;
}

/* remove */
.chat-remove {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-delivery-info {
    background-color: #ffffff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 10px;
    border-radius: 15px;
}
.chat-delivery-info h3 {
    margin: 5px 0;
    font-size: 16px;
    font-weight: 500;
}
.chat-delivery-info i {
    color: var(--primary-bg-color);
}

/* chat file preview */
.chat-file-box {
    max-width: 280px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    font-family: sans-serif;
    cursor: pointer;
}

.chat-file-content {
    display: flex;
    align-items: center;
    padding: 10px;
    gap: 10px;
}
.chat-file-preview {
    width: 100%;
    height: 80px;
    background: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-file-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.chat-file-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #eef2f7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-file-icon i {
    color: var(--secondary-bg-color);
}

.chat-file-center {
    flex: 1;
    overflow: hidden;
}

.chat-file-name {
    font-size: 14px;
    font-weight: 600;
    word-break: break-word;
    color: var(--primary-bg-color);
}

.chat-file-meta {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}

.chat-file-download {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--primary-bg-color);
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.chat-time {
    display: flex;
    justify-content: end;
    font-size: 12px;
    margin-right: 8px;
    margin-bottom: 4px;
    color: var(--primary-bg-color);
}
.chat-file-download:hover {
    background: var(--primary-bg-color);
}

.message-file {
    color: var(--primary-color);
    margin-top: 5px;
    display: block;
}
.message-file i {
    font-size: 20px;
}

.chat-attachments {
    display: block;
}
.chat-attachment-files {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: min-content;
    gap: 15px;
}
.chat-attachment-files > * {
    align-self: start;
}
@media (max-width: 480px) {
    .chat-file-box {
        max-width: 100%;
    }

    .chat-file-name {
        font-size: 13px;
    }
    .chat-attachment-files {
        grid-template-columns: 1fr;
    }
    .chat-preview-item {
        width: 150px;
        height: 150px;
    }
}

.chat-locations {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 0;
}

/* ITEM */
.chat-location-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    cursor: pointer;
    background: #f7f9fc;
    transition: all 0.2s ease;
    font-size: 14px;
    line-height: 1.4;
}

.chat-location-item::before {
    content: "\f3c5";
    font-family: "Font Awesome 7 Pro";
    font-weight: 900;
    color: var(--secondary-bg-color);
    font-size: 14px;
}

.chat-location-item:hover {
    background: #edf2f7;
    transform: translateY(-1px);
}

.chat-location-item:active {
    transform: scale(0.98);
    background: #e2e8f0;
}

.chat-location-item:first-child {
    background: #ebf8ff;
    color: var(--primary-bg-color);
}

.chat-location-item:first-child::before {
    content: "\f124";
    color: var(--primary-bg-color);
}

.chat-location-item.selected {
    background: var(--primary-bg-color);
    color: var(--primary-color);
}

.chat-location-item.selected::before {
    color: var(--primary-color);
}

/* #endregion */

/* #region customer area: annunci */
.offer-content {
    flex: 1;
}
.offer-item {
    display: flex;
    gap: 16px;
    background: #ffffff;
    border-radius: 15px;
    padding: 18px;
    align-items: flex-start;
    border: 1px solid #eeeeee;
    transition: 0.2s;
    margin-bottom: 20px;
    cursor: pointer;
}

.offer-item:hover {
    transform: translateY(-2px);
}
.offer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.offer-info {
    flex: 1;
    padding: 10px;
}
.offer-header .offer-title {
    margin: 0;
    font-size: 18px;
    color: var(--primary-bg-color);
}
.offer-price {
    display: block;
    margin-top: 10px;
    font-weight: 500;
}
.offer-image {
    width: 80px;
}
.offer-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.offer-status {
    padding: 8px 12px;
    border-radius: 15px;
    border: 1px solid;
    font-size: 13px;
    font-weight: 600;
}
.offer-status.visible {
    border-color: #047857;
    color: #047857;
}
.offer-status.not-visible {
    border-color: #cf151d;
    color: #cf151d;
}
.offer-message {
    margin-top: 10px;
    font-size: 15px;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 10px;
}
.offer-message i {
    background-color: var(--primary-bg-color);
    color: var(--primary-color);
    width: 25px;
    height: 25px;
    min-width: 25px;
    min-height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.offer-footer {
    margin-top: 10px;
    font-size: 13px;
    color: #6b7280;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.offer-footer .offer-date i {
    color: var(--secondary-bg-color);
}
.offer-image-preview {
    max-height: 200px;
    width: auto;
    margin: 10px auto;
}
#offer-modal .custom-modal-body .col-12 {
    margin-bottom: 10px;
}
#offer-modal .form-switch {
    display: flex;
    flex-direction: column;
}
#offer-modal .form-switch input {
    order: 2;
}
#offer-modal .form-switch label {
    order: 1;
    margin-bottom: 10px;
}
@media (max-width: 610px) {
    .offer-actions{
        display: block;
        width: 100%;
        padding-left: 10px;
    }
    .offer-actions button {
        width: 100%;
    }
    .offer-header {
        align-items: baseline;
        flex-direction: column;
    }
    .offer-status {
        display: block;
        margin-bottom: 10px;
        width: 100%;
        text-align: center;        
    }
    .offer-image {
        width: 100%;
    }
}
/* #endregion */

/* #region customer area: appuntamenti */
.delivery-list {
    margin-top: 20px;
}
.delivery-item {
    display: flex;
    gap: 16px;
    background: #ffffff;
    border-radius: 16px;
    padding: 18px;
    align-items: flex-start;
    border:1px solid #eeeeee;
    transition: 0.2s;
    margin-bottom: 20px;
    cursor: pointer;
}

.delivery-item:hover {
    transform: translateY(-2px);
}

.delivery-content {
    flex: 1;
}

.delivery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.delivery-header h3 {
    margin: 0;
    font-size: 18px;
    color: #1e3a5f;
}

.delivery-profile {
    font-size: 14px;
    color: #6b7280;
    margin-top: 4px;
}

.delivery-actions {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 10px;
    margin-top: 30px;
}

.delivery-status {
    background: #D6EEEC;
    color: #047857;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

.delivery-subject a {
    color: var(--primary-bg-color);
}
.delivery-date-hours {
    font-size: 16px;
    text-align: center;
}

.delivery-calendar {
    background: var(--secondary-bg-color);
    color: var(--secondary-color);
    font-size: 22px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

@media (max-width: 610px) {
    .delivery-status, .delivery-item .btn-view{
        display: block;
        margin-bottom: 10px;
        width: 100%;
        text-align: center;        
    }
    .delivery-left{
        display: none;
    }
    .delivery-header{
        align-items: baseline;
    }
}

.delivery-message {
    margin-top: 10px;
    font-size: 15px;
    color: #374151;
}

.delivery-footer {
    margin-top: 10px;
    font-size: 13px;
    color: #6b7280;
    display: flex;
    gap: 15px;
}

.reload-deliveries {
    font-size: 26px;
    color: var(--primary-bg-color);
    cursor: pointer;
}

.delivery-detail .delivery-header {
    justify-content: start;
}
.delivery-btn {
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.delivery-notes {
    border-left: 3px solid var(--primary-bg-color);
    padding-left: 5px;
}
.delivery-location {
    display: flex;
    background: #ffffff;
    padding: 15px;
    border-radius: 15px;
    margin-top: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}
.dl-address {
    width: 40%;
}
.dl-map {
    width: 60%;
}
@media (max-width: 768px) {
    .delivery-location {
        flex-direction: column;
    }
    .dl-address, .dl-map {
        width: 100%;
    }
}
/* #endregion */

/* #region customer area: gdpr */
.gdpr-buttons {
    display: flex;
    gap: 8px;
    justify-content: end;
}
.gdpr-buttons button {
    padding: 8px 15px;
    border-radius: 20px;
    border: 0;
    cursor: pointer;
}
.gdpr-delete {
    background-color: #d32f2f;
    color: #ffffff;
}
.gdpr-download {
    background-color: var(--primary-bg-color);
    color: var(--primary-color);
}
.gdpr-cookie {
    background-color: var(--tertiary-bg-color) !important;
    color: var(--tertiary-color) !important;
}
#gdpr-delete-modal p span {
    color: #d32f2f;
    font-size: 16px;
    display: block;
    margin-bottom: 5px;
}
/* #endregion */

/* #region calendar */
/****** CALENDAR ******/
#calendar-delivery {
    background-color: var(--primary-bg-color);
    color: var(--primary-color);
    padding: 10px;
    border-radius: 10px;
}
.cp-calendar-prev-month {
    color: var(--secondary-bg-color);
}

.cp-calendar-next-month {
    color: var(--secondary-bg-color);
}

.cp-calendar-month,
.cp-month-day {
    font-weight: 400;
}

.cp-calendar-month {
    font-size: 30px;
}

.cp-month-day.cp-prev-month,
.cp-month-day.cp-next-month {
    background-color: transparent;
    opacity: 0.7;
}

.cp-week-day.cp-week-end,
.cp-month-day.cp-week-end {
    color: var(--secondary-bg-color);
}

.cp-month-day:not(.disabled):active,
.cp-month-day:not(.disabled):hover,
.cp-month-day.selected {
    background-color: transparent !important;
    color: var(--primary-bg-color) !important;
    border: 1px solid var(--primary-bg-color);
}

.cp-month-day.is-past {
    background-color: transparent !important;
    color: var(--tertiary-bg-color) !important;
    border: 1px solid var(--tertiary-bg-color);
    opacity: 0.7;
}
.flex {
    display: flex;
    justify-content: space-around;
}
.calendar {
    border-radius: 10px;
    background-color: white;
    border: 1px solid;
}

.week-day {
    font-weight: 600;
    text-align: center;
    min-width: 40px;
    color: #ffffff;
}

.week-day.week-end {
    font-weight: bold;
    color: #d32f2f;
}

.month-day.week-end {
    color: #d32f2f;
}

.weeks-days {
    border-bottom: 1px solid;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.calendar-header {
    display: table;
    width: 100%;
    padding: 5px;
    margin-bottom: 10px;
}

.calendar-prev-month {
    display: table-cell;
    width: 30px;
    font-size: 20px;
    cursor: pointer;
    color: #333333;
}

.calendar-next-month {
    display: table-cell;
    width: 30px;
    text-align: right;
    font-size: 20px;
    cursor: pointer;
    color: #333333;
}

.calendar-prev-month:hover,
.calendar-next-month:hover {
    opacity: 0.8;
}

.calendar-month {
    display: table-cell;
    text-align: center;
    font-weight: bold;
    color: #ffffff;
}

.month-day {
    text-align: center;
    padding: 8px 0;
    min-width: 40px;
    color: #000000;
    font-weight: bold;
    cursor: pointer;
    border-radius: 50%;
    position: relative;
    border: 1px solid transparent;
    margin: 6px 0px;
}
@media only screen and (max-width: 769px) {
    .col-o770-2.is-empty {
        display: none;
    }
}

@media only screen and (min-width: 770px) {
    .col-o770-2 {
        width: 50%;
        float: left;
    }
}

@media only screen and (min-width: 990px) {
    .col-o990-3 {
        width: 50%;
        float: left;
    }
}

@media only screen and (max-width: 770px) {
    .col-u771-hidden {
        display: none;
    }
}

@media only screen and (max-width: 990px) {
    .col-u991-hidden {
        display: none;
    }
}

.availability-yes {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    bottom: 3px;
    left: calc(50% - 4px);
}

.badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: var(--tertiary-bg-color);
    color: var(--tertiary-color);
    font-weight: 300;
    border-radius: 10px;
    font-size: 12px;
    padding-left: 5px;
    padding-right: 5px;
}

.badge:empty {
    display: none;
}

.calendar-prev-month {
    color: var(--secondary-bg-color);
}

.calendar-next-month {
    color: var(--secondary-bg-color);
}

.calendar-month,
.month-day {
    font-weight: 900;
    color: var(--primary-color);
    font-size: 20px;
}

.calendar-month {
    font-size: 30px;
}

.month-day.prev-month,
.month-day.next-month {
    background-color: transparent;
    opacity: 0;
}

.week-day.week-end,
.month-day.week-end {
    color: var(--secondary-bg-color);
}

.month-day.is-past {
    background-color: transparent !important;
    color: var(--tertiary-color) !important;
    border: 1px solid var(--tertiary-bg-color);
    opacity: 0.7;
}
.month-day:not(.disabled):active,
.month-day:not(.disabled):hover,
.month-day.selected {
    color: var(--secondary-color) !important;
    border: 1px solid var(--secondary-bg-color);
}
/* #endregion */

/* #region modal */
.custom-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.custom-modal.active {
    display: flex;
    overflow: auto;
    align-items: flex-start;
}

.custom-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
}

.custom-modal-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    padding: 20px;
    z-index: 2;
}

.custom-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.custom-modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: var(--primary-bg-color);
}

.custom-modal-close {
    border: none;
    background: transparent;
    font-size: 22px;
    cursor: pointer;
    color: #6b7280;
}

.custom-modal-body {
    font-size: 14px;
    color: #555555;
    margin-bottom: 20px;
}

.custom-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.cm-btn-cancel {
    background: #f3f4f6;
    border: none;
    border-radius: 20px;
    padding: 5px 15px;
    cursor: pointer;
}

.cm-btn-delete {
    background: #cf151d;
    color: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 5px 15px;
    cursor: pointer;
}

@media (max-width: 600px) {
    .custom-modal-container {
        margin: 15px;
        max-width: 100%;
    }
}
/* #endregion */

/* #region dettaglio attivita */
.detail-info, .detail-contacts{
    background: #fff;
    border-radius: 18px;    
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.detail-contacts{
    padding: 18px;
    height: 100%;
}
.detail-info{
    background-color: #eff9fc;
}
.detail-info-container{
    padding: 18px;
    background-color: white;
}

.detail-location{
    background: #fff;
    border-radius: 18px;    
    padding: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.detail-header {
    display: flex;
    gap: 20px;
}
.detail-image {
    width: 280px;
    height: 280px;
    border-radius: 14px;
    position: relative;
    float: left;
}

.detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    overflow: hidden;
}
.detail-content{
    width: calc(100% - 310px);
    float: right;
}

@media (max-width: 900px) {
    .detail-info-container{
        padding: 0px;
    }
    .detail-image{
        width: 100%;
    }
    .detail-image img{
        border-radius: 10px 10px 0px 0px;
    }
    
    .detail-content{
        width: 100%;
        margin-top: 10px;
        padding: 18px;
    }    
}
@media (max-width: 767px) {
    .detail-contacts{
        margin-top: 20px;
    }
}

.detail-title {
    font-size: 24px;
    color: #333333;
    margin: 0;
}

.detail-category {
    font-size: 16px;
    color: var(--primary-bg-color);
    font-weight: 600;
    margin-top: 6px;
    margin-bottom: 10px;
}
.detail-services{
    margin-top: 20px;
    background-color: #E8F5F9;
    border-radius: 16px;
    list-style: none;
    padding: 14px;    
    border: 1px solid #dddddd;
}

.detail-services li {
    font-size: 16px;
    font-weight: 500;
    color: #444444;
    padding:10px 0px;
    display: flex;
    align-items: start;
    flex-direction: column;
    border-bottom:1px solid #dddddd;    
    gap: 2px;
    text-align: left;
    flex-wrap: wrap;
}
.detail-services li span {
    font-weight: 700;
}
.detail-services li p {
    margin: 0;
    font-size: 15px;
    font-style: italic;
    padding-left: 28px;
}
.detail-services li:first-child{
    border: 0px;
    padding: 0px;
    padding-bottom: 10px;
    font-size: 14px;
    font-weight: 600;    
}

.detail-services li:last-child{
    border: 0px;
    padding-bottom: 0px;
}

.detail-services i {
    font-size: 20px;
    color: var(--primary-bg-color);
}

.detail-contacts h2 {
    margin: 0px;
    font-size: 16px;
    font-weight: 600;
}

.detail-field-container {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.detail-icon{
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #2d6cdf;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;    
    flex-shrink: 0; /* fondamentale */
    background-color: var(--primary-bg-color);
}

.detail-icon i{
    color: white;
    font-size: 18px;
}

.detail-field a{
    word-break: break-word;
    line-height: 1.3;
    font-size: 14px;
    font-weight: 500;
}

.detail-description {
    line-height: 24px;
}
.detail-button{
    width: 46%;
    float: left;
    text-align: center;
}
@media (max-width: 425px) {
    .detail-button{
        width: 100%;
    }
}

.detail-location-container{
    width: 96%;
    margin-left: 2%;
    padding: 10px;
    margin:5px 2%;
}

@media (max-width: 760px) {
    .detail-location-container{
        width: 100%;
        margin:5px 0px;
    }
}

.detail-location h3 {
    margin: 0px;    
    font-size: 18px;
}

.detail-address{
    margin-bottom: 20px;
}

.detail-location-hours-list {
    width: 100%;
    font-size: 15px;
    font-weight: 500;
    margin-top: 12px;
}

.detail-location-hours-list h3{
    margin-bottom: 6px;
}

.detail-location-hours-list div{
    padding:3px 0px;
}

@media (max-width: 760px) {
    .detail-location-hours-list{
        margin-bottom: 14px;
    }
}

.detail-location-address-container {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    margin: 4px 0 6px;
}

.detail-location-address-container i {
    color: #2ec5b7;
    padding-right: 6px;
}

.detail-location-address{
    padding-left: 8px;
}

.detail-location-distance {
    border:1px solid #dddddd;
    background: #f5f5f5;
    color: #555;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
}

.detail-location-distance:hover{
    color: #2fc3b5;
    font-weight: 600;
}

.detail-offers {
    margin: 40px 0;
}
.detail-offers h3 {
    font-size: 18px;
    color: var(--primary-bg-color);
}
.detail-offer-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.detail-offer-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.detail-offer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.detail-offer-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.detail-offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.detail-offer-content {
    padding: 12px;
}

.detail-offer-title {
    font-size: 16px;
    margin: 0 0 6px;
    font-weight: 600;
    color: var(--primary-bg-color);
}

.detail-offer-price {
    font-size: 15px;
    font-weight: 700;
    color: #e53935;
}
/* #endregion */

/* #region dynamic select */
.dynamic-select-results{
    border:1px solid var(--border-color);
    position:absolute;
    left:1px;
    border-radius: 0px 0px 5px 5px !important;
    top: 30px;
    overflow: auto;
    max-height: 350px;
    background-color: white;
    z-index:10000;
    width: calc(100% - 2px);
    border-bottom-width:3px;
}

.dynamic-select-result{
    padding:5px;
}

.dynamic-select-result .dynamic-select-result-title{
    font-weight:bold;
    font-size:14px;
    cursor: pointer;    
}

.dynamic-select-result:hover{
    background-color:#f7f7f7;
}

.dynamic-select-result:hover .dynamic-select-result-title,
.dynamic-select-result.selectionable .dynamic-select-result-title{
    color: var(--primary-bg-color);    
}

.dynamic-select-result .dynamic-select-result-subtitle{
    font-style: italic;
    font-size:12px;
    color: #666666;
}

.dynamic-select-selection{
    position:absolute;
    width:100%;
    left:0px;
    top:0px;
    height: 36px;
    font-size: 14px;
    border-radius: 20px;
    background-color: white;
    border: 1px solid #dedede;
    padding: 5px 15px;
    cursor: pointer;
    user-select: none;
    overflow: hidden;
    line-height: 24px;
    color: #000000;
    font-family: "Arial";
}
/* #endregion */

/* #region cookie banner */
#custom-cookie-banner {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    background: var(--tertiary-bg-color);
    color: var(--tertiary-color);
    padding: 15px;
    z-index: 9999;
    display: none;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.cb-content {
    max-width: 1100px;
    margin: auto;
}
.cb-content a {
    color: var(--secondary-bg-color);
    text-decoration: underline;
}

.cb-actions button {
    margin-left: 10px;
    padding: 8px 14px;
    border: none;
    cursor: pointer;
}

#cb-decline { background: #d4d4d4; color:#333333; border-radius: 15px; font-size: 15px; }
#cb-accept { background: var(--primary-bg-color); color:var(--primary-color); border-radius: 15px;font-size: 15px; }
#cm-save { background: var(--primary-bg-color); color:var(--primary-color); border-radius: 15px; padding: 8px 15px; border: 0; cursor: pointer;font-size: 15px; }
#cm-close { background: #d4d4d4; color:#333333; border-radius: 15px; padding: 8px 15px; border: 0; cursor: pointer;font-size: 15px; }
#cb-customize { background: var(--secondary-bg-color); border-radius: 15px;font-size: 15px; }
.cb-actions, .cm-actions {
    display: flex;
    justify-content: end;
    gap: 8px;
}
#cookie-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 10000;
    overflow-y: auto;
}

.cm-box {
    background: #fff;
    max-width: 500px;
    margin: 10% auto;
    padding: 25px;
    border-radius: 12px;
}

.cm-row {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

.switch {
    position: relative;
    width: 45px;
    height: 24px;
}

.switch input { display:none; }

.switch span {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #ccc;
    border-radius: 20px;
}

.switch span:before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: 0.3s;
}

.switch input:checked + span {
    background: #172958;
}

.switch input:checked + span:before {
    transform: translateX(20px);
}

#cookie-floating {
    position: fixed;
    bottom: 20px;
    left: 0;
    background: var(--tertiary-bg-color);
    color: var(--tertiary-color);
    padding: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    cursor: pointer;
}

/* MOBILE */
@media(max-width:768px){
    .cb-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cm-box {
        margin: 20% 10px;
    }
}
/* #endregion */