/* Storefront — homepage, catalog, product pages */

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -12px;
}

[class*="col-"] {
    padding: 0 12px;
    box-sizing: border-box;
}

.col-6 { width: 50%; }
.col-12 { width: 100%; }
.col-md-4 { width: 33.333%; }
.col-lg-3, .col-md-3 { width: 25%; }
.col-lg-4 { width: 33.333%; }
.col-lg-5 { width: 41.666%; }
.col-lg-7 { width: 58.333%; }

@media (max-width: 992px) {
    .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-7, .col-md-3, .col-md-4 { width: 50%; }
}

@media (max-width: 576px) {
    .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-7, .col-md-3, .col-6 { width: 100%; }
}

.page-section { padding: 2.5rem 0; }
.background-grey, .trust-section { background: var(--accent-light); padding: 2.5rem 0; }
.m-b-20 { margin-bottom: 1.25rem; }
.m-b-40 { margin-bottom: 2.5rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.m-b-10 { margin-bottom: 0.625rem; }

.heading-text h2, .heading-text h4 {
    font-weight: 800;
    color: #484848;
    margin-bottom: 1rem;
}

.heading-line h2, .heading-line h4 {
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.text-center { text-align: center; }

.merchant-trust-rating {
    margin-top: 1.25rem;
    padding: 1rem 1.1rem;
    background: var(--accent-light, #e3f4fb);
    border: 1px solid var(--border-color, #c5e4f3);
    border-radius: 8px;
    font-size: 0.9rem;
}

.merchant-trust-rating-score {
    margin: 0 0 0.65rem;
    color: var(--accent-hover, #0d8bb8);
}

.merchant-trust-review {
    margin: 0;
    color: #484848;
    line-height: 1.5;
}

.merchant-trust-review cite {
    display: block;
    margin-top: 0.35rem;
    font-style: normal;
    font-size: 0.82rem;
    color: #666;
}

.merchant-trust-stars {
    font-weight: 800;
    color: var(--accent, #12a0d7);
}

.product-trust-aside {
    margin-top: 1.25rem;
    padding: 1rem 1.1rem;
    background: var(--accent-light, #e3f4fb);
    border: 1px solid var(--border-color, #c5e4f3);
    border-radius: 8px;
    font-size: 0.9rem;
}

.product-trust-aside-title {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    color: var(--accent-hover, #0d8bb8);
}

.product-trust-aside-list {
    margin: 0;
    padding-left: 1.1rem;
    color: #484848;
    line-height: 1.55;
}

.product-trust-aside-list li + li {
    margin-top: 0.35rem;
}

.product-trust-aside-note {
    margin: 0.85rem 0 0;
    font-size: 0.85rem;
    color: #666;
}

.product-trust-aside-note a {
    color: var(--accent, #12a0d7);
    font-weight: 600;
}

.admin-details-muted {
    margin-top: 1rem;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    background: #f8fafc;
}

.admin-details-muted summary {
    cursor: pointer;
    font-weight: 600;
    color: #475569;
}

.admin-details-body {
    margin-top: 1rem;
}

/* Homepage hero & category banners */
.home-hero {
    background: linear-gradient(160deg, #e8f6fc 0%, #ffffff 42%, #f4fbfe 100%);
    padding: 2.5rem 0 3rem;
    border-bottom: 1px solid rgba(18, 160, 215, 0.12);
    overflow: hidden;
}

.home-hero-main {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 2.75rem;
}

.home-hero-badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(18, 160, 215, 0.12);
    color: #0d8bb8;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
}

.home-hero-title {
    font-size: clamp(2rem, 4.5vw, 3.15rem);
    line-height: 1.08;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 1rem;
}

.home-hero-title span {
    color: var(--accent, #12a0d7);
}

.home-hero-lead {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #5a6570;
    max-width: 34rem;
    margin: 0 0 1.5rem;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.btn-hero-primary {
    box-shadow: 0 8px 24px rgba(18, 160, 215, 0.28);
}

.btn-hero-secondary {
    background: #fff;
    border: 2px solid rgba(18, 160, 215, 0.35);
    color: #0d8bb8;
}

.btn-hero-secondary:hover {
    background: #f0f9fd;
    border-color: var(--accent, #12a0d7);
    color: var(--accent-hover, #0d8bb8);
}

.home-hero-trust {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.25rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #4b5563;
}

.home-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    text-decoration: none;
    transition: transform 0.35s ease;
}

.home-hero-visual:hover {
    transform: translateY(-4px);
}

.home-hero-series {
    position: relative;
    width: min(100%, 500px);
    padding: 1rem 1rem 1.25rem;
    border-radius: 22px;
    background: linear-gradient(165deg, #ffffff 0%, #eef8fc 100%);
    box-shadow: 0 18px 48px rgba(18, 60, 90, 0.12);
    border: 1px solid rgba(18, 160, 215, 0.14);
}

.home-hero-series img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 10px;
    transition: transform 0.45s ease;
}

.home-hero-visual:hover .home-hero-series img {
    transform: scale(1.02);
}

.home-hero-series-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 2;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(6px);
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.82rem;
    color: var(--accent, #12a0d7);
    box-shadow: 0 6px 20px rgba(18, 160, 215, 0.18);
    border: 1px solid rgba(18, 160, 215, 0.15);
    white-space: nowrap;
}

/* Legacy — unused */
.home-hero-phone,
.home-hero-phone-backdrop,
.home-hero-phone-ring,
.home-hero-phone-badge,
.home-hero-visual-card,
.home-hero-glow {
    display: none;
}

.home-categories-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.home-categories-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0;
}

.home-categories-link {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--accent, #12a0d7);
    white-space: nowrap;
}

.home-categories-link:hover {
    text-decoration: underline;
}

.home-categories-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.home-category-card {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.home-category-card--featured {
    grid-column: span 1;
}

.home-category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(18, 160, 215, 0.22);
}

.home-category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    background: linear-gradient(145deg, #e3f4fb, #c5e4f3);
}

.home-category-card:hover img {
    transform: scale(1.08);
}

.home-category-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem;
    background: linear-gradient(to top, rgba(8, 28, 44, 0.88) 0%, rgba(8, 28, 44, 0.35) 45%, transparent 100%);
}

.home-category-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.home-category-text strong {
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
}

.home-category-text small {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.75rem;
    line-height: 1.35;
}

.home-category-cta {
    align-self: flex-start;
    margin-top: 0.65rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: var(--accent, #12a0d7);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.home-category-card:hover .home-category-cta {
    opacity: 1;
    transform: translateY(0);
}

/* Legacy banner classes — kept for compatibility */
.slider-home {
    background: #fff;
    padding: 0;
}

.banners-carousel {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

.banner-slide {
    position: relative;
    flex: 0 0 33.333%;
    min-width: 280px;
    height: 220px;
    overflow: hidden;
    scroll-snap-align: start;
    display: block;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.banner-slide:hover img { transform: scale(1.05); }

.banner-caption {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.45);
}

.banner-caption h3 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    padding: 1rem;
}

/* Product grid */
.shop { margin-bottom: 1rem; }
.shop .row {
    row-gap: 1.5rem;
    justify-content: flex-start;
}

.shop .shop-product-card,
.shop .product:not(.widget-product) {
    background: #fff;
    border: 1px solid #e8e8e8;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s ease;
}

.shop .shop-product-card:hover,
.shop .product:not(.widget-product):hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.shop .product-image {
    position: relative;
    background: #fafafa;
    overflow: hidden;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    max-height: none !important;
    width: 100%;
}

.shop .product-image a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.shop .product-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.shop .product-body,
.shop .product-description,
.widget-shop .product-description {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.5rem;
    overflow: visible;
    -webkit-line-clamp: unset;
}

.shop .product-meta-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
}

.shop .product-category,
.widget-shop .product-category {
    flex: 1;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #777;
    line-height: 1.3;
    float: none;
    width: auto;
}

.shop .product-price-slot,
.shop .product-card-price,
.shop .product-price,
.widget-shop .product-card-price,
.widget-shop .product-price {
    flex-shrink: 0;
    text-align: left;
    font-weight: 800;
    color: var(--accent);
    font-size: 1rem;
    line-height: 1.2;
    float: none;
    width: auto;
}

.shop .product-card-price,
.widget-shop .product-card-price {
    margin-top: 0.15rem;
}

.shop .product-price small,
.widget-shop .product-price small {
    display: block;
    font-size: 0.62rem;
    font-weight: 600;
    color: #888;
    margin-top: 0.1rem;
}

.shop .product-title,
.widget-shop .product-title {
    clear: none;
    margin-top: 0.25rem;
}

.shop .product-title h3,
.widget-shop .product-title h3 {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}

.shop .product-card-action {
    margin-top: auto;
    padding-top: 0.35rem;
}

.btn-sm-card {
    padding: 0.55rem 0.75rem;
    font-size: 0.72rem;
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(18, 160, 215, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-overlay a {
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    border: 2px solid #fff;
    padding: 0.5rem 1rem;
}

.shop .product-image:hover .product-overlay { opacity: 1; }

.shop .product-title a:hover,
.widget-shop .product-title a:hover { color: var(--accent); }

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.btn-disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Widget columns home — righe orizzontali con miniatura */
.widget-products-section { background: #fff; }

.widget-shop .widget-product {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    border: none;
    border-bottom: 1px solid #eee;
    padding: 1rem 0;
    background: transparent;
    box-shadow: none;
    height: auto;
}

.widget-shop .widget-product:last-child { border-bottom: none; }

.widget-shop .widget-product .product-image {
    flex: 0 0 96px;
    width: 96px;
    height: 96px;
    min-width: 96px;
    max-height: none !important;
    aspect-ratio: auto;
    padding: 0.45rem;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    background: #fafafa;
}

.widget-shop .widget-product .product-image a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.widget-shop .widget-product .product-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.widget-shop .widget-product .product-description {
    padding: 0;
    flex: 1;
    min-width: 0;
}

.widget-shop .widget-product .product-category { float: none; width: auto; }
.widget-shop .widget-product .product-card-price,
.widget-shop .widget-product .product-price { float: none; width: auto; text-align: left; margin-top: 0.35rem; }

/* Icon boxes */
.icon-box { text-align: center; padding: 1rem; }
.icon-box-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.icon-box h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: #484848; }
.icon-box p { color: #777; font-size: 0.9rem; }

/* Shop toolbar */
.shop-page .page-title h1 {
    font-size: 1.75rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: #484848;
}

.order-select h6 {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    color: #484848;
}

.order-select select.form-control {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    font-size: 0.85rem;
}

/* Product detail page */
.product-page {
    padding: 2rem 0 3rem;
    background: var(--bg-primary);
}

.breadcrumb {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 1.5rem;
}

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

.product-detail-container {
    max-width: 1140px;
    margin: 0 auto;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: minmax(280px, 42%) minmax(320px, 58%);
    gap: 2.5rem;
    align-items: start;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.product-detail-gallery {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-large {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    width: 100%;
    max-height: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
}

.product-image-large img {
    max-width: 100%;
    max-height: 460px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

.product-detail-info {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.product-detail-title {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 800;
    line-height: 1.3;
    color: #333;
    margin: 0;
}

.product-price-box {
    background: var(--accent-pale);
    border: 2px solid var(--accent);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin: 0.75rem 0;
}

.product-price-box .product-price {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    color: var(--accent);
    line-height: 1.2;
    float: none;
    width: auto;
    text-align: left;
}

.product-price-box .product-price small {
    display: block;
    font-size: 0.8rem;
    color: #666;
    font-weight: 600;
    margin-top: 0.25rem;
}

.price-note {
    margin: 0.5rem 0 0;
    font-size: 0.8rem;
    color: #777;
}

.product-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-top: 0.5rem;
}

.btn-secondary-outline {
    background: #fff;
    color: #484848;
    border: 1px solid #ccc;
    padding: 0.75rem 1.25rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
}

.btn-secondary-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.product-page .product-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #777;
}

.product-tabs {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
}

.product-tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #eee;
    background: #fafafa;
}

.product-tab-btn {
    flex: 1;
    max-width: 220px;
    padding: 1rem 1.5rem;
    border: none;
    background: transparent;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #666;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.product-tab-btn.is-active {
    color: var(--accent);
    background: #fff;
    border-bottom-color: var(--accent);
}

.product-tab-panel {
    display: none;
    padding: 1.75rem 2rem;
}

.product-tab-panel.is-active {
    display: block;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.spec-table th,
.spec-table td {
    border: 1px solid #e8e8e8;
    padding: 0.65rem 1rem;
    text-align: left;
    vertical-align: top;
}

.spec-table th {
    width: 35%;
    background: #fafafa;
    font-weight: 700;
    color: #484848;
}

.product-price-muted {
    color: #888;
    font-weight: 600;
}

.product-price-login {
    margin: 0.5rem 0;
}

.product-price-login .price-login-link {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    padding: 0.4rem 0;
}

.product-price-login .price-login-link:hover {
    text-decoration: underline;
}

.product-text-html {
    line-height: 1.65;
    color: #444;
}

.product-text-html p {
    margin-bottom: 0.85rem;
}

.product-text-html ul,
.product-text-html ol {
    margin: 0.5rem 0 1rem 1.25rem;
}

.product-text-html li {
    margin-bottom: 0.35rem;
}

.seperator {
    border-top: 1px solid #eee;
    margin: 1rem 0;
}

.product-text {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.product-meta p {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 0.35rem;
}

.stock-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 3px;
    margin: 0.5rem 0;
}

.stock-label.ok { background: #e8f5e9; color: #2e7d32; }
.stock-label.low { background: #fff3e0; color: #e65100; }
.stock-label.out { background: #ffebee; color: #c62828; }

.product-card-stock {
    margin: 0.35rem 0 0.5rem;
    min-height: 1.5rem;
}

.product-card-stock:empty {
    display: none;
}

.product-card-stock .stock-label {
    display: inline-block;
}

/* Cookie consent banner (GDPR) */
.cookie-consent-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10040;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.cookie-consent-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.cookie-consent {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 10050;
    padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom, 0));
    pointer-events: none;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.cookie-consent.is-visible {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
}

.cookie-consent-panel {
    max-width: 920px;
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}

.cookie-consent-view-intro .cookie-consent-content {
    margin-bottom: 1.15rem;
}

.cookie-consent-title {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: #1a1a1a;
}

.cookie-consent-text {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.6;
    color: #444;
}

.cookie-consent-text a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: underline;
}

.cookie-consent-prefs-lead {
    margin-bottom: 1rem;
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
}

.cookie-consent-actions-primary .btn,
.cookie-consent-actions-prefs .btn {
    min-width: 140px;
    padding: 0.65rem 1.1rem;
    font-weight: 700;
    font-size: 0.88rem;
}

.cookie-consent-reject,
.cookie-consent-customize {
    background: #fff;
    color: #333;
    border: 2px solid #ccc;
}

.cookie-consent-reject:hover,
.cookie-consent-customize:hover {
    border-color: #999;
    background: #f7f7f7;
}

.cookie-consent-accept,
.cookie-consent-save {
    background: var(--accent);
    color: #fff;
    border: 2px solid var(--accent);
}

.cookie-consent-categories {
    list-style: none;
    margin: 0 0 1.15rem;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.cookie-consent-category {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    background: #fafafa;
}

.cookie-consent-category p {
    margin: 0.35rem 0 0;
    font-size: 0.84rem;
    line-height: 1.5;
    color: #555;
}

.cookie-consent-category-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-consent-category-head label {
    cursor: pointer;
}

.cookie-consent-always {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #666;
    white-space: nowrap;
}

.cookie-consent-switch {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
}

.cookie-consent-switch input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.cookie-consent-switch-ui {
    display: block;
    width: 46px;
    height: 26px;
    border-radius: 999px;
    background: #ccc;
    transition: background 0.2s ease;
    cursor: pointer;
}

.cookie-consent-switch-ui::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.cookie-consent-switch input:checked + .cookie-consent-switch-ui {
    background: var(--accent);
}

.cookie-consent-switch input:checked + .cookie-consent-switch-ui::after {
    transform: translateX(20px);
}

.cookie-consent-switch input:focus-visible + .cookie-consent-switch-ui {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

body.cookie-consent-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .cookie-consent-panel {
        padding: 1rem;
    }

    .cookie-consent-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-consent-actions-primary .btn,
    .cookie-consent-actions-prefs .btn {
        width: 100%;
        min-width: 0;
    }
}

.btn-bg {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
}

.btn-bg:hover { background: var(--accent-hover); color: #fff; }

.detail-actions-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.product-detail-row { align-items: flex-start; }

@media (max-width: 992px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.25rem;
    }

    .product-image-large {
        min-height: 240px;
        padding: 1.25rem;
    }

    .product-tab-btn {
        max-width: none;
        font-size: 0.8rem;
        padding: 0.85rem 1rem;
    }

    .banner-slide { flex: 0 0 50%; }

    .home-hero-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .home-hero-visual {
        min-height: auto;
        max-width: 100%;
        margin: 0 auto;
        width: 100%;
    }

    .home-hero-series {
        width: min(100%, 420px);
    }

    .home-categories-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .product-detail-row .col-lg-5,
    .product-detail-row .col-lg-7 { width: 100%; }
}

@media (max-width: 576px) {
    .banner-slide { flex: 0 0 85%; height: 180px; }

    .home-hero {
        padding: 1.75rem 0 2.25rem;
    }

    .home-hero-title {
        font-size: 1.85rem;
    }

    .home-hero-lead {
        font-size: 0.95rem;
    }

    .home-hero-series {
        width: 100%;
        padding: 0.75rem;
    }

    .home-hero-series-badge {
        top: 0.85rem;
        right: 0.85rem;
        font-size: 0.75rem;
    }

    .home-categories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .home-category-card {
        aspect-ratio: 3/4;
        border-radius: 12px;
    }

    .home-category-text strong {
        font-size: 0.9rem;
    }

    .home-category-cta {
        opacity: 1;
        transform: none;
    }

    .shop-toolbar .col-lg-3 { width: 100%; margin-bottom: 1rem; }
}

.page-subtitle {
    color: #666;
    margin-top: 0.35rem;
    font-size: 0.95rem;
}

.category-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-chip {
    display: inline-block;
    padding: 0.45rem 0.9rem;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #484848;
    transition: border-color 0.2s, color 0.2s;
}

.category-chip:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.category-chip.is-active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.category-chip-brand {
    font-weight: 700;
}

.filter-block h6,
.brand-filters h6 {
    margin-bottom: 0.65rem;
    color: #484848;
}

.catalog-section-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #484848;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
    padding-bottom: 0.35rem;
}

.catalog-brands {
    background: var(--accent-light);
    border-radius: 8px;
    padding: 1.5rem;
}

.product-brand {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    margin-bottom: 0.15rem;
}

.catalog-categories {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.catalog-category-block {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
}

.catalog-category-title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: #484848;
    margin-bottom: 0.85rem;
}

.catalog-category-title span {
    font-size: 0.85rem;
    font-weight: 600;
    color: #888;
}

.catalog-category-title:hover {
    color: var(--accent);
}

/* Bonifico bancario — checkout e conferma ordine */
.checkout-payment-info {
    background: var(--accent-light, #e3f4fb);
    border: 1px solid var(--border-color, #c5e4f3);
    border-radius: 8px;
    padding: 1rem 1.15rem;
    font-size: 0.9rem;
    line-height: 1.55;
}

.checkout-payment-info p {
    margin: 0 0 0.5rem;
}

.checkout-payment-info p:last-child {
    margin-bottom: 0;
}

.checkout-payment-warn {
    color: #e65100;
    font-weight: 600;
}

.bank-transfer-box {
    background: #fff;
    border: 2px solid var(--accent);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.bank-transfer-box h3 {
    margin: 0 0 1rem;
    font-size: 1.15rem;
    color: var(--accent-hover, #0d8bb8);
}

.bank-transfer-details {
    margin: 0;
}

.bank-transfer-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

.bank-transfer-row:last-child {
    border-bottom: none;
}

.bank-transfer-row dt {
    font-weight: 600;
    color: #555;
    margin: 0;
}

.bank-transfer-row dd {
    margin: 0;
    text-align: right;
    font-weight: 700;
    color: #222;
}

.bank-transfer-row-total dd {
    font-size: 1.25rem;
    color: var(--accent);
}

.bank-iban,
.bank-causale {
    font-family: ui-monospace, monospace;
    font-size: 0.9rem;
    word-break: break-all;
}

.bank-transfer-notes {
    margin: 1rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    font-size: 0.88rem;
    color: #666;
    line-height: 1.6;
}

.order-confirm-page {
    padding: 2rem 0 3rem;
}

.order-confirm-card {
    max-width: 720px;
    margin: 0 auto;
}

.order-confirm-header {
    text-align: center;
    margin-bottom: 2rem;
}

.order-confirm-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
}

.order-confirm-header h1 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.order-confirm-sub {
    color: #666;
    font-size: 0.95rem;
}

.order-receipt {
    margin-bottom: 1.5rem;
}

.order-receipt-table .order-receipt-total td {
    border-top: 2px solid #eee;
    padding-top: 0.85rem;
}

.order-receipt-table-wrap {
    overflow-x: auto;
}

.order-lines-vat th.text-right,
.order-lines-vat td.text-right {
    text-align: right;
}

.vat-line-note {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.78rem;
    color: #666;
    line-height: 1.4;
    max-width: 28rem;
}

.vat-totals-box {
    background: #f8fcfe;
    border: 1px solid #c5e4f3;
    border-radius: 8px;
    padding: 1rem 1.15rem;
    margin: 1rem 0 0;
}

.vat-totals-box h3 {
    font-size: 1rem;
    margin: 0 0 0.65rem;
    color: var(--accent, #12a0d7);
}

.vat-totals-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.vat-totals-table td {
    padding: 0.45rem 0.5rem;
    border-bottom: 1px solid #e8e8e8;
    vertical-align: top;
}

.vat-totals-table .r {
    text-align: right;
    white-space: nowrap;
}

.vat-totals-label-bold {
    font-weight: 700;
}

.vat-totals-grand td {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent, #12a0d7);
    border-top: 2px solid var(--accent, #12a0d7);
    padding-top: 0.65rem;
}

.vat-totals-note {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: #666;
    font-weight: 400;
    line-height: 1.4;
}

.cart-vat-law-note {
    font-size: 0.75rem;
    color: #666;
    line-height: 1.45;
    margin: -0.35rem 0 0.65rem;
    padding-left: 0.15rem;
}

.price-note-vat-law {
    font-size: 0.78rem;
    color: #666;
    line-height: 1.45;
    margin-top: 0.35rem;
    max-width: 36rem;
}

.order-shipping-summary {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: #555;
}

.order-shipping-summary h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.order-confirm-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.order-payment-type {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0 0 0.75rem;
}

.order-bank-link {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    font-weight: 700;
}

.order-bank-link a {
    color: var(--accent);
}

.order-confirm-notices {
    margin-top: 1rem;
    text-align: left;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.order-notice {
    font-size: 0.9rem;
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    margin: 0.5rem 0;
}

.order-notice.ok {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.order-notice.warn {
    background: #fff8e1;
    color: #e65100;
    border: 1px solid #ffe082;
}

.order-notice a {
    color: inherit;
    font-weight: 700;
    text-decoration: underline;
}


/* SEO content & FAQ sections */
.seo-content-section {
    background: var(--bg-secondary, #f8f9fa);
}

.seo-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 992px) {
    .seo-content-grid {
        grid-template-columns: 2fr 1fr;
        align-items: start;
    }
}

.seo-content-main h2,
.seo-content-aside h3 {
    margin-top: 0;
    font-weight: 800;
}

.seo-content-features,
.seo-aside-list {
    margin: 1rem 0 1.25rem;
    padding-left: 1.25rem;
}

.seo-content-features li,
.seo-aside-list li {
    margin-bottom: 0.5rem;
}

.seo-content-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.seo-content-aside {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
}

.seo-faq-list {
    max-width: 820px;
    margin: 0 auto;
}

.seo-faq-item {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin-bottom: 0.75rem;
    background: #fff;
    overflow: hidden;
}

.seo-faq-question {
    cursor: pointer;
    font-weight: 700;
    padding: 1rem 1.25rem;
    list-style: none;
}

.seo-faq-question::-webkit-details-marker {
    display: none;
}

.seo-faq-answer {
    margin: 0;
    padding: 0 1.25rem 1rem;
    color: var(--text-secondary, #555);
    line-height: 1.6;
}

.seo-landing-narrow {
    max-width: 820px;
}

.seo-landing-h1 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.seo-landing-lead {
    font-size: 1.1rem;
    line-height: 1.65;
    margin-bottom: 2rem;
}

.seo-landing-steps {
    padding-left: 1.25rem;
    margin: 1rem 0 1.5rem;
}

.seo-landing-steps li {
    margin-bottom: 0.65rem;
}

.seo-steps-section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.seo-steps-lead {
    color: #64748b;
    max-width: 42rem;
    margin: 0.75rem auto 0;
}

.seo-b2b-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.seo-b2b-step {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem 1.1rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.seo-b2b-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: #12a0d7;
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.seo-b2b-step h3 {
    margin: 0 0 0.45rem;
    font-size: 1.05rem;
}

.seo-b2b-step p {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .seo-b2b-steps {
        grid-template-columns: 1fr;
    }
}

.ribbon-guest-b2b {
    background: #0f172a;
    color: #f8fafc;
    padding: 0.65rem 0;
    font-size: 0.9rem;
}

.ribbon-guest-b2b-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.25rem;
}

.ribbon-guest-b2b p {
    margin: 0;
}

.ribbon-guest-b2b-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ribbon-guest-b2b .btn {
    padding: 0.35rem 0.85rem;
    font-size: 0.82rem;
}

.home-guest-welcome-card {
    background: linear-gradient(135deg, #e8f7fc 0%, #f8fbff 100%);
    border: 1px solid #cce9f5;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.home-guest-welcome-card h2 {
    margin: 0 0 0.75rem;
    font-size: 1.5rem;
}

.home-guest-welcome-card p {
    margin: 0 0 1.25rem;
    color: #475569;
}

.home-guest-welcome-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.seo-catalog-intro-lead {
    margin: 0 0 1.75rem;
    color: #475569;
    line-height: 1.6;
    max-width: 900px;
}

.seo-category-footer {
    margin-top: 0;
}

.seo-shop-trust {
    margin-top: 2rem;
}

.seo-aside-links {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.seo-aside-links a {
    color: var(--accent);
}

.product-brand a,
.product-category a {
    color: inherit;
    text-decoration: none;
}

.product-brand a:hover,
.product-category a:hover {
    color: var(--accent);
}

.seo-brands-strip {
    padding: 2.5rem 0;
}

.seo-brands-lead {
    color: #64748b;
    max-width: 640px;
    margin: 0.5rem auto 0;
}

.seo-brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    max-width: 960px;
    margin: 0 auto;
}

.seo-brand-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 1rem 1.25rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-weight: 700;
    color: #0f172a;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s, color 0.2s;
}

.seo-brand-card:hover {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 4px 14px rgba(13, 139, 184, 0.12);
}

.seo-crosslinks {
    padding: 1.5rem 0 2.5rem;
}

.seo-crosslinks-label {
    margin: 0 0 0.5rem;
    color: #64748b;
    font-size: 0.95rem;
}

.seo-crosslinks-links {
    margin: 0;
    line-height: 1.8;
}

.seo-crosslinks-links a {
    color: var(--accent);
    font-weight: 600;
}

.seo-cities-hub {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.75rem 2rem;
    margin-top: 2rem;
}

.seo-cities-region h2 {
    font-size: 1.05rem;
    margin: 0 0 0.75rem;
    color: #1e293b;
    border-bottom: 2px solid var(--accent, #2563eb);
    padding-bottom: 0.35rem;
}

.seo-cities-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.seo-cities-list a {
    color: var(--accent);
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
}

.seo-cities-list a:hover {
    text-decoration: underline;
}

.related-products-section {
    padding-top: 2rem;
}

@media (max-width: 768px) {
    .ribbon-guest-b2b-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* Layout pulito — footer compatti e intro brevi */
.page-intro {
    max-width: 42rem;
    margin: 0.5rem 0 0;
    color: #475569;
    font-size: 1rem;
    line-height: 1.55;
}

.seo-compact-footer {
    padding: 1.75rem 0;
}

.seo-compact-footer-lead {
    margin: 0 0 0.75rem;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.55;
}

.seo-compact-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    font-size: 0.9rem;
}

.seo-compact-links a {
    color: var(--accent);
    font-weight: 600;
}

.seo-compact-sep {
    color: #cbd5e1;
}

.seo-landing-compact {
    padding-bottom: 0.5rem;
}

.seo-landing-compact .seo-landing-h1 {
    font-size: clamp(1.5rem, 4vw, 2rem);
}

.seo-brands-strip-compact {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.seo-brands-strip-compact .seo-brands-grid {
    gap: 0.75rem;
}

.seo-brands-strip-compact .seo-brand-card {
    min-height: 56px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
}

.seo-faq-section-compact {
    padding-top: 1.5rem;
}

.seo-catalog-intro-compact {
    margin-bottom: 1.25rem;
    color: #64748b;
    font-size: 0.95rem;
}
