@charset "UTF-8";
:root {
    --barilla-blue: #0b2c74;
    --barilla-blue-2: #123a8d;
    --barilla-red: #c5161d;
    --barilla-ink: #0d1b3a;
    --barilla-muted: #4b5a77;
    --barilla-bg-soft: #e5e9ec;
    --barilla-border-soft: rgba(11, 44, 116, 0.1);
    --barilla-focus-ring: rgba(36, 86, 191, 0.18);
}

/* Importazione dei font */
@font-face {
    font-family: 'NettoPro';
    src: url('../../fonts/NettoPro.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'NettoPro';
    src: url('../../fonts/NettoPro-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
body {
    padding-top: 0;
    /* Rimuovo il padding per far apparire il contenuto sotto l'header */
    font-family: 'NettoPro', Tahoma, Geneva, Verdana, sans-serif !important;
    color: #113879 !important;
}

body {
    color: #0d1b3a;
    font-size: 1.625rem;
}
@media screen and (max-width: 767px) {
    body {
        font-size: 1rem;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'NettoPro', Tahoma, Geneva, Verdana, sans-serif !important;
    font-weight: bold !important;
}

.basic-text,
.basic-text p {
    font-size: 1.25rem;
}
@media screen and (max-width: 767px) {
    .basic-text,
    .basic-text p {
        font-size: 1rem;
    }
}

.site-header {
    background: #0b2c74;
    height: 4rem;
    display: flex;
    align-items: center;
}
.site-header .container-fluid {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 56px;
}
.site-header .site-login {
    color: #fff;
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    font-weight: 600;
}
.site-header .site-login:hover {
    text-decoration: underline;
}
.site-header .site-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-decoration: none;
    display: block;
}

.logo {
    background: url(https://www.barilla.com/it-it/resources/images/furniture/barillaOptimized.svg?v=1)
        center center no-repeat rgba(0, 0, 0, 0);
    background-size: 90px auto;
    text-indent: -9999px;
    width: 90px;
    height: 36px;
    overflow: hidden;
    white-space: nowrap;
}

@media screen and (min-width: 1024px) {
    .logo {
        background: url(https://www.barilla.com/it-it/resources/images/furniture/barillaOptimized.svg?v=1)
            center center no-repeat rgba(0, 0, 0, 0);
        background-size: 120px auto;
        width: 120px;
        height: 48px;
    }
}
.hero {
    background: linear-gradient(90deg, #0b2c74 0%, #1a4aa9 100%);
}
.hero .hero-img {
    width: 100%;
    height: auto;
    display: block;
}

.intro .intro-text {
    text-align: center;
    color: #0b2c74;
}

.section-title {
    color: #0b2c74;
    font-weight: 800;
    letter-spacing: 0.01em;
    font-size: 4rem;
}
@media screen and (max-width: 767px) {
    .section-title {
        font-size: 2rem;
    }
}

.how-to .step {
    max-width: 260px;
    margin: 0 auto;
}
.how-to .step__icon {
    display: grid;
    place-items: center;
    margin: 0 auto 1rem;
}
.how-to .step__title {
    color: #0b2c74;
    font-weight: 700;
    font-size: 1.625rem;
}
@media screen and (max-width: 767px) {
    .how-to .step__title {
        font-size: 1.25rem;
    }
}
.how-to .step__title {
    margin-bottom: 8px;
}
.how-to .step__text {
    font-size: 1.25rem;
}
@media screen and (max-width: 767px) {
    .how-to .step__text {
        font-size: 1rem;
    }
}
.how-to .step__text {
    color: #0b2c74;
    margin-bottom: 0;
}
.how-to .btn-participate {
    --bs-btn-bg: #0b2c74;
    --bs-btn-border-color: #0b2c74;
    --bs-btn-hover-bg: #123a8d;
    --bs-btn-hover-border-color: #123a8d;
    --bs-btn-active-bg: #123a8d;
    --bs-btn-active-border-color: #123a8d;
    padding: 0.55rem 2.4rem;
    border-radius: 8px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.prizes .step__icon {
    padding: 0 2rem;
}
.prizes .prize-circle {
    max-width: 320px;
    width: 100%;
    height: auto;
    display: inline-block;
}
.prizes .major__title {
    color: #0b2c74;
    font-weight: 900;
    margin-bottom: 0.25rem;
    font-size: 2.75rem;
}
@media screen and (max-width: 767px) {
    .prizes .major__title {
        font-size: 1.875rem;
    }
}
.prizes .major__title span {
    font-weight: 900;
}
.prizes .major__lead {
    margin-bottom: 0.75rem;
    color: #0b2c74;
    font-size: 1.875rem;
    line-height: 1.2;
}
@media screen and (max-width: 767px) {
    .prizes .major__lead {
        font-size: 1rem;
    }
}
.prizes .major__list {
    padding-left: 1.1rem;
    margin-bottom: 0;
}
.prizes .major__list li {
    margin-bottom: 0.6rem;
    color: #0b2c74;
    font-size: 1.875rem;
    line-height: 1.2;
}
@media screen and (max-width: 767px) {
    .prizes .major__list li {
        font-size: 1rem;
    }
}

.site-footer .footer-links {
    background: #c5161d;
}
.site-footer .footer-link {
    color: #fff;
    text-decoration: underline;
    font-weight: 400;
    font-size: 2rem;
}
@media screen and (max-width: 767px) {
    .site-footer .footer-link {
        font-size: 1rem;
    }
}
.site-footer .footer-link:hover {
    opacity: 0.9;
}
.site-footer .footer-legal {
    background: #0b2c74;
    color: rgba(255, 255, 255, 0.75);
}
.site-footer .footer-legal .footer-link {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    text-decoration: underline;
}
.site-footer .footer-sep {
    color: #fff;
    font-size: 2rem;
}
@media screen and (max-width: 767px) {
    .site-footer .footer-sep {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .site-header {
        height: 52px;
    }
    .site-header .container-fluid {
        min-height: 52px;
    }
    .prizes .prize-circle {
        max-width: 280px;
    }
}
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.5);
    align-items: center;
    /* centro verticale */
    justify-content: center;
    /* centro orizzontale */
    z-index: 9999;
    display: flex;
}

.spinner {
    width: 64px;
    height: 64px;
    border: 8px solid;
    /* quattro lati: top, right, bottom, left */
    border-color: #4379be #4379be #4379be transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.spinner-mini {
    width: 16px;
    height: 16px;
    border: 2px solid;
    /* quattro lati: top, right, bottom, left */
    border-color: #4379be #4379be #4379be transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
/* =========================
   Layout generale pagine
   ========================= */
.barilla-page {
    color: var(--barilla-blue);
}

.barilla-narrow {
    max-width: 780px;
}

.barilla-title {
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--barilla-blue);
    font-size: clamp(1.8rem, 2.8vw, 2.6rem);
}

.barilla-lead {
    color: var(--barilla-muted);
    max-width: 70ch;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

.barilla-link {
    color: var(--barilla-blue);
    text-decoration: underline;
    font-weight: 500;
}
.barilla-link:hover {
    color: var(--barilla-blue-2);
}

.barilla-hint {
    color: var(--barilla-muted);
    font-size: 0.875rem;
    line-height: 1.35;
}

/* =========================
   Guida collassabile (grigia)
   ========================= */
.barilla-guide {
    background: var(--barilla-bg-soft);
    border-top: 1px solid var(--barilla-border-soft);
    border-bottom: 1px solid var(--barilla-border-soft);
}

.barilla-guide__toggle {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 1.25rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    color: var(--barilla-blue);
}

.barilla-guide__chev {
    width: 0.8rem;
    height: 0.8rem;
    border-right: 2px solid var(--barilla-blue);
    border-bottom: 2px solid var(--barilla-blue);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

/* Bootstrap imposta aria-expanded automaticamente */
.barilla-guide__toggle[aria-expanded='true'] .barilla-guide__chev {
    transform: rotate(-135deg);
}

.barilla-guide__body {
    background: var(--barilla-bg-soft);
}

/* =========================
   Form style “blu + squadrato”
   ========================= */
.barilla-label {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--barilla-blue);
}

.barilla-control {
    border: 2px solid var(--barilla-blue);
    border-radius: 0;
    min-height: 44px;
    color: var(--barilla-ink);
}
.barilla-control::-moz-placeholder {
    color: rgba(75, 90, 119, 0.4);
}
.barilla-control::placeholder {
    color: rgba(75, 90, 119, 0.4);
}
.barilla-control:focus {
    border-color: var(--barilla-blue);
    box-shadow: 0 0 0 0.2rem var(--barilla-focus-ring);
}

.barilla-control--sm {
    width: 70px;
}

.barilla-control--md {
    width: 110px;
}

.form-input {
    width: 100%;
    padding: 8px 12px;
    font-size: 1rem;
    border: 3px solid #1b3775;
    border-radius: 3px;
    margin-bottom: 16px;
}

.barilla-file .btn {
    border: 2px solid var(--barilla-blue);
    border-radius: 0;
    min-height: 44px;
    padding: 0 1.5rem;
    font-weight: 600;
    color: var(--barilla-blue);
    background: #fff;
}
.barilla-file .btn:hover {
    background: rgba(11, 44, 116, 0.06);
}

/* =========================
   CTA button
   ========================= */
.barilla-btn {
    background: var(--barilla-blue);
    border-color: var(--barilla-blue);
    padding: 0.75rem 2.4rem 0.425rem 2.4rem;
    font-weight: 600;
    border-radius: 0.35rem;
    line-height: 1.2;
}
.barilla-btn:hover {
    background: var(--barilla-blue-2);
    border-color: var(--barilla-blue-2);
}
.barilla-btn.btn-warning {
    background-color: #ffc107;
}

/* =========================
   Cerchio premio / placeholder
   ========================= */
.barilla-circle {
    width: 280px;
    height: 280px;
    border: 4px solid var(--barilla-blue);
    border-radius: 50%;
    overflow: hidden;
    margin: 1.5rem auto 2rem;
    display: grid;
    place-items: center;
    background: #fff;
}

.barilla-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: rgba(75, 90, 119, 0.65);
    font-weight: 600;
    background: radial-gradient(circle at 30% 30%, #ffffff 0%, #f3f6fb 70%);
}

p.errorClass {
    font-size: 12px !important;
    color: #a00;
}

#error-container {
    color: #fff;
    padding: 1rem;
}
#error-container #error-message {
    font-size: 1rem;
}

.barilla-upload__input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.barilla-upload__ui {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.75rem;
    align-items: center;
}
@media screen and (max-width: 767px) {
    .barilla-upload__ui {
        display: block;
    }
    .barilla-upload__ui label {
        margin-bottom: 0.5rem;
        display: block;
    }
}

.barilla-upload__btn {
    border: 2px solid var(--barilla-blue);
    border-radius: 0;
    min-height: 44px;
    padding: 0.6rem 1.25rem 0.4rem;
    font-weight: 600;
    color: var(--barilla-blue);
    background: #fff;
}
.barilla-upload__btn:hover {
    background: rgba(11, 44, 116, 0.06);
}
.barilla-upload__btn:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 0.2rem var(--barilla-focus-ring);
}

.barilla-upload__filename {
    min-height: 44px;
}

.barilla-upload__clear {
    border: 2px solid var(--barilla-blue);
    border-radius: 0;
    min-height: 44px;
    width: 44px;
    padding: 0;
    font-weight: 700;
    color: var(--barilla-blue);
    background: #fff;
}
.barilla-upload__clear:hover {
    background: rgba(11, 44, 116, 0.06);
}

/* nascondo il clear se non c’è file selezionato */
.barilla-upload[data-has-file='0'] .barilla-upload__clear {
    display: none;
}

.site-header {
    background: var(--barilla-blue);
}

/* griglia 3 colonne: (vuoto) | logo | (menu/toggler) */
.site-topbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

/* brand centrato nella colonna centrale */
.site-topbar__brand {
    justify-self: center;
}

/* destra sempre allineata a fine colonna */
.site-topbar__right {
    justify-self: end;
    display: flex;
    align-items: center;
}

/* link in header */
.site-header .nav-link {
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.25rem 0;
}
.site-header .nav-link:hover {
    opacity: 0.9;
}

/* offcanvas coerente col tema */
.site-header .offcanvas {
    background: var(--barilla-blue);
}

.site-header .offcanvas .nav-link {
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
}

#prize-image {
    max-width: 470px;
    margin-bottom: 3rem;
}

.img-placeholder-circle--shimmer {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    background: #e5e7eb; /* base */
    margin-inline: auto;
}

/* striscia luminosa che scorre */
.img-placeholder-circle--shimmer::after {
    content: '';
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(
        90deg,
        rgba(229, 231, 235, 0) 0%,
        rgba(255, 255, 255, 0.65) 50%,
        rgba(229, 231, 235, 0) 100%
    );
    animation: shimmerMove 1.2s ease-in-out infinite;
}

@keyframes shimmerMove {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}
body .gigya-screen.portrait {
    width: 100% !important;
}

.gigya-profile-form {
    padding: 2rem !important;
}
@media screen and (max-width: 767px) {
    .gigya-profile-form {
        padding: 2rem 1rem;
    }
}

.gigya-screen-caption {
    font-size: 2.5rem !important;
    color: #fff !important;
    font-family: 'nettoPro' !important;
    width: 100% !important;
}

.gigya-composite-control-captcha-widget.invisible {
    visibility: visible !important;
}

.barillaGigya-page label {
    margin-bottom: unset;
}

.gigya-screen .gigya-composite-control.gigya-composite-control-header {
    padding-block: 26px !important;
}

input.error {
    border-color: #c00;
}

label.error {
    color: #c00;
    font-size: 1rem;
    line-height: 1.2;
    display: block;
}

@media only screen and (max-width: 767px) {
    .otnotice-sections > .otnotice-section > .otnotice-section-content {
        margin-right: 1rem !important;
        margin-left: 1rem !important;
    }
    .otnotice-sections > .otnotice-section > h2.otnotice-section-header {
        margin-right: 1rem !important;
        margin-left: 1rem !important;
    }
    .otnotice-menu-mobile {
        display: flex;
        flex-direction: column;
        width: 90% !important;
        margin-left: auto;
        margin-right: auto;
        background: #f8f8f8;
        border: 1px solid #eeeeee;
        position: relative;
        margin-bottom: 1rem;
    }
    .otnotice-content .otnotice-section .otnotice-section-content td p {
        font-size: 10px !important;
    }
}
.otnotice-menu {
    position: absolute !important;
}

.ot-privacy-notice-language-dropdown-container {
    display: none !important;
}
