:root {
    --pg-blue: #0072BC;
    --pg-blue-light: #00AEEF;
    --pg-blue-dark: #1B365D;
    --pg-charcoal: #333333;
    --pg-grey: #CCCCCC;
    --pg-ink-cyan: #00AEEF;
    --pg-ink-magenta: #EC008C;
    --pg-ink-yellow: #FFF200;
    --pg-bg: #f0f3f7;
    --pg-gradient: linear-gradient(135deg, #0072BC 0%, #1B365D 100%);
}

body.pg-theme {
    background-color: var(--pg-bg);
    color: var(--pg-charcoal);
}

.pg-topbar {
    background: var(--pg-gradient);
    color: #fff;
    font-size: 0.75rem;
}

.pg-topbar a {
    color: rgba(255, 255, 255, 0.92);
    transition: color 0.15s ease;
}

.pg-topbar .flag-3d {
    width: 18px;
    height: 12px;
}

.pg-topbar form {
    margin: 0;
}

.pg-site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    box-shadow: 0 2px 16px rgba(15, 23, 42, 0.08);
}

.pg-header {
    background: #fff;
}

.pg-search-input {
    border: 2px solid var(--pg-blue);
    border-radius: 9999px 0 0 9999px;
}

.pg-search-btn {
    background: var(--pg-gradient);
    border-radius: 0 9999px 9999px 0;
}

#search-dropdown .pg-search-ac-item:focus-visible {
    outline: 2px solid var(--pg-blue);
    outline-offset: -2px;
}

.pg-category-nav {
    background: #fff;
    border-top: 1px solid #e5eaf0;
    border-bottom: 1px solid #e5eaf0;
}

.pg-category-nav__track {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    gap: 0;
}

.pg-category-nav__track::-webkit-scrollbar {
    height: 4px;
}

.pg-category-nav__track::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.pg-category-nav__link {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    color: #374151;
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
    padding: 0.7rem 1rem;
    border-bottom: 2px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
    text-decoration: none;
}

.pg-category-nav__link + .pg-category-nav__link {
    border-left: 1px solid #e5eaf0;
}

.pg-category-nav__link:hover,
.pg-category-nav__link.is-active {
    color: #1e8bc3;
    border-bottom-color: #1e8bc3;
    background: rgba(30, 139, 195, 0.04);
}

.pg-btn-primary {
    background: var(--pg-gradient);
    color: #fff;
    font-weight: 700;
    border-radius: 0.5rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pg-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 114, 188, 0.28);
}

.pg-btn-outline {
    border: 2px solid var(--pg-blue);
    color: var(--pg-blue);
    font-weight: 600;
    border-radius: 0.5rem;
}

.pg-hero {
    background: var(--pg-gradient);
    color: #fff;
}

.pg-hero h1 {
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.15);
}

.pg-usp-strip {
    background: #fff;
    border-bottom: 1px solid #e5eaf0;
}

.pg-usp-strip__grid {
    gap: 1.25rem;
}

@media (min-width: 1024px) {
    .pg-usp-strip__grid {
        gap: 1.5rem;
    }
}

.pg-usp-item {
    border-left: 3px solid rgba(30, 139, 195, 0.35);
}

.pg-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.625rem;
    background: rgba(30, 139, 195, 0.1);
    color: #1e8bc3;
    flex-shrink: 0;
}

.pg-feature-card {
    background: #fff;
    border: 1px solid #e5eaf0;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.pg-usp-strip .pg-feature-card {
    display: flex;
    flex-direction: column;
    padding: 1.35rem 1.5rem 1.5rem;
    min-height: 100%;
    box-sizing: border-box;
}

.pg-usp-strip .pg-feature-card .pg-icon-box {
    margin-bottom: 1rem;
}

.pg-usp-strip .pg-feature-card h3 {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.4;
    color: #1f2937;
}

.pg-usp-strip .pg-feature-card p {
    margin: 0.55rem 0 0;
    font-size: 0.8125rem;
    line-height: 1.6;
    color: #4b5563;
}

.pg-stock-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    padding: 0.125rem 0.5rem;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.25;
}

.pg-stock-pill.is-in {
    background: #f3f4f6;
    color: #374151;
}

.pg-stock-pill.is-low {
    background: #ecfdf5;
    color: #047857;
}

.pg-category-tile {
    background: #fff;
    border: 1px solid #e5eaf0;
    border-radius: 0.75rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.pg-category-tile:hover {
    border-color: var(--pg-blue);
    box-shadow: 0 8px 24px rgba(0, 114, 188, 0.12);
    transform: translateY(-2px);
}

.pg-product-card {
    background: #fff;
    border: 1px solid #e5eaf0;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pg-product-card:hover {
    border-color: var(--pg-blue-light);
    box-shadow: 0 10px 28px rgba(0, 114, 188, 0.14);
}

/* Home — card prodotto compatte */
.pg-home-products-grid > * {
    min-width: 0;
}

.pg-home-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid #e7ecf2;
    border-radius: 0.65rem;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pg-home-product-card:hover {
    border-color: var(--pg-blue-light);
    box-shadow: 0 6px 18px rgba(0, 114, 188, 0.1);
}

.pg-home-product-card__media {
    position: relative;
    height: 5.25rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.55rem;
    background: #fff;
    border-bottom: 1px solid #f0f3f7;
}

.pg-home-product-card__media img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.pg-home-product-card__media .pg-stock-pill {
    position: absolute;
    right: 0.3rem;
    top: 0.3rem;
    font-size: 0.56rem;
    padding: 0.08rem 0.38rem;
}

.pg-home-product-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.15rem;
    padding: 0.5rem 0.6rem 0.6rem;
    min-height: 0;
}

.pg-home-product-card__brand {
    margin: 0;
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--pg-blue);
    line-height: 1.2;
}

.pg-home-product-card__title {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.35;
    color: #1f2937;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.pg-home-product-card__sku {
    margin-top: 0.15rem;
    padding: 0;
    border: 0;
    background: none;
    font-size: 0.62rem;
    color: #9ca3af;
    text-align: left;
    cursor: pointer;
    line-height: 1.2;
}

.pg-home-product-card__sku:hover {
    color: var(--pg-blue);
}

.pg-section-title {
    color: var(--pg-blue-dark);
    font-weight: 800;
}

.pg-section-title::after {
    content: '';
    display: block;
    width: 2.5rem;
    height: 2px;
    margin-top: 0.5rem;
    background: #1e8bc3;
    border-radius: 2px;
}

.pg-footer {
    background: var(--pg-blue-dark);
    color: rgba(255, 255, 255, 0.75);
}

.pg-footer a:hover {
    color: #fff;
}

.pg-filter-sidebar {
    background: #fff;
    border: 1px solid #e5eaf0;
    border-radius: 0.75rem;
}

.pg-text-gradient {
    background: linear-gradient(135deg, var(--pg-blue) 0%, var(--pg-blue-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.pg-icon-btn {
    color: var(--pg-charcoal);
    transition: color 0.15s ease;
}

.pg-icon-btn:hover {
    color: var(--pg-blue);
}

.pg-site-logo {
    image-rendering: auto;
}

/* ============================================================
   CATALOGO — layout professionale
   ============================================================ */

.pg-breadcrumb {
    font-size: 0.75rem;
    color: #7a8699;
}

.pg-breadcrumb a {
    color: #7a8699;
    transition: color 0.15s ease;
}

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

.pg-catalog-head {
    position: relative;
    background: var(--pg-gradient);
    border-radius: 1rem;
    color: #fff;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(27, 54, 93, 0.22);
}

.pg-catalog-head::after {
    content: '';
    position: absolute;
    inset: auto -10% -60% auto;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(0, 174, 239, 0.35) 0%, transparent 70%);
    pointer-events: none;
}

.pg-catalog-head-accent {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--pg-ink-cyan), var(--pg-ink-magenta), var(--pg-ink-yellow));
}

.pg-catalog-title {
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.1;
}

.pg-catalog-count-pill {
    display: inline-flex;
    align-items: baseline;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 9999px;
    padding: 0.35rem 0.9rem;
    backdrop-filter: blur(2px);
}

/* Toolbar */
.pg-catalog-toolbar {
    background: #fff;
    border: 1px solid #e5eaf0;
    border-radius: 0.85rem;
    box-shadow: 0 1px 3px rgba(27, 54, 93, 0.06);
}

.pg-toolbar-select {
    appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a8699' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.65rem center;
    border: 1px solid #dbe2ec;
    border-radius: 0.6rem;
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    font-size: 0.8125rem;
    color: var(--pg-charcoal);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pg-toolbar-select:focus {
    outline: none;
    border-color: var(--pg-blue);
    box-shadow: 0 0 0 3px rgba(0, 114, 188, 0.14);
}

.pg-view-toggle {
    display: inline-flex;
    background: #eef2f7;
    border-radius: 0.6rem;
    padding: 0.2rem;
    gap: 0.2rem;
}

.pg-view-toggle a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.7rem;
    border-radius: 0.45rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7688;
    transition: all 0.15s ease;
}

.pg-view-toggle a.is-active {
    background: #fff;
    color: var(--pg-blue);
    box-shadow: 0 1px 4px rgba(27, 54, 93, 0.14);
}

/* Chip filtri attivi */
.pg-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #eef5fb;
    border: 1px solid #cfe3f4;
    color: var(--pg-blue-dark);
    border-radius: 9999px;
    padding: 0.3rem 0.4rem 0.3rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.pg-filter-chip button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 9999px;
    background: rgba(0, 114, 188, 0.12);
    color: var(--pg-blue);
    line-height: 1;
    transition: background 0.15s ease, color 0.15s ease;
}

.pg-filter-chip button:hover {
    background: var(--pg-blue);
    color: #fff;
}

/* Sidebar elevata */
.pg-filter-sidebar {
    background: #fff;
    border: 1px solid #e5eaf0;
    border-radius: 0.9rem;
    box-shadow: 0 1px 3px rgba(27, 54, 93, 0.06);
    overflow: hidden;
}

.pg-filter-head {
    background: linear-gradient(135deg, rgba(0, 114, 188, 0.08), rgba(27, 54, 93, 0.05));
    border-bottom: 1px solid #e9eef4;
}

.pg-filter-field label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #8a94a6;
    margin-bottom: 0.3rem;
}

.pg-filter-field select {
    width: 100%;
    appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a8699' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    border: 1px solid #dbe2ec;
    border-radius: 0.6rem;
    padding: 0.6rem 2rem 0.6rem 0.8rem;
    font-size: 0.85rem;
    color: var(--pg-charcoal);
    min-height: 44px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pg-filter-field select:focus {
    outline: none;
    border-color: var(--pg-blue);
    box-shadow: 0 0 0 3px rgba(0, 114, 188, 0.14);
}

.pg-quick-cat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    min-height: 42px;
    padding: 0.55rem 0.75rem;
    border-radius: 0.55rem;
    font-size: 0.85rem;
    color: #56607a;
    transition: background 0.15s ease, color 0.15s ease;
}

.pg-quick-cat:hover {
    background: #f1f5fa;
    color: var(--pg-blue);
}

.pg-quick-cat.is-active {
    background: var(--pg-gradient);
    color: #fff;
    font-weight: 600;
}

/* Card prodotto elevata */
.pg-product-card {
    background: #fff;
    border: 1px solid #e7ecf2;
    border-radius: 0.85rem;
    overflow: hidden;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.pg-product-card:hover {
    border-color: var(--pg-blue-light);
    box-shadow: 0 16px 36px rgba(0, 114, 188, 0.16);
    transform: translateY(-4px);
}

.pg-product-media {
    position: relative;
    background: linear-gradient(180deg, #fbfcfe 0%, #f2f5f9 100%);
}

.pg-stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border-radius: 9999px;
    padding: 0.2rem 0.6rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.pg-stock-badge.is-in {
    background: #e7f7ee;
    color: #11804a;
}

.pg-stock-badge.is-low {
    background: #fff3e0;
    color: #b45309;
}

.pg-stock-badge::before {
    content: '';
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 9999px;
    background: currentColor;
}

.pg-brand-tag {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--pg-blue);
}

/* Griglia catalogo — card unica per prodotto (fix Chrome: niente link flex) */
.pg-catalog-grid > * {
    min-width: 0;
}

.pg-grid-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background: #fff;
    border: 1px solid #e7ecf2;
    border-radius: 0.85rem;
    overflow: hidden;
    cursor: pointer;
    box-sizing: border-box;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.pg-grid-card:hover {
    border-color: var(--pg-blue-light);
    box-shadow: 0 12px 28px rgba(0, 114, 188, 0.14);
    transform: translateY(-2px);
}

.pg-grid-card:focus-visible {
    outline: 2px solid var(--pg-blue);
    outline-offset: 2px;
}

.pg-grid-card__media {
    position: relative;
    flex: 0 0 auto;
    height: 11rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.15rem;
    background: #fff;
    border-bottom: 1px solid #eef2f7;
}

.pg-grid-card__media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.pg-grid-card:hover .pg-grid-card__media img {
    transform: scale(1.04);
}

.pg-grid-card__media .pg-stock-badge {
    position: absolute;
    right: 0.65rem;
    top: 0.65rem;
}

.pg-grid-card__body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 1rem 1.15rem 1.15rem;
    text-align: center;
}

.pg-grid-card__brand {
    margin: 0 0 0.35rem;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--pg-blue);
}

.pg-grid-card__title {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.35;
    color: #1a2332;
}

.pg-grid-card__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.65rem;
}

.pg-grid-card__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.55rem;
    background: #f5f8fb;
    border: 1px solid #e7eef5;
    border-radius: 0.45rem;
    font-size: 0.72rem;
}

button.pg-grid-card__chip {
    cursor: pointer;
    border: 1px solid #e7eef5;
}

button.pg-grid-card__chip:hover {
    border-color: var(--pg-blue-light);
}

.pg-grid-card__chip-k {
    color: #8a94a6;
    font-weight: 600;
}

.pg-grid-card__chip-v {
    color: var(--pg-charcoal);
    font-weight: 700;
}

.pg-grid-card__footer {
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid #eef2f7;
}

.pg-grid-card__price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--pg-blue);
    line-height: 1.1;
}

.pg-grid-card__price-note {
    margin: 0.2rem 0 0;
    font-size: 0.68rem;
    color: #8a94a6;
}

.pg-grid-card__login {
    display: block;
    width: 100%;
    padding: 0.55rem 0.65rem;
    font-size: 0.72rem;
    text-align: center;
    line-height: 1.3;
    box-sizing: border-box;
}

.pg-grid-card__cart {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

/* Lista tecnica — tabella HTML (affidabile su Chrome/Firefox/Safari) */
.pg-tech-card {
    display: block;
    width: 100%;
    background: #fff;
    border: 1px solid #e7ecf2;
    border-radius: 0.85rem;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
    box-sizing: border-box;
}

.pg-tech-card:hover {
    border-color: var(--pg-blue-light);
    box-shadow: 0 12px 30px rgba(0, 114, 188, 0.13);
}

.pg-tech-card:focus-visible {
    outline: 2px solid var(--pg-blue);
    outline-offset: 2px;
}

.pg-tech-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.pg-tech-td-media {
    width: 8rem;
    vertical-align: top;
    padding: 1.5rem 1.25rem 1.5rem 1.75rem;
}

.pg-tech-td-info {
    vertical-align: top;
    padding: 1.5rem 1.5rem 1.5rem 0.75rem;
}

.pg-tech-td-price {
    width: 12.5rem;
    vertical-align: middle;
    text-align: center;
    padding: 1.5rem 1.75rem;
    border-left: 1px solid #eef2f7;
}

.pg-tech-media {
    position: relative;
    width: 6.5rem;
    height: 6.5rem;
    margin: 0 auto;
    border-radius: 0.7rem;
    background: #fff;
    border: 1px solid #eef2f7;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    box-sizing: border-box;
}

.pg-tech-media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.pg-tech-media .pg-stock-badge {
    position: absolute;
    right: 0.35rem;
    top: 0.35rem;
}

.pg-tech-brand {
    margin: 0 0 0.35rem;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--pg-blue);
    line-height: 1.3;
}

.pg-tech-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    color: #1a2332;
}

.pg-tech-specs-table {
    width: 100%;
    margin-top: 0.85rem;
    border-collapse: collapse;
    table-layout: auto;
}

.pg-tech-specs-table th {
    padding: 0 0.85rem 0.2rem 0;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #8a94a6;
    text-align: left;
    white-space: nowrap;
}

.pg-tech-specs-table td {
    padding: 0 0.85rem 0 0;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--pg-charcoal);
    line-height: 1.3;
    white-space: nowrap;
    word-break: normal;
    vertical-align: top;
}

.pg-tech-spec-copy {
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    font: inherit;
    font-weight: 700;
    color: inherit;
    cursor: pointer;
    text-align: left;
}

.pg-tech-spec-copy:hover {
    color: var(--pg-blue);
}

.pg-tech-price-note {
    margin: 0.35rem 0 0;
    font-size: 0.68rem;
    color: #8a94a6;
    line-height: 1.3;
}

.pg-tech-login-btn {
    display: inline-block;
    width: 100%;
    padding: 0.65rem 0.75rem;
    font-size: 0.75rem;
    line-height: 1.35;
    text-align: center;
    box-sizing: border-box;
}

.pg-tech-cart {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.65rem;
}

@media (max-width: 767px) {
    .pg-tech-table,
    .pg-tech-table tbody,
    .pg-tech-table tr,
    .pg-tech-table td {
        display: block;
        width: 100%;
    }

    .pg-tech-td-media,
    .pg-tech-td-info,
    .pg-tech-td-price {
        width: 100%;
        padding: 0;
        border: 0;
    }

    .pg-tech-td-media {
        padding: 1rem 1.25rem 0;
    }

    .pg-tech-td-info {
        padding: 0.75rem 1.25rem 0;
    }

    .pg-tech-td-price {
        padding: 1rem 1.25rem 1.25rem;
        border-top: 1px solid #eef2f7;
        margin-top: 0.75rem;
        text-align: left;
    }

    .pg-tech-media {
        margin: 0;
    }

    .pg-tech-specs-table th,
    .pg-tech-specs-table td {
        padding-right: 0.5rem;
        font-size: 0.72rem;
    }

    /* Lista tecnica mobile: nascondi tabella logistica/prezzo se visibile la card desktop */
    .pg-tech-card .pg-tech-specs-table,
    .pg-tech-card .pg-tech-brand,
    .pg-tech-card .pg-tech-td-price {
        display: none !important;
    }

    .pg-tech-card .pg-tech-td-info {
        padding-bottom: 1rem;
    }
}

.pg-price-tag {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--pg-blue);
    line-height: 1.1;
}

/* Paginazione */
.pg-pagination nav > div:first-child { display: none; }

.pg-pagination svg { height: 1.1rem; width: 1.1rem; }

.pg-pagination span[aria-current] span,
.pg-pagination a {
    border-radius: 0.55rem !important;
}

@media (max-width: 767px) {
    :root {
        --pg-header-mobile: 3.5rem;
    }

    .pg-catalog-head { border-radius: 0.85rem; padding: 1.25rem 1rem; }
    .pg-catalog-title { font-size: 1.35rem; }

    .pg-touch-target {
        min-height: 44px;
        min-width: 44px;
    }

    .pg-filter-sidebar .pg-filter-head { display: none; }
    .pg-filter-sidebar { box-shadow: none; border: 0; }

    .pg-tech-card-mobile {
        display: block;
        width: 100%;
        background: #fff;
        border: 1px solid #e7ecf2;
        border-radius: 0.75rem;
        cursor: pointer;
        transition: border-color 0.15s ease, box-shadow 0.15s ease;
    }

    .pg-tech-card-mobile:hover,
    .pg-tech-card-mobile:focus-visible {
        border-color: #1e8bc3;
        box-shadow: 0 6px 18px rgba(30, 139, 195, 0.12);
        outline: none;
    }

    .pg-tech-card-mobile:focus-visible {
        outline: 2px solid #1e8bc3;
        outline-offset: 2px;
    }

    .pg-grid-card__login,
    .pg-btn-outline.pg-grid-card__login {
        display: flex;
        min-height: 44px;
        width: 100%;
        align-items: center;
        justify-content: center;
    }

    .pg-pagination nav {
        display: flex;
        justify-content: center;
    }

    .pg-pagination nav > div:last-child {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 0.35rem;
        overflow-x: auto;
        max-width: 100%;
        padding-bottom: 0.25rem;
        -webkit-overflow-scrolling: touch;
    }

    .pg-pagination nav > div:last-child > *:not(:first-child):not(:last-child):not([aria-current]) {
        display: none;
    }

    .pg-pagination .pg-mobile-page-info {
        display: inline-flex;
        align-items: center;
        padding: 0 0.5rem;
        font-size: 0.8125rem;
        font-weight: 600;
        color: #4b5563;
        white-space: nowrap;
    }

    .pg-product-sticky-cta {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 35;
        padding: 0.75rem 1rem;
        padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, 0.96);
        border-top: 1px solid #e5eaf0;
        box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
    }

    .pg-product-page-mobile-pad {
        padding-bottom: 5.5rem;
    }

    .pg-specs-mobile dl {
        display: grid;
        gap: 0.5rem;
    }

    .pg-specs-mobile dl > div {
        display: flex;
        justify-content: space-between;
        gap: 1rem;
        padding: 0.5rem 0;
        border-bottom: 1px solid #f3f4f6;
        font-size: 0.875rem;
    }

    .pg-specs-mobile dl dt {
        color: #6b7280;
        font-size: 0.75rem;
        flex-shrink: 0;
    }

    .pg-specs-mobile dl dd {
        font-weight: 600;
        text-align: right;
        color: #1f2937;
    }

    .pg-specs-mobile table {
        display: none;
    }

    .pg-footer-mobile-accordion button {
        min-height: 48px;
    }

    .pg-register-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
    .pg-register-form select,
    .pg-register-form textarea,
    .pg-contact-form input:not([type="checkbox"]),
    .pg-contact-form select,
    .pg-contact-form textarea {
        min-height: 44px;
    }

    .pg-register-form label.flex.items-start {
        min-height: 44px;
        padding-top: 0.25rem;
        padding-bottom: 0.25rem;
    }

    .pg-register-type-tab {
        width: 100%;
    }
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid #1e8bc3;
    outline-offset: 2px;
}

@media (min-width: 768px) {
    .pg-pagination .pg-mobile-page-info {
        display: none;
    }

    .pg-product-sticky-cta {
        display: none;
    }

    .pg-product-page-mobile-pad {
        padding-bottom: 2rem;
    }

    .pg-specs-mobile table {
        display: table;
    }

    .pg-specs-mobile dl {
        display: none;
    }
}

input, select, textarea, button {
    font-size: max(16px, 1em);
}

@media (min-width: 768px) {
    input, select, textarea, button {
        font-size: inherit;
    }
}
