/* QC 2026-09-14: layout inherits region-page/recipe-page and fixed site hero banner */

/* Product section additions for RicetteRegionali.net */
.product-region-page .hero__media,.product-detail-page .hero__media{filter:none}
.product-kicker{letter-spacing:.08em;text-transform:uppercase}
.product-category-nav{grid-template-columns:repeat(5,minmax(0,1fr))}
.product-card__image{aspect-ratio:16/10;overflow:hidden;display:block;border-radius:18px 18px 0 0}
.product-card__image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s ease}
.recipe-card:hover .product-card__image img{transform:scale(1.025)}
.product-card__meta{line-height:1.55}
.product-overview{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr);gap:24px;align-items:stretch;margin-bottom:30px}
.product-main-photo{margin:0;border-radius:22px;overflow:hidden;background:#eee;min-height:360px}
.product-main-photo img{width:100%;height:100%;object-fit:cover;display:block}
.product-facts{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.product-fact{padding:18px;border-radius:16px;background:#f7f4ee;border:1px solid #e8e0d3}
.product-fact strong{display:block;font-family:Georgia,serif;font-size:1.08rem;color:#2d261f;margin-bottom:5px}
.product-fact span{font-size:.88rem;color:#71675d}
.product-panel{margin:28px 0;padding:28px;border-radius:22px;background:#fff;border:1px solid #e5ded3;box-shadow:0 8px 24px rgba(70,50,30,.06)}
.product-panel h2{margin-top:0}
.product-sensory-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:18px}
.product-sensory-grid div{padding:16px;border-radius:14px;background:#faf7f2}
.product-sensory-grid strong{display:block;font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;color:#8a6846;margin-bottom:5px}
.product-regions-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.product-region-card{border-radius:20px;overflow:hidden;border:1px solid #e3dccf;background:#fff;box-shadow:0 8px 24px rgba(70,50,30,.06)}
.product-region-card img{width:100%;aspect-ratio:16/10;object-fit:cover;display:block}
.product-region-card__body{padding:18px}.product-region-card h3{margin:0 0 6px}.product-region-card p{margin:0 0 12px;color:#6c6258}
.product-pill{display:inline-flex;gap:7px;align-items:center;padding:7px 11px;border-radius:999px;background:#f0e7d8;color:#5f4b36;font-size:.82rem;font-weight:700}
.product-sidebar-list{list-style:none;padding:0;margin:0 20px}
section.sidebar-card > p > .text-link {padding:0 20px;}section.sidebar-card > p {padding:0 20px;}
.product-sidebar-list li+li{border-top:1px solid #eee7dc}.product-sidebar-list a{display:block;padding:12px 0;text-decoration:none}
.product-highlight{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.8fr);gap:24px;align-items:center;margin-bottom:26px}
.product-highlight__media{border-radius:22px;overflow:hidden;background:#f4efe6;border:1px solid #e3dccf}
.product-highlight__media img{display:block;width:100%;height:100%;object-fit:cover}
.product-highlight__copy{padding:24px;border-radius:22px;background:#fff;border:1px solid #e5ded3;box-shadow:0 8px 24px rgba(70,50,30,.06)}
.product-summary-list{margin:0;padding-left:18px;color:#5b5248;line-height:1.7}
@media(max-width:900px){.product-overview,.product-highlight{grid-template-columns:1fr}.product-regions-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-sensory-grid{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.product-category-nav{grid-template-columns:1fr 1fr}.product-facts{grid-template-columns:1fr}.product-sensory-grid{grid-template-columns:1fr}}
@media(max-width:620px){.product-regions-grid{grid-template-columns:1fr}.product-panel{padding:20px}}


/* ==========================================================
   Introduzioni editoriali - prodotti tipici regionali
   ========================================================== */
.product-intro-section {
    padding: 38px 0 0;
}

.product-intro {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--card-shadow);
}

.product-intro--general {
    position: relative;
    padding: clamp(24px, 4vw, 38px) clamp(24px, 4.5vw, 46px);
}

.product-intro--general::after {
    content: '';
    position: absolute;
    right: -42px;
    bottom: -54px;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(67, 93, 70, .16);
    border-radius: 50%;
    box-shadow: 0 0 0 24px rgba(67, 93, 70, .035), 0 0 0 52px rgba(163, 58, 43, .025);
    pointer-events: none;
}

.product-intro--split {
    display: grid;
    grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
    min-height: 320px;
}

.product-intro__media {
    min-width: 0;
    min-height: 320px;
    margin: 0;
    background: var(--surface-strong);
}

.product-intro__media img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
}

.product-intro__copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: clamp(26px, 4.5vw, 52px);
}

.product-intro--general .product-intro__copy {
    max-width: 970px;
    padding: 0;
}

.product-intro__copy h2 {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.45rem, 2.6vw, 2.05rem);
    line-height: 1.08;
    letter-spacing: -.028em;
}

.product-intro__copy > p:last-child {
    margin: 17px 0 0;
    color: var(--muted);
    font-size: .98rem;
    line-height: 1.75;
}

.product-heading--after-intro {
    margin-top: 38px;
}

@media (max-width: 800px) {
    .product-intro-section { padding-top: 30px; }
    .product-intro--split { grid-template-columns: 1fr; min-height: 0; }
    .product-intro__media { min-height: 0; aspect-ratio: 16 / 8; }
    .product-intro__media img { min-height: 0; }
    .product-intro__copy { padding: 28px 26px 30px; }
}

@media (max-width: 560px) {
    .product-intro-section { padding-top: 24px; }
    .product-intro { border-radius: 16px; }
    .product-intro--general { padding: 23px 20px 25px; }
    .product-intro--general::after { display: none; }
    .product-intro__media { aspect-ratio: 4 / 3; }
    .product-intro__copy { padding: 23px 20px 25px; }
    .product-intro__copy > p:last-child { font-size: .93rem; line-height: 1.65; }
    .product-heading--after-intro { margin-top: 30px; }
}


/* ==========================================================
   Card prodotti verticali (pagine regione) + box "in numeri"
   Colori allineati alle card ricetta: var(--accent) per categoria
   e pulsanti, var(--accent-dark) per icone e numeri, var(--ink) per i titoli.
   ========================================================== */
.product-svg-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.product-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
    gap: 20px;
}

.product-list-card {
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    border: 0;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--card-shadow, 0 10px 30px rgba(47, 38, 28, .10), 0 2px 8px rgba(47, 38, 28, .05));
}

.product-list-card__image {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--surface-strong, #eee5d6);
}

.product-list-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.product-list-card:hover .product-list-card__image img { transform: scale(1.03); }

.product-list-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #fff;
    color: var(--accent-dark, #772a20);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}

.product-list-card__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 20px 18px 18px;
}

.product-list-card__type {
    margin: 0 0 5px;
    color: var(--accent, #a33a2b);
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.product-list-card h3 {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.15rem;
    line-height: 1.16;
}

.product-list-card h3 a {
    color: var(--ink, #241f1a);
    text-decoration: none;
    transition: color .2s ease;
}

.product-list-card h3 a:hover { color: var(--accent-dark, #772a20); }

.product-list-card__tagline {
    margin: 6px 0 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-size: .9rem;
    color: #6f6158;
}

.product-list-card__facts {
    list-style: none;
    margin: 12px 0 0;
    padding: 0 0 14px;
    display: grid;
    gap: 7px;
    border-bottom: 1px solid var(--line, #ded5c8);
    font-size: .82rem;
    line-height: 1.35;
    color: #5f554e;
}

.product-list-card__facts li {
    display: grid;
    grid-template-columns: 15px minmax(0, 1fr);
    gap: 7px;
    align-items: start;
}

.product-list-card__facts svg,
.product-stats svg {
    width: 15px;
    height: 15px;
    margin-top: 1px;
    fill: var(--accent-dark, #772a20);
}

.product-list-card__facts strong {
    font-weight: 600;
    color: #3a302a;
}

.product-list-card__desc {
    margin: 14px 0 18px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: .92rem;
    line-height: 1.55;
    color: #5f554e;
}

.product-list-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--accent, #a33a2b);
    color: var(--white, #fff);
    font-family: Arial, Helvetica, sans-serif;
    font-size: .9rem;
    font-weight: 800;
    text-decoration: none;
    transition: .2s ease;
}

.product-list-card__cta:hover,
.product-list-card__cta:focus-visible {
    background: var(--accent-dark, #772a20);
    color: var(--white, #fff);
    transform: translateY(-1px);
}

@media (max-width: 560px) {
    .product-list-card__image { aspect-ratio: 16 / 10; }
}

/* Box "Regione in numeri" nella sidebar */
.product-stats-card {
    padding: 22px 22px 20px;
    margin-bottom: 22px;
}

.product-stats-card h2 {
    margin: 0;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line, #ded5c8);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.2rem;
    color: var(--ink, #241f1a);
}

.product-stats {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: grid;
    gap: 16px;
}

.product-stats li {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.product-stats svg {
    width: 28px;
    height: 28px;
    margin-top: 2px;
}

.product-stats strong {
    display: block;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.6rem;
    line-height: 1.05;
    color: var(--accent-dark, #772a20);
}

.product-stats strong.product-stats__label { font-size: 1.05rem; line-height: 1.3;  color: var(--ink, #241f1a); }

.product-stats span {
    display: block;
    margin-top: 2px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: .95rem;
    color: #3a302a;
}
