/* ============================================================
   New Year Collection 2026 — Iveco brand layer over MaterialPro
   Guidelines Iveco: bianco / nero / blu. Header orizzontale, no sidebar.
   ============================================================ */

/* ---- Font globale: Lato (sovrascrive Poppins del template) ---- */
body, h1, h2, h3, h4, h5, h6, .form-control, .btn, label, p, a, span, td, th {
    font-family: 'Lato', sans-serif !important;
}

:root {
    --iveco-blue: #2563eb;
    --iveco-blue-dark: #1d4ed8;
    --iveco-black: #0a0a0a;
    --iveco-grey: #f0f1f3;
}

/* ---- Layout: niente sidebar ---- */
.page-wrapper { margin-left: 0 !important; padding-bottom: 0 !important; }
.left-sidebar, .sidebartoggler, .nav-toggler { display: none !important; }

/* ---- Topbar: banda bianca con wordmark + banda nera nav ---- */
.topbar { background: #ffffff; box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.topbar .top-navbar { padding: 0; flex-wrap: wrap; }

.nyc-brandbar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 28px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f5f7 100%);
}
.nyc-logo {
    font-weight: 800;
    font-size: 30px;
    letter-spacing: 2px;
    color: var(--iveco-black);
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}
.nyc-logo:hover { color: var(--iveco-black); text-decoration: none; }
.nyc-logo .nyc-logo-dash { color: var(--iveco-blue); }
.nyc-logo small {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 6px;
    text-align: right;
    margin-top: -2px;
}
.nyc-title {
    font-size: 26px;
    font-weight: 300;
    color: #54595f;
    letter-spacing: 1px;
    margin: 0;
}
@media (max-width: 767px) {
    .nyc-title { font-size: 16px; }
    .nyc-logo { font-size: 22px; }
}

.nyc-navbar {
    width: 100%;
    background: var(--iveco-black);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 16px;
    min-height: 46px;
}
.nyc-navbar .nav-link {
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 13px 16px;
}
.nyc-navbar .nav-link:hover { background: #222; }
.nyc-navbar .navbar-nav { flex-direction: row; }
.nyc-cart-badge {
    position: relative; top: -8px; left: -4px;
    background: var(--iveco-blue);
    color: #fff;
    border-radius: 50%;
    font-size: 10px;
    padding: 2px 6px;
    font-weight: 700;
}

/* ---- Footer ---- */
.nyc-footer {
    background: var(--iveco-black);
    color: #fff;
    padding: 12px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}
.nyc-footer a { color: #fff; font-weight: 600; }
.nyc-subfooter {
    background: transparent;
    padding: 14px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nyc-footer-logo { height: 50px; width: auto; }
.nyc-subfooter > span { font-size: 13px; color: var(--iveco-black); }
.nyc-subfooter > span strong { font-weight: 700; }
.nyc-subfooter > span a { color: var(--iveco-black); font-weight: 300; text-decoration: none; }
.nyc-subfooter > span a:hover { text-decoration: underline; }

/* ---- Bottoni brand ---- */
.btn-iveco {
    background: var(--iveco-blue);
    color: #fff !important;
    border: none;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
}
.btn-iveco:hover { background: var(--iveco-blue-dark); color: #fff; }
.btn-iveco-outline {
    background: #fff;
    border: 2px solid var(--iveco-black);
    color: var(--iveco-black) !important;
    font-weight: 600;
    text-transform: uppercase;
}
.btn-iveco-outline:hover { background: var(--iveco-black); color: #fff !important; }

/* ---- Login ---- */
.nyc-login-bg {
    background:
        linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.25)),
        var(--iveco-black) url('../img/cover-bg-iveco2023.jpg') center/cover no-repeat;
    padding: 3% 0 !important;
}
.nyc-login-box { background: rgba(10,10,10,.82); color: #fff; border-radius: 4px; }
.nyc-login-box label { color: #cfd4da; font-size: 12px; letter-spacing: 1px; }
.nyc-login-box .form-control {
    background: #fff; border-radius: 2px; border: none; color: #111;
}
.nyc-collecthub-wrap {
    padding-bottom: 20px;
}
.nyc-collecthub-logo { max-height: 70px; width: auto; }

/* ---- Card scelta brand ---- */
.nyc-brand-card {
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
    border: 2px solid transparent;
}
.nyc-brand-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,.18) !important;
    border-color: var(--iveco-blue);
}

/* ---- Card prodotto ---- */
.nyc-product-img {
    background: var(--iveco-grey);
    text-align: center;
    padding: 10px;
}
.nyc-product-img img { max-height: 280px; max-width: 100%; object-fit: contain; }
.nyc-price { font-size: 22px; font-weight: 700; color: var(--iveco-black); }
.nyc-qty-group { width: 140px; }
.nyc-qty-group .form-control { text-align: center; font-weight: 700; }

/* ---- Card prodotto V2 "Showcase": immagine full-bleed, niente riquadro ---- */
.nyc-product-card-v2 { overflow: hidden; }
.nyc-product-img-v2 {
    position: relative;
    overflow: hidden;
    min-height: 300px;
}
@media (max-width: 767px) {
    .nyc-product-img-v2 { height: 260px; min-height: 0; }
}
.nyc-product-img-v2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}
.nyc-product-card-v2:hover .nyc-product-img-v2 img { transform: scale(1.04); }
.nyc-product-img-v2 .nyc-price-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--iveco-black);
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    padding: 8px 16px;
    border-radius: 2px;
}
.nyc-product-img-v2 .nyc-size-tag {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(255,255,255,.92);
    color: var(--iveco-black);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 2px;
}
.nyc-view-switch .btn { text-transform: uppercase; font-size: 12px; font-weight: 600; }
.nyc-view-switch .btn.active {
    background: var(--iveco-black);
    color: #fff !important;
    border-color: var(--iveco-black);
}

/* ---- Stepper checkout ---- */
.nyc-stepper {
    display: flex;
    list-style: none;
    margin: 0 0 25px 0;
    padding: 0;
    counter-reset: step;
}
.nyc-stepper li {
    flex: 1;
    text-align: center;
    position: relative;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #98a0a8;
}
.nyc-stepper li:before {
    counter-increment: step;
    content: counter(step);
    display: block;
    width: 36px; height: 36px; line-height: 32px;
    margin: 0 auto 8px;
    border-radius: 50%;
    border: 2px solid #cdd2d8;
    background: #fff;
    font-size: 14px;
    color: #98a0a8;
}
.nyc-stepper li:after {
    content: '';
    position: absolute;
    top: 18px; left: -50%;
    width: 100%; height: 2px;
    background: #cdd2d8;
    z-index: -1;
}
.nyc-stepper li:first-child:after { display: none; }
.nyc-stepper li.done:before {
    content: '\2713';
    background: var(--iveco-black);
    border-color: var(--iveco-black);
    color: #fff;
}
.nyc-stepper li.done { color: var(--iveco-black); }
.nyc-stepper li.done:after { background: var(--iveco-black); }
.nyc-stepper li.active:before {
    background: var(--iveco-blue);
    border-color: var(--iveco-blue);
    color: #fff;
}
.nyc-stepper li.active { color: var(--iveco-blue); }
.nyc-stepper li.active:after { background: var(--iveco-black); }
.nyc-stepper li a { color: inherit; text-decoration: none; display: block; }
@media (max-width: 575px) {
    .nyc-stepper li { font-size: 9px; }
}

/* ---- Riepilogo ordine laterale ---- */
.nyc-summary-total {
    font-size: 20px;
    font-weight: 800;
    color: var(--iveco-black);
}

/* ---- Preview personalizzazione ---- */
.nyc-perso-preview {
    border: 2px solid #111;
    background: #fff;
    min-height: 230px;
    padding: 28px 20px;
    text-align: center;
}
.nyc-perso-preview .nyc-perso-name {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.nyc-perso-preview .nyc-perso-lines { font-size: 13px; color: #333; margin-top: 10px; white-space: pre-line; }
.nyc-perso-logo { max-height: 60px; margin-bottom: 12px; }

/* ---- Checkbox / radio nativi (niente custom-control del template) ---- */
.nyc-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: .5rem;
}
.nyc-check input[type="checkbox"],
.nyc-check input[type="radio"] {
    -webkit-appearance: auto;
    appearance: auto;
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin: 2px 10px 0 0;
    accent-color: var(--iveco-blue);
    opacity: 1;
    position: static;
    cursor: pointer;
}
.nyc-check label {
    margin-bottom: 0;
    cursor: pointer;
    padding-left: 0 !important;
    height: auto !important;
    line-height: inherit !important;
}
/* il template (stile Materialize) disegna i suoi flag con label:before/after: spenti qui */
.nyc-check [type="checkbox"] + label::before,
.nyc-check [type="checkbox"] + label::after,
.nyc-check [type="radio"] + label::before,
.nyc-check [type="radio"] + label::after {
    display: none !important;
    content: none !important;
}

/* ---- Varie ---- */
.nyc-role-pill { text-transform: uppercase; letter-spacing: 1px; }
.nyc-deadline {
    background: #fff;
    border-left: 4px solid var(--iveco-blue);
}
.card .card-title { text-transform: uppercase; letter-spacing: .5px; }
