/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}
/* NOEM-GRAF02A-START */
.noem-home {
  --noem-blue:#2369A7;
  --noem-navy:#12528C;
  --noem-gold:#D7AE78;
  --noem-sky:#EAF4FC;
  color:#292D32;
}
.noem-home .noem-eyebrow {
  display:block;
  font-weight:700;
  font-size:12px;
  letter-spacing:2px;
  color:var(--noem-blue);
  margin-bottom:14px;
}
.noem-home .noem-promos {
  max-width:1440px;
  margin:0 auto 45px;
  padding:0 20px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.noem-home .noem-promo {
  min-height:205px;
  display:flex;
  gap:25px;
  align-items:center;
  padding:30px;
  border-radius:15px;
  background:#f7eee2;
  overflow:hidden;
}
.noem-home .noem-promo-new {
  background:linear-gradient(120deg,#eaf4fc,#d4e8f8);
}
.noem-home .noem-promo h2 {
  font:600 clamp(23px,2.5vw,35px)/1.2 Georgia,serif;
  color:var(--noem-navy);
  margin:0 0 12px;
}
.noem-home .noem-promo p {
  margin:0;
  font-size:14px;
}
.noem-home .noem-promo-icon {
  font-size:65px;
  color:var(--noem-gold);
}
.noem-home .noem-text-link {
  display:inline-block;
  margin-top:13px;
  font-weight:700;
  color:var(--noem-navy);
}
.noem-home .noem-section {
  max-width:1440px;
  padding:20px 25px 45px;
  margin:auto;
}
.noem-home .noem-section-heading {
  margin:0 0 30px;
}
.noem-home .noem-section-heading h2 {
  font:600 clamp(26px,3vw,38px) Georgia,serif;
  color:var(--noem-navy);
  margin:0 0 6px;
}
.noem-home .noem-section-heading p {
  margin:0;
  color:#5d6975;
}
.noem-home .noem-section ul.products li.product {
  border-radius:12px;
  overflow:hidden;
  background:white;
  box-shadow:0 3px 18px #172f4e12;
  padding-bottom:15px;
}
.noem-home .noem-benefits {
  background:#f0f7fc;
  padding:25px 20px;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:15px;
  text-align:center;
}
.noem-home .noem-benefits strong,
.noem-home .noem-benefits small {
  display:block;
}
.noem-home .noem-benefits strong {
  color:var(--noem-navy);
  font-size:12px;
}
.noem-home .noem-benefits small {
  font-size:12px;
  margin-top:6px;
  color:#607080;
}
@media(max-width:849px) {
  .noem-home .noem-promos {grid-template-columns:1fr;}
  .noem-home .noem-benefits {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:549px) {
  .noem-home .noem-promo {padding:22px;min-height:160px;}
  .noem-home .noem-section {padding:20px 14px 35px;}
  .noem-home .noem-benefits {gap:22px 12px;}
}
/* NOEM-GRAF02A-END */

/* NOEM-GRAF02B-START */
.noem-home .noem-category-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 12px;
    margin: 0 auto;
}

.noem-home .noem-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 142px;
    padding: 18px 10px;
    border: 1px solid #e4edf5;
    border-radius: 13px;
    background: #f3f8fc;
    color: #12528c;
    text-decoration: none;
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease;
}

.noem-home .noem-category-card:hover {
    color: #12528c;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(18,82,140,.13);
}

.noem-home .noem-category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: #e0effb;
}

.noem-home .noem-category-icon svg {
    width: 35px;
    height: 35px;
}

.noem-home .noem-category-name {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

@media (max-width: 1099px) {
    .noem-home .noem-category-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 549px) {
    .noem-home .noem-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .noem-home .noem-category-card {
        min-height: 126px;
        padding: 14px 8px;
    }

    .noem-home .noem-category-icon {
        width: 54px;
        height: 54px;
    }

    .noem-home .noem-category-icon svg {
        width: 30px;
        height: 30px;
    }

    .noem-home .noem-category-name {
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .noem-home .noem-category-card {
        transition: none;
    }
}
/* NOEM-GRAF02B-END */

/*
 * NOEM-GRAF02C (vecchio sistema hero full-width + meccanismo di
 * mostra/nascondi header via classi noem-hero-js/noem-hero-passed) è stato
 * rimosso in GRAF-04A: superato dal nuovo file
 * assets/css/noem-home-hero.css (ancorato a #noem-hero-first) e dal nuovo
 * markup della hero, che non usa più .noem-hero-photo-link /
 * .noem-hero-mobile-action. L'header resta nel flusso normale della pagina,
 * quindi non serve più alcun toggle via classi su scroll.
 */
