.header-logo img {
    max-height: 70px;
}

.catagory-product-card {
    border-radius: 0;
}

.catagory-product-image img {
    max-width: 100%;
    width: 100%;
}

.catagory-product-card .catagory-product-content {
    margin-top: 20px;
}

.catagory-product-card:hover *{
    color: #FFFFFF!important;
}

/* Camper specs styling */
.camper-specs {
    margin-top: 30px;
}

.camper-specs .spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.camper-specs .spec-item i {
    font-size: 18px;
    color: #6c757d;
}

.camper-specs .spec-item small {
    font-size: 12px;
    line-height: 12px;
    color: #495057;
    font-weight: 500;
}

/* Home blocchi aspect ratio 4:3 */
.section-blocchi-home .aspect-ratio-4-3 {
    aspect-ratio: 4 / 3;
    width: 100%;
}


.section-blocchi-home {
    padding-top: 60px;
    padding-bottom: 40px;
}

.single-offer-items.style-3{
    border-radius: 0;
}

.section-blocchi-home .col-xl-3 {
    margin-bottom: 20px;
}

.section-blocchi-home-fissa .aspect-ratio-4-3 {
    aspect-ratio: 4 / 4;
    width: 100%;
}

.section-blocchi-home-fissa {
    padding-top: 60px;
    padding-bottom: 40px;
}

.section-blocchi-home-fissa .col-xl-3 {
    margin-bottom: 20px;
}

.section-blocchi-home-fissa .single-offer-items .offer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
}

.cta-delivery-section.bg-cover {
    background-position: center bottom;
}

.cta-delivery-section * {
    color: #ffffff!important;
}

.catagory-product-card * {
    transition: none!important;
}

.offer-section .offer-content:hover {
    background-color: rgba(0,0,0,0.8);
}

.link-btn:hover {
    color: var(--white);
}

.video-banner {
    position: relative;
}

.video-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.video-banner img {
    max-width: 100%;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(0,0,0,0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn i {
    color: var(--white);
}

#zony-editor .row + .row {
    margin-top: 30px;
}

#zony-editor .gallery-section {
    padding-top: 30px;
    padding-bottom: 30px;
}

#zony-editor .swiper-pointer-events {
    padding-bottom: 30px;
}

/* Rental Detail UI rewrite */
.rental-detail .rd-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: .5rem;
}
.rental-detail .rd-content {
  padding-top: .25rem;
}
.rental-detail .rd-chips {
  margin: .5rem 0 1rem;
}
.rental-detail .rd-chip {
  background: #f5f7fa;
  border: 1px solid #e6eaef;
  border-radius: 999px;
  padding: .25rem .6rem;
  font-size: .9rem;
  color: #2a3139;
  margin-bottom: 10px
}
.rental-detail .rd-chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-right: .35rem;
  color: #ff7a00;
}
.rental-detail .rd-subtitle {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: .5rem;
}
.rental-detail .rd-feature-item {
  border: 1px dashed #dfe5ec;
  border-radius: 10px;
  padding: .6rem .8rem;
  font-size: .95rem;
  background: #fff;
}
.rental-detail .rd-more-link {
  display: inline-block;
  margin-top: .5rem;
  color: #ff7a00;
}
.rental-detail .rd-booking-card {
  border: 1px solid #e6eaef;
  border-radius: 12px;
  padding: 1rem;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(18, 38, 63, 0.06);
}
.rental-detail .rd-availability {
  font-size: .95rem;
  margin-bottom: .75rem;
}
.rental-detail .rd-availability-status {
  font-weight: 600;
}
.rental-detail .rd-cta {
  width: 100%;
}
.description-list-items .description-list li:not(:last-child){
  margin-bottom: 5px;
}

.description-list-items .description-list li i {
    color: var(--theme);
    margin-right: 10px;
    font-weight: 600;
}
.description-list-items .description-list li span {
    color: var(--text);
    font-size: 20px;
    font-weight: 400;
}

/* Sticky form on desktop (right sidebar on camper detail) */
@media (min-width: 992px) {
  .sticky-desktop {
    position: sticky;
    top: 130px;
  }
}
.product-details-wrapper.style-2 .product-form-wrapper {
    border: 0!important;
    padding: 30px;
    box-shadow: 1px 1px 20px #dfdfdf;
}

.custom-border-top {
  border-top: 100px solid #F4F1EA;
}

/* Noleggio dettaglio: overlay galleria (thumb e media) */
.rental-detail .product-image { position: relative; }
.rental-detail .thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
}
.rental-detail .media-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.rental-detail .media-overlay .overlay-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: background 0.2s ease, transform 0.2s ease;
}
.rental-detail .media-overlay .overlay-btn:hover {
  background: rgba(0,0,0,0.7);
  transform: translateY(-1px);
}
.rental-detail .media-overlay .overlay-btn i {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-size: 14px;
}
.rental-detail .media-overlay .overlay-btn--video i { background: #ff4d4f; }
.rental-detail .media-overlay .overlay-btn--vtour i { background: #2f54eb; }

/* Modals for video and virtual tour */
.rental-detail .rd-modal { display: none; }
.rental-detail .rd-modal.is-open { display: block; }

/* Video modal (centered popup) */
.rental-detail .rd-modal--video { position: fixed; inset: 0; z-index: 1000; }
.rental-detail .rd-modal--video .rd-modal__backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,0.65);
}
.rental-detail .rd-modal--video .rd-modal__dialog {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(960px, 90vw);
  background: #000; border-radius: 10px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.rental-detail .rd-modal--video .rd-modal__close {
  position: absolute; top: 8px; right: 10px; z-index: 2;
  background: rgba(255,255,255,0.15); color: #fff; border: 0; width: 36px; height: 36px;
  border-radius: 6px; font-size: 22px; line-height: 1; cursor: pointer;
}
.rental-detail .rd-modal--video .rd-modal__body { background: #000; }
.rental-detail .rd-responsive-iframe { position: relative; padding-bottom: 56.25%; height: 0; }
.rental-detail .rd-responsive-iframe iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Virtual tour modal (fullscreen, padding 50px, only X) */
.rental-detail .rd-modal--vtour {
  position: fixed; inset: 0; z-index: 1000; padding: 50px; background: rgba(0,0,0,0.9);
}
.rental-detail .rd-modal--vtour .rd-modal__body { width: 100%; height: 100%; }
.rental-detail .rd-modal--vtour iframe { width: 100%; height: 100%; background: #111; border-radius: 8px; }
.rental-detail .rd-modal__close--vtour {
  position: fixed; top: 12px; right: 16px; z-index: 1001;
  background: rgba(255,255,255,0.15); color: #fff; border: 0; width: 40px; height: 40px;
  border-radius: 6px; font-size: 26px; line-height: 1; cursor: pointer;
}

.section-blocchi-home-fissa { padding-top: 60px; padding-bottom: 40px;  }
.catagory-product-image.has-offer-badge { position: relative; }
.shop-image.has-offer-badge { position: relative; }
.offer-date-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #1369af;
    color: #fff;
    padding: 6px 10px;
    font-size: 16px;
    z-index: 2;
}

/* Lista Offerte Noleggio */
.noleggi-offerte-list .theme-btn-2 {
  display: inline-block;
  max-width: 250px;
}
.noleggi-offerte-list .spec-item i {
  font-size: 28px;
  margin-right: 10px;
}
.noleggi-offerte-list .shop-content p {
  margin-bottom: 12px;
}
.noleggi-offerte-list .info-price {
  margin-top: 12px;
}
.noleggi-offerte-list .price {
  color: #1369af;
  font-size: 22px;
  font-weight: 700;
}

.text-orange {
    color: #fd7e14 !important;
}

.matrice-icone .icon-card {display:flex;flex-direction:column;align-items:center;justify-content:center;padding:16px 12px;border:1px solid rgba(0,0,0,0.08);background:#fff;transition:transform .2s ease, box-shadow .2s ease;min-width:160px;height:100%;text-decoration:none;color:inherit}
.matrice-icone .icon-card:hover {transform:translateY(-2px);box-shadow:0 8px 24px rgba(0,0,0,0.08)}
.matrice-icone .icon-card i {color:#1369af;}
.matrice-icone .icon-label {margin-top:10px;font-weight:600;line-height:1.3}
@media (max-width: 576px){.matrice-icone .icon-card{min-width:140px}.matrice-icone .icon-card i{font-size:32px}}

.matrice-icone .mi-grid{display:flex;flex-wrap:wrap;gap:16px;justify-content:flex-start}
.matrice-icone .mi-per-1 .mi-item{flex:0 0 calc((100% - (16px * 0)) / 1);max-width:calc((100% - (16px * 0)) / 1)}
.matrice-icone .mi-per-2 .mi-item{flex:0 0 calc((100% - (16px * 1)) / 2);max-width:calc((100% - (16px * 1)) / 2)}
.matrice-icone .mi-per-3 .mi-item{flex:0 0 calc((100% - (16px * 2)) / 3);max-width:calc((100% - (16px * 2)) / 3)}
.matrice-icone .mi-per-4 .mi-item{flex:0 0 calc((100% - (16px * 3)) / 4);max-width:calc((100% - (16px * 3)) / 4)}
.matrice-icone .mi-per-5 .mi-item{flex:0 0 calc((100% - (16px * 4)) / 5);max-width:calc((100% - (16px * 4)) / 5)}
.matrice-icone .mi-per-6 .mi-item{flex:0 0 calc((100% - (16px * 5)) / 6);max-width:calc((100% - (16px * 5)) / 6)}

@media (max-width: 576px){.matrice-icone .mi-grid .mi-item{flex:0 0 100%;max-width:100%}}
@media (min-width:577px) and (max-width:991.98px){.matrice-icone .mi-grid .mi-item{flex:0 0 calc((100% - (16px * 2)) / 3);max-width:calc((100% - (16px * 2)) / 3)}}
.matrice-icone {
  margin-top: 40px;
  margin-bottom: 40px;
}
.matrice-icone h3 {
  margin-bottom: 20px;
}

#zony-editor li::before {
    color: var(--theme);
    margin-right: 10px;
    font-weight: 600;
    font-family: "Font Awesome 5 Pro";
    content: "\f00c";
    margin-right: 10px;
}

#zony-editor li {
  margin-bottom: 5px;
}

#zony-editor li p {
  display: contents;
}

#zony-editor ul {
  margin-top: 20px;
}

.pagination li::before {
    content: ""!important;
}



.sticky-enroll-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: #ffffff;
  border-top: 1px solid #e6eaef;
  box-shadow: 0px 0px 20px 2px #c4c4c4;
  padding: 2rem 0;
}
.sticky-enroll-bar .bar-title { font-weight: 700; font-size: 1.95rem; }
.sticky-enroll-bar .bar-meta { margin-left: .5rem; color: #6b7280; font-size: .95rem; }
.sticky-enroll-bar .bar-btn {
  display: inline-block;
  padding: .6rem 1rem;
  background: var(--theme);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 23px;
}
.sticky-enroll-bar.is-anchored {
  position: initial;
  box-shadow: none;
  border-bottom: 1px solid #e6eaef;
}
@media (max-width: 576px) {
  .sticky-enroll-bar .bar-title { font-size: 1.95rem; }
  .sticky-enroll-bar {padding-top: 20px; padding-bottom: 10px; text-align: center;}
  .bar-btn {width: 100%; text-align: center;}
  

}

.testimonial-section-2::after {
    left: 0;
  }

.mv-modal { position: fixed; inset: 0; z-index: 1100; display: none; }
.mv-modal.is-open { display: block; }
.mv-modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.mv-modal__dialog { position: absolute; left: 0; top: 0; right: 0; bottom: 0; background: #fff; }
.mv-modal__close { display: none; }
.mv-modal__content { display: none; }

/* Quote Modal (fullscreen stepper) */
#preventivoModal .qm-modal { display: flex; flex-direction: column; }
#preventivoModal .qm-header { flex: 0 0 auto; border-bottom: 1px solid #e6eaef; padding: 12px 0; }
#preventivoModal .qm-title { font-weight: 700; font-size: 1.25rem; }
#preventivoModal .qm-close { background: transparent; border: 0; font-size: 28px; line-height: 1; cursor: pointer; }
#preventivoModal .qm-progress { flex: 0 0 auto; border-bottom: 1px solid #e6eaef; }
#preventivoModal .qm-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; padding: 10px 0; }
#preventivoModal .qm-step-indicator { padding: 8px 10px; border-radius: 8px; background: #f3f4f6; color: #374151; font-weight: 600; font-size: .95rem; text-align: center; }
#preventivoModal .qm-step-indicator.is-active { background: #1369af; color: #fff; }
#preventivoModal .qm-step-indicator.is-done { background: var(--ratting); color: #fff; }
#preventivoModal .qm-body { flex: 1 1 auto; overflow: auto; padding: 20px 0; }
#preventivoModal .qm-step { animation: fadeIn .15s ease; }
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
#preventivoModal .qm-step-indicator .qm-step-icon { display: none; }
@media (max-width: 576px){
  #preventivoModal .qm-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 8px 0; }
  #preventivoModal .qm-step-indicator { padding: 8px 6px; font-size: 0; }
  #preventivoModal .qm-step-indicator .qm-step-label { display: none; }
  #preventivoModal .qm-step-indicator .qm-step-icon { display: inline-block; font-size: 18px; line-height: 1; margin-top: 13px;}
}

/* Cards for step 1 */
#preventivoModal .qm-card-option { display: block; cursor: pointer; }
#preventivoModal .qm-card-option input { position: absolute; opacity: 0; pointer-events: none; }
#preventivoModal .qm-card { display: block; border: 1px solid #e5e7eb; border-radius: 10px; padding: 14px; background: #fff; box-shadow: 0 2px 8px rgba(18,38,63,0.06); }
#preventivoModal .qm-card-title { font-weight: 700; color: #111827; }
#preventivoModal .qm-card-meta { color: #6b7280; font-size: .9rem; }
#preventivoModal .qm-card-option input:checked + .qm-card { border-color: #1369af; box-shadow: 0 6px 18px rgba(19,105,175,0.2); }

/* Counter for people */
#preventivoModal .qm-counter { display: flex; align-items: center; gap: 10px; }
#preventivoModal .qm-counter-input { width: 90px; text-align: center; font-weight: 700; }
#preventivoModal .qm-counter-btn { width: 36px; height: 36px; border-radius: 8px; border: 1px solid #e5e7eb; background: #fff; font-weight: 700; }

/* Optional list */
#preventivoModal .qm-optional-list { display: grid; grid-template-columns: repeat(1, 1fr); gap: 10px; }
@media (min-width: 768px){ #preventivoModal .qm-optional-list { grid-template-columns: repeat(2, 1fr); } }
#preventivoModal .qm-optional-item { display: flex; align-items: center; gap: 10px; border: 1px solid #e5e7eb; border-radius: 10px; padding: 10px 12px; }
#preventivoModal .qm-optional-text { font-size: .95rem; }

/* Navigation */
#preventivoModal .qm-nav { border-top: 1px solid #e6eaef; padding-top: 12px; margin-top: 16px; }
#preventivoModal .qm-prev[disabled] { opacity: .5; pointer-events: none; }
#preventivo-form .list-group-item {
  margin-bottom: 10px;
  border-radius: 18px;
  border: 1px solid #e2e2e2;
}
.pagination {
  gap: 8px;
}

.pagination .page-link {
  border-radius: 0!important;
  padding: 8px 16px;
}
.pagination .page-item.active .page-link,
.pagination .page-link.active {
  background-color: #000;
  border-color: #000;
  color: #fff;
}
.pagination .page-link:hover {
  color: #000;
}

/* Valore Sicuro Table Header */
.valore-sicuro-header {
    background-color: #0056b3;
    color: white;
}
.valore-sicuro-header th {
    background-color: #0056b3;
    font-size: 1.8rem;
    text-align: center;
    color: white;
    padding-top: 20px;
    padding-bottom: 20px;
}
.text-right {
  text-align: right;
}

#zony-editor .shop-content .theme-btn-2 {
  max-width: 250px;
}

/* Badge "In Arrivo" specific style */
.catagory-product-card-2 .camper-card-badges span.badge-in-arrivo {
    background-color: var(--ratting); /* Orange/Yellow */
    color: #fff;
}

.catagory-product-card-2 h4 {
  min-height: 50px;
}

#zony-editor .bg-cover {
  background-position: center;
  background-color: transparent!important;
  background-size: contain;
}