/**
 * BookNow Elementor Widgets - CSS
 */

/* ========================================
   GALLERY WIDGET - GRID LAYOUTS
   ======================================== */

.bn-service-gallery {
    width: 100%;
}

.bn-gallery-grid {
    display: grid;
    width: 100%;
    height: 400px;
}

.bn-gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.bn-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
}

/* Layout 1 immagine */
.bn-service-gallery.layout-1 .bn-gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}

/* Layout 2 immagini */
.bn-service-gallery.layout-2 .bn-gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
}

/* Layout 3 immagini */
.bn-service-gallery.layout-3 .bn-gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.bn-service-gallery.layout-3 .item-1 {
    grid-row: span 2;
}

/* Supporto per max-height su layout-3 - mantiene proporzioni */
.bn-service-gallery.layout-3 .bn-gallery-grid[style*="max-height"] {
    height: auto;
}

/* Layout 4 immagini - Come nello screenshot */
.bn-service-gallery.layout-4 .bn-gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

/* Layout 5 immagini */
.bn-service-gallery.layout-5 .bn-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr 1fr;
}

.bn-service-gallery.layout-5 .item-1 {
    grid-column: span 2;
}

/* Layout 6 immagini */
.bn-service-gallery.layout-6 .bn-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr 1fr;
}

/* ========================================
   HOVER EFFECTS
   ======================================== */

/* Zoom */
.bn-service-gallery.hover-zoom .bn-gallery-item:hover img {
    transform: scale(1.08);
}

/* Brightness */
.bn-service-gallery.hover-brightness .bn-gallery-item img {
    filter: brightness(0.9);
}
.bn-service-gallery.hover-brightness .bn-gallery-item:hover img {
    filter: brightness(1);
}

/* Grayscale */
.bn-service-gallery.hover-grayscale .bn-gallery-item img {
    filter: grayscale(100%);
}
.bn-service-gallery.hover-grayscale .bn-gallery-item:hover img {
    filter: grayscale(0%);
}

/* ========================================
   MORE OVERLAY
   ======================================== */

.bn-gallery-more-overlay {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bn-gallery-more-overlay.position-bottom-right {
    bottom: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.bn-gallery-more-overlay.position-bottom-left {
    bottom: 15px;
    left: 15px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.bn-gallery-more-overlay.position-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.bn-gallery-more-overlay.position-full {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
}

.bn-gallery-more-overlay i,
.bn-gallery-more-overlay svg {
    font-size: 24px;
    transition: transform 0.3s ease;
}

.bn-gallery-more-overlay .more-count {
    font-size: 18px;
    font-weight: 600;
    margin-top: 5px;
}

.bn-gallery-item:hover .bn-gallery-more-overlay i,
.bn-gallery-item:hover .bn-gallery-more-overlay svg {
    transform: scale(1.1);
}

/* ========================================
   LIGHTBOX
   ======================================== */

.bn-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.bn-lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.bn-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.bn-lightbox-close:hover {
    transform: scale(1.1);
}

.bn-lightbox-close svg {
    width: 28px;
    height: 28px;
}

.bn-lightbox-title {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 18px;
    font-weight: 500;
    z-index: 10;
    max-width: calc(100% - 100px);
}

.bn-lightbox-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px 20px;
    position: relative;
}

.bn-lightbox-main img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bn-lightbox-main img.loaded {
    opacity: 1;
}

.bn-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    z-index: 10;
}

.bn-lightbox-nav:hover {
    background: rgba(255,255,255,0.2);
}

.bn-lightbox-nav svg {
    width: 24px;
    height: 24px;
}

.bn-lightbox-prev {
    left: 20px;
}

.bn-lightbox-next {
    right: 20px;
}

.bn-lightbox-caption {
    text-align: center;
    padding: 10px 20px;
    font-size: 14px;
    opacity: 0.8;
    min-height: 40px;
}

.bn-lightbox-thumbs {
    display: flex;
    justify-content: center;
    padding: 15px 20px 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.bn-lightbox-thumbs::-webkit-scrollbar {
    height: 6px;
}

.bn-lightbox-thumbs::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
}

.bn-lightbox-thumbs::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 3px;
}

.bn-lightbox-thumb {
    flex-shrink: 0;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s ease, transform 0.2s ease;
    overflow: hidden;
}

.bn-lightbox-thumb:hover {
    opacity: 0.8;
}

.bn-lightbox-thumb.active {
    opacity: 1;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.5);
}

.bn-lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Counter */
.bn-lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 14px;
    opacity: 0.7;
}

/* ========================================
   PLACEHOLDER (Editor)
   ======================================== */

.bn-gallery-placeholder {
    background: #f0f0f0;
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    color: #666;
}

.bn-placeholder-img {
    background: linear-gradient(135deg, #e0e0e0 25%, #f5f5f5 50%, #e0e0e0 75%);
    background-size: 200% 200%;
    animation: placeholderShimmer 1.5s infinite;
    width: 100%;
    height: 100%;
}

@keyframes placeholderShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 767px) {
    .bn-service-gallery.layout-4 .bn-gallery-grid,
    .bn-service-gallery.layout-3 .bn-gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .bn-service-gallery.layout-5 .bn-gallery-grid,
    .bn-service-gallery.layout-6 .bn-gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .bn-service-gallery.layout-5 .item-1 {
        grid-column: span 2;
    }
    
    .bn-lightbox-nav {
        width: 40px;
        height: 40px;
    }
    
    .bn-lightbox-prev {
        left: 10px;
    }
    
    .bn-lightbox-next {
        right: 10px;
    }
    
    .bn-lightbox-thumbs {
        padding: 10px;
    }
}

/* ========================================
   MAP WIDGET
   ======================================== */

.bn-service-map {
    width: 100%;
}

.bn-map-container {
    width: 100%;
    height: 350px;
    position: relative;
}

.bn-map-placeholder,
.bn-map-placeholder-editor {
    background: linear-gradient(135deg, #e8e8e8 0%, #f5f5f5 100%);
    border: 2px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
    height: 100%;
    min-height: 200px;
}

/* Address Bar */
.bn-map-address {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.bn-map-address.position-above {
    margin-bottom: 15px;
}

.bn-map-address.position-below {
    margin-top: 15px;
}

.bn-map-address.position-overlay {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 12px 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 10;
}

.bn-map-address-icon {
    display: flex;
    align-items: center;
    color: #e74c3c;
}

.bn-map-address-text {
    flex: 1;
}

.bn-map-directions {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.bn-map-directions:hover {
    opacity: 0.7;
}

/* Mapbox Overrides */
.bn-map-container .mapboxgl-ctrl-logo {
    margin: 0 5px 5px 0 !important;
}

.bn-map-container .mapboxgl-ctrl-attrib {
    font-size: 10px;
}

.bn-map-container .mapboxgl-popup-content {
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
}

.bn-map-container .mapboxgl-popup-close-button {
    font-size: 18px;
    padding: 5px 10px;
}

/* Custom Marker */
.bn-map-marker {
    width: 30px;
    height: 40px;
    cursor: pointer;
}

.bn-map-marker svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* Fullscreen */
.bn-map-container:-webkit-full-screen {
    width: 100%;
    height: 100%;
}

.bn-map-container:-moz-full-screen {
    width: 100%;
    height: 100%;
}

.bn-map-container:fullscreen {
    width: 100%;
    height: 100%;
}

/* Responsive */
@media (max-width: 767px) {
    .bn-map-address {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .bn-map-address.position-overlay {
        bottom: 10px;
        left: 10px;
        right: 10px;
    }
}

/* ========================================
   BOOKING WIDGET
   ======================================== */

.bn-booking-widget {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

/* Card principale */
.bn-booking-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.bn-booking-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
}

.bn-booking-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
}

.bn-booking-price-prefix {
    font-size: 14px;
    color: #222;
}

.bn-booking-price-value {
    font-size: 22px;
    font-weight: 600;
    color: #222;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.bn-booking-price-suffix {
    font-size: 14px;
    color: #222;
}

.bn-booking-cancellation {
    font-size: 13px;
    color: #E00B41;
    margin-bottom: 20px;
}

/* Pulsante */
.bn-booking-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    background: #E00B41;
    color: #fff;
    border: none;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.bn-booking-button:hover {
    background: #c00a39;
    transform: translateY(-1px);
}

/* Lista slot preview */
.bn-booking-slots-preview {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bn-booking-slot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border: 1px solid #DDDDDD;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bn-booking-slot:hover:not(.soldout) {
    border-color: #222;
}

.bn-booking-slot.soldout {
    opacity: 0.6;
    cursor: default;
}

.bn-booking-slot-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bn-booking-slot-date {
    font-size: 16px;
    font-weight: 600;
    color: #222;
}

.bn-booking-slot-time {
    font-size: 14px;
    color: #717171;
}

.bn-booking-slot-status {
    text-align: right;
}

.bn-booking-slot-available {
    font-size: 14px;
    color: #E00B41;
    font-weight: 500;
}

.bn-booking-slot-soldout {
    font-size: 14px;
    color: #717171;
}

/* Link mostra tutte le date */
.bn-booking-all-dates {
    text-align: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #EBEBEB;
}

.bn-booking-all-dates-link {
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 600;
    color: #222;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.bn-booking-all-dates-link:hover {
    color: #E00B41;
}

/* ========================================
   POPUP BASE
   ======================================== */

.bn-booking-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bn-booking-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}

.bn-booking-popup-content {
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 24px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.3);
    animation: bnPopupIn 0.3s ease;
}

@keyframes bnPopupIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.bn-booking-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #222;
    border-radius: 50%;
    transition: background 0.2s;
}

.bn-booking-popup-close:hover {
    background: #f5f5f5;
}

.bn-booking-popup-close svg {
    width: 20px;
    height: 20px;
}

/* ========================================
   POPUP SELEZIONA ORARIO
   ======================================== */

.bn-popup-title {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 24px 0;
    color: #222;
}

/* Selettore ospiti */
.bn-popup-guests {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid #EBEBEB;
    margin-bottom: 16px;
}

.bn-popup-guests-label {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bn-popup-guests-count {
    font-size: 16px;
    font-weight: 600;
    color: #222;
}

.bn-popup-guests-age {
    font-size: 12px;
    color: #717171;
}

.bn-popup-guests-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bn-guests-minus,
.bn-guests-plus {
    width: 32px;
    height: 32px;
    border: 1px solid #DDDDDD;
    border-radius: 50%;
    background: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.bn-guests-minus:hover:not(:disabled),
.bn-guests-plus:hover:not(:disabled) {
    border-color: #222;
}

.bn-guests-minus:disabled,
.bn-guests-plus:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.bn-guests-value {
    font-size: 16px;
    font-weight: 500;
    min-width: 20px;
    text-align: center;
}

/* ========================================
   ADD-ONS NEL POPUP
   ======================================== */

.bn-popup-addons {
    padding: 16px 0;
    border-bottom: 1px solid #EBEBEB;
    margin-bottom: 16px;
}

.bn-popup-addons-title {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin: 0 0 12px 0;
}

.bn-popup-addons-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bn-addon-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border: 1px solid #EBEBEB;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0;
    position: relative;
    z-index: 100;
}

/* Assicura che tutti gli elementi figli non blocchino il click */
.bn-addon-item * {
    pointer-events: none;
}

.bn-addon-item:hover {
    border-color: #DDDDDD;
    background-color: #FAFAFA;
}

.bn-addon-item.selected {
    border-color: #E00B41;
    background-color: #FFF5F7;
}

.bn-addon-checkbox {
    flex-shrink: 0;
    position: relative;
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.bn-addon-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    pointer-events: none; /* Disabilita click diretto, gestito da JS sul parent */
    margin: 0;
}

.bn-addon-checkbox-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 2px solid #DDDDDD;
    border-radius: 4px;
    background: #fff;
    transition: all 0.2s ease;
}

.bn-addon-checkbox-custom::after {
    content: '';
    width: 10px;
    height: 6px;
    border: 2px solid #fff;
    border-top: none;
    border-right: none;
    transform: rotate(-45deg) scale(0);
    transition: transform 0.2s ease;
}

.bn-addon-item.selected .bn-addon-checkbox-custom {
    background-color: #E00B41;
    border-color: #E00B41;
}

.bn-addon-item.selected .bn-addon-checkbox-custom::after {
    transform: rotate(-45deg) scale(1);
}

.bn-addon-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bn-addon-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.bn-addon-name {
    font-size: 14px;
    font-weight: 500;
    color: #222;
}

.bn-addon-price {
    font-size: 14px;
    font-weight: 600;
    color: #E00B41;
    white-space: nowrap;
}

.bn-addon-price small {
    font-size: 12px;
    font-weight: 400;
    color: #717171;
}

.bn-addon-description {
    font-size: 12px;
    color: #717171;
    line-height: 1.4;
}

/* Responsive add-ons */
@media (max-width: 480px) {
    .bn-addon-item {
        padding: 10px;
    }
    
    .bn-addon-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .bn-addon-price {
        font-size: 13px;
    }
}

/* Selettore mese */
.bn-popup-month-selector {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #EBEBEB;
    margin-bottom: 16px;
}

.bn-popup-month-input {
    font-size: 16px;
    font-weight: 600;
    border: none;
    background: none;
    cursor: pointer;
    color: #222;
}

.bn-popup-month-picker {
    background: none;
    border: none;
    cursor: pointer;
    color: #717171;
    padding: 4px;
}

.bn-popup-month-picker svg {
    width: 20px;
    height: 20px;
}

/* Lista slot nel popup */
.bn-popup-slots-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bn-popup-day-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bn-popup-day-label {
    font-size: 16px;
    font-weight: 600;
    color: #222;
}

.bn-popup-day-slots {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bn-popup-slot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border: 1px solid #DDDDDD;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.bn-popup-slot:hover:not(.soldout) {
    border-color: #222;
}

.bn-popup-slot.selected {
    border-color: #E00B41;
    border-width: 2px;
}

.bn-popup-slot.soldout {
    opacity: 0.5;
    cursor: default;
}

.bn-popup-slot-time {
    font-size: 15px;
    font-weight: 500;
    color: #222;
}

.bn-popup-slot-price {
    font-size: 13px;
    color: #717171;
    margin-top: 2px;
}

.bn-popup-slot-status {
    text-align: right;
}

.bn-popup-slot-available {
    font-size: 14px;
    color: #E00B41;
    font-weight: 500;
}

.bn-popup-slot-soldout {
    font-size: 14px;
    color: #717171;
}

/* ========================================
   POPUP RIEPILOGO SELEZIONE
   ======================================== */

.bn-popup-selection-summary {
    position: sticky;
    bottom: 0;
    background: #fff;
    border-top: 1px solid #EBEBEB;
    padding: 16px 0;
    margin-top: 20px;
}

.bn-popup-summary-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.bn-popup-summary-slot,
.bn-popup-summary-guests {
    display: flex;
    gap: 8px;
    font-size: 14px;
}

.bn-summary-label {
    color: #717171;
    flex-shrink: 0;
}

.bn-summary-slot-info,
.bn-summary-guests-info {
    color: #222;
}

.bn-popup-proceed-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    background: linear-gradient(to right, #E00B41, #FF385C);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.bn-popup-proceed-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(224, 11, 65, 0.3);
}

.bn-popup-proceed-btn:active {
    transform: scale(0.98);
}

.bn-popup-proceed-btn svg {
    stroke-width: 2.5;
}

/* ========================================
   POPUP CALENDARIO
   ======================================== */

.bn-booking-popup-calendar .bn-booking-popup-content {
    max-width: 400px;
    padding: 20px;
}

.bn-calendar-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    padding: 10px 0;
    border-bottom: 1px solid #EBEBEB;
    margin-bottom: 10px;
}

.bn-calendar-header span {
    font-size: 12px;
    font-weight: 600;
    color: #717171;
}

.bn-calendar-months {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 10px;
}

.bn-calendar-month {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bn-calendar-month-title {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    padding: 8px 0;
}

.bn-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.bn-calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #B0B0B0;
    border-radius: 50%;
    cursor: default;
}

.bn-calendar-day.has-slots {
    color: #222;
    font-weight: 600;
    cursor: pointer;
}

.bn-calendar-day.has-slots:hover {
    background: #f5f5f5;
}

.bn-calendar-day.today {
    border: 1px solid #DDDDDD;
    border-radius: 50%;
}

.bn-calendar-day.selected {
    background: #222;
    color: #fff;
}

.bn-calendar-day.empty {
    visibility: hidden;
}

/* ========================================
   PLACEHOLDER EDITOR
   ======================================== */

.bn-booking-placeholder {
    background: #f5f5f5;
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    color: #666;
}

/* ========================================
   RESPONSIVE BOOKING
   ======================================== */

@media (max-width: 767px) {
    .bn-booking-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .bn-booking-button {
        width: 100%;
        margin-top: 12px;
    }
    
    .bn-booking-popup-content {
        width: 100%;
        max-width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
    }
    
    .bn-popup-guests {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .bn-popup-guests-controls {
        align-self: flex-end;
    }
}

/* ========================================
   HOST WIDGET
   ======================================== */

.bn-host-widget {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
}

/* Layout orizzontale */
.bn-host-widget.layout-horizontal {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* Layout verticale */
.bn-host-widget.layout-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

/* Avatar */
.bn-host-avatar-wrapper {
    flex-shrink: 0;
}

.bn-host-avatar-link {
    display: block;
    transition: transform 0.2s;
}

.bn-host-avatar-link:hover {
    transform: scale(1.05);
}

.bn-host-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.bn-host-avatar-placeholder {
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b0b0b0;
}

.bn-host-avatar-placeholder svg {
    width: 50%;
    height: 50%;
}

/* Info */
.bn-host-info {
    flex: 1;
    min-width: 0;
}

.bn-host-name {
    font-size: 22px;
    font-weight: 600;
    color: #222;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.bn-host-prefix {
    font-weight: 400;
    color: #717171;
    display: block;
    font-size: 16px;
    margin-bottom: 2px;
}

.bn-host-role {
    font-size: 14px;
    color: #717171;
    margin: 0 0 12px 0;
}

.bn-host-languages {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px 0;
}

.bn-host-languages-label {
    font-size: 13px;
    color: #717171;
    font-weight: 600;
}

.bn-host-languages-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.bn-host-language {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: #f5f5f5;
    color: #222;
    font-size: 12px;
    line-height: 1.2;
}

.bn-host-bio {
    font-size: 16px;
    color: #484848;
    line-height: 1.5;
    margin: 0 0 16px 0;
}

.bn-host-profile-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 600;
    color: #222;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.bn-host-profile-link:hover {
    color: #E00B41;
}

.bn-host-profile-link svg {
    transition: transform 0.2s;
}

.bn-host-profile-link:hover svg {
    transform: translateX(3px);
}

/* No data */
.bn-host-no-data {
    text-align: center;
    padding: 40px 20px;
    color: #717171;
}

.bn-host-no-data p {
    margin: 0;
}

/* Editor notice */
.bn-host-editor-notice {
    margin-top: 16px;
    padding: 12px;
    background: #FEF3C7;
    border-radius: 8px;
    text-align: center;
}

/* ========================================
   SERVICE LANGUAGES WIDGET
   ======================================== */

.bn-svc-languages {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.bn-svc-languages__label {
    font-size: 13px;
    color: #717171;
    font-weight: 600;
}

.bn-svc-languages__list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.bn-svc-language {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: #f5f5f5;
    color: #222;
    font-size: 12px;
    line-height: 1.2;
}

.bn-svc-languages--placeholder {
    padding: 12px;
    border-radius: 10px;
    background: #f8f9fa;
    color: #717171;
    font-size: 14px;
}

.bn-host-editor-notice p {
    margin: 0;
    font-size: 13px;
    color: #92400E;
}

/* Responsive */
@media (max-width: 575px) {
    .bn-host-widget.layout-horizontal {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* ========================================
   SERVICE EXTRA INFO WIDGET
   ======================================== */

.bn-extra-info {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.bn-extra-info__title {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin: 0 0 16px 0;
}

.bn-extra-info__list {
    display: flex;
    flex-direction: column;
}

/* Layout: Lista */
.bn-extra-info--list .bn-extra-info__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.bn-extra-info--list .bn-extra-info__item:last-child {
    border-bottom: none;
}

/* Layout: Griglia */
.bn-extra-info--grid .bn-extra-info__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.bn-extra-info--grid .bn-extra-info__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 14px;
    background: #f9fafb;
    border-radius: 10px;
}

/* Layout: Inline */
.bn-extra-info--inline .bn-extra-info__list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
}

.bn-extra-info--inline .bn-extra-info__item {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Icona */
.bn-extra-info__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #6b7280;
}

.bn-extra-info__icon svg {
    width: 16px;
    height: 16px;
}

/* Etichetta */
.bn-extra-info__label {
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
}

/* Valore */
.bn-extra-info__value {
    font-size: 14px;
    font-weight: 500;
    color: #1f2937;
}

/* Valore booleano */
.bn-extra-info__value--boolean {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.bn-extra-info__value--yes {
    color: #059669;
}

.bn-extra-info__value--no {
    color: #dc2626;
}

/* Chips */
.bn-extra-info__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.bn-extra-info__chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 12px;
    font-weight: 500;
    border-radius: 999px;
}

/* Placeholder editor */
.bn-extra-info--placeholder {
    padding: 20px;
    border-radius: 10px;
    background: #f8f9fa;
    color: #717171;
    font-size: 14px;
    text-align: center;
}

/* Stili specifici per tipo esperienza */
.bn-extra-info--type-tour .bn-extra-info__icon {
    color: #7c3aed;
}

.bn-extra-info--type-restaurant .bn-extra-info__icon {
    color: #f59e0b;
}

.bn-extra-info--type-water_activity .bn-extra-info__icon {
    color: #0ea5e9;
}

.bn-extra-info--type-water_transport .bn-extra-info__icon {
    color: #06b6d4;
}

/* Responsive */
@media (max-width: 575px) {
    .bn-extra-info--grid .bn-extra-info__list {
        grid-template-columns: 1fr;
    }
    
    .bn-extra-info--inline .bn-extra-info__list {
        flex-direction: column;
        gap: 12px;
    }
}

/* ========================================
   SERVICES GRID WIDGET
   ======================================== */

.bn-services-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

/* Filtri */
.bn-grid-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    align-items: center;
}

.bn-grid-filters select,
.bn-grid-filters input[type="text"] {
    padding: 12px 16px;
    font-size: 14px;
    border: 1px solid #DDDDDD;
    border-radius: 8px;
    background: #fff;
    color: #222;
    min-width: 180px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.bn-grid-filters select:focus,
.bn-grid-filters input[type="text"]:focus {
    border-color: #222;
    box-shadow: 0 0 0 2px rgba(34,34,34,0.1);
}

.bn-grid-filters input[type="text"] {
    min-width: 200px;
}

.bn-grid-filters input[type="text"]::placeholder {
    color: #717171;
}

/* Filtri stile pills */
.bn-grid-filters.filter-style-pills {
    gap: 16px;
    flex-wrap: wrap;
}

.bn-filter-pills-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bn-filter-pill {
    padding: 8px 16px;
    font-size: 14px;
    border: 1px solid #DDDDDD;
    border-radius: 20px;
    background: #fff;
    color: #717171;
    cursor: pointer;
    transition: none; /* Rimuovo transizione per evitare conflitti con stili inline */
}

.bn-filter-pill:hover {
    border-color: #222;
    color: #222;
}

/* Stile active base - verrà sovrascritto da stili inline JS */
.bn-filter-pill.active {
    background: #222 !important;
    border-color: #222 !important;
    color: #fff !important;
}

.bn-filter-search-wrapper {
    flex: 1;
    min-width: 200px;
}

/* Search input con icona */
.bn-filter-search {
    position: relative;
    flex: 0 0 auto;
    width: 280px;
}

.bn-search-input {
    width: 100%;
    padding: 10px 16px 10px 42px !important;
    font-size: 14px;
    border: 1px solid #DDDDDD;
    border-radius: 24px;
    background: #fff;
    color: #222;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    text-indent: 0;
}

.bn-search-input:focus {
    border-color: #222;
    box-shadow: 0 0 0 2px rgba(34,34,34,0.1);
}

.bn-search-input::placeholder {
    color: #717171;
}

.bn-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: #717171;
    pointer-events: none;
}

/* Filtri wrapper */
.bn-services-filters {
    margin-bottom: 24px;
}

.bn-filters-row {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.bn-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
}

.bn-category-pills {
    padding-bottom: 8px;
}

.bn-tag-pills .bn-filter-pill {
    font-size: 13px;
    padding: 6px 14px;
    background: #f7f7f7;
    border-color: #e0e0e0;
}

.bn-tag-pills .bn-filter-pill:hover {
    background: #eee;
    border-color: #222;
    color: #222;
}

/* Active state per filter pills - massima specificità */
.bn-filter-pill.active,
.bn-tag-pills .bn-filter-pill.active,
.bn-category-pills .bn-filter-pill.active,
.bn-filter-pills .bn-filter-pill.active,
button.bn-filter-pill.active,
.bn-services-wrapper .bn-filter-pill.active,
.bn-services-wrapper .bn-tag-pills .bn-filter-pill.active,
.bn-services-wrapper .bn-category-pills .bn-filter-pill.active,
.bn-services-wrapper .bn-services-filters .bn-filter-pill.active,
.bn-services-filters .bn-filter-pills .bn-filter-pill.active,
.elementor-widget .bn-filter-pill.active,
.elementor-widget .bn-tag-pills .bn-filter-pill.active,
.elementor-widget .bn-category-pills .bn-filter-pill.active,
button.bn-filter-pill[data-tag].active,
button.bn-filter-pill[data-category].active {
    background-color: #222222 !important;
    border-color: #222222 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
    font-weight: 600 !important;
}

/* Ensure pills have proper base styles */
.bn-services-wrapper .bn-filter-pill {
    padding: 8px 16px;
    font-size: 14px;
    border: 1px solid #DDDDDD;
    border-radius: 20px;
    background: #fff;
    color: #717171;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.bn-services-wrapper .bn-filter-pill:hover:not(.active) {
    border-color: #222;
    color: #222;
}

/* Griglia servizi */
.bn-services-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, 1fr);
    transition: opacity 0.3s;
}

.bn-services-grid.bn-loading {
    opacity: 0.5;
    pointer-events: none;
}

.bn-services-grid.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.bn-services-grid.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.bn-services-grid.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Paginazione */
.bn-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.bn-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #717171;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.bn-pagination a.page-numbers:hover {
    border-color: #C77A69;
    color: #C77A69;
    box-shadow: 0 6px 14px rgba(0,0,0,0.08);
    transform: translateY(-1px);
}

.bn-pagination .page-numbers.current {
    background: #C77A69;
    border-color: #C77A69;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(199,122,105,0.35);
}

.bn-pagination .page-numbers.dots {
    border-color: transparent;
    background: transparent;
    color: #94a3b8;
    min-width: 24px;
    height: auto;
    padding: 0 6px;
    box-shadow: none;
}

.bn-pagination .prev,
.bn-pagination .next {
    font-size: 16px;
}

@media (max-width: 767px) {
    .bn-pagination {
        gap: 6px;
        margin-top: 20px;
        padding-top: 12px;
    }

    .bn-pagination .page-numbers {
        min-width: 32px;
        height: 32px;
        padding: 0 8px;
        font-size: 13px;
    }
}

/* Card servizio */
.bn-service-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.bn-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.bn-service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.bn-service-card-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.bn-service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.bn-service-card:hover .bn-service-card-image img {
    transform: scale(1.05);
}

.bn-service-card-category {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    background: rgba(255,255,255,0.95);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bn-service-card-placeholder {
    background: linear-gradient(135deg, #e0e0e0 25%, #f5f5f5 50%, #e0e0e0 75%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.bn-service-card-placeholder svg {
    width: 48px;
    height: 48px;
}

.bn-service-card-content {
    padding: 16px;
}

.bn-service-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.bn-service-card-excerpt {
    font-size: 14px;
    color: #717171;
    line-height: 1.5;
    margin: 0 0 12px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bn-service-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bn-service-card-price {
    font-size: 16px;
    font-weight: 600;
    color: #222;
}

.bn-service-card-price-prefix {
    font-weight: 400;
    color: #717171;
}

.bn-service-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #222;
}

.bn-service-card-rating svg {
    width: 14px;
    height: 14px;
    fill: #FFB800;
}

/* ========================================
   CARD SERVIZIO - BEM NOTATION
   ======================================== */

.bn-service-card__link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.bn-service-card__image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.bn-service-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.4s;
}

/* Classi per orientamento immagine basate sulle proporzioni */
/* Immagine molto verticale (portrait alto) - mostra la parte superiore-centrale */
.bn-service-card__img.bn-img-portrait-tall {
    object-position: center 20%;
}

/* Immagine leggermente verticale - centra leggermente più in alto */
.bn-service-card__img.bn-img-portrait {
    object-position: center 35%;
}

/* Immagine landscape normale - centro standard */
.bn-service-card__img.bn-img-landscape {
    object-position: center center;
}

/* Immagine molto panoramica - centro standard */
.bn-service-card__img.bn-img-landscape-wide {
    object-position: center center;
}

.bn-service-card:hover .bn-service-card__img {
    transform: scale(1.05);
}

.bn-service-card__img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0e0e0 25%, #f5f5f5 50%, #e0e0e0 75%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bn-service-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    background: rgba(255,255,255,0.95);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bn-service-card__content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bn-service-card__duration {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #717171;
}

.bn-service-card__duration svg {
    flex-shrink: 0;
}

.bn-service-card__title {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin: 0;
    line-height: 1.3;
}

.bn-service-card__category {
    font-size: 12px;
    color: #717171;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bn-service-card__excerpt {
    font-size: 14px;
    color: #717171;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bn-service-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.bn-service-card__tag {
    display: inline-block;
    padding: 4px 10px;
    background: #f5f5f5;
    border-radius: 12px;
    font-size: 11px;
    color: #666;
    transition: background 0.2s;
}

.bn-service-card__tag:hover {
    background: #eee;
}

.bn-service-card__tag--more {
    background: #e8e8e8;
    color: #555;
    font-weight: 500;
}

.bn-service-card__rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #222;
}

.bn-service-card__rating svg {
    width: 14px;
    height: 14px;
    fill: #FFB800;
}

.bn-service-card__rating .bn-rating-value {
    font-weight: 600;
}

.bn-service-card__rating .bn-rating-count {
    color: #717171;
    font-size: 12px;
}

.bn-service-card__footer {
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
}

.bn-service-card__price {
    font-size: 16px;
    font-weight: 600;
    color: #222;
}

.bn-service-card__price .bn-price-from {
    font-weight: 400;
    color: #717171;
    font-size: 13px;
    margin-right: 4px;
}

.bn-service-card__price .bn-price-value {
    color: #222;
}

.bn-service-card__price .bn-price-suffix {
    font-weight: 400;
    color: #717171;
    font-size: 13px;
    margin-left: 2px;
}

.bn-service-card__price .bn-price-free {
    color: #10b981;
    font-weight: 600;
}

.bn-service-card__affiliate {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: #f9f9f9;
    border-top: 1px solid #f0f0f0;
    font-size: 13px;
    color: #555;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.bn-service-card__affiliate:hover {
    background: #f0f0f0;
    color: #222;
}

.bn-service-card__affiliate svg {
    flex-shrink: 0;
    color: #888;
}

/* Loading e no results */
.bn-grid-loading {
    text-align: center;
    padding: 60px 20px;
    color: #717171;
}

.bn-grid-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f0f0f0;
    border-top-color: #222;
    border-radius: 50%;
    animation: bnSpinner 0.8s linear infinite;
    margin: 0 auto 16px;
}

@keyframes bnSpinner {
    to { transform: rotate(360deg); }
}

.bn-grid-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #717171;
}

.bn-grid-no-results svg {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.bn-grid-no-results p {
    margin: 0;
    font-size: 16px;
}

/* Placeholder editor */
.bn-grid-placeholder {
    background: #f5f5f5;
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 60px 20px;
    text-align: center;
    color: #666;
}

/* Responsive */
@media (max-width: 1024px) {
    .bn-services-grid.columns-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .bn-services-grid.columns-3,
    .bn-services-grid.columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bn-grid-filters {
        flex-direction: column;
    }
    
    .bn-grid-filters select,
    .bn-grid-filters input[type="text"] {
        width: 100%;
    }
    
    .bn-filter-search-wrapper {
        width: 100%;
    }
}

@media (max-width: 575px) {
    .bn-services-grid.columns-2,
    .bn-services-grid.columns-3,
    .bn-services-grid.columns-4 {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   SERVICES CAROUSEL WIDGET
   ======================================== */

.bn-services-carousel {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    position: relative;
}

/* Header */
.bn-carousel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 16px;
}

.bn-carousel-title {
    font-size: 24px;
    font-weight: 600;
    color: #222;
    margin: 0;
}

.bn-carousel-filter {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bn-carousel-filter label {
    font-size: 14px;
    color: #717171;
}

.bn-carousel-filter select {
    padding: 10px 14px;
    font-size: 14px;
    border: 1px solid #DDDDDD;
    border-radius: 8px;
    background: #fff;
    color: #222;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s;
}

.bn-carousel-filter select:focus {
    border-color: #222;
}

/* Container */
.bn-carousel-container {
    position: relative;
    overflow: hidden;
}

/* Track */
.bn-carousel-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 0;
}

.bn-carousel-track::-webkit-scrollbar {
    display: none;
}

/* Slide */
.bn-carousel-slide {
    flex-shrink: 0;
    scroll-snap-align: start;
}

.bn-carousel-track.items-1 .bn-carousel-slide { width: 100%; }
.bn-carousel-track.items-2 .bn-carousel-slide { width: calc(50% - 10px); }
.bn-carousel-track.items-3 .bn-carousel-slide { width: calc(33.333% - 13.333px); }
.bn-carousel-track.items-4 .bn-carousel-slide { width: calc(25% - 15px); }
.bn-carousel-track.items-5 .bn-carousel-slide { width: calc(20% - 16px); }
.bn-carousel-track.items-6 .bn-carousel-slide { width: calc(16.666% - 16.667px); }

/* Card (usa lo stesso stile della griglia) */
.bn-carousel-slide .bn-service-card {
    height: 100%;
}

/* Navigazione */
.bn-carousel-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bn-carousel-nav-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #DDDDDD;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.bn-carousel-nav-btn:hover:not(:disabled) {
    border-color: #222;
    background: #222;
    color: #fff;
}

.bn-carousel-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.bn-carousel-nav-btn svg {
    width: 20px;
    height: 20px;
}

/* Dots */
.bn-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.bn-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #DDDDDD;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s;
}

.bn-carousel-dot:hover {
    background: #999;
}

.bn-carousel-dot.active {
    background: #222;
    width: 24px;
    border-radius: 4px;
}

/* Loading */
.bn-carousel-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #717171;
}

/* Placeholder editor */
.bn-carousel-placeholder {
    background: #f5f5f5;
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 60px 20px;
    text-align: center;
    color: #666;
}

/* Responsive */
@media (max-width: 1024px) {
    .bn-carousel-track.items-5 .bn-carousel-slide,
    .bn-carousel-track.items-6 .bn-carousel-slide {
        width: calc(25% - 15px);
    }
}

@media (max-width: 767px) {
    .bn-carousel-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .bn-carousel-filter {
        width: 100%;
    }
    
    .bn-carousel-filter select {
        flex: 1;
    }
    
    .bn-carousel-track.items-3 .bn-carousel-slide,
    .bn-carousel-track.items-4 .bn-carousel-slide,
    .bn-carousel-track.items-5 .bn-carousel-slide,
    .bn-carousel-track.items-6 .bn-carousel-slide {
        width: calc(50% - 10px);
    }
    
    .bn-carousel-nav-btn {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 575px) {
    .bn-carousel-track.items-2 .bn-carousel-slide,
    .bn-carousel-track.items-3 .bn-carousel-slide,
    .bn-carousel-track.items-4 .bn-carousel-slide,
    .bn-carousel-track.items-5 .bn-carousel-slide,
    .bn-carousel-track.items-6 .bn-carousel-slide {
        width: 85%;
    }
}

/* ========================================
   PARTNER CAROUSEL WIDGET
   ======================================== */

.bn-partner-carousel-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.bn-partner-carousel__header {
    margin-bottom: 24px;
}

.bn-partner-carousel__title {
    font-size: 28px;
    font-weight: 600;
    color: #222;
    margin: 0 0 8px 0;
}

.bn-partner-carousel__subtitle {
    font-size: 16px;
    font-weight: 400;
    color: #717171;
    margin: 0;
}

.bn-partner-carousel {
    display: flex;
    align-items: stretch;
    gap: 30px;
}

/* Card Partner */
.bn-partner-carousel__card {
    width: 350px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
}

.bn-partner-carousel__photo {
    height: 280px;
    overflow: hidden;
}

.bn-partner-carousel__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bn-partner-carousel__bio-wrapper {
    flex: 1;
    padding: 20px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bn-partner-carousel__bio {
    font-size: 14px;
    line-height: 1.6;
    color: #484848;
    margin: 0;
}

.bn-partner-carousel__link-wrapper {
    padding: 0 16px 16px;
}

.bn-partner-carousel__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: #E00B41;
    color: #fff;
    text-decoration: none;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    text-transform: capitalize;
}

.bn-partner-carousel__link:hover {
    background: #c00a39;
    transform: translateY(-2px);
    color: #fff;
}

/* Carosello Esperienze */
.bn-partner-carousel__experiences {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.bn-partner-carousel__nav {
    position: absolute;
    top: 10px;
    right: 0;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.bn-partner-carousel__nav-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #DDDDDD;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: #222;
    padding: 0;
}

.bn-partner-carousel__nav-btn:hover:not(:disabled) {
    border-color: #222;
    background: #222;
    color: #fff;
}

.bn-partner-carousel__nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.bn-partner-carousel__nav-btn svg {
    width: 18px;
    height: 18px;
    stroke: #222222;
}

.bn-partner-carousel__nav-btn:hover:not(:disabled) svg {
    stroke: #ffffff;
}

/* Track */
.bn-partner-carousel__track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 0;
    margin-top: 50px;
}

.bn-partner-carousel__track::-webkit-scrollbar {
    display: none;
}

/* Slide */
.bn-partner-carousel__slide {
    flex-shrink: 0;
    scroll-snap-align: start;
}

.bn-partner-carousel__track.items-1 .bn-partner-carousel__slide { width: 100%; }
.bn-partner-carousel__track.items-2 .bn-partner-carousel__slide { width: calc(50% - 8px); }
.bn-partner-carousel__track.items-3 .bn-partner-carousel__slide { width: calc(33.333% - 10.666px); }
.bn-partner-carousel__track.items-4 .bn-partner-carousel__slide { width: calc(25% - 12px); }

/* Experience Card */
.bn-partner-carousel__experience {
    display: block;
    position: relative;
    height: 350px;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
}

.bn-partner-carousel__experience img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.bn-partner-carousel__experience:hover img {
    transform: scale(1.05);
}

.bn-partner-carousel__experience-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0e0e0 25%, #f5f5f5 50%, #e0e0e0 75%);
}

.bn-partner-carousel__experience-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
}

.bn-partner-carousel__experience-title {
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}

.bn-partner-carousel__experience-price {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    margin-top: 8px;
}

/* Categoria badge */
.bn-partner-carousel__experience-category {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: #222;
    backdrop-filter: blur(4px);
}

/* Rating */
.bn-partner-carousel__experience-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    margin-top: 6px;
}

.bn-partner-carousel__experience-rating svg {
    color: #FFB800;
}

.bn-partner-carousel__experience-reviews {
    font-weight: 400;
    opacity: 0.8;
}

/* Tags */
.bn-partner-carousel__experience-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.bn-partner-carousel__experience-tag {
    padding: 4px 10px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    color: #fff;
    backdrop-filter: blur(4px);
}

.bn-partner-carousel__no-experiences {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: #717171;
    width: 100%;
}

/* Placeholder editor */
.bn-partner-carousel-placeholder {
    background: #f5f5f5;
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 60px 20px;
    text-align: center;
    color: #666;
}

/* Responsive */
@media (max-width: 1024px) {
    .bn-partner-carousel__track.items-4 .bn-partner-carousel__slide {
        width: calc(33.333% - 10.666px);
    }
}

@media (max-width: 767px) {
    .bn-partner-carousel {
        flex-direction: column;
    }
    
    .bn-partner-carousel__card {
        width: 100%;
        flex-direction: row;
        max-height: 200px;
    }
    
    .bn-partner-carousel__photo {
        width: 40%;
        height: auto;
    }
    
    .bn-partner-carousel__photo img {
        border-radius: 16px 0 0 16px;
    }
    
    .bn-partner-carousel__bio-wrapper {
        margin: 12px;
    }
    
    .bn-partner-carousel__bio {
        font-size: 13px;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .bn-partner-carousel__link-wrapper {
        display: none;
    }
    
    .bn-partner-carousel__track {
        margin-top: 0;
    }
    
    .bn-partner-carousel__nav {
        top: -40px;
    }
    
    .bn-partner-carousel__track.items-3 .bn-partner-carousel__slide,
    .bn-partner-carousel__track.items-4 .bn-partner-carousel__slide {
        width: calc(50% - 8px);
    }
}

@media (max-width: 575px) {
    .bn-partner-carousel__card {
        flex-direction: column;
        max-height: none;
    }
    
    .bn-partner-carousel__photo {
        width: 100%;
        height: 200px;
    }
    
    .bn-partner-carousel__photo img {
        border-radius: 16px 16px 0 0;
    }
    
    .bn-partner-carousel__link-wrapper {
        display: block;
    }
    
    .bn-partner-carousel__track.items-2 .bn-partner-carousel__slide,
    .bn-partner-carousel__track.items-3 .bn-partner-carousel__slide,
    .bn-partner-carousel__track.items-4 .bn-partner-carousel__slide {
        width: 80%;
    }
}

/* ========================================
   HERO CAROUSEL WIDGET
   ======================================== */

.bn-hero-carousel-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.bn-hero-carousel {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

/* Blocco Testo */
.bn-hero-carousel__text {
    width: 300px;
    flex-shrink: 0;
}

.bn-hero-carousel__title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.1;
    color: #1a2b4a;
    margin: 0 0 16px 0;
}

.bn-hero-carousel__subtitle {
    font-size: 16px;
    line-height: 1.5;
    color: #717171;
    margin: 0 0 24px 0;
}

.bn-hero-carousel__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: #E00B41;
    color: #fff;
    text-decoration: none;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}

.bn-hero-carousel__button:hover {
    background: #c00a39;
    transform: translateY(-2px);
    color: #fff;
}

/* Carosello */
.bn-hero-carousel__carousel {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.bn-hero-carousel__nav {
    position: absolute;
    top: 10px;
    right: 0;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.bn-hero-carousel__nav-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #DDDDDD;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.bn-hero-carousel__nav-btn:hover:not(:disabled) {
    border-color: #222;
    background: #222;
    color: #fff;
}

.bn-hero-carousel__nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.bn-hero-carousel__nav-btn svg {
    width: 18px;
    height: 18px;
}

/* Track */
.bn-hero-carousel__track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 0;
}

.bn-hero-carousel__track::-webkit-scrollbar {
    display: none;
}

/* Slide */
.bn-hero-carousel__slide {
    flex-shrink: 0;
    scroll-snap-align: start;
}

.bn-hero-carousel__track.items-1 .bn-hero-carousel__slide { width: 100%; }
.bn-hero-carousel__track.items-2 .bn-hero-carousel__slide { width: calc(50% - 10px); }
.bn-hero-carousel__track.items-3 .bn-hero-carousel__slide { width: calc(33.333% - 13.333px); }
.bn-hero-carousel__track.items-4 .bn-hero-carousel__slide { width: calc(25% - 15px); }

/* Card */
.bn-hero-carousel__card {
    display: block;
}

.bn-hero-carousel__card-image {
    display: block;
    position: relative;
    height: 280px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 12px;
}

.bn-hero-carousel__card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.bn-hero-carousel__card:hover .bn-hero-carousel__card-image img {
    transform: scale(1.05);
}

.bn-hero-carousel__card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0e0e0 25%, #f5f5f5 50%, #e0e0e0 75%);
}

/* Icona + */
.bn-hero-carousel__add-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: rgba(0,0,0,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.2s;
}

.bn-hero-carousel__add-icon svg {
    width: 18px;
    height: 18px;
}

.bn-hero-carousel__card:hover .bn-hero-carousel__add-icon {
    background: rgba(0,0,0,0.6);
    transform: scale(1.1);
}

/* Content */
.bn-hero-carousel__card-content {
    padding: 0 4px;
}

.bn-hero-carousel__card-title {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0 0 4px 0;
}

.bn-hero-carousel__card-title a {
    color: #222;
    text-decoration: none;
}

.bn-hero-carousel__card-title a:hover {
    color: #E00B41;
}

.bn-hero-carousel__card-price {
    font-size: 14px;
    color: #222;
    margin-bottom: 4px;
}

.bn-hero-carousel__card-affiliate {
    font-size: 13px;
    color: #717171;
}

.bn-hero-carousel__card-affiliate a {
    color: #E00B41;
    text-decoration: none;
    font-weight: 500;
}

.bn-hero-carousel__card-affiliate a:hover {
    text-decoration: underline;
}

/* No results */
.bn-hero-carousel__no-results {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: #717171;
    width: 100%;
}

/* Responsive */
@media (max-width: 1024px) {
    .bn-hero-carousel__track.items-4 .bn-hero-carousel__slide {
        width: calc(33.333% - 13.333px);
    }
}

@media (max-width: 767px) {
    .bn-hero-carousel {
        flex-direction: column;
    }
    
    .bn-hero-carousel__text {
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .bn-hero-carousel__title {
        font-size: 32px;
    }
    
    .bn-hero-carousel__carousel {
        width: 100%;
    }
    
    .bn-hero-carousel__track.items-3 .bn-hero-carousel__slide,
    .bn-hero-carousel__track.items-4 .bn-hero-carousel__slide {
        width: calc(50% - 10px);
    }
    
    .bn-hero-carousel__nav {
        position: static;
        justify-content: center;
        margin-bottom: 16px;
    }
}

@media (max-width: 575px) {
    .bn-hero-carousel__title {
        font-size: 28px;
    }
    
    .bn-hero-carousel__track.items-2 .bn-hero-carousel__slide,
    .bn-hero-carousel__track.items-3 .bn-hero-carousel__slide,
    .bn-hero-carousel__track.items-4 .bn-hero-carousel__slide {
        width: 85%;
    }
    
    .bn-hero-carousel__card-image {
        height: 220px;
    }
}

/* ========================================
   AFFILIATE REGISTER FORM WIDGET
   ======================================== */

.bn-affiliate-register-widget {
    width: 100%;
}

.bn-affiliate-form {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.bn-affiliate-form__header {
    text-align: center;
    margin-bottom: 32px;
}

.bn-affiliate-form__title {
    font-size: 28px;
    font-weight: 600;
    color: #222;
    margin: 0 0 12px 0;
}

.bn-affiliate-form__subtitle {
    font-size: 16px;
    color: #717171;
    margin: 0;
    line-height: 1.5;
}

/* Form Sections */
.bn-form-section {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eee;
}

.bn-form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.bn-form-section--consent {
    border-bottom: none;
}

.bn-form-section--submit {
    padding-top: 16px;
}

.bn-form-section__title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Form Fields */
.bn-form-field {
    margin-bottom: 16px;
}

.bn-form-field:last-child {
    margin-bottom: 0;
}

.bn-form-field label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
}

.bn-form-field input[type="text"],
.bn-form-field input[type="email"],
.bn-form-field input[type="password"],
.bn-form-field input[type="tel"],
.bn-form-field textarea,
.bn-form-field select {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    color: #222;
    background-color: #f7f7f7;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: border-color 0.2s, background-color 0.2s;
    box-sizing: border-box;
}

.bn-form-field input:focus,
.bn-form-field textarea:focus,
.bn-form-field select:focus {
    outline: none;
    border-color: #222;
    background-color: #fff;
}

.bn-form-field input::placeholder,
.bn-form-field textarea::placeholder {
    color: #999;
}

.bn-form-field textarea {
    resize: vertical;
    min-height: 100px;
}

/* Form Rows */
.bn-form-row {
    display: flex;
    gap: 16px;
}

.bn-form-row--half .bn-form-field {
    flex: 1;
}

/* Checkbox Group */
.bn-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.bn-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.bn-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #222;
}

.bn-checkbox span {
    user-select: none;
}

.bn-checkbox span a {
    color: #222;
    text-decoration: underline;
}

.bn-checkbox span a:hover {
    color: #000;
}

/* Character Counter */
.bn-char-count {
    display: block;
    text-align: right;
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

/* Submit Button */
.bn-affiliate-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background-color: #222;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

.bn-affiliate-form__submit:hover {
    background-color: #444;
}

.bn-affiliate-form__submit:active {
    transform: scale(0.98);
}

.bn-affiliate-form__submit:disabled {
    background-color: #999;
    cursor: not-allowed;
}

.bn-affiliate-form__submit.loading {
    pointer-events: none;
    opacity: 0.7;
}

.bn-affiliate-form__submit.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top-color: #fff;
    border-radius: 50%;
    margin-left: 8px;
    animation: bnSpinnerButton 0.6s linear infinite;
}

@keyframes bnSpinnerButton {
    to { transform: rotate(360deg); }
}

/* Form Messages */
.bn-form-message {
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.5;
}

.bn-form-message--success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.bn-form-message--error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.bn-form-message--info {
    background-color: #e7f3ff;
    color: #0c5460;
    border: 1px solid #b8daff;
}

.bn-form-message h3 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
}

.bn-form-message p {
    margin: 0 0 8px 0;
}

.bn-form-message p:last-child {
    margin-bottom: 0;
}

.bn-form-message .bn-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 20px;
    background: #222;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background 0.2s;
}

.bn-form-message .bn-btn:hover {
    background: #444;
}

/* Field Validation */
.bn-form-field.has-error input,
.bn-form-field.has-error textarea,
.bn-form-field.has-error select {
    border-color: #dc3545;
    background-color: #fff8f8;
}

.bn-form-field .bn-field-error {
    display: block;
    color: #dc3545;
    font-size: 12px;
    margin-top: 4px;
}

/* Logged In State */
.bn-affiliate-form--logged-in {
    text-align: center;
}

.bn-affiliate-form--logged-in .bn-form-message--info {
    display: block !important;
}

/* Responsive */
@media (max-width: 767px) {
    .bn-affiliate-form {
        padding: 24px !important;
    }
    
    .bn-form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .bn-form-row--half .bn-form-field {
        flex: none;
    }
    
    .bn-affiliate-form__title {
        font-size: 24px;
    }
    
    .bn-checkbox-group {
        flex-direction: column;
    }
}

/* Avatar Upload */
.bn-avatar-upload {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bn-avatar-preview {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px dashed #ddd;
}

.bn-avatar-preview svg {
    width: 40px;
    height: 40px;
    color: #ccc;
}

.bn-avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bn-avatar-preview.has-image {
    border-style: solid;
    border-color: #222;
}

.bn-avatar-remove {
    display: none;
    position: absolute;
    top: -6px;
    right: -6px;
    width: 26px;
    height: 26px;
    background: #ef4444;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 0;
    transition: background 0.2s;
    z-index: 5;
}

.bn-avatar-remove:hover {
    background: #dc2626;
}

.bn-avatar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bn-avatar-upload-btn {
    cursor: pointer;
}

.bn-btn--secondary {
    display: inline-block;
    padding: 8px 16px;
    background: #f5f5f5;
    color: #222;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.bn-btn--secondary:hover {
    background: #eee;
    border-color: #ccc;
}

.bn-btn--link {
    background: none;
    border: none;
    color: #dc3545;
    font-size: 14px;
    cursor: pointer;
    padding: 0;
}

.bn-btn--link:hover {
    text-decoration: underline;
}

.bn-form-hint {
    font-size: 12px;
    color: #999;
    margin: 0;
}

/* ========================================
   RELATED SERVICES WIDGET
   ======================================== */

.bn-related-services {
    width: 100%;
}

/* Header */
.bn-related-header {
    margin-bottom: 24px;
    text-align: left;
}

.bn-related-header.text-center {
    text-align: center;
}

.bn-related-header.text-right {
    text-align: right;
}

.bn-related-title {
    font-size: 24px;
    font-weight: 600;
    color: #222;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.bn-related-subtitle {
    font-size: 14px;
    color: #717171;
    margin: 0;
    line-height: 1.5;
}

/* Grid */
.bn-related-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, 1fr);
}

.bn-related-grid.columns-1 {
    grid-template-columns: 1fr;
}

.bn-related-grid.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.bn-related-grid.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.bn-related-grid.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Card */
.bn-related-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.bn-related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.bn-related-card__link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Card Image */
.bn-related-card__image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.bn-related-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.bn-related-card:hover .bn-related-card__img {
    transform: scale(1.05);
}

.bn-related-card__img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0e0e0 25%, #f5f5f5 50%, #e0e0e0 75%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.bn-related-card__img-placeholder svg {
    width: 48px;
    height: 48px;
    opacity: 0.5;
}

/* Badge categoria */
.bn-related-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    background: rgba(255,255,255,0.95);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Card Content */
.bn-related-card__content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Duration */
.bn-related-card__duration {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #717171;
}

.bn-related-card__duration svg {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

/* Title */
.bn-related-card__title {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin: 0;
    line-height: 1.3;
}

/* Category */
.bn-related-card__category {
    font-size: 12px;
    color: #717171;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Excerpt */
.bn-related-card__excerpt {
    font-size: 14px;
    color: #717171;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Tags */
.bn-related-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.bn-related-card__tag {
    display: inline-block;
    padding: 4px 10px;
    background: #f5f5f5;
    border-radius: 12px;
    font-size: 11px;
    color: #666;
    transition: background 0.2s;
}

.bn-related-card__tag:hover {
    background: #eee;
}

.bn-related-card__tag--more {
    background: #e8e8e8;
    color: #555;
    font-weight: 500;
}

/* Footer */
.bn-related-card__footer {
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
}

/* Price */
.bn-related-card__price {
    font-size: 16px;
    font-weight: 600;
    color: #222;
}

.bn-related-card__price .bn-price-from {
    font-weight: 400;
    color: #717171;
    font-size: 13px;
    margin-right: 4px;
}

.bn-related-card__price .bn-price-value {
    color: #222;
}

.bn-related-card__price .bn-price-suffix {
    font-weight: 400;
    color: #717171;
    font-size: 13px;
    margin-left: 2px;
}

.bn-related-card__price .bn-price-free {
    color: #10b981;
    font-weight: 600;
}

/* Affiliate link */
.bn-related-card__affiliate {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: #f9f9f9;
    border-top: 1px solid #f0f0f0;
    font-size: 13px;
    color: #555;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.bn-related-card__affiliate:hover {
    background: #f0f0f0;
    color: #222;
}

.bn-related-card__affiliate svg {
    flex-shrink: 0;
    color: #888;
}

/* No Results / Empty State */
.bn-related-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #717171;
}

.bn-related-no-results svg {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.bn-related-no-results p {
    margin: 0;
    font-size: 16px;
}

/* Editor Placeholder */
.bn-related-placeholder {
    background: #f5f5f5;
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 60px 20px;
    text-align: center;
    color: #666;
}

.bn-related-placeholder svg {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.bn-related-placeholder p {
    margin: 0;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .bn-related-grid.columns-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .bn-related-grid.columns-3,
    .bn-related-grid.columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bn-related-header {
        text-align: center !important;
    }
}

@media (max-width: 575px) {
    .bn-related-grid.columns-2,
    .bn-related-grid.columns-3,
    .bn-related-grid.columns-4 {
        grid-template-columns: 1fr;
    }
    
    .bn-related-card__title {
        font-size: 16px;
    }
}

/* ========================================
   CUSTOMER DASHBOARD WIDGET
   ======================================== */

.bn-cust-dash {
    display: flex;
    min-height: 600px;
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Login State */
.bn-cust-dash--login {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.bn-cust-dash__login-box {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    max-width: 400px;
    width: 100%;
}

.bn-cust-dash__login-box h2 {
    margin: 0 0 24px 0;
    text-align: center;
    font-size: 24px;
    color: #1f2937;
}

.bn-cust-dash__login-box input[type="text"],
.bn-cust-dash__login-box input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 16px;
}

.bn-cust-dash__login-box input[type="submit"] {
    width: 100%;
    padding: 12px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.bn-cust-dash__login-box input[type="submit"]:hover {
    background: #1d4ed8;
}

.bn-cust-dash__login-links {
    margin-top: 16px;
    text-align: center;
}

.bn-cust-dash__login-links a {
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
}

.bn-cust-dash__login-links a:hover {
    color: #2563eb;
}

/* Sidebar */
.bn-cust-dash__sidebar {
    width: 280px;
    background: #fff;
    border-right: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.bn-cust-dash__user-info {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.bn-cust-dash__user-info img {
    border-radius: 50%;
}

.bn-cust-dash__user-details {
    display: flex;
    flex-direction: column;
}

.bn-cust-dash__user-details strong {
    font-size: 14px;
    color: #1f2937;
}

.bn-cust-dash__user-details span {
    font-size: 12px;
    color: #6b7280;
}

/* Navigation */
.bn-cust-dash__nav {
    padding: 16px 0;
    flex: 1;
}

.bn-cust-dash__nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: #4b5563;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.bn-cust-dash__nav-item:hover {
    background: #f3f4f6;
    color: #1f2937;
}

.bn-cust-dash__nav-item.is-active {
    background: #2563eb;
    color: #fff;
}

.bn-cust-dash__nav-item svg {
    flex-shrink: 0;
}

/* Logout */
.bn-cust-dash__logout {
    padding: 16px 24px;
    border-top: 1px solid #e5e7eb;
}

.bn-cust-dash__logout a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
}

.bn-cust-dash__logout a:hover {
    color: #ef4444;
}

/* Main Content */
.bn-cust-dash__main {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
}

.bn-cust-dash__header {
    margin-bottom: 24px;
}

.bn-cust-dash__header h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
}

/* Stats Cards */
.bn-cust-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.bn-cust-stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.bn-cust-stat-card--highlight {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
}

.bn-cust-stat-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bn-cust-stat-card__icon--total { background: #dbeafe; color: #2563eb; }
.bn-cust-stat-card__icon--upcoming { background: #fef3c7; color: #d97706; }
.bn-cust-stat-card__icon--completed { background: #d1fae5; color: #059669; }
.bn-cust-stat-card__icon--spent { background: rgba(255,255,255,0.2); color: #fff; }

.bn-cust-stat-card__content {
    display: flex;
    flex-direction: column;
}

.bn-cust-stat-card__value {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.bn-cust-stat-card__label {
    font-size: 13px;
    color: #6b7280;
    margin-top: 4px;
}

.bn-cust-stat-card--highlight .bn-cust-stat-card__label {
    color: rgba(255,255,255,0.8);
}

/* Cards */
.bn-cust-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    margin-bottom: 24px;
}

.bn-cust-card__header {
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bn-cust-card__header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.bn-cust-card__link {
    font-size: 13px;
    color: #2563eb;
    text-decoration: none;
}

.bn-cust-card__link:hover {
    text-decoration: underline;
}

.bn-cust-card__body {
    padding: 20px;
}

/* Filters */
.bn-cust-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.bn-cust-filter {
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    color: #4b5563;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s;
}

.bn-cust-filter:hover {
    background: #f3f4f6;
}

.bn-cust-filter.is-active {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

/* Bookings Grid */
.bn-cust-bookings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.bn-cust-bookings-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Booking Card */
.bn-cust-booking-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb;
    display: flex;
}

.bn-cust-booking-card__image {
    width: 120px;
    flex-shrink: 0;
}

.bn-cust-booking-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bn-cust-booking-card__content {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bn-cust-booking-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.bn-cust-booking-card__header h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
}

.bn-cust-booking-card__status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.bn-cust-booking-card__status--pending { background: #fef3c7; color: #92400e; }
.bn-cust-booking-card__status--confirmed { background: #dbeafe; color: #1e40af; }
.bn-cust-booking-card__status--completed { background: #d1fae5; color: #065f46; }
.bn-cust-booking-card__status--cancelled { background: #fee2e2; color: #991b1b; }
.bn-cust-booking-card__status--no_show { background: #f3f4f6; color: #4b5563; }

.bn-cust-booking-card__details {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.bn-cust-booking-card__detail {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6b7280;
}

.bn-cust-booking-card__detail svg {
    width: 14px;
    height: 14px;
}

.bn-cust-booking-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid #f3f4f6;
}

.bn-cust-booking-card__code small {
    color: #9ca3af;
    display: block;
    font-size: 11px;
}

.bn-cust-booking-card__code strong {
    font-size: 13px;
    color: #1f2937;
}

.bn-cust-booking-card__price {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.bn-cust-booking-card__actions {
    padding-top: 12px;
}

/* Empty State */
.bn-cust-empty {
    color: #9ca3af;
    text-align: center;
    padding: 24px;
}

.bn-cust-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #9ca3af;
}

.bn-cust-empty-state svg {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

/* Form */
.bn-cust-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bn-cust-form__row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.bn-cust-form__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bn-cust-form__field label {
    font-size: 13px;
    font-weight: 500;
    color: #374151;
}

.bn-cust-form__field input {
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.bn-cust-form__field input:focus,
.bn-cust-form__field select:focus {
    outline: none;
    border-color: #2563eb;
}

.bn-cust-form__field select {
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
}

.bn-cust-form__field .required {
    color: #dc2626;
}

.bn-cust-form__row--3 {
    grid-template-columns: 100px 1fr 80px;
}

.bn-cust-form__divider {
    margin: 24px 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.bn-cust-form__divider span {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bn-cust-form__radio-group {
    display: flex;
    gap: 24px;
}

.bn-cust-form__radio {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
}

.bn-cust-form__radio input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.bn-cust-form__conditional {
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.bn-cust-form__message {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    display: none;
}

.bn-cust-form__message--success {
    display: block;
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.bn-cust-form__message--error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.bn-cust-form__actions {
    padding-top: 8px;
}

/* Buttons */
.bn-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.bn-btn--primary {
    background: #2563eb;
    color: #fff;
}

.bn-btn--primary:hover {
    background: #1d4ed8;
}

.bn-btn--secondary {
    background: #f3f4f6;
    color: #374151;
}

.bn-btn--secondary:hover {
    background: #e5e7eb;
}

.bn-btn--outline {
    background: transparent;
    border: 1px solid #d1d5db;
    color: #374151;
}

.bn-btn--outline:hover {
    background: #f3f4f6;
}

.bn-btn--danger {
    color: #dc2626;
    border-color: #fecaca;
}

.bn-btn--danger:hover {
    background: #fef2f2;
}

/* Placeholder in Editor */
.bn-cust-dash-placeholder {
    background: #f8f9fa;
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 60px 20px;
    text-align: center;
}

.bn-cust-dash-placeholder__icon {
    color: #9ca3af;
    margin-bottom: 16px;
}

.bn-cust-dash-placeholder h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    color: #374151;
}

.bn-cust-dash-placeholder p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}

/* Responsive */
@media (max-width: 1024px) {
    .bn-cust-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .bn-cust-dash {
        flex-direction: column;
    }
    
    .bn-cust-dash__sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }
    
    .bn-cust-dash__nav {
        display: flex;
        overflow-x: auto;
        padding: 0 16px;
    }
    
    .bn-cust-dash__nav-item {
        padding: 12px 16px;
        white-space: nowrap;
    }
    
    .bn-cust-dash__logout {
        display: none;
    }
    
    .bn-cust-bookings-grid {
        grid-template-columns: 1fr;
    }
    
    .bn-cust-booking-card {
        flex-direction: column;
    }
    
    .bn-cust-booking-card__image {
        width: 100%;
        height: 150px;
    }
    
    .bn-cust-form__row {
        grid-template-columns: 1fr;
    }
    
    .bn-cust-form__row--3 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 575px) {
    .bn-cust-stats {
        grid-template-columns: 1fr;
    }
    
    .bn-cust-filters {
        flex-wrap: wrap;
    }
    
    .bn-cust-form__row--3 {
        grid-template-columns: 1fr;
    }
    
    .bn-cust-form__radio-group {
        flex-direction: column;
        gap: 12px;
    }
}


/* ========================================
   BOOKING CONFIRMATION WIDGET
   ======================================== */

.bn-confirm-widget {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Header Successo */
.bn-confirm-header {
    text-align: center;
    margin-bottom: 40px;
}

.bn-confirm-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    animation: bn-confirm-pop 0.5s ease-out;
}

.bn-confirm-icon svg {
    width: 40px;
    height: 40px;
    stroke: white;
}

@keyframes bn-confirm-pop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.bn-confirm-title {
    font-size: 28px;
    font-weight: 700;
    color: #22c55e;
    margin: 0 0 12px;
}

.bn-confirm-message {
    font-size: 16px;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* Card Riepilogo */
.bn-confirm-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    margin-bottom: 30px;
}

.bn-confirm-section {
    padding: 24px;
    border-bottom: 1px solid #e5e7eb;
}

.bn-confirm-section:last-child {
    border-bottom: none;
}

.bn-confirm-section-title {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 16px;
}

/* Codice Prenotazione */
.bn-confirm-code-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.bn-confirm-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.bn-confirm-code {
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    background: white;
    padding: 8px 16px;
    border-radius: 8px;
    border: 2px dashed #cbd5e1;
}

/* Esperienza */
.bn-confirm-exp-header {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.bn-confirm-exp-image {
    flex-shrink: 0;
    width: 100px;
    height: 75px;
    border-radius: 10px;
    overflow: hidden;
}

.bn-confirm-exp-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bn-confirm-exp-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bn-confirm-exp-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 4px;
}

.bn-confirm-exp-host {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.bn-confirm-exp-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bn-confirm-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #374151;
}

.bn-confirm-detail svg {
    flex-shrink: 0;
    color: #9ca3af;
}

/* Info Cliente */
.bn-confirm-customer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.bn-confirm-customer-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bn-confirm-value {
    font-size: 15px;
    color: #1e293b;
    font-weight: 500;
}

/* Pagamento */
.bn-confirm-price-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 15px;
    color: #64748b;
}

.bn-confirm-price-total {
    display: flex;
    justify-content: space-between;
    padding: 16px 0 0;
    margin-top: 8px;
    border-top: 2px solid #e5e7eb;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
}

.bn-confirm-payment-status {
    margin-top: 16px;
    text-align: center;
}

.bn-confirm-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
}

.bn-confirm-status.bn-status-paid {
    background: #dcfce7;
    color: #166534;
}

.bn-confirm-status.bn-status-pending {
    background: #fef3c7;
    color: #92400e;
}

/* Azioni */
.bn-confirm-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.bn-confirm-btn-primary,
.bn-confirm-btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.bn-confirm-btn-primary {
    background: #E00B41;
    color: white;
}

.bn-confirm-btn-primary:hover {
    background: #c00a39;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(224, 11, 65, 0.3);
}

.bn-confirm-btn-secondary {
    background: #f1f5f9;
    color: #475569;
}

.bn-confirm-btn-secondary:hover {
    background: #e2e8f0;
    color: #1e293b;
}

/* Info Aggiuntive */
.bn-confirm-info {
    text-align: center;
}

.bn-confirm-info p {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.bn-confirm-info svg {
    flex-shrink: 0;
    color: #9ca3af;
}

/* Errore */
.bn-confirm-error {
    text-align: center;
    padding: 60px 20px;
}

.bn-confirm-error-content {
    max-width: 400px;
    margin: 0 auto;
}

.bn-confirm-error-content svg {
    color: #ef4444;
    margin-bottom: 24px;
}

.bn-confirm-error-content h2 {
    font-size: 24px;
    color: #1e293b;
    margin: 0 0 12px;
}

.bn-confirm-error-content p {
    font-size: 16px;
    color: #64748b;
    margin: 0 0 24px;
}

/* Responsive */
@media (max-width: 575px) {
    .bn-confirm-widget {
        padding: 24px 16px;
    }
    
    .bn-confirm-icon {
        width: 64px;
        height: 64px;
    }
    
    .bn-confirm-icon svg {
        width: 32px;
        height: 32px;
    }
    
    .bn-confirm-title {
        font-size: 22px;
    }
    
    .bn-confirm-code-section {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .bn-confirm-exp-header {
        flex-direction: column;
    }
    
    .bn-confirm-exp-image {
        width: 100%;
        height: 150px;
    }
    
    .bn-confirm-customer-grid {
        grid-template-columns: 1fr;
    }
}


/* ========================================
   SERVICES MAP WIDGET
   ======================================== */

.bn-smap-widget {
    width: 100%;
}

/* Accordion */
.bn-smap-accordion {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
}

.bn-smap-accordion-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: #f8fafc;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
}

.bn-smap-accordion-icon {
    position: relative;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.bn-smap-accordion-icon::before,
.bn-smap-accordion-icon::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 2px;
    background: #64748b;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease;
}

.bn-smap-accordion-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.bn-smap-accordion.is-open .bn-smap-accordion-icon::after {
    opacity: 0;
}

.bn-smap-accordion-panel {
    display: none;
    padding: 16px;
}

.bn-smap-accordion.is-open .bn-smap-accordion-panel {
    display: block;
}

/* Filtri */
.bn-smap-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    padding: 4px;
}

.bn-smap-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #f1f5f9;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bn-smap-filter:hover {
    background: #e2e8f0;
}

.bn-smap-filter.active {
    background: #1e293b;
    color: #ffffff;
}

.bn-smap-filter-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.bn-smap-filter.active .bn-smap-filter-dot {
    box-shadow: 0 0 0 2px rgba(255,255,255,0.5);
}

.bn-smap-filter-count {
    font-size: 12px;
    opacity: 0.7;
    margin-left: 2px;
}

/* Container Mappa */
.bn-smap-container {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
}

/* Marker Custom */
.bn-smap-marker {
    width: 36px;
    height: 36px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0,0,0,0.25);
    transition: transform 0.2s ease;
}

.bn-smap-marker:hover {
    transform: rotate(-45deg) scale(1.15);
}

.bn-smap-marker svg {
    width: 18px;
    height: 18px;
    transform: rotate(45deg);
    color: white;
}

/* Popup */
.bn-smap-popup .mapboxgl-popup-content {
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.bn-smap-popup .mapboxgl-popup-close-button {
    font-size: 20px;
    color: #64748b;
    padding: 8px;
    right: 4px;
    top: 4px;
}

.bn-smap-popup .mapboxgl-popup-close-button:hover {
    background: rgba(0,0,0,0.05);
    border-radius: 50%;
}

.bn-smap-popup-content {
    font-family: inherit;
}

.bn-smap-popup-image {
    width: 100%;
    height: 120px;
    overflow: hidden;
}

.bn-smap-popup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bn-smap-popup-body {
    padding: 16px;
}

.bn-smap-popup-category {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.bn-smap-popup-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 10px;
    line-height: 1.3;
}

.bn-smap-popup-price {
    margin-bottom: 8px;
}

.bn-smap-popup-price-value {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
}

.bn-smap-popup-price-unit {
    font-size: 13px;
    color: #64748b;
}

.bn-smap-popup-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 12px;
}

.bn-smap-popup-date svg {
    flex-shrink: 0;
    color: #9ca3af;
}

.bn-smap-popup-btn {
    display: block;
    width: 100%;
    padding: 10px 16px;
    background: #E00B41;
    color: white;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.bn-smap-popup-btn:hover {
    opacity: 0.9;
    color: white;
    transform: translateY(-1px);
}

/* Error */
.bn-smap-error {
    padding: 40px;
    background: #fef3c7;
    border-radius: 12px;
    text-align: center;
}

.bn-smap-error p {
    color: #92400e;
    margin: 0;
}

/* Cluster */
.bn-smap-cluster {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1e293b;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(0,0,0,0.25);
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .bn-smap-filters {
        gap: 8px;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .bn-smap-filters::-webkit-scrollbar {
        display: none;
    }
    
    .bn-smap-filter {
        flex-shrink: 0;
        padding: 8px 14px;
        font-size: 13px;
    }
    
    .bn-smap-marker {
        width: 30px;
        height: 30px;
    }
    
    .bn-smap-marker svg {
        width: 14px;
        height: 14px;
    }
    
    .bn-smap-popup-image {
        height: 100px;
    }
    
    .bn-smap-popup-body {
        padding: 12px;
    }
    
    .bn-smap-popup-title {
        font-size: 14px;
    }
}

/* ==========================================================================
   LOGIN WIDGET
   ========================================================================== */

.bn-login-container {
    margin: 0 auto;
}

.bn-login-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px;
    text-align: center;
}

.bn-login-subtitle {
    color: #666;
    text-align: center;
    margin: 0 0 25px;
    font-size: 15px;
}

.bn-login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bn-login-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bn-login-field label {
    font-weight: 500;
    font-size: 14px;
    color: #333;
}

.bn-login-input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #e0e0e0;
    font-size: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bn-login-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.1);
}

.bn-login-password-wrap {
    position: relative;
}

.bn-login-password-wrap .bn-login-input {
    padding-right: 45px !important;
}

.bn-login-toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bn-login-toggle-password:hover {
    color: #333;
}

.bn-login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 14px;
}

.bn-login-remember {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.bn-login-remember input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
}

.bn-login-lost-password {
    color: #2271b1;
    text-decoration: none;
    font-size: 13px;
}

.bn-login-lost-password:hover {
    text-decoration: underline;
}

.bn-login-submit {
    width: 100%;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: 8px;
}

.bn-login-register {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.bn-login-register a {
    color: #2271b1;
    text-decoration: none;
}

.bn-login-register a:hover {
    text-decoration: underline;
}

.bn-login-error {
    background: #fef2f2;
    color: #dc2626;
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 14px;
    text-align: center;
}

/* Logged In State */
.bn-login-logged-in {
    text-align: center;
}

.bn-login-user-info {
    margin-bottom: 20px;
}

.bn-login-avatar {
    margin-bottom: 15px;
}

.bn-login-avatar img {
    border-radius: 50%;
    width: 64px;
    height: 64px;
}

.bn-login-welcome {
    font-size: 16px;
    color: #333;
    margin: 0;
}

.bn-login-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bn-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.bn-login-dashboard-btn {
    background: #2271b1;
    color: #fff;
}

.bn-login-dashboard-btn:hover {
    background: #135e96;
    color: #fff;
}

.bn-login-logout-btn {
    background: transparent;
    color: #666;
    border: 1px solid #ddd;
}

.bn-login-logout-btn:hover {
    background: #f5f5f5;
    color: #333;
}

/* ==========================================================================
   LOGIN BUTTON WIDGET
   ========================================================================== */

.bn-login-btn {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}

.bn-login-btn svg {
    flex-shrink: 0;
}

.bn-login-btn .bn-login-text {
    white-space: nowrap;
}

.bn-login-btn .bn-login-username {
    white-space: nowrap;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bn-login-btn .bn-login-separator {
    margin: 0 8px;
    opacity: 0.5;
}

.bn-login-btn .bn-login-avatar {
    display: inline-flex;
    flex-shrink: 0;
    overflow: hidden;
}

.bn-login-btn .bn-login-avatar img {
    display: block;
}

/* Hover effects */
.bn-login-btn:hover {
    opacity: 0.9;
}

/* Icon positions */
.bn-login-btn.icon-left svg {
    order: -1;
}

.bn-login-btn.icon-right svg {
    order: 1;
}

/* ========================================
   CUSTOMER REGISTER WIDGET
   ======================================== */

.bn-customer-register-container {
    max-width: 500px;
    margin: 0 auto;
}

.bn-customer-register-title {
    text-align: center;
    margin-bottom: 8px;
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
}

.bn-customer-register-subtitle {
    text-align: center;
    margin-bottom: 32px;
    color: #666;
    font-size: 15px;
}

.bn-customer-register-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bn-customer-register-row {
    display: flex;
    gap: 16px;
}

.bn-customer-register-row .bn-customer-register-field {
    flex: 1;
}

.bn-customer-register-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bn-customer-register-field label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.bn-customer-register-field label span.required {
    color: #e74c3c;
    margin-left: 2px;
}

.bn-customer-register-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.bn-customer-register-input-wrapper svg {
    position: absolute;
    left: 14px;
    width: 18px;
    height: 18px;
    color: #999;
    pointer-events: none;
}

.bn-customer-register-input-wrapper input {
    width: 100%;
    padding: 12px 14px 12px 44px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s ease;
    background: #fff;
}

.bn-customer-register-input-wrapper input:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.1);
}

.bn-customer-register-toggle-password {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bn-customer-register-toggle-password:hover {
    color: #666;
}

.bn-customer-register-toggle-password svg {
    position: static;
    width: 20px;
    height: 20px;
}

.bn-customer-register-terms {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.bn-customer-register-terms input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #2271b1;
    flex-shrink: 0;
}

.bn-customer-register-terms label {
    font-size: 14px;
    color: #666;
    cursor: pointer;
    line-height: 1.5;
}

.bn-customer-register-terms a {
    color: #2271b1;
    text-decoration: none;
}

.bn-customer-register-terms a:hover {
    text-decoration: underline;
}

.bn-customer-register-submit {
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: #2271b1;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
}

.bn-customer-register-submit:hover {
    background: #135e96;
    transform: translateY(-1px);
}

.bn-customer-register-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.bn-customer-register-error {
    padding: 12px 16px;
    background: #fef2f2;
    border: 1px solid #fee2e2;
    border-left: 4px solid #ef4444;
    border-radius: 6px;
    color: #991b1b;
    font-size: 14px;
    display: none;
}

.bn-customer-register-success {
    padding: 12px 16px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-left: 4px solid #22c55e;
    border-radius: 6px;
    color: #166534;
    font-size: 14px;
    display: none;
}

.bn-customer-register-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 14px;
}

.bn-customer-register-footer a {
    color: #2271b1;
    font-weight: 500;
    text-decoration: none;
}

.bn-customer-register-footer a:hover {
    text-decoration: underline;
}

/* Already registered state */
.bn-customer-register-logged-in {
    text-align: center;
    padding: 40px 20px;
}

.bn-customer-register-logged-in p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.bn-customer-register-logged-in a {
    display: inline-flex;
    padding: 12px 24px;
    background: #2271b1;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: background 0.2s ease;
}

.bn-customer-register-logged-in a:hover {
    background: #135e96;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
    .bn-customer-register-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .bn-customer-register-title {
        font-size: 24px;
    }
}

/* ========================================
   REGISTER CHOICE (SNODO) WIDGET
   ======================================== */

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

.bn-choice-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.bn-choice-subtitle {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
}

.bn-choice-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.bn-choice-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    transition: all 0.3s ease;
    cursor: default;
}

.bn-choice-card:hover {
    border-color: #2271b1;
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.bn-choice-card.customer:hover {
    border-color: #2271b1;
}

.bn-choice-card.affiliate:hover {
    border-color: #7c3aed;
}

.bn-choice-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    background: #f5f5f5;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.bn-choice-card.customer .bn-choice-icon {
    color: #2271b1;
}

.bn-choice-card.affiliate .bn-choice-icon {
    color: #7c3aed;
}

.bn-choice-card:hover .bn-choice-icon {
    transform: scale(1.1);
}

.bn-choice-card.customer:hover .bn-choice-icon {
    background: rgba(34, 113, 177, 0.1);
}

.bn-choice-card.affiliate:hover .bn-choice-icon {
    background: rgba(124, 58, 237, 0.1);
}

.bn-choice-icon svg {
    width: 40px;
    height: 40px;
}

.bn-choice-card-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.bn-choice-card-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.bn-choice-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s ease;
    width: 100%;
}

.bn-choice-card.customer .bn-choice-button {
    background: #2271b1;
    color: #fff;
}

.bn-choice-card.customer .bn-choice-button:hover {
    background: #135e96;
}

.bn-choice-card.affiliate .bn-choice-button {
    background: #7c3aed;
    color: #fff;
}

.bn-choice-card.affiliate .bn-choice-button:hover {
    background: #6d28d9;
}

.bn-choice-login {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

.bn-choice-login a {
    color: #2271b1;
    text-decoration: none;
    font-size: 15px;
}

.bn-choice-login a:hover {
    text-decoration: underline;
}

/* Already logged in state */
.bn-choice-logged-in .bn-choice-message {
    text-align: center;
    padding: 48px 24px;
}

.bn-choice-logged-in .bn-choice-message p {
    font-size: 18px;
    color: #666;
    margin-bottom: 24px;
}

.bn-choice-logged-in .bn-choice-button {
    display: inline-flex;
    width: auto;
    background: #2271b1;
    color: #fff;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .bn-choice-cards {
        grid-template-columns: 1fr;
    }
    
    .bn-choice-title {
        font-size: 26px;
    }
    
    .bn-choice-card {
        padding: 24px 20px;
    }
}

/* ========================================
   AFFILIATE FEATURED GALLERY
   ======================================== */

.bn-aff-featured-gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bn-aff-featured-gallery__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bn-aff-featured-gallery__title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
}

.bn-aff-featured-gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.bn-aff-featured-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.bn-aff-featured-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    border-color: #2563eb;
}

.bn-aff-featured-card__thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #f8fafc;
    overflow: hidden;
}

.bn-aff-featured-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bn-aff-featured-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #94a3b8;
    font-size: 13px;
    padding: 16px;
    text-align: center;
}

.bn-aff-featured-card__body {
    padding: 14px 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bn-aff-featured-card__title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.bn-aff-featured-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bn-aff-featured-card__badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: #e0f2fe;
    color: #075985;
    font-size: 13px;
    font-weight: 600;
}

.bn-aff-featured-card__badge--muted {
    background: #f1f5f9;
    color: #475569;
}

.bn-widget-placeholder {
    padding: 16px;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    color: #475569;
    text-align: center;
    font-size: 14px;
}

@media (max-width: 767px) {
    .bn-aff-featured-gallery__title {
        font-size: 20px;
    }
    .bn-aff-featured-gallery__grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   AFFILIATES GRID WIDGET
   ======================================== */

.bn-affiliates-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.bn-affiliates-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, 1fr);
}

.bn-affiliates-grid.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.bn-affiliates-grid.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.bn-affiliates-grid.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Card affiliato */
.bn-affiliate-card {
    background: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.bn-affiliate-card:hover {
    transform: scale(1.03);
    box-shadow: none;
}

.bn-affiliate-card__link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 24px;
    position: relative;
}

.bn-affiliate-card__avatar-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 234px !important;
    height: 234px !important;
    margin: 0 auto 28px;
    overflow: visible;
}

.bn-affiliate-card__avatar {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border: none;
    clip-path: circle(50%);
}

.bn-affiliate-card__badge {
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    background: #C77A69;
    color: #ffffff;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(199,122,105,0.3);
    z-index: 1;
}

.bn-affiliate-card__badge svg {
    flex-shrink: 0;
}

.bn-affiliate-card__content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.bn-affiliate-card__name {
    font-size: 18px;
    font-weight: 700;
    color: #222222;
    margin: 0;
    line-height: 1.3;
}

.bn-affiliate-card__secondary {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

.bn-affiliate-card__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f1f5f9;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    margin: 4px auto;
}

.bn-affiliate-card__count svg {
    flex-shrink: 0;
    color: #94a3b8;
}

.bn-affiliate-card__bio {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 8px 0 0;
    text-align: center;
}

.bn-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
}

.bn-no-results p {
    font-size: 16px;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .bn-affiliates-grid.columns-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .bn-affiliates-grid.columns-3,
    .bn-affiliates-grid.columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bn-affiliate-card__avatar {
        width: 182px;
        height: 182px;
    }
    
    .bn-affiliate-card__name {
        font-size: 16px;
    }
}

@media (max-width: 575px) {
    .bn-affiliates-grid.columns-2,
    .bn-affiliates-grid.columns-3,
    .bn-affiliates-grid.columns-4 {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   MAPBOX AUTOCOMPLETE - WATER TRANSPORT
   ======================================== */

.bn-mapbox-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #DDDDDD;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    margin-top: -1px;
}

.bn-mapbox-suggestion {
    padding: 12px 16px;
    cursor: pointer;
    font-size: 14px;
    color: #222;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s ease;
}

.bn-mapbox-suggestion:last-child {
    border-bottom: none;
}

.bn-mapbox-suggestion:hover {
    background: #f7f7f7;
}

.bn-popup-water-transport-field {
    position: relative;
}

.bn-water-address-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #DDDDDD;
    border-radius: 8px;
    font-size: 14px;
    color: #222;
    transition: border-color 0.2s;
}

.bn-water-address-input:focus {
    outline: none;
    border-color: #222;
}

.bn-water-address-input::placeholder {
    color: #B0B0B0;
}

/* Stile campo time per orario prelievo */
.bn-water-time-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #DDDDDD;
    border-radius: 8px;
    font-size: 14px;
    color: #222;
    transition: border-color 0.2s;
    font-family: inherit;
}

.bn-water-time-input:focus {
    outline: none;
    border-color: #222;
}

