/*
Theme Name: Ilricaricabile
Author: Quadracode
Version: 1.0
Text Domain: ilricaricabile
*/

:root {
    --blue: #073579;
    --blue-dark: #052f6f;
    --orange: #f26522;
    --cyan: #00a6ad;
    --light: #f3f6fc;
    --panel: #eef3fb;
    --text: #073579;
    --muted: #536d96;
    --border: #e7edf6;
    --radius: 10px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: #fff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
}

h1,
h2,
h3,
h4,
p {
    margin: 0;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
}

p {
    line-height: 1.5;
}

button,
input {
    font-family: inherit;
}

.container {
    width: min(100% - 78px, 1168px);
    margin-inline: auto;
}

/* HEADER */

.site-header {
    padding: 26px 0 12px;
    background: #fff;
}

.header-inner {
    display: grid;
    grid-template-columns: 268px 42px 1fr auto;
    gap: 12px;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
    min-height: 42px;
    text-decoration: none;
}

.site-logo img {
    width: 252px;
    max-height: none;
}

.menu-toggle,
.only-icon {
    width: 42px;
    height: 42px;
    border-radius: 9px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-toggle {
    border: 0;
    cursor: pointer;
    padding: 0;
}

.menu-toggle img {
    width: 19px;
    height: 19px;
}

.header-search {
    display: flex;
    height: 42px;
}

.header-search input {
    flex: 1;
    min-width: 0;
    border: 1px solid var(--border);
    border-right: 0;
    border-radius: 9px 0 0 9px;
    padding: 0 18px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 500;
    outline: none;
}

.header-search input::placeholder {
    color: #263d62;
    opacity: .95;
}

.header-search button {
    width: 42px;
    border: 0;
    border-radius: 0 9px 9px 0;
    background: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.header-search button img {
    width: 17px;
    height: 17px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 11px;
}

.header-icon {
    color: var(--blue);
    text-decoration: none;
}

.only-icon {
    text-decoration: none;
}

.only-icon img {
    width: 22px;
    height: 22px;
}

.header-assistenza {
    display: flex;
    flex-direction: column;
    line-height: 1.12;
    font-size: 12px;
    white-space: nowrap;
    margin-inline: 2px;
}

.header-assistenza span {
    color: #101828;
    font-weight: 800;
}

.header-assistenza strong {
    color: var(--orange);
    font-size: 13px;
    font-weight: 800;
}

/* HOME */

.home-main {
    background: #fff;
}

/* B2B STRIP */

.b2b-strip {
    background: transparent;
    color: var(--blue);
    margin-bottom: 18px;
}

.b2b-strip-inner {
    min-height: 70px;
    border-radius: 9px;
    background: var(--panel);
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 24px;
    font-size: 15px;
}

.b2b-strip-inner::before {
    content: "";
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    background: url("img/qualità.svg") center / contain no-repeat;
}

.b2b-strip strong {
    display: block;
    font-size: 16px;
    font-weight: 800;
}

.b2b-strip span {
    display: block;
    color: var(--blue);
    font-size: 14px;
    font-weight: 500;
}

.b2b-strip a {
    margin-left: auto;
    background: var(--blue);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    padding: 13px 26px;
    border-radius: 7px;
    white-space: nowrap;
}

/* HERO */

.home-hero {
    padding: 0 0 28px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.hero-card {
    position: relative;
    height: 260px;
    border-radius: 12px;
    overflow: hidden;
    background: #eef3fb;
}

/* immagini */
.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* overlay sfumatura */
.hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(238, 243, 251, .96) 0%,
        rgba(238, 243, 251, .88) 42%,
        rgba(238, 243, 251, .18) 72%,
        rgba(238, 243, 251, 0) 100%
    );
    z-index: 1;
}

/* contenuto */
.hero-content {
    position: relative;
    z-index: 2;
    padding: 26px;
}

/* badge */
.hero-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 12px;
}

.hero-badge.orange {
    background: var(--orange);
    color: #fff;
}

.hero-badge.blue {
    background: var(--blue);
    color: #fff;
}

/* titoli */
.hero-content h1,
.hero-content h2 {
    max-width: 360px;
    font-size: 28px;
    line-height: 1.15;
    color: var(--blue);
    font-weight: 800;
}

/* responsive */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-card {
        height: 220px;
    }
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--orange);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

/* RESPONSIVE */

@media (max-width: 1050px) {
    .container {
        width: min(100% - 32px, 1168px);
    }

    .header-inner {
        grid-template-columns: 210px 42px 1fr auto;
    }

    .site-logo img {
        width: 205px;
    }

    .header-actions {
        gap: 9px;
    }

    .header-assistenza {
        display: none;
    }
}

@media (max-width: 900px) {
    .site-header {
        padding-top: 18px;
    }

    .header-inner {
        grid-template-columns: 1fr 42px;
    }

    .site-logo {
        order: 1;
    }

    .menu-toggle {
        order: 2;
        justify-self: end;
    }

    .header-search {
        order: 3;
        grid-column: 1 / -1;
    }

    .header-actions {
        order: 4;
        grid-column: 1 / -1;
        justify-content: space-between;
    }

    .header-assistenza {
        display: flex;
    }

    .b2b-strip-inner {
        min-height: auto;
        flex-direction: column;
        align-items: flex-start;
        padding: 18px;
    }

    .b2b-strip-inner::before {
        display: none;
    }

    .b2b-strip a {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-card {
        min-height: 300px;
    }

    .hero-card-content,
    .hero-card-side .hero-card-content {
        padding: 32px;
    }
}

/* FIX OFFCANVAS MENU */

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 47, 111, .32);
    opacity: 0;
    visibility: hidden;
    z-index: 9998;
    transition: opacity .25s ease, visibility .25s ease;
}

.side-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: min(370px, 88vw);
    height: 100vh;
    background: #f7f9fd;
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform .28s ease;
    box-shadow: 18px 0 46px rgba(5, 47, 111, .16);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

body.menu-open {
    overflow: hidden;
}

body.menu-open .menu-overlay {
    opacity: 1;
    visibility: visible;
}

body.menu-open .side-menu {
    transform: translateX(0);
}

.side-menu-header {
    height: 72px;
    padding: 0 18px;
    border-bottom: 1px solid var(--border);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.side-menu-header > img {
    width: 150px;
    height: auto;
}

.side-menu-close {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 8px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.side-menu-close img {
    width: 14px;
    height: 14px;
}

.side-menu-nav {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
}

.side-menu-section-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #8aa0c3;
    font-weight: 800;
    padding: 18px 0 8px;
}

.side-menu-section-title:first-child {
    padding-top: 6px;
}

.side-menu-item {
    border-bottom: 1px solid var(--border);
}

.side-menu-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.side-menu-row > a,
.side-menu-link {
    color: var(--blue);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.side-menu-row > a {
    flex: 1;
    padding: 14px 0;
}

.side-menu-link {
    display: block;
    padding: 8px 0;
}

.submenu-toggle {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.submenu-toggle img {
    width: 12px;
    height: 12px;
    transition: transform .2s ease;
}

.side-menu-item.is-open .submenu-toggle img {
    transform: rotate(180deg);
}

.submenu {
    display: none;
    padding: 0 0 12px 18px;
}

.side-menu-item.is-open .submenu {
    display: grid;
    gap: 4px;
}

.submenu a {
    display: block;
    padding: 8px 0;
    color: #4c678f;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.header-search button img {
    filter: brightness(0) invert(1);
}

/* FOOTER */

.site-footer {
    margin-top: 28px;
}

.footer-top {
    min-height: 74px;
    background: var(--panel);
    border-radius: 9px 9px 0 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    overflow: hidden;
}

.footer-service {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    border-right: 1px solid #d8e1ef;
}

.footer-service:last-child {
    border-right: 0;
}

.footer-service img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.footer-service strong {
    display: block;
    color: var(--blue);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.15;
}

.footer-service span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.25;
    margin-top: 3px;
}

.footer-main {
    background: var(--blue);
    color: #fff;
    border-radius: 0 0 9px 9px;
    padding: 26px 34px 16px;
    display: grid;
    grid-template-columns: 1.45fr .9fr .9fr 1.35fr;
    gap: 46px;
}

.footer-brand img {
    width: 245px;
    margin-bottom: 20px;
}

.footer-brand p {
    max-width: 270px;
    color: rgba(255,255,255,.88);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.65;
}

.footer-col h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-col a,
.footer-col span {
    display: block;
    color: rgba(255,255,255,.9);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.55;
}

.footer-col a:hover {
    color: #fff;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.footer-social a {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.footer-bottom {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255,255,255,.25);
    margin-top: 6px;
    padding-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom span {
    color: rgba(255,255,255,.9);
    font-size: 12px;
    font-weight: 500;
}

.footer-payments {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-payments span {
    background: #fff;
    color: var(--blue);
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 800;
}

@media (max-width: 900px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-service {
        border-right: 0;
        border-bottom: 1px solid #d8e1ef;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 26px 24px 18px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-payments {
        flex-wrap: wrap;
    }
}

@media (max-width: 560px) {
    .footer-top {
        grid-template-columns: 1fr;
    }
}

.footer-payments {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-payments img {
    height: 30px;
    width: auto;
    background: #fff;
    border-radius: 4px;
    padding: 4px 8px;
}

.footer-payments .bonifico {
    background: #fff;
    color: var(--blue);
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 800;
}

/* FEATURED CATEGORIES */

.featured-categories {
    padding-bottom: 28px;
}

.featured-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.featured-category-card {
    position: relative;
    min-height: 150px;
    border-radius: 9px;
    overflow: hidden;
    background: var(--panel);
    text-decoration: none;
}

.featured-category-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #f3f6fc 0%, rgba(243,246,252,.88) 44%, rgba(243,246,252,0) 100%);
    z-index: 1;
}

.featured-category-image {
    position: absolute;
    inset: 0;
}

.featured-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-category-card h3 {
    position: relative;
    z-index: 2;
    max-width: 170px;
    padding: 28px 20px;
    color: var(--blue);
    font-size: 19px;
    line-height: 1.15;
    font-weight: 800;
}

@media (max-width: 900px) {
    .featured-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .featured-categories-grid {
        grid-template-columns: 1fr;
    }
}

/* CATEGORY ICONS */

.home-category-icons {
    padding: 0 0 30px;
}

.category-icons-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 18px;
    align-items: start;
}

.category-icon-card {
    text-align: center;
    text-decoration: none;
    color: var(--blue);
    font-weight: 800;
    font-size: 14px;
    line-height: 1.12;
}

.category-icon-card img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin: 0 auto 8px;
}

.category-icon-card span {
    display: block;
}

@media (max-width: 900px) {
    .category-icons-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 560px) {
    .category-icons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* FEATURED PRODUCTS */

.featured-products {
    padding: 0 0 28px;
}

.section-heading {
    margin-bottom: 16px;
}

.section-heading h2 {
    color: var(--blue);
    font-size: 26px;
    line-height: 1.1;
    font-weight: 800;
}

.featured-products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.product-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px 12px 14px;
    min-height: 300px;
    box-shadow: 0 2px 8px rgba(5, 47, 111, .04);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--blue);
    color: #fff;
    border-radius: 7px;
    padding: 4px 7px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    z-index: 2;
}

.product-image {
    height: 138px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    text-decoration: none;
}

.product-image img {
    max-height: 138px;
    width: auto;
    object-fit: contain;
}

.product-brand {
    color: #a2a9b7;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.product-card h3 {
    min-height: 42px;
    text-align: center;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.product-card h3 a {
    color: #101828;
    text-decoration: none;
}

.reserved-price {
    color: var(--blue);
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
}

.product-button {
    min-height: 30px;
    border-radius: 999px;
    background: var(--cyan);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    padding: 0 12px;
}

@media (max-width: 1050px) {
    .featured-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .featured-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* B2B CTA */

.b2b-cta-section {
    padding: 0 0 24px;
}

.b2b-cta-box {
    min-height: 96px;
    background: var(--panel);
    border-radius: 10px;
    display: grid;
    grid-template-columns: 98px 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 18px 38px;
}

.b2b-cta-icon {
    width: 74px;
    height: 74px;
    border: 2px solid var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.b2b-cta-icon img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.b2b-cta-text h2 {
    color: var(--blue);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 5px;
}

.b2b-cta-text p {
    color: var(--blue);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}

.b2b-cta-button {
    min-width: 285px;
    min-height: 52px;
    border-radius: 10px;
    background: var(--cyan);
    color: #fff;
    text-decoration: none;
    font-size: 17px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 900px) {
    .b2b-cta-box {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
        padding: 24px;
    }

    .b2b-cta-button {
        width: 100%;
        min-width: 0;
    }
}

/* HOME SERVICES */

.home-services {
    padding: 0 0 18px;
}

.services-grid {
    background: #fff;
    border-radius: 10px;
    border: 1px solid var(--border);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 22px;
    border-right: 1px solid var(--border);
}

.service-item:last-child {
    border-right: 0;
}

.service-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.service-item strong {
    display: block;
    color: var(--blue);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.1;
}

.service-item span {
    display: block;
    color: #7b8ca8;
    font-size: 12px;
    font-weight: 500;
    margin-top: 2px;
}

/* mobile */

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-item {
        border-bottom: 1px solid var(--border);
    }

    .service-item:nth-child(2n) {
        border-right: 0;
    }
}

@media (max-width: 560px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-item {
        border-right: 0;
    }
}

/* BRANDS CAROUSEL */

.home-brands {
    padding: 0 0 24px;
}

.brands-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.brands-heading h2 {
    color: var(--blue);
    font-size: 26px;
    font-weight: 800;
}

.brands-arrows {
    display: flex;
    gap: 8px;
}

.brand-arrow {
    width: 34px;
    height: 34px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: #fff;
    color: var(--blue);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.brands-carousel {
    display: flex;
    gap: 28px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.brands-carousel::-webkit-scrollbar {
    display: none;
}

.brand-card {
    flex: 0 0 calc((100% - 168px) / 7);
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.brand-card img {
    max-width: 120px;
    max-height: 80px;
    object-fit: contain;
}

.brand-card span {
    color: #111827;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .brand-card {
        flex-basis: calc((100% - 84px) / 4);
    }
}

@media (max-width: 560px) {
    .brand-card {
        flex-basis: calc((100% - 28px) / 2);
    }
}


/* SINGLE PRODUCT */

.single-product-main {
    background: #fff;
}

.product-breadcrumb {
    padding: 8px 0 18px;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}

.product-breadcrumb a {
    color: #64748b;
    text-decoration: none;
}

.product-detail-section {
    padding-bottom: 34px;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

.product-gallery-area {
    min-width: 0;
}

.product-main-image {
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-main-image img {
    max-height: 390px;
    width: auto;
    object-fit: contain;
}

.product-thumbs {
    display: flex;
    gap: 14px;
    margin-top: 34px;
}

.product-thumb {
    width: 118px;
    height: 96px;
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: #fff;
}

.product-thumb.active {
    border-color: #d8e1ef;
}

.product-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-summary-area {
    padding-top: 16px;
}

.product-title {
    max-width: 560px;
    color: var(--blue);
    font-size: 31px;
    line-height: 1.08;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.product-short-description {
    color: #4b5563;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.55;
    border-bottom: 1px solid var(--border);
    padding-bottom: 18px;
    margin-bottom: 14px;
}

.product-short-description p {
    margin-bottom: 0;
}

.product-meta-box {
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
    margin-bottom: 96px;
}

.product-meta-row {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 20px;
    align-items: center;
    color: #1f2937;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 11px;
    position: relative;
    padding-left: 34px;
}

.product-meta-row::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 17px;
    height: 17px;
    border: 2px solid var(--orange);
    border-radius: 50%;
    color: var(--orange);
    font-size: 10px;
    line-height: 13px;
    text-align: center;
    font-weight: 900;
}

.product-meta-row span {
    font-weight: 800;
}

.product-meta-row strong {
    color: #4b5563;
    font-weight: 600;
}

.product-meta-row .stock-value {
    color: var(--cyan);
    font-weight: 900;
}

.product-purchase-row {
    display: grid;
    grid-template-columns: 142px 1fr;
    gap: 20px;
    align-items: end;
    margin-bottom: 24px;
}

.product-purchase-row.is-authenticated {
    grid-template-columns: 1fr;
}

.product-quantity-box label {
    display: block;
    color: var(--blue);
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 8px;
}

.quantity-control {
    height: 48px;
    display: grid;
    grid-template-columns: 40px 58px 40px;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    background: #f8fafc;
}

.quantity-control button {
    border: 0;
    background: #f8fafc;
    color: var(--blue);
    font-size: 20px;
    font-weight: 800;
    cursor: pointer;
}

.quantity-control .quantity {
    display: contents;
}

.quantity-control input.qty {
    width: 58px;
    border: 0;
    border-inline: 1px solid var(--border);
    text-align: center;
    color: #111827;
    font-weight: 700;
    background: #fff;
    appearance: textfield;
}

.quantity-control input.qty::-webkit-outer-spin-button,
.quantity-control input.qty::-webkit-inner-spin-button {
    appearance: none;
    margin: 0;
}

.reserved-price-box {
    min-height: 86px;
    border-radius: 10px;
    background: var(--panel);
    display: grid;
    grid-template-columns: 34px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 16px 20px;
}

.reserved-price-icon {
    width: 28px;
    height: 28px;
    border: 2px solid var(--blue);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.reserved-price-box strong {
    display: block;
    color: var(--blue);
    font-size: 13px;
    font-weight: 900;
    line-height: 1.2;
}

.reserved-price-box span {
    display: block;
    color: #536d96;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 3px;
}

.reserved-price-box a {
    min-height: 38px;
    border-radius: 999px;
    background: var(--cyan);
    color: #fff;
    text-decoration: none;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 900;
}

.visible-price-box {
    min-height: 86px;
    border-radius: 10px;
    background: var(--panel);
    display: grid;
    gap: 16px;
    padding: 20px;
}

.visible-price-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.visible-price-label {
    display: inline-block;
    color: #536d96;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.product-live-price .price {
    color: var(--blue);
    font-size: 32px;
    font-weight: 900;
    line-height: 1;
}

.product-live-price ins {
    text-decoration: none;
}

.product-form-actions form.cart {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 12px;
    margin: 0;
}

.product-auth-qty-label {
    display: block;
    color: var(--blue);
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 8px;
}

.product-form-actions .quantity {
    margin: 0;
    height: 48px;
    display: grid;
    grid-template-columns: 40px 58px 40px;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    background: #f8fafc;
}

.product-form-actions .quantity button {
    border: 0;
    background: #f8fafc;
    color: var(--blue);
    font-size: 20px;
    font-weight: 800;
    cursor: pointer;
}

.product-form-actions .qty {
    width: 58px;
    min-height: 48px;
    border: 0;
    border-inline: 1px solid var(--border);
    padding: 0;
    text-align: center;
    color: #111827;
    font-weight: 700;
    background: #fff;
    appearance: textfield;
}

.product-form-actions .qty::-webkit-outer-spin-button,
.product-form-actions .qty::-webkit-inner-spin-button {
    appearance: none;
    margin: 0;
}

.product-form-actions .single_add_to_cart_button,
.product-form-actions .added_to_cart {
    min-height: 38px;
    border: 0;
    border-radius: 999px;
    background: var(--cyan);
    color: #fff;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: none;
}

.product-form-actions form.cart .single_add_to_cart_button.button.alt,
.product-form-actions form.cart .single_add_to_cart_button.button,
.product-form-actions form.cart button.single_add_to_cart_button {
    min-height: 38px;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--cyan) !important;
    background-color: var(--cyan) !important;
    color: #fff !important;
    padding: 0 24px !important;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none !important;
    box-shadow: none !important;
}

.product-form-actions .single_add_to_cart_button:hover,
.product-form-actions .single_add_to_cart_button:focus,
.product-form-actions .added_to_cart:hover,
.product-form-actions .added_to_cart:focus {
    background: var(--cyan);
    color: #fff;
}

.product-form-actions form.cart .single_add_to_cart_button.button.alt:hover,
.product-form-actions form.cart .single_add_to_cart_button.button.alt:focus,
.product-form-actions form.cart .single_add_to_cart_button.button:hover,
.product-form-actions form.cart .single_add_to_cart_button.button:focus,
.product-form-actions form.cart button.single_add_to_cart_button:hover,
.product-form-actions form.cart button.single_add_to_cart_button:focus {
    background: var(--cyan) !important;
    background-color: var(--cyan) !important;
    color: #fff !important;
    border-radius: 999px !important;
    text-decoration: none !important;
}

.product-actions-row,
.product-share-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}

.product-actions-row a,
.product-share-row span {
    color: #4b5563;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.product-share-row {
    justify-content: flex-start;
    gap: 34px;
}

.product-description-section {
    padding-bottom: 28px;
}

.product-description-box {
    border: 1px solid var(--border);
    border-radius: 9px;
    padding: 24px 28px 28px;
}

.product-description-box h2 {
    display: inline-block;
    color: var(--blue);
    font-size: 17px;
    font-weight: 900;
    padding-bottom: 14px;
    border-bottom: 4px solid var(--blue);
    margin-bottom: 22px;
}

.product-description-content {
    color: var(--blue);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.55;
}

.related-products-section {
    padding-bottom: 26px;
}

.related-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.related-heading h2 {
    color: var(--blue);
    font-size: 26px;
    font-weight: 900;
}

.related-arrows {
    display: flex;
    gap: 8px;
}

.related-arrows button {
    width: 34px;
    height: 34px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: #fff;
    color: var(--blue);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.single-product-main .related-products-grid .product-card {
    min-height: 286px;
}

.single-product-main .related-products-grid .product-image {
    height: 150px;
}

.single-product-main .related-products-grid .product-image img {
    max-height: 150px;
}

.single-product-main .related-products-grid .reserved-price {
    background: var(--panel);
    color: var(--blue);
    min-height: 34px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}

@media (max-width: 1050px) {
    .product-detail-grid {
        gap: 34px;
    }

    .product-title {
        font-size: 27px;
    }

    .reserved-price-box {
        grid-template-columns: 30px 1fr;
    }

    .reserved-price-box a {
        grid-column: 1 / -1;
        width: 100%;
    }

    .visible-price-head {
        flex-direction: column;
    }

    .related-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
    }

    .product-meta-box {
        margin-bottom: 34px;
    }

    .product-purchase-row {
        grid-template-columns: 1fr;
    }

    .product-main-image {
        min-height: 280px;
    }

    .product-main-image img {
        max-height: 300px;
    }

    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .product-title {
        font-size: 23px;
    }

    .product-meta-row {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .reserved-price-box {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .product-live-price .price {
        font-size: 28px;
    }

    .product-form-actions form.cart {
        flex-direction: column;
        align-items: stretch;
    }

    .product-form-actions .quantity,
    .product-form-actions .single_add_to_cart_button,
    .product-form-actions .added_to_cart {
        width: 100%;
    }

    .product-form-actions .quantity {
        grid-template-columns: 40px minmax(0, 1fr) 40px;
    }

    .product-form-actions .qty {
        width: 100%;
    }

    .product-actions-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .related-products-grid {
        grid-template-columns: 1fr;
    }
}

/* STANDARD PAGES */

.standard-page-main {
    background: #fff;
}

.standard-page-hero {
    padding: 0 0 24px;
}

.standard-page-hero-inner {
    background: var(--panel);
    border-radius: 10px;
    padding: 28px 34px 32px;
}

.standard-page-breadcrumb {
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
}

.standard-page-breadcrumb a {
    color: #64748b;
    text-decoration: none;
}

.standard-page-hero h1 {
    color: var(--blue);
    font-size: 38px;
    line-height: 1.08;
    font-weight: 900;
    margin-bottom: 10px;
}

.standard-page-hero p {
    max-width: 760px;
    color: #536d96;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
}

.standard-page-content-section {
    padding: 0 0 36px;
}

.standard-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}

.standard-page-content {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 34px;
    color: #1f2937;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.65;
}

.standard-page-content > *:first-child {
    margin-top: 0;
}

.standard-page-content > *:last-child {
    margin-bottom: 0;
}

.standard-page-content h2 {
    color: var(--blue);
    font-size: 27px;
    line-height: 1.18;
    font-weight: 900;
    margin: 34px 0 14px;
}

.standard-page-content h3 {
    color: var(--blue);
    font-size: 21px;
    line-height: 1.25;
    font-weight: 800;
    margin: 28px 0 12px;
}

.standard-page-content p {
    margin-bottom: 18px;
}

.standard-page-content a {
    color: var(--cyan);
    font-weight: 800;
    text-decoration: none;
}

.standard-page-content a:hover {
    text-decoration: underline;
}

.standard-page-content ul,
.standard-page-content ol {
    margin: 0 0 22px 22px;
    padding: 0;
}

.standard-page-content li {
    margin-bottom: 8px;
}

.standard-page-content img {
    border-radius: 10px;
    margin: 22px 0;
}

.standard-page-content blockquote {
    margin: 28px 0;
    padding: 20px 24px;
    border-left: 5px solid var(--cyan);
    background: var(--panel);
    border-radius: 8px;
    color: var(--blue);
    font-weight: 700;
}

.standard-page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 14px;
}

.standard-page-content th,
.standard-page-content td {
    border: 1px solid var(--border);
    padding: 12px 14px;
    text-align: left;
}

.standard-page-content th {
    background: var(--panel);
    color: var(--blue);
    font-weight: 900;
}

@media (max-width: 900px) {
    .standard-page-hero-inner {
        padding: 24px;
    }

    .standard-page-hero h1 {
        font-size: 30px;
    }

    .standard-page-content {
        padding: 24px;
    }
}

@media (max-width: 560px) {
    .standard-page-hero h1 {
        font-size: 26px;
    }

    .standard-page-content {
        padding: 20px;
    }
}

/* ACCOUNT PAGE */

/*
   Area account WooCommerce.
   Questa sezione sostituisce le vecchie regole account/login/dashboard.
   Obiettivo:
   - login/registrazione a due colonne;
   - dashboard loggata con menu laterale largo e non schiacciato;
   - reset dei float WooCommerce;
   - testi non spezzati lettera per lettera.
*/

.account-page-main {
    background: #fff;
}

.account-page-section {
    padding: 22px 0 48px;
}

.account-page-section .woocommerce {
    width: 100%;
}

/* Login / registrazione */

.account-page-section .woocommerce:not(:has(.woocommerce-MyAccount-navigation)):not(:has(.lost_reset_password)) {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
    grid-template-areas:
        "intro title"
        "intro form";
    gap: 18px 34px;
    align-items: start;
}

.account-page-section .woocommerce:not(:has(.woocommerce-MyAccount-navigation)):not(:has(.lost_reset_password))::before {
    content: "Area professionisti\A\AAccedi o richiedi la registrazione per visualizzare i prezzi riservati, consultare la disponibilità e acquistare online.";
    grid-area: intro;
    display: block;
    background: var(--blue);
    color: #fff;
    border-radius: 12px;
    padding: 42px 38px;
    min-height: 390px;
    font-size: 38px;
    line-height: 1.08;
    font-weight: 900;
    white-space: pre-line;
    box-shadow: 0 10px 28px rgba(5, 47, 111, .08);
}

.account-page-section .woocommerce > h2 {
    grid-area: title;
    color: var(--blue);
    font-size: 30px;
    font-weight: 900;
    line-height: 1.1;
    margin: 0;
}

.account-page-section .woocommerce > form.login,
.account-page-section .woocommerce > form.register {
    grid-area: form;
}

.account-page-section form.login,
.account-page-section form.register,
.account-page-section .lost_reset_password {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    padding: 30px 28px;
    box-shadow: 0 2px 10px rgba(5, 47, 111, .04);
}

.account-page-section label {
    display: block;
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 8px;
}

.account-page-section .required {
    color: var(--orange);
}

.account-page-section input.input-text,
.account-page-section input[type="text"],
.account-page-section input[type="email"],
.account-page-section input[type="password"],
.account-page-section input[type="tel"],
.account-page-section select,
.account-page-section textarea {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0 14px;
    color: #1f2937;
    font-size: 14px;
    font-weight: 600;
    outline: none;
    background: #fff;
}

.account-page-section textarea {
    min-height: 120px;
    padding-top: 12px;
    resize: vertical;
}

.account-page-section input:focus,
.account-page-section select:focus,
.account-page-section textarea:focus {
    border-color: var(--cyan);
}

.account-page-section .form-row {
    margin-bottom: 16px;
}

.account-page-section .password-input {
    display: block;
    position: relative;
}

.account-page-section .show-password-input {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
}

.account-page-section .woocommerce-form-login__rememberme {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #536d96;
    font-weight: 700;
    margin-bottom: 14px;
}

.account-page-section input[type="checkbox"] {
    width: 15px;
    height: 15px;
    min-height: 0;
}

.account-page-section .woocommerce-button,
.account-page-section button.button,
.account-page-section a.button {
    min-height: 46px;
    border: 0;
    border-radius: 999px;
    background: var(--cyan);
    color: #fff;
    text-decoration: none;
    padding: 0 22px;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.account-page-section form.login .woocommerce-button,
.account-page-section form.register .woocommerce-button,
.account-page-section .lost_reset_password button.button {
    width: 100%;
}

.account-page-section .lost_password {
    margin-top: 14px;
    margin-bottom: 0;
}

.account-page-section .lost_password a,
.account-page-section a {
    color: var(--cyan);
    text-decoration: none;
    font-weight: 800;
}

.account-page-section a:hover {
    text-decoration: underline;
}

.account-page-section .woocommerce-notices-wrapper {
    grid-column: 1 / -1;
}

.account-page-section .woocommerce-error,
.account-page-section .woocommerce-info,
.account-page-section .woocommerce-message {
    border: 1px solid var(--border);
    border-left: 5px solid var(--orange);
    border-radius: 10px;
    background: var(--panel);
    color: var(--blue);
    padding: 16px 18px;
    margin: 0 0 18px;
    font-weight: 700;
    list-style: none;
}

/* Recupero password */

.account-page-section .woocommerce:has(.lost_reset_password) {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
    grid-template-areas: "intro form";
    gap: 34px;
    align-items: start;
}

.account-page-section .woocommerce:has(.lost_reset_password)::before {
    content: "Recupero password\A\AHai dimenticato la password? Inserisci il tuo nome utente o indirizzo email e riceverai un link per impostarne una nuova.";
    grid-area: intro;
    display: block;
    background: var(--blue);
    color: #fff;
    border-radius: 12px;
    padding: 42px 38px;
    min-height: 340px;
    font-size: 38px;
    line-height: 1.08;
    font-weight: 900;
    white-space: pre-line;
    box-shadow: 0 10px 28px rgba(5, 47, 111, .08);
}

.account-page-section .lost_reset_password {
    grid-area: form;
}

.account-page-section .lost_reset_password > p:first-child {
    background: var(--panel);
    color: var(--blue);
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 22px;
}

/* Dashboard account loggato */

.account-page-section .woocommerce:has(.woocommerce-MyAccount-navigation) {
    display: grid !important;
    grid-template-columns: 270px minmax(0, 1fr) !important;
    gap: 28px;
    align-items: start;
}

.account-page-section .woocommerce:has(.woocommerce-MyAccount-navigation)::before {
    display: none !important;
    content: none !important;
}

.account-page-section .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-navigation {
    float: none !important;
    width: 270px !important;
    max-width: 270px !important;
    min-width: 270px !important;
    background: var(--blue);
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 10px 28px rgba(5, 47, 111, .08);
}

.account-page-section .woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
}

.account-page-section .woocommerce-MyAccount-navigation li {
    margin: 0;
    padding: 0;
}

.account-page-section .woocommerce-MyAccount-navigation a {
    display: flex;
    align-items: center;
    min-height: 42px;
    border-radius: 9px;
    padding: 0 14px;
    color: rgba(255, 255, 255, .9);
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
}

.account-page-section .woocommerce-MyAccount-navigation li.is-active a,
.account-page-section .woocommerce-MyAccount-navigation a:hover {
    background: #fff;
    color: var(--blue);
    text-decoration: none;
}

.account-page-section .woocommerce-MyAccount-content,
.woocommerce-account .woocommerce-MyAccount-content {
    float: none !important;
    width: auto !important;
    min-width: 0;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    padding: 30px 32px;
    box-shadow: 0 2px 10px rgba(5, 47, 111, .04);
    color: #1f2937;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.65;
}

.account-page-section .woocommerce-MyAccount-content p {
    margin-bottom: 18px;
}

.account-page-section .woocommerce-MyAccount-content p:last-child {
    margin-bottom: 0;
}

.account-page-section .woocommerce-MyAccount-content strong {
    color: var(--blue);
    font-weight: 900;
}

.account-page-section .woocommerce-MyAccount-content h2,
.account-page-section .woocommerce-MyAccount-content h3 {
    color: var(--blue);
    font-weight: 900;
    margin-bottom: 18px;
}

.account-page-section .woocommerce-MyAccount-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
    font-size: 14px;
}

.account-page-section .woocommerce-MyAccount-content th,
.account-page-section .woocommerce-MyAccount-content td {
    border: 1px solid var(--border);
    padding: 12px 14px;
    text-align: left;
}

.account-page-section .woocommerce-MyAccount-content th {
    background: var(--panel);
    color: var(--blue);
    font-weight: 900;
}


/* SHOP / ARCHIVIO PRODOTTI */

.shop-archive-main {
    background: #fff;
}

.shop-archive-hero {
    padding: 18px 0 18px;
}

.shop-archive-hero-inner {
    background: transparent;
    border-radius: 0;
    padding: 0;
}

.shop-archive-hero h1 {
    color: var(--blue);
    font-size: 34px;
    line-height: 1.08;
    font-weight: 900;
    margin-bottom: 8px;
}

.shop-archive-description {
    max-width: 720px;
    color: var(--blue);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.45;
}

.shop-archive-description p {
    margin-bottom: 0;
}

.shop-archive-content {
    padding: 0 0 38px;
}

.shop-archive-toolbar {
    min-height: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin: -8px 0 20px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.shop-result-count,
.shop-result-count p {
    margin: 0;
    color: var(--blue);
    font-size: 15px;
    font-weight: 500;
}

.shop-ordering {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
}

.woocommerce-ordering {
    position: relative;
    margin: 0 !important;
    display: inline-flex;
    align-items: center;
}

.woocommerce-ordering select.orderby {
    appearance: none;
    -webkit-appearance: none;
    min-width: 270px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    padding: 0 46px 0 15px;
    outline: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(5, 47, 111, .04);
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.woocommerce-ordering select.orderby:hover {
    background-color: var(--panel);
    border-color: #d8e1ef;
}

.woocommerce-ordering select.orderby:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0, 166, 173, .14);
}

.woocommerce-ordering::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--blue);
    border-bottom: 2px solid var(--blue);
    transform: translateY(-65%) rotate(45deg);
    pointer-events: none;
}

.woocommerce-ordering input[type="hidden"] {
    display: none;
}

.shop-products-grid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    clear: both;
}

.shop-products-grid .product-card,
.woocommerce .shop-products-grid .product-card,
.woocommerce-page .shop-products-grid .product-card {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    clear: none !important;
}

.shop-product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 318px;
    padding: 16px 12px 14px;
}

.shop-product-card .product-image {
    height: 140px;
    margin-bottom: 10px;
}

.shop-product-card .product-image img {
    max-height: 128px;
    width: auto;
    object-fit: contain;
}

.shop-product-card .product-brand {
    margin-bottom: 8px;
    color: #a2a9b7;
    font-size: 11px;
    font-weight: 800;
}

.shop-product-card h3 {
    min-height: 48px;
    margin-bottom: 10px;
    font-size: 12px;
    line-height: 1.22;
    font-weight: 900;
}

.shop-product-card .reserved-price {
    background: transparent;
    color: var(--blue);
    min-height: 24px;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 900;
}

.shop-product-card .reserved-price .price {
    color: var(--blue);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.2;
}

.shop-product-card .reserved-price del {
    color: #a2a9b7;
    font-weight: 700;
    margin-right: 4px;
}

.shop-product-card .reserved-price ins {
    text-decoration: none;
}

.shop-stock-label {
    margin-top: -6px;
    margin-bottom: 10px;
    color: var(--cyan);
    font-size: 11px;
    font-weight: 800;
}

.shop-product-card .out-of-stock-label {
    color: var(--blue);
}

.shop-product-card .product-button {
    min-height: 31px;
    font-size: 12px;
    font-weight: 800;
}

.shop-empty {
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--panel);
    padding: 24px;
    color: var(--blue);
    font-weight: 700;
}


/* PAGINAZIONE ARCHIVIO WOOCOMMERCE */

.shop-pagination {
    margin-top: 38px;
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
}

.shop-pagination .woocommerce-pagination {
    max-width: 100%;
    display: flex;
    justify-content: center;
}

.shop-pagination .woocommerce-pagination ul.page-numbers {
    border: 0 !important;
    margin: 0 !important;
    padding: 8px !important;
    list-style: none;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    background: var(--panel);
    border-radius: 14px;
}

.shop-pagination .woocommerce-pagination ul.page-numbers li {
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

.shop-pagination .woocommerce-pagination .page-numbers {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: #fff;
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 2px 7px rgba(5, 47, 111, .05);
    transition:
        background-color .18s ease,
        color .18s ease,
        border-color .18s ease,
        transform .18s ease;
}

.shop-pagination .woocommerce-pagination a.page-numbers:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
    transform: translateY(-1px);
    text-decoration: none;
}

.shop-pagination .woocommerce-pagination .page-numbers.current {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
    box-shadow: 0 6px 14px rgba(5, 47, 111, .18);
}

.shop-pagination .woocommerce-pagination .page-numbers.prev,
.shop-pagination .woocommerce-pagination .page-numbers.next {
    min-width: 38px;
    background: var(--cyan);
    border-color: var(--cyan);
    color: #fff;
    font-size: 18px;
    font-weight: 900;
}

.shop-pagination .woocommerce-pagination .page-numbers.prev:hover,
.shop-pagination .woocommerce-pagination .page-numbers.next:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
}

.shop-pagination .woocommerce-pagination .page-numbers.dots {
    min-width: 22px;
    padding: 0 4px;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: #8aa0c3;
}


/* RESPONSIVE ACCOUNT + SHOP */

@media (max-width: 1050px) {
    .shop-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .account-page-section .woocommerce:not(:has(.woocommerce-MyAccount-navigation)):not(:has(.lost_reset_password)) {
        grid-template-columns: 1fr;
        grid-template-areas:
            "intro"
            "title"
            "form";
    }

    .account-page-section .woocommerce:not(:has(.woocommerce-MyAccount-navigation)):not(:has(.lost_reset_password))::before,
    .account-page-section .woocommerce:has(.lost_reset_password)::before {
        min-height: auto;
        padding: 32px 24px;
        font-size: 30px;
    }

    .account-page-section .woocommerce:has(.lost_reset_password) {
        grid-template-columns: 1fr;
        grid-template-areas:
            "intro"
            "form";
    }

    .account-page-section .woocommerce:has(.woocommerce-MyAccount-navigation) {
        grid-template-columns: 1fr !important;
        gap: 18px;
    }

    .account-page-section .woocommerce-MyAccount-navigation,
    .woocommerce-account .woocommerce-MyAccount-navigation {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
    }

    .account-page-section .woocommerce-MyAccount-navigation ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .account-page-section .woocommerce-MyAccount-navigation a {
        justify-content: center;
        text-align: center;
    }

    .account-page-section .woocommerce-MyAccount-content,
    .woocommerce-account .woocommerce-MyAccount-content {
        padding: 24px 22px;
    }

    .shop-archive-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-top: 0;
    }

    .shop-ordering,
    .woocommerce-ordering,
    .woocommerce-ordering select.orderby {
        width: 100%;
    }

    .woocommerce-ordering select.orderby {
        min-width: 0;
    }

    .shop-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .shop-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shop-archive-hero h1 {
        font-size: 28px;
    }

    .shop-pagination .woocommerce-pagination ul.page-numbers {
        width: 100%;
        justify-content: center;
        gap: 5px;
        padding: 7px !important;
    }

    .shop-pagination .woocommerce-pagination .page-numbers {
        min-width: 33px;
        height: 33px;
        padding: 0 8px;
        border-radius: 8px;
        font-size: 12px;
    }

    .shop-pagination .woocommerce-pagination .page-numbers.prev,
    .shop-pagination .woocommerce-pagination .page-numbers.next {
        min-width: 35px;
        font-size: 15px;
    }
}

@media (max-width: 560px) {
    .account-page-section .woocommerce-MyAccount-navigation ul {
        grid-template-columns: 1fr;
    }

    .account-page-section .woocommerce-MyAccount-navigation a {
        justify-content: flex-start;
        text-align: left;
    }

    .account-page-section .woocommerce-MyAccount-content,
    .woocommerce-account .woocommerce-MyAccount-content {
        padding: 24px 20px;
    }
}

/* SINGLE PRODUCT - META ROW CHECK ALIGNMENT */

.product-meta-box {
    border-bottom: 1px solid var(--border);
    padding-bottom: 22px;
    margin-bottom: 90px;
}

.product-meta-row {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
    position: relative;
    padding-left: 34px;
    margin-bottom: 14px;
    color: #1f2937;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.product-meta-row::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    width: 18px;
    height: 18px;
    border: 2px solid var(--orange);
    border-radius: 50%;
    color: var(--orange);
    font-size: 10px;
    line-height: 14px;
    text-align: center;
    font-weight: 900;
    box-sizing: border-box;
}

.product-meta-row span {
    display: block;
    color: #071b3d;
    font-weight: 900;
    line-height: 1.35;
}

.product-meta-row strong {
    display: block;
    color: #374151;
    font-weight: 700;
    line-height: 1.35;
}

.product-meta-row .stock-value {
    color: var(--cyan);
    font-weight: 900;
}

/* SINGLE PRODUCT - EXTRA ACTIONS */

.product-extra-actions {
    margin-top: 18px;
    display: grid;
    gap: 14px;
}

.product-tools {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.product-tool-link {
    min-height: 76px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: #fff;
    color: var(--blue);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 14px 16px;
    box-shadow: 0 2px 10px rgba(5, 47, 111, .04);
    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease,
        background-color .18s ease;
}

.product-tool-link:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 166, 173, .38);
    background: #f8fbff;
    box-shadow: 0 8px 22px rgba(5, 47, 111, .08);
}

.product-tool-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 11px;
    background: var(--panel);
    color: var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    font-weight: 900;
    line-height: 1;
}

.product-tool-icon-heart {
    color: var(--orange);
}

.product-tool-icon-compare {
    color: var(--cyan);
}

.product-tool-text strong {
    display: block;
    color: var(--blue);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.15;
}

.product-tool-text small {
    display: block;
    color: #536d96;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 4px;
}

.product-share-box {
    min-height: 66px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--panel);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 16px;
}

.product-share-box strong {
    display: block;
    color: var(--blue);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.15;
}

.product-share-box span {
    display: block;
    color: #536d96;
    font-size: 12px;
    font-weight: 700;
    margin-top: 4px;
}

.product-share-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.product-share-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    color: var(--blue);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 900;
    box-shadow: 0 2px 8px rgba(5, 47, 111, .05);
    transition:
        background-color .18s ease,
        color .18s ease,
        transform .18s ease;
}

.product-share-links a:hover {
    background: var(--blue);
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 560px) {
    .product-tools {
        grid-template-columns: 1fr;
    }

    .product-share-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-share-links {
        width: 100%;
    }
}

/* FIX WOOCOMMERCE INFO ICON - MY ACCOUNT */

.woocommerce-MyAccount-content .woocommerce-info {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 80px;
    border: 1px solid var(--border);
    border-left: 5px solid var(--orange);
    border-radius: 10px;
    background: var(--panel);
    color: var(--blue);
    padding: 18px 20px 18px 58px;
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
}

.woocommerce-MyAccount-content .woocommerce-info::before {
    content: "!";
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
}

.woocommerce-MyAccount-content .woocommerce-info::after {
    display: none;
}

.woocommerce-MyAccount-content .woocommerce-info .button {
    margin-left: auto;
    flex: 0 0 auto;
    min-height: 46px;
    border-radius: 999px;
    background: var(--cyan);
    color: #fff;
    padding: 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
}

.woocommerce-MyAccount-content .woocommerce-info .button:hover {
    background: var(--blue);
    color: #fff;
}

@media (max-width: 700px) {
    .woocommerce-MyAccount-content .woocommerce-info {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 18px 18px 58px;
    }

    .woocommerce-MyAccount-content .woocommerce-info .button {
        margin-left: 0;
        width: 100%;
    }
}

/* CART PAGE - PRODUCT BLOCK GRID */

.woocommerce-cart .wc-block-grid,
.cart-page-main .wc-block-grid,
.wp-block-woocommerce-product-new {
    margin-top: 34px;
    margin-bottom: 34px;
}

.woocommerce-cart .wc-block-grid__products,
.cart-page-main .wc-block-grid__products,
.wp-block-woocommerce-product-new .wc-block-grid__products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

.woocommerce-cart .wc-block-grid__product,
.cart-page-main .wc-block-grid__product,
.wp-block-woocommerce-product-new .wc-block-grid__product {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 16px 14px 15px !important;
    border: 1px solid var(--border) !important;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(5, 47, 111, .04);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 320px;
    text-align: center;
}

.woocommerce-cart .wc-block-grid__product-link,
.cart-page-main .wc-block-grid__product-link,
.wp-block-woocommerce-product-new .wc-block-grid__product-link {
    color: inherit;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.woocommerce-cart .wc-block-grid__product-image,
.cart-page-main .wc-block-grid__product-image,
.wp-block-woocommerce-product-new .wc-block-grid__product-image {
    height: 145px;
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.woocommerce-cart .wc-block-grid__product-image img,
.cart-page-main .wc-block-grid__product-image img,
.wp-block-woocommerce-product-new .wc-block-grid__product-image img {
    max-height: 135px;
    width: auto;
    object-fit: contain;
    margin: 0 auto;
}

.woocommerce-cart .wc-block-grid__product-title,
.cart-page-main .wc-block-grid__product-title,
.wp-block-woocommerce-product-new .wc-block-grid__product-title {
    min-height: 48px;
    color: #071b3d;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0 0 10px;
}

.woocommerce-cart .wc-block-grid__product-price,
.cart-page-main .wc-block-grid__product-price,
.wp-block-woocommerce-product-new .wc-block-grid__product-price {
    color: var(--blue);
    font-size: 14px;
    font-weight: 900;
    margin: 0 0 13px;
}

.woocommerce-cart .wc-block-grid__product-price .amount,
.cart-page-main .wc-block-grid__product-price .amount,
.wp-block-woocommerce-product-new .wc-block-grid__product-price .amount {
    color: var(--blue);
    font-weight: 900;
}

.woocommerce-cart .wc-block-grid__product-add-to-cart,
.cart-page-main .wc-block-grid__product-add-to-cart,
.wp-block-woocommerce-product-new .wc-block-grid__product-add-to-cart {
    margin-top: auto;
}

.woocommerce-cart .wc-block-grid__product-add-to-cart .wp-block-button__link,
.cart-page-main .wc-block-grid__product-add-to-cart .wp-block-button__link,
.wp-block-woocommerce-product-new .wc-block-grid__product-add-to-cart .wp-block-button__link {
    width: 100%;
    min-height: 34px;
    border-radius: 999px;
    background: var(--cyan);
    color: #fff;
    border: 0;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    transition:
        background-color .18s ease,
        transform .18s ease,
        box-shadow .18s ease;
}

.woocommerce-cart .wc-block-grid__product-add-to-cart .wp-block-button__link:hover,
.cart-page-main .wc-block-grid__product-add-to-cart .wp-block-button__link:hover,
.wp-block-woocommerce-product-new .wc-block-grid__product-add-to-cart .wp-block-button__link:hover {
    background: var(--blue);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(5, 47, 111, .14);
}

@media (max-width: 1050px) {
    .woocommerce-cart .wc-block-grid__products,
    .cart-page-main .wc-block-grid__products,
    .wp-block-woocommerce-product-new .wc-block-grid__products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .woocommerce-cart .wc-block-grid__products,
    .cart-page-main .wc-block-grid__products,
    .wp-block-woocommerce-product-new .wc-block-grid__products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .woocommerce-cart .wc-block-grid__product,
    .cart-page-main .wc-block-grid__product,
    .wp-block-woocommerce-product-new .wc-block-grid__product {
        min-height: 285px;
        padding: 14px 12px !important;
    }

    .woocommerce-cart .wc-block-grid__product-image,
    .cart-page-main .wc-block-grid__product-image,
    .wp-block-woocommerce-product-new .wc-block-grid__product-image {
        height: 120px;
    }

    .woocommerce-cart .wc-block-grid__product-image img,
    .cart-page-main .wc-block-grid__product-image img,
    .wp-block-woocommerce-product-new .wc-block-grid__product-image img {
        max-height: 110px;
    }
}

@media (max-width: 460px) {
    .woocommerce-cart .wc-block-grid__products,
    .cart-page-main .wc-block-grid__products,
    .wp-block-woocommerce-product-new .wc-block-grid__products {
        grid-template-columns: 1fr;
    }
}

/* FOOTER - NEW STRUCTURE */

.footer-main {
    background: var(--blue);
    color: #fff;
    border-radius: 0 0 9px 9px;
    padding: 30px 34px 18px;
    display: grid;
    grid-template-columns: 1.25fr 1.45fr 1.35fr;
    gap: 46px;
}

.footer-brand img {
    width: 245px;
    margin-bottom: 20px;
}

.footer-brand p {
    max-width: 300px;
    color: rgba(255,255,255,.88);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.65;
}

.footer-col h4,
.footer-assistance-box h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 12px;
}

.footer-categories-grid {
    display: block;
    column-count: 2;
    column-gap: 28px;
}

.footer-categories-grid a {
    display: block;
    break-inside: avoid;
    margin: 0 0 6px;
    color: rgba(255,255,255,.9);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.28;
}

.footer-categories-grid a:hover {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 560px) {
    .footer-categories-grid {
        column-count: 1;
    }
}

.footer-categories-grid {
    max-height: 360px;
    overflow-y: auto;
    padding-right: 8px;
}

.footer-categories-grid::-webkit-scrollbar {
    width: 1px;
}

.footer-categories-grid::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,1);
    border-radius: 60px;
}

.footer-col a,
.footer-col span,
.footer-menu a,
.footer-assistance-box a,
.footer-assistance-box span {
    display: block;
    color: rgba(255,255,255,.9);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.55;
}

.footer-col a:hover,
.footer-menu a:hover,
.footer-assistance-box a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 4px;
}

.footer-menu li {
    margin: 0;
    padding: 0;
}

.footer-info-contact {
    display: flex;
    flex-direction: column;
}

.footer-assistance-box {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.22);
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.footer-social a {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    text-decoration: none;
}

.footer-social a:hover {
    background: #fff;
    color: var(--blue);
    text-decoration: none;
}

.footer-bottom {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255,255,255,.25);
    margin-top: 10px;
    padding-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom span {
    color: rgba(255,255,255,.9);
    font-size: 12px;
    font-weight: 500;
}

.footer-payments {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-payments img {
    height: 30px;
    width: auto;
    background: #fff;
    border-radius: 4px;
    padding: 4px 8px;
}

.footer-payments .bonifico {
    background: #fff;
    color: var(--blue);
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 900;
}

/* CONTACT FORM 7 - CONTATTI */

.wpcf7 {
    max-width: 760px;
}

.wpcf7 form {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(5, 47, 111, .05);
}

.wpcf7 form p {
    margin: 0 0 18px;
}

.wpcf7 label {
    display: block;
    color: var(--blue);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.35;
}

.wpcf7-form-control-wrap {
    display: block;
    margin-top: 8px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 textarea,
.wpcf7 select {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    color: #1f2937;
    font-size: 14px;
    font-weight: 600;
    padding: 0 15px;
    outline: none;
    box-shadow: 0 2px 8px rgba(5, 47, 111, .03);
    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        background-color .18s ease;
}

.wpcf7 textarea {
    min-height: 150px;
    resize: vertical;
    padding: 14px 15px;
    line-height: 1.5;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0, 166, 173, .13);
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
    color: #8aa0c3;
}

.wpcf7 input.wpcf7-not-valid,
.wpcf7 textarea.wpcf7-not-valid,
.wpcf7 select.wpcf7-not-valid {
    border-color: var(--orange);
    background: #fff8f4;
}

.wpcf7-not-valid-tip {
    display: block;
    margin-top: 7px;
    color: var(--orange);
    font-size: 12px;
    font-weight: 800;
}

.wpcf7 input[type="submit"] {
    min-width: 180px;
    min-height: 48px;
    border: 0;
    border-radius: 999px;
    background: var(--cyan);
    color: #fff;
    padding: 0 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    transition:
        background-color .18s ease,
        transform .18s ease,
        box-shadow .18s ease;
}

.wpcf7 input[type="submit"]:hover {
    background: var(--blue);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(5, 47, 111, .16);
}

.wpcf7 input[type="submit"]:disabled {
    opacity: .65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.wpcf7-spinner {
    margin-left: 12px;
    vertical-align: middle;
}

.wpcf7-response-output {
    margin: 22px 0 0 !important;
    padding: 15px 18px !important;
    border: 1px solid var(--border) !important;
    border-left: 5px solid var(--cyan) !important;
    border-radius: 10px;
    background: var(--panel);
    color: var(--blue);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.45;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    border-left-color: var(--orange) !important;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-left-color: var(--cyan) !important;
}

@media (max-width: 560px) {
    .wpcf7 form {
        padding: 24px 20px;
        border-radius: 12px;
    }

    .wpcf7 input[type="submit"] {
        width: 100%;
    }

    .wpcf7-spinner {
        display: block;
        margin: 12px auto 0;
    }
}

/* SEARCH PAGE */

.search-page-main .shop-archive-hero {
    padding-top: 18px;
}

.search-empty-box {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--panel);
    padding: 32px;
    color: var(--blue);
}

.search-empty-box h2 {
    color: var(--blue);
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 10px;
}

.search-empty-box p {
    color: #536d96;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 22px;
}

.search-empty-form {
    display: flex;
    max-width: 620px;
    height: 46px;
}

.search-empty-form input[type="search"] {
    flex: 1;
    min-width: 0;
    border: 1px solid var(--border);
    border-right: 0;
    border-radius: 10px 0 0 10px;
    padding: 0 16px;
    color: var(--blue);
    font-size: 14px;
    font-weight: 700;
    outline: none;
}

.search-empty-form button {
    min-width: 120px;
    border: 0;
    border-radius: 0 10px 10px 0;
    background: var(--cyan);
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
}

.search-empty-form button:hover {
    background: var(--blue);
}

@media (max-width: 560px) {
    .search-empty-form {
        height: auto;
        display: grid;
        gap: 10px;
    }

    .search-empty-form input[type="search"],
    .search-empty-form button {
        width: 100%;
        min-height: 44px;
        border-radius: 10px;
        border: 1px solid var(--border);
    }
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
}

.footer-social a {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition:
        background-color .18s ease,
        color .18s ease,
        border-color .18s ease,
        transform .18s ease;
}

.footer-social a svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.footer-social a:hover {
    background: #fff;
    border-color: #fff;
    color: var(--blue);
    transform: translateY(-2px);
}
