
/* ============================================================
 * SEARCH FORM - Tabs, Wizard, Cleaning Types
 * ============================================================ */

/* ---------- SEARCH HEADER ---------- */
.hmy-search-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.hmy-search-header {
    text-align: center;
    margin-bottom: 24px;
}

.hmy-search-header h2 {
    color: var(--hmy-secondary);
    font-size: 26px;
    margin: 0 0 8px 0;
}

.hmy-search-header p {
    color: var(--hmy-text-muted);
    font-size: 15px;
    margin: 0;
}

/* ---------- SERVICE TABS ---------- */
.hmy-service-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 24px;
    border-radius: var(--hmy-radius);
    overflow: hidden;
    border: 2px solid var(--hmy-border);
    background: var(--hmy-light);
}

.hmy-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--hmy-text-muted);
    transition: all 0.3s ease;
    position: relative;
}

.hmy-tab i {
    font-size: 20px;
}

.hmy-tab:hover {
    color: var(--hmy-primary);
    background: rgba(255, 107, 53, 0.05);
}

.hmy-tab.active {
    color: #fff;
    background: var(--hmy-primary);
}

.hmy-tab.active i {
    color: #fff;
}

/* ---------- PANELS ---------- */
.hmy-panel {
    display: none;
}

.hmy-panel.active {
    display: block;
    animation: hmyFadeIn 0.3s ease;
}

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

/* ---------- SEARCH FORM FIELDS ---------- */
.hmy-search-form .hmy-form-group {
    margin-bottom: 18px;
}

.hmy-search-form .hmy-form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--hmy-secondary);
    font-size: 14px;
}

.hmy-search-form .hmy-form-group label i {
    color: var(--hmy-primary);
    margin-right: 4px;
    width: 18px;
}

.hmy-search-form .hmy-form-group label small {
    font-weight: 400;
    color: var(--hmy-text-muted);
}

.hmy-search-form input[type="text"],
.hmy-search-form input[type="date"],
.hmy-search-form input[type="time"],
.hmy-search-form input[type="number"],
.hmy-search-form select,
.hmy-search-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--hmy-border);
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
    box-sizing: border-box;
}

.hmy-search-form input:focus,
.hmy-search-form select:focus,
.hmy-search-form textarea:focus {
    border-color: var(--hmy-primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
    outline: none;
}

.hmy-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ---------- SEARCH BUTTON ---------- */
.hmy-btn-search {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background: var(--hmy-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    margin-top: 10px;
}

.hmy-btn-search:hover {
    background: var(--hmy-primary-dark);
    transform: translateY(-1px);
}

.hmy-btn-search:active {
    transform: translateY(0);
}

/* ============================================================
 * WIZARD PULIZIA
 * ============================================================ */

/* ---------- PROGRESS BAR ---------- */
.hmy-wizard-progress {
    margin-bottom: 28px;
}

.hmy-progress-bar {
    height: 6px;
    background: var(--hmy-border);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 12px;
}

.hmy-progress-fill {
    height: 100%;
    background: var(--hmy-primary);
    border-radius: 3px;
    transition: width 0.4s ease;
}

.hmy-progress-steps {
    display: flex;
    justify-content: space-between;
}

.hmy-step-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--hmy-text-muted);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 12px;
    transition: all 0.3s;
}

.hmy-step-label.active {
    color: var(--hmy-primary);
    background: rgba(255, 107, 53, 0.1);
}

.hmy-step-label.completed {
    color: var(--hmy-success);
}

/* ---------- WIZARD STEPS ---------- */
.hmy-wizard-step {
    display: none;
    animation: hmyFadeIn 0.3s ease;
}

.hmy-wizard-step.active {
    display: block;
}

.hmy-wizard-step h3 {
    color: var(--hmy-secondary);
    font-size: 20px;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--hmy-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hmy-wizard-step h3 i {
    color: var(--hmy-primary);
}

.hmy-wizard-step h3 small {
    font-weight: 400;
    font-size: 14px;
    color: var(--hmy-text-muted);
}

.hmy-step-desc {
    color: var(--hmy-text-muted);
    font-size: 14px;
    margin-bottom: 20px;
}

/* ---------- CLEANING TYPE CARDS ---------- */
.hmy-cleaning-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.hmy-cleaning-type-card {
    cursor: pointer;
    display: block;
}

.hmy-cleaning-type-card input[type="radio"] {
    display: none;
}

.hmy-cleaning-type-card .hmy-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 12px;
    border: 2px solid var(--hmy-border);
    border-radius: var(--hmy-radius);
    background: #fff;
    transition: all 0.3s;
    text-align: center;
    min-height: 100px;
}

.hmy-cleaning-type-card .hmy-card-inner:hover {
    border-color: var(--hmy-primary-light);
    box-shadow: var(--hmy-shadow-hover);
    transform: translateY(-2px);
}

.hmy-cleaning-type-card input:checked + .hmy-card-inner {
    border-color: var(--hmy-primary);
    background: rgba(255, 107, 53, 0.06);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}

.hmy-cleaning-type-card .hmy-card-inner i {
    font-size: 28px;
    color: var(--hmy-primary);
    margin-bottom: 10px;
}

.hmy-cleaning-type-card .hmy-card-inner span {
    font-size: 13px;
    font-weight: 600;
    color: var(--hmy-secondary);
    line-height: 1.3;
}

/* ---------- COUNTER (+/-) ---------- */
.hmy-counter-wrap {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--hmy-border);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    width: fit-content;
}

.hmy-counter-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: var(--hmy-light);
    color: var(--hmy-secondary);
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hmy-counter-btn:hover {
    background: var(--hmy-primary);
    color: #fff;
}

.hmy-counter-wrap input[type="number"] {
    width: 60px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--hmy-border);
    border-right: 1px solid var(--hmy-border);
    border-radius: 0;
    font-size: 18px;
    font-weight: 700;
    padding: 8px 0;
    -moz-appearance: textfield;
    box-shadow: none;
}

.hmy-counter-wrap input[type="number"]::-webkit-inner-spin-button,
.hmy-counter-wrap input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ---------- PHOTO UPLOAD ---------- */
.hmy-photo-upload-area {
    border: 2px dashed var(--hmy-border);
    border-radius: var(--hmy-radius);
    padding: 40px 20px;
    text-align: center;
    background: var(--hmy-light);
    transition: all 0.3s;
    cursor: pointer;
}

.hmy-photo-upload-area:hover,
.hmy-photo-upload-area.dragover {
    border-color: var(--hmy-primary);
    background: rgba(255, 107, 53, 0.04);
}

.hmy-photo-upload-area i {
    font-size: 40px;
    color: var(--hmy-primary);
    margin-bottom: 12px;
    display: block;
}

.hmy-photo-upload-area p {
    color: var(--hmy-text-muted);
    margin: 0 0 12px 0;
    font-size: 15px;
}

.hmy-photo-upload-area small {
    display: block;
    color: var(--hmy-text-muted);
    font-size: 12px;
    margin-top: 10px;
}

.hmy-btn-upload {
    display: inline-block;
    padding: 10px 20px;
    background: var(--hmy-primary);
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
}

.hmy-btn-upload:hover {
    background: var(--hmy-primary-dark);
}

.hmy-photo-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.hmy-photo-thumb {
    width: 100px;
    text-align: center;
}

.hmy-photo-thumb img {
    width: 100px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--hmy-border);
}

.hmy-photo-name {
    display: block;
    font-size: 11px;
    color: var(--hmy-text-muted);
    margin-top: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---------- WIZARD NAVIGATION ---------- */
.hmy-wizard-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--hmy-border);
}

.hmy-btn-prev,
.hmy-btn-next {
    padding: 12px 24px;
    border: 2px solid var(--hmy-border);
    border-radius: 8px;
    background: #fff;
    color: var(--hmy-secondary);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hmy-btn-prev:hover {
    border-color: var(--hmy-text-muted);
    background: var(--hmy-light);
}

.hmy-btn-next {
    border-color: var(--hmy-primary);
    color: var(--hmy-primary);
    margin-left: auto;
}

.hmy-btn-next:hover {
    background: var(--hmy-primary);
    color: #fff;
}

.hmy-btn-submit-cleaning {
    margin-left: auto;
}

/* ============================================================
 * RESPONSIVE
 * ============================================================ */
@media (max-width: 600px) {
    .hmy-service-tabs {
        flex-direction: column;
    }

    .hmy-tab {
        padding: 14px;
    }

    .hmy-form-row {
        grid-template-columns: 1fr;
    }

    .hmy-cleaning-types-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hmy-wizard-nav {
        flex-wrap: wrap;
        gap: 10px;
    }

    .hmy-btn-prev,
    .hmy-btn-next,
    .hmy-btn-submit-cleaning {
        flex: 1;
        justify-content: center;
    }

    .hmy-progress-steps {
        font-size: 11px;
    }

    .hmy-step-label {
        padding: 3px 5px;
        font-size: 11px;
    }
}

/* ==========================================================================
 * CARGO ITEMS GRID (Wizard Trasporto - Step 2)
 * Aggiungere in fondo a hmy-search-wizard.css
 * ========================================================================== */

/* Griglia oggetti carico */
.hmy-cargo-items-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

@media (max-width: 480px) {
    .hmy-cargo-items-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* Card singolo oggetto */
.hmy-cargo-item-card {
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 14px 10px;
    text-align: center;
    transition: all 0.25s ease;
    cursor: default;
}

.hmy-cargo-item-card:hover {
    border-color: #FF6B35;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.12);
}

.hmy-cargo-item-card.hmy-cargo-selected {
    border-color: #FF6B35;
    background: #FFF3ED;
    box-shadow: 0 2px 12px rgba(255, 107, 53, 0.15);
}

/* Icona oggetto */
.hmy-cargo-icon {
    font-size: 28px;
    color: #FF6B35;
    margin-bottom: 6px;
}

.hmy-cargo-item-card.hmy-cargo-selected .hmy-cargo-icon {
    color: #e55a1b;
}

/* Nome oggetto */
.hmy-cargo-label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
    line-height: 1.2;
}

/* Volume unitario */
.hmy-cargo-vol {
    font-size: 11px;
    color: #999;
    margin-bottom: 10px;
}

/* Counter dentro la card cargo */
.hmy-cargo-counter {
    justify-content: center;
}

.hmy-cargo-counter .hmy-cargo-qty {
    width: 40px !important;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    border: none;
    background: transparent;
    color: #333;
    padding: 0;
    -moz-appearance: textfield;
}

.hmy-cargo-counter .hmy-cargo-qty::-webkit-inner-spin-button,
.hmy-cargo-counter .hmy-cargo-qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.hmy-cargo-counter .hmy-counter-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #ddd;
    background: #fff;
    color: #666;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}

.hmy-cargo-counter .hmy-counter-btn:hover {
    border-color: #FF6B35;
    color: #FF6B35;
    background: #FFF3ED;
}

.hmy-cargo-item-card.hmy-cargo-selected .hmy-counter-btn {
    border-color: #FF6B35;
    color: #FF6B35;
}

/* Riepilogo volume totale */
.hmy-cargo-summary {
    background: #FFF3ED;
    border: 2px solid #FF6B35;
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 6px;
}

.hmy-cargo-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    color: #333;
}

.hmy-cargo-summary-row strong {
    font-size: 20px;
    color: #FF6B35;
}

.hmy-cargo-summary-row i {
    color: #FF6B35;
    margin-right: 6px;
}

/* Hint sotto il campo lunghezza */
.hmy-field-hint {
    display: block;
    font-size: 12px;
    color: #999;
    margin-top: 4px;
    line-height: 1.4;
}

/* Step description text */
.hmy-step-desc {
    font-size: 14px;
    color: #666;
    margin: -4px 0 16px;
    line-height: 1.5;
}

/* ==========================================================================
 * CARGO ITEMS — Layout compatto a righe (Wizard Trasporto - Step 2)
 * Aggiungere in fondo a hmy-search-wizard.css
 * ========================================================================== */

/* Lista oggetti */
.hmy-cargo-items-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

/* Singola riga oggetto */
.hmy-cargo-item-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 6px 10px;
    transition: all 0.2s ease;
}

.hmy-cargo-item-row.hmy-cargo-selected {
    border-color: #FF6B35;
    background: #FFF8F4;
}

/* Icona */
.hmy-cargo-row-icon {
    font-size: 16px;
    color: #FF6B35;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

/* Info (nome + volume) */
.hmy-cargo-row-info {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.hmy-cargo-row-label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hmy-cargo-row-vol {
    font-size: 11px;
    color: #aaa;
    white-space: nowrap;
}

/* Counter compatto */
.hmy-cargo-row-counter {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}

.hmy-cargo-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    color: #666;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    transition: all 0.15s;
}

.hmy-cargo-btn:hover {
    border-color: #FF6B35;
    color: #FF6B35;
    background: #FFF8F4;
}

.hmy-cargo-item-row.hmy-cargo-selected .hmy-cargo-btn {
    border-color: #FF6B35;
    color: #FF6B35;
}

.hmy-cargo-qty {
    width: 28px !important;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    border: none !important;
    background: transparent !important;
    color: #333;
    padding: 0 !important;
    -moz-appearance: textfield;
}

.hmy-cargo-qty::-webkit-inner-spin-button,
.hmy-cargo-qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Riepilogo volume */
.hmy-cargo-summary {
    background: #FFF3ED;
    border: 2px solid #FF6B35;
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 6px;
}

.hmy-cargo-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #333;
}

.hmy-cargo-summary-row strong {
    font-size: 18px;
    color: #FF6B35;
}

.hmy-cargo-summary-row i {
    color: #FF6B35;
    margin-right: 5px;
}

/* Hint e descrizione step */
.hmy-field-hint {
    display: block;
    font-size: 12px;
    color: #999;
    margin-top: 4px;
    line-height: 1.4;
}

.hmy-step-desc {
    font-size: 14px;
    color: #666;
    margin: -4px 0 14px;
    line-height: 1.5;
}

/* ==========================================================================
 * CARGO ITEMS — 3 per riga, compatte (Wizard Trasporto - Step 2)
 * Aggiungere in fondo a hmy-search-wizard.css
 * ========================================================================== */

.hmy-cargo-items-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

@media (max-width: 480px) {
    .hmy-cargo-items-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Singola card compatta */
.hmy-cargo-item-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 8px 4px 6px;
    text-align: center;
    transition: all 0.2s ease;
    gap: 2px;
}

.hmy-cargo-item-row.hmy-cargo-selected {
    border-color: #FF6B35;
    background: #FFF8F4;
}

/* Icona */
.hmy-cargo-row-icon {
    font-size: 18px;
    color: #FF6B35;
}

/* Info (nome + volume) */
.hmy-cargo-row-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    line-height: 1.2;
}

.hmy-cargo-row-label {
    font-size: 11px;
    font-weight: 600;
    color: #333;
}

.hmy-cargo-row-vol {
    font-size: 10px;
    color: #aaa;
}

/* Counter compatto */
.hmy-cargo-row-counter {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-top: 2px;
}

.hmy-cargo-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    color: #666;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    transition: all 0.15s;
}

.hmy-cargo-btn:hover {
    border-color: #FF6B35;
    color: #FF6B35;
    background: #FFF8F4;
}

.hmy-cargo-item-row.hmy-cargo-selected .hmy-cargo-btn {
    border-color: #FF6B35;
    color: #FF6B35;
}

.hmy-cargo-qty {
    width: 24px !important;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    border: none !important;
    background: transparent !important;
    color: #333;
    padding: 0 !important;
    -moz-appearance: textfield;
}

.hmy-cargo-qty::-webkit-inner-spin-button,
.hmy-cargo-qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Riepilogo volume */
.hmy-cargo-summary {
    background: #FFF3ED;
    border: 2px solid #FF6B35;
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 6px;
}

.hmy-cargo-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #333;
}

.hmy-cargo-summary-row strong {
    font-size: 18px;
    color: #FF6B35;
}

.hmy-cargo-summary-row i {
    color: #FF6B35;
    margin-right: 5px;
}

/* Hint e descrizione step */
.hmy-field-hint {
    display: block;
    font-size: 12px;
    color: #999;
    margin-top: 4px;
    line-height: 1.4;
}

.hmy-step-desc {
    font-size: 14px;
    color: #666;
    margin: -4px 0 14px;
    line-height: 1.5;
}

/* ==========================================================================
 * CARGO ITEMS — 3 colonne, icona+counter in riga, testo sotto
 * Aggiungere in fondo a hmy-search-wizard.css
 * ========================================================================== */

.hmy-cargo-items-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 16px;
}

@media (max-width: 480px) {
    .hmy-cargo-items-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Singola card */
.hmy-cargo-item-row {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 6px 8px 5px;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hmy-cargo-item-row.hmy-cargo-selected {
    border-color: #FF6B35;
    background: #FFF8F4;
}

/* Riga superiore: icona sx — counter dx */
.hmy-cargo-row-icon {
    display: none; /* nascosto, lo usiamo dentro il top-row */
}

.hmy-cargo-item-row::before {
    display: none;
}

/* Usiamo un wrapper interno — serve modifica HTML */
/* Dato che l'HTML ha icon, info, counter separati, usiamo flex order */

.hmy-cargo-item-row {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 0;
    row-gap: 1px;
    align-items: center;
}

/* Icona: riga 1, colonna 1 */
.hmy-cargo-row-icon {
    display: flex;
    grid-row: 1;
    grid-column: 1;
    font-size: 18px;
    color: #FF6B35;
    align-items: center;
    justify-content: center;
    width: 26px;
}

/* Counter: riga 1, colonna 2, allineato a destra */
.hmy-cargo-row-counter {
    grid-row: 1;
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1px;
}

/* Info testo: riga 2, span 2 colonne */
.hmy-cargo-row-info {
    grid-row: 2;
    grid-column: 1 / -1;
    display: flex;
    align-items: baseline;
    gap: 4px;
    line-height: 1.2;
    overflow: hidden;
}

.hmy-cargo-row-label {
    font-size: 11px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hmy-cargo-row-vol {
    font-size: 10px;
    color: #aaa;
    white-space: nowrap;
}

/* Bottoni counter */
.hmy-cargo-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    color: #666;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    transition: all 0.15s;
}

.hmy-cargo-btn:hover {
    border-color: #FF6B35;
    color: #FF6B35;
    background: #FFF8F4;
}

.hmy-cargo-item-row.hmy-cargo-selected .hmy-cargo-btn {
    border-color: #FF6B35;
    color: #FF6B35;
}

.hmy-cargo-qty {
    width: 22px !important;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    border: none !important;
    background: transparent !important;
    color: #333;
    padding: 0 !important;
    -moz-appearance: textfield;
}

.hmy-cargo-qty::-webkit-inner-spin-button,
.hmy-cargo-qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Riepilogo volume */
.hmy-cargo-summary {
    background: #FFF3ED;
    border: 2px solid #FF6B35;
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 6px;
}

.hmy-cargo-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #333;
}

.hmy-cargo-summary-row strong {
    font-size: 18px;
    color: #FF6B35;
}

.hmy-cargo-summary-row i {
    color: #FF6B35;
    margin-right: 5px;
}

/* Hint e descrizione step */
.hmy-field-hint {
    display: block;
    font-size: 12px;
    color: #999;
    margin-top: 4px;
    line-height: 1.4;
}

.hmy-step-desc {
    font-size: 14px;
    color: #666;
    margin: -4px 0 14px;
    line-height: 1.5;
}