/* Antonello 2.0 — an editorial wardrobe for the original shop. */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}
::selection {
  background: #d8b982;
  color: #203c34;
}
body {
  -webkit-font-smoothing: antialiased;
}
.wrap {
  width: min(1440px, 92%);
}
/* Client request 16/10/2026: the top bar 50% larger than the original 9px/8px. */
.announcement {
  background: var(--ink);
  font-size: 13.5px;
  padding: 12px;
  letter-spacing: 2.85px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  /* Opaque, without the backdrop blur: at 96% the blur was invisible but cost the phone a
     redraw of the page behind the header at every scrolled frame. */
  background: var(--paper);
  transition: box-shadow 0.3s;
}
.site-header.is-scrolled {
  box-shadow: 0 4px 24px #203c340b;
}
.header-main {
  height: 96px;
}
.brand img {
  width: 164px;
  max-height: 58px;
  mix-blend-mode: multiply;
}
.brand span {
  font-size: 9px;
  letter-spacing: 2.4px;
}
.primary-nav a {
  position: relative;
  padding-block: 12px;
}
.primary-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.primary-nav a:hover::after,
.primary-nav .current-menu-item > a::after {
  transform: scaleX(1);
  transform-origin: left;
}
.header-actions > a,
.search-toggle summary {
  min-width: 32px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-count {
  border: 1px solid var(--line);
  border-radius: 50%;
  min-width: 19px;
  line-height: 19px;
  text-align: center;
}
.search-toggle form {
  z-index: 90;
  border: 1px solid var(--line);
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 1.9px;
}
.shop-intro {
  padding: 64px 0 34px;
  scroll-margin-top: 10px;
}
.shop-intro h1,
.shop-intro h2 {
  font-size: clamp(40px, 4.3vw, 65px);
  letter-spacing: -0.045em;
  margin: 0;
}
.shop-intro h2 em {
  color: var(--gold);
}
.catalog-layout {
  padding-top: 30px;
  gap: 42px;
  grid-template-columns: 185px minmax(0, 1fr);
}
.catalog-sidebar {
  padding-top: 8px;
}
.catalog-sidebar h2 {
  font-size: 12px;
  letter-spacing: 1.6px;
}
.catalog-sidebar li a {
  font-size: 14px;
  transition:
    color 0.25s,
    padding 0.25s;
}
.catalog-sidebar li a:hover {
  padding-left: 5px;
  font-weight: 400;
}
.catalog-toolbar {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.woocommerce ul.products {
  gap: 36px 22px;
}
.woocommerce ul.products li.product {
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
}
.woocommerce ul.products li.product a img {
  background: #eae9e2;
  aspect-ratio: 1 / 1.13;
  padding: 13px;
  transition:
    transform 0.8s var(--ease),
    background 0.5s;
}
.woocommerce ul.products li.product a:hover img {
  transform: translateY(-5px);
  background: #e2e3d8;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: clamp(19px, 1.7vw, 26px);
  letter-spacing: -0.6px;
  margin-bottom: 6px;
}
.woocommerce ul.products li.product .price {
  font-size: 15px;
  margin-top: 10px;
}
.woocommerce ul.products li.product .button {
  font-size: 13px;
  padding: 9px 0 5px;
  margin-top: 5px;
  border-color: #a4ada1;
  transition: border-color 0.25s;
}
.woocommerce ul.products li.product .button:hover {
  border-color: var(--ink);
}
.woocommerce ul.products li.product .button::after {
  content: ' ↗';
  margin-left: 10px;
  display: inline-block;
}
.woocommerce ul.products li.product .button.loading::after {
  position: static;
  font-family: inherit;
  animation: none;
}
.woocommerce ul.products li.product .button.added::after {
  font-family: inherit;
  content: ' ✓';
}
.woocommerce a.added_to_cart {
  display: block;
  font-size: 13px;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  border-radius: 50%;
  min-width: 40px;
}
.site-footer {
  padding-top: 62px;
  margin-top: 30px;
  overflow: hidden;
}
.footer-grid {
  gap: 35px;
}
.footer-grid h2 {
  font-size: 38px;
  max-width: 280px;
  letter-spacing: -1.4px;
}
.footer-grid .eyebrow {
  color: #ceb78d;
}
.footer-grid a {
  transition: color 0.2s;
  overflow-wrap: anywhere;
}
.footer-grid a:hover {
  color: #e8c990;
}
.footer-bottom {
  margin-top: 30px;
}
.content-page {
  padding-top: 60px;
}
.content-page h1 {
  font-size: clamp(42px, 5vw, 74px);
  letter-spacing: -0.05em;
}
.content-page > article > .eyebrow {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.collection-grid {
  gap: 40px 25px;
  margin-block: 35px;
}
.collection-grid > a {
  border-bottom: 1px solid var(--line);
  padding-bottom: 15px;
}
/* Collezioni (03/11/2026): photos and logos sit on a visible tile, like the shop cards,
   so the name reads as the caption of the image right above it. */
.collection-visual {
  display: block;
  overflow: hidden;
  background: var(--soft);
}
.collection-grid img {
  display: block;
  width: 100%;
  background: transparent;
  mix-blend-mode: multiply;
  transition: transform 0.6s var(--ease);
}
/* Logos sit on the page paper, without the tile (user, 03/11/2026). */
.collection-visual--logo {
  background: transparent;
}
.collection-grid img.collection-logo {
  padding: 0 13%;
  mix-blend-mode: normal;
}
.collection-grid > a:hover img {
  transform: translateY(-5px);
}
.woocommerce div.product div.images img {
  background: var(--soft);
}
.woocommerce div.product div.images .woocommerce-product-gallery__image {
  mix-blend-mode: multiply;
}
.single-product .content-page {
  padding-top: 24px;
}
.single-product .woocommerce-breadcrumb {
  margin-bottom: 18px;
}
.woocommerce div.product .product_title {
  font-size: clamp(32px, 3.2vw, 46px);
  line-height: 1.12;
  margin: 0 0 12px;
}
.woocommerce div.product div.images {
  width: 44%;
}
.woocommerce div.product div.summary {
  width: 52%;
  padding: 0;
}
.woocommerce div.product div.images .flex-control-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.woocommerce div.product div.images .flex-control-thumbs li {
  width: 64px;
  float: none;
}
.woocommerce div.product .product_meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  font-size: 14px;
  margin-bottom: 16px;
  color: var(--muted);
}
.woocommerce div.product p.price {
  margin: 0 0 16px;
}
.woocommerce div.product .woocommerce-product-details__short-description {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}
.woocommerce div.product .woocommerce-product-details__short-description p {
  margin: 0 0 12px;
}
.woocommerce div.product form.cart {
  margin: 20px 0 24px;
}
.woocommerce div.product form.cart:not(.variations_form):not(.grouped_form),
.woocommerce div.product .woocommerce-variation-add-to-cart {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
}
.woocommerce div.product form.cart::before,
.woocommerce div.product form.cart::after {
  display: none;
}
.woocommerce div.product form.cart .form-row {
  flex: 0 0 100%;
  margin: 0;
  padding: 0;
}
.woocommerce div.product form.cart div.quantity {
  float: none;
  margin: 0;
  flex: 0 0 64px;
}
.woocommerce div.product form.cart .quantity .qty {
  width: 64px;
  min-width: 0;
  height: 48px;
  margin: 0;
  padding: 8px;
}
.woocommerce div.product form.cart .single_add_to_cart_button {
  float: none;
  flex: 1;
  min-height: 48px;
  max-width: none;
  margin: 0;
}
.woocommerce div.product .woocommerce-tabs {
  padding-top: 35px;
}
button,
.button,
.woocommerce a.button,
.woocommerce button.button {
  transition:
    background 0.3s,
    color 0.3s,
    border-color 0.3s;
}
.ca-consent {
  box-shadow: 0 10px 55px #203c341a;
  background: #fdfcf8;
}
.ca-consent button:first-child {
  background: transparent;
  color: var(--ink);
}
.ca-consent button:first-child:hover {
  background: var(--soft);
}
/* Elements remain visible unless the observer has successfully initialized. */
[data-reveal].reveal-ready {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].reveal-ready.is-visible {
  opacity: 1;
  transform: none;
}
@keyframes atelier-enter {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 1500px) {
  .wrap {
    width: min(1480px, 90%);
  }
}
@media (max-width: 1050px) {
  .header-main {
    gap: 15px;
  }
  .primary-nav ul {
    gap: 20px;
  }
  .header-actions {
    gap: 10px;
  }
  .catalog-layout {
    grid-template-columns: 155px minmax(0, 1fr);
    gap: 25px;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 95px;
  }
  .wrap {
    width: 90%;
  }
  .announcement {
    font-size: 10.5px;
    line-height: 1.5;
    letter-spacing: 1.2px;
    padding: 9px 16px;
  }
  .header-main {
    height: 78px;
    gap: 9px;
  }
  .brand img {
    width: 138px;
    max-height: 44px;
  }
  .brand span {
    font-size: 8px;
    letter-spacing: 1.2px;
  }
  .header-actions {
    gap: 4px;
  }
  .header-actions > a,
  .search-toggle summary {
    min-width: 28px;
  }
  .menu-toggle {
    min-height: 44px;
    min-width: 32px;
    padding: 5px;
  }
  .menu-toggle:hover {
    color: var(--ink);
    background: var(--soft);
  }
  .primary-nav {
    max-height: calc(100dvh - 85px);
    overflow-y: auto;
    box-shadow: 0 18px 30px #203c3415;
  }
  .primary-nav.is-open {
    animation: atelier-enter 0.3s var(--ease);
  }
  /* The links carry the dividing line: a second one on the item doubled it under the menu entries. */
  .primary-nav li {
    padding: 0;
  }
  .primary-nav a {
    display: block;
    padding: 15px 0;
    font: 27px var(--serif);
  }
  .search-toggle form {
    padding: 15px;
    left: 0;
    right: 0;
  }
  .shop-intro {
    padding-top: 38px;
    padding-bottom: 25px;
  }
  .shop-intro h1,
  .shop-intro h2 {
    font-size: 42px;
  }
  .catalog-about {
    margin-top: 40px;
    font-size: 15px;
  }
  .catalog-layout {
    display: block;
    padding-top: 20px;
  }
  .catalog-sidebar {
    padding: 0 15px;
    background: var(--soft);
  }
  .catalog-sidebar summary {
    min-height: 48px;
  }
  .catalog-sidebar li a {
    min-height: 38px;
    font-size: 14px;
  }
  .catalog-toolbar {
    padding-bottom: 12px;
    gap: 5px;
  }
  .catalog-toolbar {
    flex-wrap: wrap;
    row-gap: 2px;
  }
  .woocommerce .woocommerce-result-count {
    flex: 1 0 100%;
    font-size: 13px;
  }
  .woocommerce .woocommerce-ordering select {
    font-size: 13px;
    max-width: 200px;
  }
  .woocommerce ul.products {
    gap: 27px 13px;
  }
  .woocommerce ul.products li.product a img {
    padding: 5px;
    margin-bottom: 13px;
  }
  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 21px;
    line-height: 1.12;
  }
  .woocommerce ul.products li.product .button {
    font-size: 12px;
    min-height: 36px;
  }
  .woocommerce ul.products li.product .button::after {
    margin-left: 4px;
  }
  .site-footer {
    padding-top: 40px;
  }
  .footer-grid {
    gap: 30px 20px;
  }
  .footer-grid > div:first-child {
    padding-bottom: 10px;
  }
  .footer-grid h2 {
    font-size: 40px;
  }
  .footer-grid h3 {
    font-size: 12px;
  }
  .footer-grid p,
  .footer-grid a {
    font-size: 14px;
  }
  .footer-bottom {
    font-size: 11px;
    margin-top: 14px;
  }
  .content-page {
    padding-top: 35px;
  }
  .collection-grid {
    --col-gap: 16px;
    gap: 25px 16px;
  }
  .collection-grid h2 {
    font-size: 24px;
  }
}
/* Match WooCommerce's single-column breakpoint, including 768px tablets. */
@media (max-width: 768px) {
  .single-product .content-page {
    padding-top: 18px;
  }
  .woocommerce div.product div.images,
  .woocommerce div.product div.summary {
    width: 100%;
    float: none;
    padding: 0;
  }
  .woocommerce div.product div.images {
    max-width: 320px;
    margin: 0 auto 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  [data-reveal].reveal-ready {
    opacity: 1;
    transform: none;
  }
}
/* The separated circle in the real logo closes as the header becomes compact. */
.site-header {
  --logo-progress: 0;
  --logo-word-opacity: 1;
  --logo-turn: 0deg;
}
.header-main {
  height: calc(96px - 24px * var(--logo-progress));
  height: calc(96px - round(24px * var(--logo-progress), 1px));
}
/* The margin gives back what the header loses, so the page below never moves. Otherwise the
   browser's scroll anchoring corrects the scroll, the progress changes again and the page
   shakes by a pixel at some positions. Whole pixels keep height + margin exactly constant. */
.site-header {
  margin-bottom: calc(24px * var(--logo-progress));
  margin-bottom: round(24px * var(--logo-progress), 1px);
}
/* Keeps a first block's top margin (the laboratorio opening) inside main: collapsing with the
   header's margin would swallow it. Same position as before, since every main is a plain block. */
.site-header + main {
  display: flow-root;
}
/* Geometry in percentages of the 410 × 154 artwork: the whole logo moves 128 units right, the
   right figure 256 units left, turning around its point at 374, 98. */
.brand .scroll-logo {
  position: relative;
  display: block;
  width: 164px;
  aspect-ratio: 410 / 154;
  mix-blend-mode: multiply;
  transform: translateX(calc(31.2195% * var(--logo-progress)));
}
.brand .scroll-logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  mix-blend-mode: normal;
}
.scroll-logo .brand-left {
  clip-path: polygon(
    0 0,
    36.5854% 0,
    36.5854% 33.7662%,
    27.8049% 33.7662%,
    27.8049% 69.4805%,
    19.5122% 69.4805%,
    19.5122% 100%,
    0 100%
  );
}
.scroll-logo .brand-wordmark {
  clip-path: polygon(
    36.5854% 0,
    89.2683% 0,
    89.2683% 62.3377%,
    87.0732% 62.3377%,
    87.0732% 87.013%,
    80.4878% 70.7792%,
    72.6829% 90.9091%,
    72.6829% 100%,
    19.5122% 100%,
    19.5122% 69.4805%,
    27.8049% 69.4805%,
    27.8049% 33.7662%,
    36.5854% 33.7662%
  );
  opacity: var(--logo-word-opacity);
}
.scroll-logo .brand-right {
  clip-path: polygon(
    89.2683% 0,
    100% 0,
    100% 100%,
    72.6829% 100%,
    72.6829% 90.9091%,
    80.4878% 70.7792%,
    87.0732% 87.013%,
    87.0732% 62.3377%,
    89.2683% 62.3377%
  );
  transform: translateX(calc(-62.439% * var(--logo-progress))) rotate(var(--logo-turn));
  transform-origin: 91.2195% 63.6364%;
}
.brand .brand-tagline {
  opacity: var(--logo-word-opacity);
  max-height: calc(15px * (1 - var(--logo-progress)));
  max-height: round(15px * (1 - var(--logo-progress)), 1px);
  overflow: hidden;
}
/* Separate layers only while the logo is between its two states: at rest it is drawn sharp. */
.site-header.is-logo-moving .scroll-logo,
.site-header.is-logo-moving .brand-right {
  will-change: transform;
}
.site-header.is-logo-moving .brand-wordmark,
.site-header.is-logo-moving .brand-tagline {
  will-change: opacity;
}
@media (max-width: 760px) {
  .header-main {
    height: calc(78px - 12px * var(--logo-progress));
    height: calc(78px - round(12px * var(--logo-progress), 1px));
  }
  .site-header {
    margin-bottom: calc(12px * var(--logo-progress));
    margin-bottom: round(12px * var(--logo-progress), 1px);
  }
  .brand .scroll-logo {
    width: 138px;
    max-height: 52px;
  }
}
.woocommerce ul.products li.product .product-visual {
  display: block;
  overflow: hidden;
  background: var(--soft);
  margin-bottom: 16px;
}
.woocommerce ul.products li.product .product-visual img {
  margin-bottom: 0;
  background: transparent;
}
.woocommerce ul.products li.product a:hover .product-visual img {
  background: transparent;
  transform: scale(1.035);
}
@media (max-width: 760px) {
  .woocommerce ul.products li.product .product-visual {
    margin-bottom: 13px;
  }
}
/* Footer navigation uses WordPress menus, with the same compact presentation. */
.footer-grid .menu,
.footer-legal .menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-legal .menu {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
/* Catalog navigation: a collections page and product types beside the grid.
   Menu 25% larger on 19/10/2026: text 13px to 16.25px, spacing 36px to 45px (30px to 38px in style.css). */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 45px;
}
.primary-nav > a,
.primary-nav .header-links > li > a {
  display: block;
  padding: 16px 0;
  font: 16.25px var(--sans);
  cursor: pointer;
}
/* Tablets: tighter spacing, and slightly smaller text just above the phone menu, so that the
   items stay on one line between logo and icons. */
@media (max-width: 1050px) {
  .primary-nav {
    gap: 28px;
  }
}
@media (max-width: 800px) {
  .primary-nav > a,
  .primary-nav .header-links > li > a {
    font-size: 15px;
  }
}
.primary-nav .catalog-collections-link[aria-current] {
  color: var(--gold);
}
.shop-intro {
  padding: 28px 0 24px;
}
.shop-intro h1 {
  font-size: clamp(30px, 3vw, 44px);
}
.shop-intro .eyebrow {
  margin-bottom: 10px;
}
.catalog-layout {
  padding-top: 26px;
}
/* Collection pages (client, 16/10/2026): centred like the Collezioni page header. */
.shop-intro--collection {
  display: block;
  padding: 60px 0 44px;
  text-align: center;
}
.shop-intro--collection .eyebrow {
  margin-bottom: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.shop-intro--collection h1 {
  font-size: clamp(42px, 5vw, 74px);
  letter-spacing: -0.05em;
}
.shop-intro--collection h1.collection-title-logo {
  margin-top: 22px;
  line-height: 0;
}
/* Same height for every logo; very wide ones (Soffione, Organza) stop at 560px and shrink inside. */
.collection-title-logo .collection-logo {
  display: block;
  width: auto;
  height: clamp(84px, 9vw, 132px);
  max-width: min(100%, 560px);
  margin-inline: auto;
  object-fit: contain;
}
.collection-intro-text {
  max-width: 640px;
  margin: 28px auto 0;
}
.collection-intro-text p {
  margin: 0 0 1em;
  font-size: 15px;
  line-height: 1.85;
}
.collection-intro-text p:last-child {
  margin-bottom: 0;
}
.catalog-selection {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 14px;
}
.catalog-selection a {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  text-decoration: none;
}
.catalog-selection a:hover {
  background: var(--soft);
}
@media (max-width: 760px) {
  .primary-nav {
    display: none;
    padding: 14px 5% 22px;
    max-height: calc(100dvh - 147px);
  }
  .primary-nav.is-open {
    display: block;
  }
  .primary-nav > a,
  .primary-nav .header-links > li > a {
    font-size: 22.5px;
    padding: 19px 0;
    border-bottom: 1px solid var(--line);
  }
  .shop-intro {
    padding: 22px 0 18px;
  }
  .shop-intro--collection {
    padding: 35px 0 30px;
  }
  .shop-intro--collection .eyebrow {
    margin-bottom: 12px;
  }
  .collection-intro-text {
    margin-top: 20px;
  }
  .collection-intro-text p {
    font-size: 14px;
  }
  .catalog-layout {
    padding-top: 18px;
  }
}
/* Homepage type menu; the complete shop retains its own sidebar and filters. */
.home-types-panel {
  position: sticky;
  top: var(--home-sticky-top, 120px);
  align-self: start;
  margin-top: 34px;
  max-height: calc(100dvh - var(--home-sticky-top, 120px) - 20px);
  overflow-y: auto;
}
.home-types-panel > summary {
  display: none;
}
.home-types {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.home-types h2 {
  margin: 0 0 20px;
  font: 12px var(--sans);
  letter-spacing: 1.7px;
  text-transform: uppercase;
}
.home-types a {
  padding: 10px 0;
  font-size: 15px;
  text-decoration: none;
}
.home-types .home-types-all {
  margin-bottom: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.home-types a:hover {
  color: var(--gold);
}
@media (max-width: 1200px) {
  .home-types-panel {
    position: static;
    max-height: none;
    margin-top: 22px;
    padding: 0 16px;
    border: 1px solid var(--line);
  }
  .home-types-panel > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    font-size: 14px;
    cursor: pointer;
    list-style: none;
  }
  .home-types-panel > summary::-webkit-details-marker {
    display: none;
  }
  .home-types-panel > summary::after {
    content: '+';
    font-size: 22px;
  }
  .home-types-panel[open] > summary::after {
    content: '−';
  }
  .home-types {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
    padding: 10px 0;
    border-top: 1px solid var(--line);
  }
  .home-types h2 {
    display: none;
  }
  .home-types a {
    font-size: 14px;
    padding: 12px 0;
  }
  .home-types .home-types-all {
    margin: 0;
    padding: 12px 0;
    border: 0;
  }
}
