* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #111;
    background: #fff;
}

.site-header {
    min-height: 90px;
    padding: 18px 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: relative;
    z-index: 10;
}

.logo img {
    width: 145px;
    display: block;
}

.site-header nav {
    display: flex;
    gap: 28px;
}

.site-header nav a {

    color: #111;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 700;
    
}


.site-header nav a:hover {
    color: #e5007d;
}

.header-btn,
.catalog-cta a {
    background: #e5007d;
    color: #fff;
    text-decoration: none;
    padding: 14px 20px;
    font-weight: 800;
    font-size: .8rem;
    border-radius: 4px;
}

.catalog-hero {
    min-height: 420px;
    background: #111;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 70px 7%;
    overflow: hidden;
}

.catalog-hero-text {
    position: relative;
    z-index: 2;
}

.catalog-hero .eyebrow {
    color: #ff008c;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 13px;
}

.catalog-hero h1 {
    margin: 18px 0 25px;
    color: #fff;
    font-size: clamp(50px, 5vw, 76px);
    line-height: 0.95;
    letter-spacing: -3px;
}

.catalog-hero h1 span {
    color: #ff008c;
}

.catalog-hero p {
    max-width: 520px;
    color: #bdbdbd;
    font-size: 18px;
    line-height: 1.7;
}

.catalog-hero-image {
    height: 100%;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalog-hero-image img {
    width: 100%;
    max-width: 520px;
    height: auto;
    object-fit: contain;
    display: block;
}
.eyebrow {
    display: block;
    margin-bottom: 20px;
    color: #e5007d;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .16em;
}

.catalog-hero h1 {
    font-size: clamp(3.4rem, 7vw, 6.8rem);
    line-height: .92;
    letter-spacing: -.055em;
}

.catalog-hero h1 span {
    color: #e5007d;
}

.catalog-hero p {
    max-width: 620px;
    margin-top: 30px;
    color: #ddd;
    font-size: 1.1rem;
    line-height: 1.7;
}

.catalog {
    padding: 110px 8%;
}

.catalog-top {
    max-width: 1400px;
    margin: 0 auto 60px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
}

.eyebrow.dark {
    color: #e5007d;
}

.catalog h2 {
    font-size: clamp(2.7rem, 5vw, 4.7rem);
    line-height: .98;
    letter-spacing: -.045em;
}

#search {
    width: 290px;
    padding: 17px 18px;
    border: 1px solid #ccc;
    outline: none;
    font-size: 1rem;
}

#search:focus {
    border-color: #e5007d;
}

.product-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.product-card {
    min-height: 470px;
    padding: 25px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    background: #fff;
    color: #fff;
}

.product-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.94), rgba(0,0,0,.05));
    z-index: 1;
}

.product-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 25px;
    transition: transform .25s;
}

.product-card:hover img {
    transform: scale(1.04);
}

.product-info {
    position: relative;
    z-index: 2;
}

.product-code {
    color: #fff;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .1em;
    margin-bottom: 8px;
}

.product-info h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.product-info p {
    color: #ccc;
    font-size: .9rem;
    line-height: 1.45;
}

.product-link {
    display: inline-block;
    margin-top: 18px;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: .8rem;
}

.product-link:hover {
    color: #e5007d;
}

.empty {
    grid-column: 1 / -1;
    padding: 50px;
    text-align: center;
    color: #777;
}

.catalog-cta {
    padding: 100px 8%;
    background: #e5007d;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.catalog-cta .eyebrow {
    color: #111;
}

.catalog-cta h2 {
    font-size: clamp(3rem, 6vw, 6rem);
    line-height: .9;
    letter-spacing: -.05em;
}

.catalog-cta p {
    max-width: 600px;
    margin-top: 20px;
    line-height: 1.6;
}

.catalog-cta a {
    background: #111;
    flex-shrink: 0;
}

.footer {
    background: #111;
    color: #fff;
    padding: 75px 8% 25px;
}

.footer-main {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.1fr 1.1fr;
    gap: 60px;
}

.footer-brand img {
    width: 155px;
    margin-bottom: 20px;
}

.footer-brand p,
.footer-column p {
    color: #999;
    line-height: 1.7;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column h3 {
    color: #e5007d;
    font-size: .75rem;
    letter-spacing: .15em;
    margin-bottom: 12px;
}

.footer-column a {
    color: #fff;
    text-decoration: none;
}

.footer-column a:hover {
    color: #e5007d;
}

.footer-bottom {
    max-width: 1400px;
    margin: 60px auto 0;
    padding-top: 20px;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #777;
    font-size: .85rem;
}

.footer-bottom a {
    color: #fff;
    text-decoration: none;
}

@media (max-width: 900px) {
    .site-header nav {
        display: none;
    }

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

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

    .catalog-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    .site-header {
        padding: 15px 5%;
    }

    .header-btn {
        display: none;
    }

    .catalog-hero {
        min-height: 440px;
        padding: 75px 7%;
    }

    .catalog {
        padding: 75px 6%;
    }

    .catalog-top {
        display: block;
    }

    #search {
        width: 100%;
        margin-top: 30px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }
}
/* =====================================================
   RICHIESTA INFORMAZIONI
===================================================== */

.product-actions {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
}

.product-link.request-button {
    margin-top: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
}

.product-ep-link {
    color: #999;
    text-decoration: none;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .05em;
}

.product-ep-link:hover {
    color: #fff;
}


/* MODALE */

.request-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}

.request-modal.open {
    opacity: 1;
    visibility: visible;
}

.request-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .82);
    backdrop-filter: blur(7px);
}

.request-box {
    position: relative;
    z-index: 2;
    width: min(720px, 100%);
    max-height: 92vh;
    overflow-y: auto;
    padding: 45px;
    background: #111;
    color: #fff;
    border: 1px solid #333;
    box-shadow: 0 30px 100px rgba(0,0,0,.5);
    transform: translateY(20px);
    transition: transform .25s ease;
}

.request-modal.open .request-box {
    transform: translateY(0);
}

.request-close {
    position: absolute;
    top: 18px;
    right: 22px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.request-close:hover {
    color: #e5007d;
}

.request-header span {
    color: #e5007d;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .15em;
}

.request-header h2 {
    margin-top: 15px;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: .9;
    letter-spacing: -.05em;
}

.request-header h2 strong {
    color: #e5007d;
}

.request-header p {
    max-width: 560px;
    margin-top: 20px;
    color: #aaa;
    line-height: 1.6;
}

.request-selected {
    margin-top: 30px;
    padding: 17px 20px;
    border-left: 3px solid #e5007d;
    background: #191919;
}

.request-selected small {
    display: block;
    margin-bottom: 5px;
    color: #888;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .1em;
}

.request-selected strong {
    font-size: 1.05rem;
}

.request-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 25px;
}

.request-fields label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    color: #ccc;
    font-size: .75rem;
    font-weight: 700;
}

.request-fields input,
.request-fields textarea {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #383838;
    background: #181818;
    color: #fff;
    font: inherit;
    outline: none;
}

.request-fields input:focus,
.request-fields textarea:focus {
    border-color: #e5007d;
}

.request-fields textarea {
    min-height: 120px;
    resize: vertical;
}

.request-full {
    grid-column: 1 / -1;
}

.request-submit {
    width: 100%;
    margin-top: 22px;
    padding: 17px 20px;
    border: 0;
    background: #e5007d;
    color: #fff;
    font-family: inherit;
    font-size: .8rem;
    font-weight: 900;
    letter-spacing: .04em;
    cursor: pointer;
}

.request-submit:hover {
    background: #ff1590;
}

.request-submit:disabled {
    opacity: .6;
    cursor: wait;
}

.request-note {
    margin-top: 13px;
    color: #777;
    font-size: .68rem;
    line-height: 1.5;
    text-align: center;
}

.request-status {
    min-height: 20px;
    margin-top: 12px;
    color: #e5007d;
    font-size: .8rem;
    text-align: center;
}

.request-status.error {
    color: #ff6b6b;
}


/* SUCCESSO */

.request-success {
    padding: 30px 0 10px;
    text-align: center;
}

.request-success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e5007d;
    border-radius: 50%;
    color: #e5007d;
    font-size: 1.6rem;
    font-weight: 900;
}

.request-success > span {
    color: #e5007d;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .15em;
}

.request-success h3 {
    margin-top: 15px;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    line-height: .95;
    letter-spacing: -.05em;
}

.request-success h3 strong {
    color: #e5007d;
}

.request-success p {
    max-width: 480px;
    margin: 22px auto 30px;
    color: #aaa;
    line-height: 1.6;
}

.request-success-close {
    padding: 14px 28px;
    border: 0;
    background: #e5007d;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}


/* MOBILE */

@media (max-width: 700px) {

    .request-box {
        padding: 35px 22px;
    }

    .request-fields {
        grid-template-columns: 1fr;
    }

    .request-full {
        grid-column: auto;
    }

    .request-header h2 {
        font-size: 3rem;
    }
}
@media (max-width: 768px) {

    .catalog-hero {
        grid-template-columns: 1fr;
        padding: 55px 7% 35px;
        text-align: left;
    }

    .catalog-hero h1 {
        font-size: 48px;
    }

    .catalog-hero p {
        font-size: 16px;
    }

    .catalog-hero-image {
        min-height: 230px;
        margin-top: 10px;
    }

    .catalog-hero-image img {
        max-width: 380px;
    }

}


/* =====================================================
   DETTAGLI MODELLO
===================================================== */
.details-modal{
    position:fixed;
    inset:0;
    z-index:9998;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:25px;
    opacity:0;
    visibility:hidden;
    transition:opacity .25s ease,visibility .25s ease;
}

.details-modal.open{opacity:1;visibility:visible;}

.details-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.84);
    backdrop-filter:blur(7px);
}

.details-box{
    position:relative;
    z-index:2;
    width:min(820px,100%);
    max-height:92vh;
    overflow-y:auto;
    padding:45px;
    background:#111;
    color:#fff;
    border:1px solid #333;
    box-shadow:0 30px 100px rgba(0,0,0,.5);
    transform:translateY(20px);
    transition:transform .25s ease;
}

.details-modal.open .details-box{transform:translateY(0);}

.details-close{
    position:absolute;
    top:18px;
    right:22px;
    border:0;
    background:transparent;
    color:#fff;
    font-size:2rem;
    line-height:1;
    cursor:pointer;
}

.details-close:hover{color:#e5007d;}

.details-eyebrow{
    color:#e5007d;
    font-size:.7rem;
    font-weight:800;
    letter-spacing:.15em;
}

.details-box h2{
    margin-top:15px;
    font-size:clamp(2.5rem,6vw,4.5rem);
    line-height:.92;
    letter-spacing:-.05em;
}

.details-box h2 strong{color:#e5007d;}

.details-image{
    margin-top:28px;
    height:230px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#191919;
    border:1px solid #2d2d2d;
}

.details-image img{
    width:90%;
    height:210px;
    object-fit:contain;
}

.details-description{
    margin-top:25px;
    color:#aaa;
    line-height:1.7;
}

.details-list{
    margin-top:28px;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:1px;
    background:#333;
    border:1px solid #333;
}

.details-list div{
    padding:18px;
    background:#151515;
}

.details-list span{
    display:block;
    margin-bottom:6px;
    color:#777;
    font-size:.65rem;
    font-weight:800;
    letter-spacing:.1em;
}

.details-list strong{font-size:.95rem;}

.details-request-button{
    width:100%;
    margin-top:25px;
    padding:16px 20px;
    border:0;
    background:#e5007d;
    color:#fff;
    font-family:inherit;
    font-size:.8rem;
    font-weight:900;
    cursor:pointer;
}

.details-request-button:hover{background:#ff1590;}

.product-actions{
    margin-top:18px;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:9px;
}

.product-link.details-button{
    margin-top:0;
    padding:0;
    border:0;
    background:transparent;
    color:#111;
    font-family:inherit;
    cursor:pointer;
}

.product-link.details-button:hover{color:#e5007d;}

@media(max-width:700px){
    .details-box{padding:35px 22px;}
    .details-list{grid-template-columns:1fr;}
    .details-image{height:190px;}
    .details-image img{height:170px;}
}

.product-card .details-button{color:#fff;}
.product-card .details-button:hover{color:#e5007d;}
