/* ==========================================================================
   Edilmark Theme — "Bold Industriale"
   Kraeftiger, industrieller Look mit starken Kontrasten
   Prefix: em-
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Custom Properties
   -------------------------------------------------------------------------- */
:root {
    --em-primary: #A0522D;
    --em-secondary: #3A3335;
    --em-accent: #B5890A;
    --em-bg: #F0E8DA;
    --em-text: #2B2422;
    --em-white: #FFFFFF;
    --em-border: #D4C4B0;
    --em-shadow: 0 2px 8px rgba(43, 36, 34, 0.1);
    --em-shadow-hover: 0 6px 20px rgba(43, 36, 34, 0.18);
    --em-radius: 4px;
    --em-transition: 0.25s ease;
}

/* --------------------------------------------------------------------------
   1. Minimal Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Public Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: var(--em-text);
    background-color: var(--em-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--em-primary);
    text-decoration: none;
    transition: color var(--em-transition);
}

a:hover {
    color: var(--em-accent);
}

ul, ol {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Bitter', serif;
    font-weight: 700;
    line-height: 1.25;
    color: var(--em-text);
}

/* --------------------------------------------------------------------------
   2. Layout & Container
   -------------------------------------------------------------------------- */
.em-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.em-content-sidebar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.em-content-area {
    min-width: 0;
}

.em-main {
    padding-top: 32px;
    padding-bottom: 48px;
}

.em-section {
    padding: 48px 0;
}

.em-full-width {
    width: 100%;
}

/* --------------------------------------------------------------------------
   3. Header
   -------------------------------------------------------------------------- */
.em-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--em-secondary);
    border-bottom: 3px solid var(--em-primary);
}

.em-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.em-header-cta {
    display: inline-block;
    padding: 8px 20px;
    margin-left: 24px;
    background-color: var(--em-accent);
    color: var(--em-secondary);
    font-weight: 700;
    font-size: 14px;
    border-radius: var(--em-radius);
    transition: background-color var(--em-transition), transform var(--em-transition);
}

.em-header-cta:hover {
    background-color: #c9990b;
    color: var(--em-secondary);
    transform: translateY(-1px);
}

.em-logo {
    flex-shrink: 0;
}

.em-logo img,
.em-logo svg {
    max-height: 50px;
    width: auto;
}

.em-logo a {
    display: inline-block;
}

/* Navigation */
.em-nav {
    display: none;
    align-items: center;
}

.em-primary-nav {
    display: flex;
    align-items: center;
}

.em-nav-list {
    display: flex;
    align-items: center;
    gap: 28px;
}

.em-nav-item {
    list-style: none;
}

.em-nav-item a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    font-weight: 400;
    transition: color var(--em-transition);
}

.em-nav-item a:hover {
    color: var(--em-accent);
}

/* Hamburger Menu Toggle */
.em-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.em-menu-toggle-bar {
    display: block;
    width: 100%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 1px;
    transition: transform var(--em-transition), opacity var(--em-transition);
}

.em-menu-toggle.em-active .em-menu-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.em-menu-toggle.em-active .em-menu-toggle-bar:nth-child(2) {
    opacity: 0;
}

.em-menu-toggle.em-active .em-menu-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav (shown when toggle active) */
.em-nav.em-active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--em-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 20px 24px;
    z-index: 999;
}

.em-nav.em-active .em-nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.em-nav.em-active .em-nav-item a {
    display: block;
    padding: 10px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    width: 100%;
}

/* --------------------------------------------------------------------------
   4. Hero (Homepage)
   -------------------------------------------------------------------------- */
.em-hero {
    width: 100%;
    min-height: 400px;
    background:
        linear-gradient(135deg, rgba(43, 36, 34, 0.78) 0%, rgba(91, 60, 17, 0.65) 100%),
        url('../img/hero.jpg') center center / cover no-repeat;
    display: flex;
    align-items: center;
    padding: 60px 20px;
}

.em-hero-content {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.em-hero-title {
    font-family: 'Bitter', serif;
    font-weight: 700;
    font-size: 32px;
    color: var(--em-white);
    line-height: 1.15;
    margin-bottom: 16px;
}

.em-hero-subtitle {
    font-family: 'Public Sans', sans-serif;
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    margin-bottom: 32px;
    max-width: 560px;
}

/* Stats Strip */
.em-stats-strip {
    background-color: var(--em-primary);
    padding: 32px 20px;
}

.em-stats-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.em-stat {
    text-align: center;
    padding: 16px;
}

.em-stat-number {
    font-family: 'Bitter', serif;
    font-weight: 700;
    font-size: 28px;
    color: var(--em-white);
    display: block;
}

.em-stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 4px;
    display: block;
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.em-btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: 'Public Sans', sans-serif;
    font-weight: 700;
    font-size: 15px;
    text-align: center;
    border: 2px solid transparent;
    border-radius: var(--em-radius);
    cursor: pointer;
    transition: background-color var(--em-transition), color var(--em-transition),
                border-color var(--em-transition), transform var(--em-transition);
    line-height: 1.4;
    text-decoration: none;
}

.em-btn-primary {
    background-color: var(--em-accent);
    color: var(--em-secondary);
    border-color: var(--em-accent);
}

.em-btn-primary:hover {
    background-color: #c9990b;
    border-color: #c9990b;
    color: var(--em-secondary);
    transform: translateY(-1px);
}

.em-btn-outline {
    background-color: transparent;
    color: var(--em-text);
    border-color: var(--em-border);
}

.em-btn-outline:hover {
    border-color: var(--em-primary);
    color: var(--em-primary);
}

.em-btn-lg {
    padding: 16px 36px;
    font-size: 17px;
    font-family: 'Bitter', serif;
}

.em-btn-cta {
    background-color: var(--em-accent);
    color: var(--em-secondary);
    border-color: var(--em-accent);
    font-family: 'Bitter', serif;
    font-weight: 700;
}

.em-btn-cta:hover {
    background-color: #c9990b;
    border-color: #c9990b;
    color: var(--em-secondary);
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   6. Section Titles & Sections
   -------------------------------------------------------------------------- */
.em-section-title {
    font-family: 'Bitter', serif;
    font-weight: 700;
    font-size: 24px;
    color: var(--em-text);
    margin-bottom: 24px;
    line-height: 1.25;
}

.em-section-products {
    padding: 48px 0;
}

.em-section-guides {
    padding: 48px 0;
}

.em-section-catalog {
    padding: 48px 0;
}

.em-section-catalog-overview {
    padding: 48px 0;
}

.em-section-guides-overview {
    padding: 48px 0;
}

.em-section-guides-archive {
    padding: 32px 0 48px;
}

.em-section-related-guides {
    padding: 48px 0;
    border-top: 1px solid var(--em-border);
    margin-top: 32px;
}

.em-section-similar {
    padding: 48px 0;
    border-top: 1px solid var(--em-border);
    margin-top: 32px;
}

.em-section-recommended {
    padding: 48px 0;
    background-color: rgba(160, 82, 45, 0.04);
}

.em-section-more {
    padding: 48px 0;
}

/* --------------------------------------------------------------------------
   7. Product Cards
   -------------------------------------------------------------------------- */
.em-product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.em-product-card {
    background-color: var(--em-white);
    border-radius: var(--em-radius);
    box-shadow: var(--em-shadow);
    overflow: hidden;
    transition: transform var(--em-transition), box-shadow var(--em-transition);
}

.em-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--em-shadow-hover);
}

.em-product-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.em-product-card-link:hover {
    color: inherit;
}

.em-product-card-img {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.em-product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--em-transition);
}

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

.em-product-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(43, 36, 34, 0);
    transition: background var(--em-transition);
}

.em-product-card:hover .em-product-card-img::after {
    background: rgba(43, 36, 34, 0.2);
}

.em-product-card-body {
    padding: 20px;
}

.em-product-card-cat {
    display: inline-block;
    background-color: var(--em-primary);
    color: var(--em-white);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.em-product-card-title {
    font-family: 'Bitter', serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--em-text);
    margin-bottom: 8px;
    line-height: 1.3;
}

.em-product-card-title a {
    color: inherit;
    text-decoration: none;
}

.em-product-card-title a:hover {
    color: var(--em-primary);
}

.em-product-card-excerpt {
    font-size: 14px;
    color: #5a504a;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 16px;
}

.em-product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #ede8e4;
}

.em-product-card-price {
    font-family: 'Bitter', serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--em-primary);
    white-space: nowrap;
}

.em-btn-sm {
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   8. Guide Cards
   -------------------------------------------------------------------------- */
.em-guide-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.em-guide-card {
    background-color: var(--em-white);
    border-left: 4px solid var(--em-primary);
    border-radius: var(--em-radius);
    box-shadow: var(--em-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--em-transition);
}

.em-guide-card:hover {
    box-shadow: var(--em-shadow-hover);
}

.em-guide-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.em-guide-card-link:hover {
    color: inherit;
}

.em-guide-card-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.em-guide-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.em-guide-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.em-guide-card-cat {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: var(--em-primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}

.em-guide-card-title {
    font-family: 'Bitter', serif;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.3;
    color: var(--em-text);
}

.em-guide-card-excerpt {
    font-size: 14px;
    color: #5a504a;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.em-guide-card-more {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: var(--em-primary);
    margin-top: 12px;
    transition: color var(--em-transition);
}

.em-guide-card-more:hover {
    color: var(--em-accent);
}

/* --------------------------------------------------------------------------
   9. Single Product (single-prodotto.php)
   -------------------------------------------------------------------------- */
.em-product-single {
    padding-top: 32px;
    padding-bottom: 48px;
}

.em-prodotto {
    padding-top: 32px;
    padding-bottom: 48px;
}

.em-product-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.em-product-gallery {
    position: relative;
}

.em-product-img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--em-shadow);
    overflow: hidden;
}

.em-product-img img {
    width: 100%;
    height: auto;
    display: block;
}

.em-product-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.em-product-badge {
    display: inline-block;
    background-color: var(--em-primary);
    color: var(--em-white);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    align-self: flex-start;
}

.em-product-title {
    font-family: 'Bitter', serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 1.2;
    color: var(--em-text);
}

.em-product-excerpt {
    font-size: 17px;
    line-height: 1.65;
    color: #4a4240;
}

/* Specs Table */
.em-product-specs {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}

.em-product-specs th,
.em-product-specs td {
    text-align: left;
    padding: 10px 14px;
    font-size: 15px;
}

.em-product-specs th {
    font-weight: 700;
    width: 40%;
    color: var(--em-text);
}

.em-product-specs tr:nth-child(odd) {
    background-color: var(--em-bg);
}

.em-product-specs tr:nth-child(even) {
    background-color: var(--em-white);
}

/* Price Block */
.em-product-price {
    background-color: var(--em-secondary);
    border-radius: var(--em-radius);
    padding: 24px;
}

.em-product-price-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4px;
}

.em-product-price-value {
    font-family: 'Bitter', serif;
    font-weight: 700;
    font-size: 32px;
    color: var(--em-accent);
}

/* Product CTA */
.em-product-cta {
    display: block;
    width: 100%;
    padding: 16px 32px;
    background-color: var(--em-accent);
    color: var(--em-secondary);
    font-family: 'Bitter', serif;
    font-weight: 700;
    font-size: 17px;
    text-align: center;
    border: none;
    border-radius: var(--em-radius);
    cursor: pointer;
    transition: background-color var(--em-transition), transform var(--em-transition);
    text-decoration: none;
}

.em-product-cta:hover {
    background-color: #c9990b;
    color: var(--em-secondary);
    transform: translateY(-1px);
}

/* Trust Signals */
.em-product-trust {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #6b5f58;
}

.em-product-trust span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.em-product-trust svg,
.em-product-trust img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Product Content (below the fold) */
.em-product-content {
    max-width: 780px;
    margin-top: 48px;
}

.em-product-content p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.em-product-content h2 {
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 16px;
}

.em-product-content h3 {
    font-size: 22px;
    margin-top: 32px;
    margin-bottom: 12px;
}

.em-product-content ul,
.em-product-content ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.em-product-content ul {
    list-style: disc;
}

.em-product-content ol {
    list-style: decimal;
}

.em-product-content li {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 6px;
}

.em-product-content img {
    width: 100%;
    border-radius: var(--em-radius);
    margin: 24px 0;
}

/* --------------------------------------------------------------------------
   10. Single Guide (single-guida.php)
   -------------------------------------------------------------------------- */
.em-guide-single {
    padding-top: 32px;
    padding-bottom: 48px;
}

.em-guide-header {
    margin-bottom: 32px;
}

.em-guide-badge {
    display: inline-block;
    background-color: var(--em-primary);
    color: var(--em-white);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}

.em-guide-title {
    font-family: 'Bitter', serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 1.2;
    color: var(--em-text);
    margin-bottom: 12px;
}

.em-guide-meta {
    font-size: 14px;
    color: #8a7e74;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}

.em-guide-meta-sep {
    margin: 0 4px;
    color: #b0a69c;
}

.em-guide-author {
    font-weight: 500;
    color: #6b5f58;
}

.em-guide-readtime {
    color: #8a7e74;
}

.em-guide-featured-img {
    margin-bottom: 32px;
    border-radius: 8px;
    overflow: hidden;
}

.em-guide-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Guide Content Area */
.em-guide-content {
    max-width: 780px;
}

.em-guide-content p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.em-guide-content h2 {
    font-size: 28px;
    margin-top: 48px;
    margin-bottom: 16px;
}

.em-guide-content h3 {
    font-size: 22px;
    margin-top: 36px;
    margin-bottom: 12px;
}

.em-guide-content ul,
.em-guide-content ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.em-guide-content ul {
    list-style: disc;
}

.em-guide-content ol {
    list-style: decimal;
}

.em-guide-content li {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 6px;
}

.em-guide-content img {
    width: 100%;
    border-radius: var(--em-radius);
    margin: 24px 0;
}

/* Blockquote inside Guide */
.em-guide-content blockquote {
    position: relative;
    margin: 32px 0;
    padding: 24px 24px 24px 56px;
    background-color: var(--em-white);
    border-radius: var(--em-radius);
    border-left: 4px solid var(--em-primary);
}

.em-guide-content blockquote::before {
    content: '\201C';
    position: absolute;
    top: 12px;
    left: 16px;
    font-family: 'Bitter', serif;
    font-size: 56px;
    line-height: 1;
    color: var(--em-primary);
    opacity: 0.6;
}

.em-guide-content blockquote p {
    font-size: 17px;
    font-style: italic;
    color: #4a4240;
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   11. Taxonomy / Archive
   -------------------------------------------------------------------------- */

/* Category Banner */
.em-category-banner {
    background-color: var(--em-secondary);
    padding: 40px 20px;
}

.em-category-banner-guides {
    background-color: var(--em-secondary);
    padding: 40px 20px;
}

.em-category-title {
    font-family: 'Bitter', serif;
    font-weight: 700;
    font-size: 28px;
    color: var(--em-white);
    margin-bottom: 8px;
}

.em-category-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 640px;
    line-height: 1.5;
}

/* Category Cards (overview pages) */
.em-category-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.em-category-card {
    background-color: var(--em-white);
    border-radius: var(--em-radius);
    box-shadow: var(--em-shadow);
    padding: 24px;
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform var(--em-transition), box-shadow var(--em-transition);
}

.em-category-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--em-shadow-hover);
    color: inherit;
}

.em-category-card-title {
    font-family: 'Bitter', serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--em-text);
    margin-bottom: 4px;
}

.em-category-card-count {
    font-size: 13px;
    color: #8a7e74;
}

/* Toolbar */
.em-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    margin-bottom: 24px;
    font-size: 14px;
    color: #6b5f58;
}

.em-toolbar-count {
    font-weight: 700;
}

/* Sidebar */
.em-sidebar {
    position: sticky;
    top: 80px;
}

.em-sidebar-nav {
    background-color: var(--em-white);
    border-radius: var(--em-radius);
    padding: 24px;
    box-shadow: var(--em-shadow);
    margin-bottom: 24px;
}

.em-sidebar-heading {
    font-family: 'Bitter', serif;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--em-primary);
    color: var(--em-text);
}

.em-sidebar-list {
    list-style: none;
}

.em-sidebar-item {
    border-bottom: 1px solid var(--em-border);
}

.em-sidebar-item:last-child {
    border-bottom: none;
}

.em-sidebar-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 15px;
    color: var(--em-text);
    transition: color var(--em-transition);
}

.em-sidebar-item a:hover {
    color: var(--em-primary);
}

.em-sidebar-active a {
    color: var(--em-primary);
    font-weight: 700;
}

.em-sidebar-count {
    font-size: 13px;
    color: #8a7e74;
    font-weight: 400;
}

/* --------------------------------------------------------------------------
   12. CTA Banner
   -------------------------------------------------------------------------- */
.em-cta-banner {
    background: linear-gradient(135deg, var(--em-secondary) 0%, var(--em-primary) 100%);
    padding: 48px 20px;
    text-align: center;
}

.em-cta-banner-content {
    max-width: 640px;
    margin: 0 auto;
}

.em-cta-banner-title {
    font-family: 'Bitter', serif;
    font-weight: 700;
    font-size: 24px;
    color: var(--em-white);
    margin-bottom: 20px;
    line-height: 1.25;
}

.em-cta-banner .em-btn {
    margin-top: 8px;
}

/* --------------------------------------------------------------------------
   13. Breadcrumbs
   -------------------------------------------------------------------------- */
.em-breadcrumbs-wrapper {
    padding: 12px 0;
    font-size: 13px;
    color: #8a7e74;
}

.em-breadcrumbs {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.em-breadcrumbs-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    list-style: none;
}

.em-breadcrumbs-item {
    display: inline-flex;
    align-items: center;
}

.em-breadcrumbs-item a {
    color: #6b5f58;
    font-size: 13px;
}

.em-breadcrumbs-item a:hover {
    color: var(--em-primary);
}

.em-breadcrumbs-item::after {
    content: '/';
    margin: 0 8px;
    color: #b0a69c;
    font-size: 12px;
}

.em-breadcrumbs-item:last-child::after {
    display: none;
}

.em-breadcrumbs-current {
    color: var(--em-primary);
    font-weight: 700;
    font-size: 13px;
}

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.em-footer {
    background-color: var(--em-secondary);
    padding: 48px 20px 0;
    margin-top: 64px;
}

.em-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.em-footer-col {
    min-width: 0;
}

.em-footer-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.em-footer-brand {
    display: inline-block;
}

.em-footer-brand img,
.em-footer-brand svg {
    max-height: 40px;
    width: auto;
}

.em-footer-tagline {
    font-size: 14px;
    line-height: 1.65;
    color: var(--em-border);
}

.em-footer-address {
    font-size: 14px;
    line-height: 1.65;
    color: var(--em-border);
    font-style: normal;
}

.em-footer-heading {
    font-family: 'Bitter', serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--em-white);
    margin-bottom: 16px;
}

.em-footer-nav {
    list-style: none;
}

.em-footer-nav li {
    margin-bottom: 8px;
}

.em-footer-nav a {
    font-size: 14px;
    color: var(--em-border);
    transition: color var(--em-transition);
}

.em-footer-nav a:hover {
    color: var(--em-accent);
}

.em-footer-legal {
    font-size: 14px;
    color: var(--em-border);
    line-height: 1.65;
}

.em-footer-legal a {
    color: var(--em-border);
}

.em-footer-legal a:hover {
    color: var(--em-accent);
}

.em-footer-links {
    list-style: none;
}

.em-footer-links li {
    margin-bottom: 8px;
}

.em-footer-links a {
    font-size: 14px;
    color: var(--em-border);
    transition: color var(--em-transition);
}

.em-footer-links a:hover {
    color: var(--em-accent);
}

.em-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

/* --------------------------------------------------------------------------
   15. Page Templates
   -------------------------------------------------------------------------- */
.em-page {
    padding-top: 32px;
    padding-bottom: 48px;
}

.em-page-title {
    font-family: 'Bitter', serif;
    font-weight: 700;
    font-size: 32px;
    color: var(--em-text);
    margin-bottom: 12px;
    line-height: 1.2;
}

.em-page-subtitle {
    font-size: 17px;
    color: #5a504a;
    line-height: 1.5;
    margin-bottom: 32px;
    max-width: 640px;
}

.em-page-content {
    max-width: 780px;
}

.em-page-content p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.em-page-content h2 {
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 16px;
}

.em-page-content h3 {
    font-size: 22px;
    margin-top: 32px;
    margin-bottom: 12px;
}

.em-page-content ul,
.em-page-content ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.em-page-content ul {
    list-style: disc;
}

.em-page-content ol {
    list-style: decimal;
}

.em-page-content li {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 6px;
}

.em-page-content img {
    width: 100%;
    border-radius: var(--em-radius);
    margin: 24px 0;
}

.em-page-featured-img {
    margin-bottom: 32px;
    border-radius: 8px;
    overflow: hidden;
}

.em-page-featured-img img {
    width: 100%;
    height: auto;
    display: block;
}

.em-page-contatti {
    padding-top: 32px;
    padding-bottom: 48px;
}

/* --------------------------------------------------------------------------
   16. Contact Form
   -------------------------------------------------------------------------- */
.em-contatti-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.em-contatti-form-col {
    min-width: 0;
}

.em-contatti-info-col {
    min-width: 0;
}

.em-contact-form {
    max-width: 640px;
}

.em-contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.em-contact-info-block {
    padding: 0;
}

.em-contact-info-title {
    font-family: 'Bitter', serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--em-text);
    margin-bottom: 8px;
}

.em-form-group {
    margin-bottom: 20px;
}

.em-form-label {
    display: block;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 6px;
    color: var(--em-text);
}

.em-form-input {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--em-border);
    border-radius: var(--em-radius);
    background-color: var(--em-white);
    color: var(--em-text);
    font-size: 15px;
    transition: border-color var(--em-transition), box-shadow var(--em-transition);
}

.em-form-input:focus {
    outline: none;
    border-color: var(--em-accent);
    box-shadow: 0 0 0 3px rgba(181, 137, 10, 0.15);
}

.em-form-textarea {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--em-border);
    border-radius: var(--em-radius);
    background-color: var(--em-white);
    color: var(--em-text);
    font-size: 15px;
    min-height: 140px;
    resize: vertical;
    transition: border-color var(--em-transition), box-shadow var(--em-transition);
}

.em-form-textarea:focus {
    outline: none;
    border-color: var(--em-accent);
    box-shadow: 0 0 0 3px rgba(181, 137, 10, 0.15);
}

.em-form-hp {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

/* Alerts */
.em-alert {
    padding: 16px 20px;
    border-radius: var(--em-radius);
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 24px;
}

.em-alert-success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.em-alert-error {
    background-color: #fbe9e7;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

/* --------------------------------------------------------------------------
   17. Search
   -------------------------------------------------------------------------- */
.em-search-form {
    position: relative;
}

.em-search-wrapper {
    display: flex;
    align-items: stretch;
    max-width: 480px;
}

.em-search-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.em-search-input {
    flex: 1;
    padding: 12px 14px;
    border: 1px solid var(--em-border);
    border-right: none;
    border-radius: var(--em-radius) 0 0 var(--em-radius);
    background-color: var(--em-white);
    color: var(--em-text);
    font-size: 15px;
    transition: border-color var(--em-transition);
}

.em-search-input:focus {
    outline: none;
    border-color: var(--em-accent);
}

.em-search-submit {
    padding: 12px 18px;
    background-color: var(--em-primary);
    color: var(--em-white);
    border: 1px solid var(--em-primary);
    border-radius: 0 var(--em-radius) var(--em-radius) 0;
    cursor: pointer;
    transition: background-color var(--em-transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.em-search-submit:hover {
    background-color: #8a4525;
}

.em-search-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* --------------------------------------------------------------------------
   18. 404 Page
   -------------------------------------------------------------------------- */
.em-404 {
    text-align: center;
    padding: 80px 20px;
}

.em-404-code {
    font-family: 'Bitter', serif;
    font-weight: 700;
    font-size: 96px;
    color: var(--em-border);
    line-height: 1;
    margin-bottom: 16px;
}

.em-404-content {
    max-width: 520px;
    margin: 0 auto;
}

.em-404-title {
    font-family: 'Bitter', serif;
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 12px;
    color: var(--em-text);
}

.em-404-text {
    font-size: 17px;
    color: #6b5f58;
    margin-bottom: 32px;
    line-height: 1.5;
}

.em-404-links {
    margin-bottom: 32px;
}

.em-404-nav {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.em-404-nav a {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--em-white);
    border: 1px solid var(--em-border);
    border-radius: var(--em-radius);
    font-size: 14px;
    color: var(--em-text);
    transition: border-color var(--em-transition), color var(--em-transition);
}

.em-404-nav a:hover {
    border-color: var(--em-primary);
    color: var(--em-primary);
}

.em-404-search {
    max-width: 400px;
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   19. Pagination
   -------------------------------------------------------------------------- */
.em-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 40px 0;
}

.em-pagination a,
.em-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--em-border);
    border-radius: var(--em-radius);
    font-size: 14px;
    font-weight: 700;
    color: var(--em-text);
    background-color: var(--em-white);
    transition: background-color var(--em-transition), border-color var(--em-transition), color var(--em-transition);
}

.em-pagination a:hover {
    border-color: var(--em-primary);
    color: var(--em-primary);
}

.em-pagination .current {
    background-color: var(--em-primary);
    border-color: var(--em-primary);
    color: var(--em-white);
}

/* --------------------------------------------------------------------------
   20. Misc
   -------------------------------------------------------------------------- */
.em-no-results {
    text-align: center;
    padding: 48px 20px;
    color: #6b5f58;
    font-size: 17px;
}

.em-post-item {
    background-color: var(--em-white);
    border-radius: var(--em-radius);
    box-shadow: var(--em-shadow);
    padding: 24px;
    margin-bottom: 20px;
}

.em-post-item h2 {
    font-size: 20px;
    margin-bottom: 8px;
}

.em-post-item h2 a {
    color: var(--em-text);
}

.em-post-item h2 a:hover {
    color: var(--em-primary);
}

/* --------------------------------------------------------------------------
   21. Utilities
   -------------------------------------------------------------------------- */
.em-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.em-text-center {
    text-align: center !important;
}

.em-text-right {
    text-align: right !important;
}

.em-mt-1 { margin-top: 8px !important; }
.em-mt-2 { margin-top: 16px !important; }
.em-mt-3 { margin-top: 24px !important; }
.em-mt-4 { margin-top: 32px !important; }

.em-mb-1 { margin-bottom: 8px !important; }
.em-mb-2 { margin-bottom: 16px !important; }
.em-mb-3 { margin-bottom: 24px !important; }
.em-mb-4 { margin-bottom: 32px !important; }

.em-hidden-mobile {
    display: none !important;
}

.em-hidden-desktop {
    display: block !important;
}

/* --------------------------------------------------------------------------
   22. Responsive — Tablet (600px+)
   -------------------------------------------------------------------------- */
@media (min-width: 600px) {
    /* Product Grid: 2 columns */
    .em-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Guide Grid: 2 columns */
    .em-guide-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Stats Grid: 3 columns */
    .em-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Category Cards: 2 columns */
    .em-category-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer: 2 columns */
    .em-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Contact Layout */
    .em-contatti-layout {
        grid-template-columns: 1.2fr 0.8fr;
    }

    /* Hero title */
    .em-hero-title {
        font-size: 38px;
    }
}

/* --------------------------------------------------------------------------
   23. Responsive — Header Breakpoint (768px+)
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
    /* Hide hamburger, show nav */
    .em-menu-toggle {
        display: none;
    }

    .em-nav {
        display: flex;
        align-items: center;
        position: static;
        background: none;
        padding: 0;
        border: none;
    }

    .em-nav .em-nav-list {
        flex-direction: row;
    }

    .em-nav .em-nav-item a {
        display: inline;
        padding: 0;
        border-bottom: none;
        width: auto;
    }
}

/* --------------------------------------------------------------------------
   24. Responsive — Desktop (1024px+)
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
    /* Layout sidebar */
    .em-content-sidebar {
        grid-template-columns: 1fr 280px;
        gap: 40px;
    }

    /* Hero */
    .em-hero {
        min-height: 500px;
        padding: 80px 20px;
    }

    .em-hero-title {
        font-size: 48px;
    }

    .em-hero-subtitle {
        font-size: 20px;
    }

    /* Product Grid: 3 columns */
    .em-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Guide Grid: can stay 2 */

    /* Category Cards: 3 columns */
    .em-category-cards {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Product Single Layout: 2 columns */
    .em-product-layout {
        grid-template-columns: 55% 1fr;
        gap: 48px;
        align-items: start;
    }

    .em-product-gallery {
        position: sticky;
        top: 24px;
    }

    .em-product-title {
        font-size: 34px;
    }

    /* Guide Single Title */
    .em-guide-title {
        font-size: 38px;
    }

    /* Section Title */
    .em-section-title {
        font-size: 28px;
    }

    /* Category Banner */
    .em-category-title {
        font-size: 36px;
    }

    /* Page Title */
    .em-page-title {
        font-size: 38px;
    }

    /* CTA Banner Title */
    .em-cta-banner-title {
        font-size: 30px;
    }

    /* Footer: 3 columns */
    .em-footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr;
    }

    /* Utilities */
    .em-hidden-mobile {
        display: block !important;
    }

    .em-hidden-desktop {
        display: none !important;
    }
}
