/* L'Arte della Ceramica Positano — tema su OFFLINE.Mall
   Stessa identità del vecchio tema (Futura, bianco/grigio/nero, header col logo al centro)
   con l'accento teal del logo e una griglia più ariosa. Niente build: CSS scritto a mano. */

@font-face { font-family: Futura; src: url('../fonts/FuturaPT-Medium.woff2') format('woff2'), url('../fonts/FuturaPT-Medium.woff') format('woff'); font-weight: 400 500; font-display: swap; }
@font-face { font-family: Futura; src: url('../fonts/FuturaPTDemi.woff2') format('woff2'), url('../fonts/FuturaPTDemi.woff') format('woff'); font-weight: 600; font-display: swap; }
@font-face { font-family: Futura; src: url('../fonts/FuturaPT-Heavy.woff2') format('woff2'), url('../fonts/FuturaPT-Heavy.woff') format('woff'); font-weight: 700; font-display: swap; }
@font-face { font-family: Futura; src: url('../fonts/FuturaPT-ExtraBold.woff2') format('woff2'), url('../fonts/FuturaPT-ExtraBold.woff') format('woff'); font-weight: 800; font-display: swap; }

:root {
  --ink: #111;
  --text: #3b3b3b;
  --muted: #767676;
  --line: #e7e5e1;
  --bg: #fff;
  --bg-soft: #f6f6f4;
  --bg-softer: #faf9f7;
  --accent: #0b8a7c;
  --accent-dark: #076b60;
  --accent-soft: #e6f3f1;
  --danger: #c0392b;
  --radius: 14px;
  --radius-s: 8px;
  --shadow: 0 10px 30px rgba(17, 17, 17, .07);
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: Futura, 'Century Gothic', 'Avenir Next', Avenir, 'Helvetica Neue', Arial, sans-serif;
  --header-h: 112px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-weight: 500; font-size: 17px; line-height: 1.6; color: var(--text); background: var(--bg); letter-spacing: .01em; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--font); color: var(--ink); line-height: 1.15; margin: 0 0 .6em; font-weight: 800; letter-spacing: 0; }
h1 { font-size: clamp(32px, 4.2vw, 50px); }
h2 { font-size: clamp(26px, 3vw, 38px); }
h3 { font-size: 21px; font-weight: 700; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap_narrow { max-width: calc(860px + 2 * var(--gutter)); }
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section_soft { background: var(--bg-soft); }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 32px; }
.section__head h2 { margin: 0; }
.eyebrow { display: block; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.lead { font-size: 19px; color: var(--muted); max-width: 640px; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; }
.link-arrow::after { content: '→'; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* Bottoni */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 28px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--ink); color: #fff; }
.btn_primary { background: var(--ink); color: #fff; }
.btn_primary:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn_accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn_accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn_block { width: 100%; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn[disabled], .btn.oc-loading { opacity: .6; pointer-events: none; }

/* Topbar */
.topbar { background: var(--bg); border-bottom: 1px solid var(--line); font-size: 14px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__social, .topbar__langs { display: flex; align-items: center; gap: 16px; list-style: none; margin: 0; padding: 0; }
.topbar__social a { display: flex; color: var(--muted); }
.topbar__social a:hover { color: var(--accent); }
.topbar__social svg { width: 18px; height: 18px; }
.topbar__info { color: var(--muted); display: none; }
.topbar__info a { text-decoration: none; }
.topbar__langs a { text-decoration: none; color: var(--muted); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; padding: 2px 0; border-bottom: 2px solid transparent; }
.topbar__langs a[aria-current] { color: var(--ink); border-color: var(--accent); }
@media (min-width: 900px) { .topbar__info { display: block; } }
.topbar__end { display: flex; align-items: center; gap: 24px; }
.topbar .topbar__cart { font-size: 14px; color: var(--muted); padding: 0; }
.topbar .topbar__cart:hover { color: var(--accent); }
.topbar__cart svg { width: 18px; height: 18px; }
.topbar__cart .hicon__count { top: -7px; left: 11px; }
.cartbtn { position: relative; text-decoration: none; }
.cartbtn svg { width: 20px; height: 20px; }
.burger.cartbtn .hicon__count { top: -4px; left: auto; right: -4px; width: auto; height: 18px; background: var(--accent); box-shadow: 0 0 0 2px var(--bg-soft); }
.burger.cartbtn .hicon__count:empty, .burger.cartbtn .hicon__count[data-count="0"] { display: none; }
@media (max-width: 480px) { .topbar__label { display: none; } .topbar__end { gap: 18px; } }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: var(--bg-soft); transition: box-shadow .2s; }
.header.is-scrolled { box-shadow: 0 1px 0 var(--line), var(--shadow); }
.header__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; min-height: var(--header-h); }
.header__left, .header__right { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 36px); }
.header__right { justify-content: flex-end; }
.header__logo img { height: clamp(64px, 9vw, 124px); width: auto; transition: height .2s; }
.header.is-scrolled .header__logo img { height: 72px; }
.burger { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.burger:hover { background: var(--accent); }
.burger span { display: block; width: 16px; height: 2px; background: currentColor; box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; }
.mainnav { display: none; gap: 32px; list-style: none; margin: 0; padding: 0; }
.mainnav a { text-decoration: none; font-weight: 600; color: var(--ink); padding: 8px 0; border-bottom: 2px solid transparent; }
.mainnav a:hover, .mainnav a[aria-current] { color: var(--ink); border-color: var(--accent); }
.hicon { position: relative; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; color: var(--ink); background: none; border: 0; padding: 6px 0; cursor: pointer; }
.hicon svg { width: 22px; height: 22px; flex: none; }
.hicon__label { display: none; }
.hicon__count { position: absolute; top: -4px; left: 14px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 11px; line-height: 18px; text-align: center; }
.hicon__count:empty, .hicon__count[data-count="0"] { display: none; }
@media (min-width: 1100px) {
  .mainnav { display: flex; }
  .hicon__label { display: inline; }
}
@media (max-width: 640px) {
  :root { --header-h: 76px; }
  .header__logo img, .header.is-scrolled .header__logo img { height: 64px; }
}

/* Ricerca a comparsa */
.searchbar { display: none; background: var(--bg-soft); border-top: 1px solid var(--line); padding: 16px 0 24px; }
.searchbar.is-open { display: block; }
.searchbar form { display: flex; gap: 12px; max-width: 720px; margin: 0 auto; }
.searchbar input { flex: 1; min-height: 50px; padding: 0 22px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }

/* Drawer laterale */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__overlay { position: absolute; inset: 0; background: rgba(17, 17, 17, .4); opacity: 0; transition: opacity .25s; }
.drawer.is-open .drawer__overlay { opacity: 1; }
.drawer__panel { position: absolute; inset: 0 auto 0 0; width: min(380px, 88vw); background: #fff; padding: 24px 28px 40px; overflow-y: auto; transform: translateX(-100%); transition: transform .3s ease; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__close { float: right; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.drawer__title { clear: both; display: block; padding-top: 16px; margin: 24px 0 8px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer li a { display: block; padding: 9px 0; text-decoration: none; font-weight: 600; color: var(--ink); font-size: 18px; }
.drawer li li a { padding: 6px 0 6px 16px; font-weight: 500; font-size: 16px; color: var(--text); }
.drawer li a:hover { color: var(--accent); }
.drawer__langs { display: flex; gap: 16px; margin-top: 32px; }
body.no-scroll { overflow: hidden; }

/* Breadcrumb */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 24px 0 0; font-size: 14px; color: var(--muted); }
.breadcrumbs li + li::before { content: '/'; margin-right: 6px; color: var(--line); }
.breadcrumbs a { text-decoration: none; }
.page-head { padding: 20px 0 8px; }
.page-head h1 { margin: 16px 0 12px; }

/* Hero */
.hero { position: relative; }
.hero__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radius); }
.hero__track::-webkit-scrollbar { display: none; }
.hero__slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 16 / 7; background: var(--bg-soft); }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__caption { position: absolute; left: clamp(20px, 5vw, 64px); bottom: clamp(20px, 5vw, 56px); max-width: 520px; color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.hero__caption h2 { color: #fff; }
.hero__nav { position: absolute; right: 0; bottom: 0; display: flex; background: #fff; border-top-left-radius: var(--radius); }
.hero__nav button, .carousel__nav button { width: 56px; height: 56px; border: 0; background: transparent; cursor: pointer; font-size: 22px; color: var(--ink); }
.hero__nav button:hover, .carousel__nav button:hover { color: var(--accent); }
.hero__dots { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; gap: 8px; }
.hero__dots span { cursor: pointer; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .55); }
.hero__dots span.is-active { background: #fff; width: 24px; border-radius: 4px; }
@media (max-width: 640px) { .hero__slide { aspect-ratio: 4 / 5; } .hero__nav { display: none; } }

/* Punti di forza */
.usp { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.usp__item { display: flex; gap: 16px; align-items: flex-start; }
.usp__icon { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.usp__icon svg { width: 24px; height: 24px; }
.usp__item strong { display: block; color: var(--ink); font-weight: 700; }
.usp__item span { color: var(--muted); font-size: 15px; }

/* Tab categorie */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.tabs button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 20px; cursor: pointer; font-weight: 600; color: var(--muted); }
.tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.tabpanel[hidden] { display: none; }

/* Carosello orizzontale (prodotti, articoli) */
.carousel { position: relative; }
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 24px) / 4); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
.carousel__nav { display: flex; gap: 4px; }
.carousel__nav button { width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; background: #fff; }
@media (max-width: 1000px) { .carousel__track { grid-auto-columns: calc((100% - 2 * 20px) / 3); gap: 20px; } }
.carousel__track_3 { grid-auto-columns: calc((100% - 2 * 28px) / 3); gap: 28px; }
@media (max-width: 1000px) { .carousel__track_3 { grid-auto-columns: calc((100% - 20px) / 2); gap: 20px; } }
@media (max-width: 720px) { .carousel__track { grid-auto-columns: 72%; gap: 16px; } }

/* Card prodotto */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 40px 24px; }
.pcard { position: relative; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.pcard__media { position: relative; aspect-ratio: 1; border-radius: var(--radius); background: var(--bg-softer); overflow: hidden; display: grid; place-items: center; }
.pcard__media img { width: 100%; height: 100%; object-fit: contain; padding: 8%; transition: transform .5s ease; }
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard__badge { position: absolute; left: 12px; top: 12px; background: #fff; border-radius: 999px; padding: 3px 12px; font-size: 13px; font-weight: 600; color: var(--accent); box-shadow: var(--shadow); }
.pcard__body { padding: 14px 4px 0; }
.pcard__name { display: block; color: var(--ink); font-weight: 600; font-size: 17px; line-height: 1.3; margin-bottom: 4px; }
.pcard__price { color: var(--muted); font-size: 15px; }
.pcard__price strong { color: var(--ink); font-weight: 700; }
.pcard:hover .pcard__name { color: var(--accent); }

/* Catalogo */
.catalog { display: grid; gap: 40px; padding-bottom: 80px; }
.catalog__subcats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 0; list-style: none; }
.catalog__subcats a { display: inline-block; padding: 7px 18px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; }
.catalog__subcats a[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.catalog__desc { max-width: 760px; color: var(--muted); }
@media (min-width: 960px) {
  .catalog_with-filter { grid-template-columns: 260px 1fr; align-items: start; }
  .catalog__filter { position: sticky; top: calc(var(--header-h) + 24px); }
}
.catalog__toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; color: var(--muted); font-size: 15px; }

/* Filtro prodotti Mall */
.mall-products-filter { display: grid; gap: 28px; }
.mall-products-filter .mall-property-filter h3, .mall-products-filter .mall-filter__title, .mall-products-filter label.mall-products-filter__title { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.mall-products-filter input[type=checkbox] { accent-color: var(--accent); width: 18px; height: 18px; margin-right: 8px; vertical-align: -3px; }
.mall-products-filter label { cursor: pointer; }
.mall-products-filter .mall-checkbox { display: block; padding: 3px 0; }
.mall-products-filter select { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: var(--radius-s); padding: 0 12px; background: #fff; }
.noUi-connect { background: var(--accent) !important; }
.noUi-horizontal { height: 4px !important; border: 0 !important; background: var(--line) !important; box-shadow: none !important; }
.noUi-horizontal .noUi-handle { width: 20px !important; height: 20px !important; right: -10px !important; top: -8px !important; border-radius: 50% !important; box-shadow: none !important; border: 2px solid var(--accent) !important; }
.noUi-handle::before, .noUi-handle::after { display: none !important; }
.filter-toggle { display: inline-flex; }
@media (min-width: 960px) { .filter-toggle { display: none; } }
@media (max-width: 959px) {
  .catalog__filter { display: none; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); }
  .catalog__filter.is-open { display: block; }
}

/* Paginazione */
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 48px 0 0; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600; }
.pagination .active span, .pagination [aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination .disabled span { color: var(--line); }

/* Pagina prodotto */
.product { display: grid; gap: clamp(32px, 5vw, 72px); padding: 24px 0 64px; }
@media (min-width: 960px) { .product { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; } .product__buy { position: sticky; top: calc(var(--header-h) + 24px); } }
.gallery__main { position: relative; aspect-ratio: 1; border-radius: var(--radius); background: var(--bg-softer); overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.gallery__thumbs { display: flex; gap: 12px; margin-top: 12px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.gallery__thumbs button { flex: 0 0 84px; height: 84px; padding: 4px; border: 2px solid transparent; border-radius: var(--radius-s); background: var(--bg-softer); cursor: pointer; }
.gallery__thumbs button[aria-current="true"] { border-color: var(--accent); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.product__title { margin: 8px 0 12px; }
.product__price { font-size: 28px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.product__price-note { font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.product__short { color: var(--muted); }
.product .mall-form-control { margin-bottom: 20px; }
.product .mall-form-control label, .product .opt-label { display: block; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }
.product select, .field select { width: 100%; min-height: 50px; padding: 0 44px 0 18px; border: 1px solid var(--line); border-radius: var(--radius-s); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23111' stroke-width='1.6'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 18px center; appearance: none; cursor: pointer; }
.product__actions { display: flex; gap: 12px; align-items: stretch; margin-top: 8px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty input { width: 48px; border: 0; text-align: center; background: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty button { width: 40px; height: 48px; border: 0; background: none; cursor: pointer; font-size: 18px; }
.product__actions .btn { flex: 1; }
.product__assure { list-style: none; padding: 20px 0 0; margin: 24px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 15px; color: var(--muted); }
.product__assure li { display: flex; gap: 10px; align-items: center; }
.product__assure svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.added-msg { margin-top: 16px; padding: 14px 18px; border-radius: var(--radius-s); background: var(--accent-soft); color: var(--accent-dark); font-weight: 600; display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }

.details { border-top: 1px solid var(--line); }
.details > details { border-bottom: 1px solid var(--line); }
.details summary, .faq__question { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-weight: 700; font-size: 19px; color: var(--ink); }
.details summary::-webkit-details-marker, .faq__question::-webkit-details-marker { display: none; }
.details summary::after, .faq__question::after { content: '+'; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-weight: 500; transition: transform .2s; }
.details details[open] summary::after, .faq__item[open] .faq__question::after { content: '−'; background: var(--ink); color: #fff; border-color: var(--ink); }
.details__body { padding: 0 0 28px; }
.phases { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; }
.phases img { aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-s); scroll-snap-align: start; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 24px; text-align: center; margin-top: 24px; }
.features__item { display: grid; justify-items: center; gap: 10px; font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.features__item svg { width: 44px; height: 44px; color: var(--accent); }

/* Testi ricchi */
.wysiwyg { color: var(--text); }
.wysiwyg > *:last-child { margin-bottom: 0; }
.wysiwyg h1, .wysiwyg h2, .wysiwyg h3 { margin-top: 1.4em; }
.wysiwyg a { color: var(--accent); }
.wysiwyg img { border-radius: var(--radius-s); margin: 1.5em 0; }
/* Foto affiancate nei testi (pagine statiche): griglia a filo, 3 colonne su desktop, 2 su mobile */
.wysiwyg .photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 2em 0; }
.wysiwyg .photo-grid img { width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; margin: 0; }
.wysiwyg .photo-grid_natural { grid-template-columns: repeat(2, 1fr); gap: 16px; align-items: start; }
.wysiwyg .photo-grid_natural img { height: auto; aspect-ratio: auto; object-fit: initial; }
@media (max-width: 640px) {
  .wysiwyg .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .wysiwyg .photo-grid_natural { grid-template-columns: 1fr; }
}
.wysiwyg strong, .wysiwyg b { color: var(--ink); font-weight: 600; }

/* Sezioni alternate testo/immagine */
.split { display: grid; gap: 32px; align-items: center; }
.split + .split { margin-top: clamp(48px, 7vw, 96px); }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.split__media video { width: 100%; border-radius: var(--radius); background: #000; }
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split_reverse .split__media { order: -1; }
}

/* Blog */
.acard { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.acard__media { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); }
.acard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.acard:hover .acard__media img { transform: scale(1.04); }
.acard__date { display: block; margin-top: 16px; font-size: 14px; color: var(--muted); }
.acard__title { font-size: 20px; margin: 4px 0 8px; }
.acard:hover .acard__title { color: var(--accent); }
.acard__excerpt { color: var(--muted); font-size: 15px; }
.agrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 40px 28px; }
.article { padding-bottom: 80px; }
.article__cover { border-radius: var(--radius); margin: 24px 0 40px; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.article__meta { color: var(--muted); font-size: 15px; }

/* FAQ */
.faq-section { display: grid; gap: 32px; }
@media (min-width: 960px) { .faq-section { grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: start; } .faq-section__intro { position: sticky; top: calc(var(--header-h) + 24px); } }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__answer { padding: 0 48px 24px 0; color: var(--text); }
.faq__item[open] .faq__answer { animation: fadein .3s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Contatti */
.contact { display: grid; gap: 40px; padding: 8px 0 80px; }
@media (min-width: 960px) { .contact { grid-template-columns: 1fr 1.4fr; gap: 72px; } }
.contact__cards { display: grid; gap: 16px; }
.ccard { display: flex; gap: 16px; padding: 22px 24px; border-radius: var(--radius); background: var(--bg-soft); text-decoration: none; }
.ccard__icon { flex: none; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--accent); display: grid; place-items: center; }
.ccard__icon svg { width: 22px; height: 22px; }
.ccard strong { display: block; color: var(--ink); }
.ccard span { color: var(--muted); }
a.ccard:hover { background: var(--accent-soft); color: inherit; }
.contact__map { border: 0; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); background: var(--bg-soft); margin-top: 16px; }
.form-card { padding: clamp(24px, 4vw, 48px); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); }

.contact-form__grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .contact-form__grid { grid-template-columns: 1fr 1fr; } .field_full { grid-column: 1 / -1; } }
.field { position: relative; }
.field__input { width: 100%; min-height: 58px; padding: 24px 18px 8px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--bg-softer); transition: border-color .2s, background .2s; }
.field__input_textarea { min-height: 150px; resize: vertical; }
.field__input:focus { outline: 0; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px var(--accent-soft); }
.field__label { position: absolute; left: 18px; top: 18px; color: var(--muted); pointer-events: none; transition: all .15s ease; }
.field__input:focus + .field__label, .field__input:not(:placeholder-shown) + .field__label { top: 7px; font-size: 12px; letter-spacing: .04em; color: var(--accent); }
.field__error { display: block; color: var(--danger); font-size: 14px; margin-top: 4px; }
.field__error:empty { display: none; }
.field.has-error .field__input { border-color: var(--danger); }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 20px 0 4px; font-size: 15px; color: var(--muted); cursor: pointer; }
.check input { accent-color: var(--accent); width: 20px; height: 20px; margin-top: 2px; flex: none; }
.contact-form__submit { margin-top: 20px; min-width: 220px; }
.contact-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form__success { text-align: center; padding: 32px 0; color: var(--accent); }
.contact-form__success svg { margin: 0 auto 12px; }
.contact-form__success p { color: var(--text); }

/* Newsletter / CTA */
.cta { display: grid; gap: 24px; align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: var(--radius); background: var(--ink); color: #d9d9d9; }
.cta h2 { color: #fff; margin-bottom: 8px; }
@media (min-width: 860px) { .cta { grid-template-columns: 1.4fr auto; } }
.cta .btn { border-color: #fff; color: #fff; }
.cta .btn:hover { background: #fff; color: var(--ink); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 64px 0 24px; font-size: 15px; }
.footer__grid { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.footer__logo img { width: 190px; }
.footer h3 { font-size: 16px; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer address { font-style: normal; color: var(--muted); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); }
.wa-float:hover { color: #fff; transform: scale(1.05); }
.wa-float svg { width: 30px; height: 30px; }

/* Cookie */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 560px; padding: 20px 24px; border-radius: var(--radius); background: #fff; box-shadow: 0 16px 48px rgba(0, 0, 0, .18); display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; font-size: 15px; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; flex: 1 1 260px; }

/* Messaggi flash (framework October) */
.oc-flash-message, .flash-message { border-radius: var(--radius-s) !important; font-family: var(--font) !important; }

/* Carrello / checkout Mall */

.mall-cart, .mall-quick-checkout, .mall-checkout, .mall-my-account { font-size: 16px; }
.mall-table, .mall-cart table { width: 100%; border-collapse: collapse; }
.mall-cart table th, .mall-table th { text-align: left; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 12px 8px; border-bottom: 1px solid var(--line); }
.mall-cart table td, .mall-table td { padding: 16px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.mall-cart img, .mall-quick-checkout img { max-width: 80px; border-radius: var(--radius-s); background: var(--bg-softer); }
.mall-cart input[type=number], .mall-quick-checkout input[type=number] { width: 72px; min-height: 40px; border: 1px solid var(--line); border-radius: var(--radius-s); padding: 0 8px; }
.mall-form-control { margin-bottom: 16px; }
.mall-form-control label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.mall-form-control input:not([type=checkbox]):not([type=radio]), .mall-form-control select, .mall-form-control textarea,
.mall-quick-checkout input:not([type=checkbox]):not([type=radio]):not([type=number]), .mall-quick-checkout select, .mall-quick-checkout textarea,
.mall-my-account input:not([type=checkbox]):not([type=radio]), .mall-my-account select, .mall-signup input:not([type=checkbox]):not([type=radio]) { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius-s); background: #fff; }
.mall-quick-checkout textarea, .mall-form-control textarea { min-height: 110px; padding: 12px 14px; }
.mall-form-control input:focus, .mall-form-control select:focus, .mall-quick-checkout input:focus, .mall-quick-checkout select:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.mall-two-fields, .mall-three-fields { display: grid; gap: 16px; }
@media (min-width: 640px) { .mall-two-fields { grid-template-columns: 1fr 1fr; } .mall-three-fields { grid-template-columns: 1fr 1fr 1fr; } }
.mall-btn, .mall-quick-checkout button[type=submit], .mall-checkout button[type=submit], .mall-cart .mall-btn, .mall-signup button[type=submit], .mall-my-account button[type=submit] { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 28px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; cursor: pointer; text-decoration: none; }
.mall-btn:hover, .mall-quick-checkout button[type=submit]:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.mall-btn--secondary { background: #fff; color: var(--ink); }
.mall-quick-checkout__collapsible-element, .mall-checkout__step, .mall-quick-checkout section { margin-bottom: 28px; }
.mall-quick-checkout h2, .mall-quick-checkout h3, .mall-checkout h2 { font-size: 22px; }
.mall-callout, .mall-message { padding: 16px 20px; border-radius: var(--radius-s); background: var(--bg-soft); margin-bottom: 20px; }
.mall-callout--error, .mall-message--error { background: #fbecea; color: var(--danger); }
.mall-shipping-selector__item, .mall-payment-method-selector__method, .mall-quick-checkout .mall-shipping-method, .mall-quick-checkout .mall-payment-method { border: 1px solid var(--line); border-radius: var(--radius-s); padding: 14px 18px; margin-bottom: 10px; }
.mall-overlay { position: fixed; inset: 0; background: rgba(255, 255, 255, .6); z-index: 80; display: none; }
.mall-overlay.is-visible, .mall-overlay--visible { display: block; }

/* Account */
.account-tabs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 32px; }
.account-tabs a { display: inline-block; padding: 8px 20px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600; }
.account-tabs a[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* 404 */
.notfound { text-align: center; padding: 96px 0; }
.notfound__code { font-size: clamp(96px, 16vw, 180px); font-weight: 800; color: var(--accent-soft); line-height: 1; }

/* Stampa */
@media print { .topbar, .header, .footer, .wa-float, .cookie { display: none !important; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* Checkout a due colonne */
.shop-page { padding-top: 8px; padding-bottom: 80px; }
@media (min-width: 1000px) {
  .mall-quick-checkout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; align-items: start; }
  .mall-quick-checkout__cart-column { position: sticky; top: calc(var(--header-h) + 24px); }
}
.mall-quick-checkout__cart-column { padding: 28px; border-radius: var(--radius); background: var(--bg-soft); }
.mall-quick-checkout__collapsible-element { padding: 28px 0; border-bottom: 1px solid var(--line); margin: 0 !important; }
.mall-quick-checkout__collapsible-element:first-child { padding-top: 0; }
.mall-quick-checkout__collapsible-summary { display: none; }
.mall-quick-checkout__heading { font-size: 22px; margin-bottom: 16px; }
.mall-quick-checkout__toggle-option { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: var(--radius-s); background: #fff; text-decoration: none; color: var(--text); }
.mall-quick-checkout__toggle-option--active { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.mall-quick-checkout__toggle-option-name { margin: 0 0 2px; font-size: 16px; }
.mall-quick-checkout__toggle-option-price, .mall-quick-checkout__toggle-option-meta { font-size: 14px; color: var(--muted); }
.mall-selection-indicator { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 12px; color: transparent; }
.mall-selection-indicator--active { background: var(--accent); border-color: var(--accent); color: #fff; }
.mall-checkbox { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; margin: 8px 0 16px; }
.mall-checkbox input { accent-color: var(--accent); width: 18px; height: 18px; margin-top: 3px; }
.mall-quick-checkout__cart table { width: 100%; font-size: 15px; }
.mall-quick-checkout__cart td { padding: 6px 0; vertical-align: top; }
.mall-quick-checkout__cart td:last-child { text-align: right; white-space: nowrap; }
.mall-quick-checkout__actions button, .mall-btn-checkout { width: 100%; background: var(--ink) !important; color: #fff !important; }
.mall-quick-checkout__actions button:hover, .mall-btn-checkout:hover { background: var(--accent) !important; border-color: var(--accent) !important; }
[data-validate-for] { color: var(--danger); font-size: 14px; }
.mall-cart select { min-height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--radius-s); background: #fff; }
.mall-cart__actions, .mall-cart .mall-cart__proceed { margin-top: 24px; text-align: right; }
.product select { text-transform: capitalize; }

/* Filtro Mall: gruppi, chip, slider */
.mall-products-filter { gap: 0; }
.mall-property-group { padding: 0 0 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.mall-property-group:last-child { border-bottom: 0; }
.mall-property-group__name { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.mall-property-group__name--price { margin-bottom: 22px; }
.mall-property + .mall-property { margin-top: 20px; }
.mall-property__label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; color: var(--ink); margin-bottom: 10px; font-size: 15px; }
.mall-property__label a, .mall-property-group__name a { font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); }
.mall-filter--set { display: flex; flex-wrap: wrap; gap: 8px; }
.mall-filter__option { padding: 5px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; cursor: pointer; text-transform: capitalize; background: #fff; transition: border-color .15s, background .15s; user-select: none; }
.mall-filter__option:hover { border-color: var(--ink); }
.mall-filter__option--selected { background: var(--ink); border-color: var(--ink); color: #fff; }
.mall-filter--range { padding: 6px 10px 34px; }
.noUi-pips-horizontal { padding-top: 6px !important; height: 34px !important; }
.noUi-value { font-size: 12px !important; color: var(--muted) !important; }
.noUi-tooltip { font-size: 12px !important; border-color: var(--line) !important; border-radius: 6px !important; padding: 2px 6px !important; }
.mainnav a { white-space: nowrap; }
.mainnav { gap: 24px; }
.header__left { gap: 24px; }
@media (max-width: 1439px) { .mainnav { gap: 18px; font-size: 14.5px; } .header__left, .header__right { gap: 18px; } }
@media (max-width: 1199px) { .mainnav { gap: 12px; font-size: 14px; } .header__left, .header__right { gap: 12px; } }
@media (min-width: 1100px) and (max-width: 1239px) { .hicon__label { display: none; } }

/* Positano Shop (static page locationphp) */
.shop-intro { display: grid; gap: 40px; padding: 16px 0 clamp(48px, 7vw, 96px); align-items: center; }
.shop-intro h1 { margin: 0 0 16px; }
.shop-intro .lead { color: var(--ink); margin-bottom: 12px; }
.shop-intro__text > p:not(.lead):not(.shop-intro__actions) { color: var(--muted); max-width: 600px; }
.shop-intro__cards { display: grid; gap: 12px; margin-top: 28px; }
.shop-intro__cards .ccard { padding: 16px 20px; align-items: center; }
.shop-intro__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.shop-intro__photos { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; aspect-ratio: 5 / 4; }
.shop-intro__photos img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.shop-intro__main { grid-row: span 2; }
@media (min-width: 960px) {
  .shop-intro { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; }
}
.reach { display: grid; gap: 32px; }
.reach__content > h2:first-child { margin-top: 0; }
.reach__grid { display: grid; gap: 16px; margin-top: 24px; }
.reach__item { background: #fff; border-radius: var(--radius); padding: 24px 24px 20px 84px; position: relative; }
.reach__item::before { content: ""; position: absolute; left: 24px; top: 22px; width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft) no-repeat center / 22px; }
.reach__item h3 { margin: 8px 0 10px; font-size: 20px; }
.reach__item p { font-size: 15px; color: var(--muted); }
.reach__item p:last-child { margin-bottom: 0; }
.reach__item_car::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b8a7c' stroke-width='1.8'%3E%3Cpath d='M5 11l1.6-4.3A2 2 0 0 1 8.5 5.5h7a2 2 0 0 1 1.9 1.2L19 11M4 11h16v5H4zM6 16v2M18 16v2'/%3E%3Ccircle cx='7.5' cy='13.5' r='.8'/%3E%3Ccircle cx='16.5' cy='13.5' r='.8'/%3E%3C/svg%3E"); }
.reach__item_plane::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b8a7c' stroke-width='1.8'%3E%3Cpath d='M10.5 13.5 3 11l1.5-1.5 8 1 4-4.5a2.1 2.1 0 0 1 3 3l-4.5 4 1 8L15.5 22.5 13 15l-3 3v3l-1.5 1.5-1-3.5-3.5-1L5.5 16.5h3z'/%3E%3C/svg%3E"); }
.reach__item_train::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b8a7c' stroke-width='1.8'%3E%3Crect x='5' y='3' width='14' height='13' rx='3'/%3E%3Cpath d='M5 10h14M8 20l-2 2M16 20l2 2M8.5 13h.01M15.5 13h.01'/%3E%3C/svg%3E"); }
.reach__item_sea::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b8a7c' stroke-width='1.8'%3E%3Cpath d='M12 3v10M12 4l6 8h-6M3 15h18l-2.5 4h-13zM2 21c2 0 2-1 4-1s2 1 4 1 2-1 4-1 2 1 4 1 2-1 4-1'/%3E%3C/svg%3E"); }
.reach__map iframe { border: 0; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius); background: #fff; display: block; margin-bottom: 12px; }
@media (min-width: 720px) { .reach__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) {
  .reach { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 48px; align-items: start; }
  .reach__map { position: sticky; top: calc(var(--header-h) + 24px); margin-top: 72px; }
}
.post-source { margin-top: 2em; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
