/*
 * Manì Boutique shell (header, menu, footer) — faithful to www.mani.boutique.
 * Plain CSS on purpose: the same file styles the Next.js pages (RCPO) and the legacy HTML pages (Rolex),
 * so every rule sets its own box model and typography instead of relying on Bootstrap or Tailwind resets.
 * Breakpoints of the live site: desktop > 1068px, tablet 751–1068px, mobile ≤ 750px.
 */
@import url("/fonts/google-fonts.css");

@font-face {
  font-family: "Mani Helvetica Now Text";
  src: url("/rcpo/assets/fonts/et9esh4wcv-7a5a445e-de3f-4690-9002-552575769c45.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.mani-header,
.mani-header *,
.mani-menu,
.mani-menu *,
.mani-footer,
.mani-footer * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  letter-spacing: normal;
  text-transform: none;
}

.mani-header a,
.mani-menu a,
.mani-footer a,
.mani-header a:hover,
.mani-menu a:hover,
.mani-footer a:hover {
  text-decoration: none;
}

.mani-header svg,
.mani-menu svg,
.mani-footer svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ---------- Header ---------- */

.mani-header {
  position: relative;
  z-index: 50;
  display: block;
  width: 100%;
  height: 122px;
  background: #fff;
  color: #000;
  font-family: "Mani Helvetica Now Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
}

.mani-header__menu {
  position: absolute;
  top: 41px;
  left: 29px;
  display: flex;
  align-items: center;
  width: 72px;
  height: 40px;
  border: 0;
  background: #fff;
  color: #000;
  font: 400 12px/1.4 "Mani Helvetica Now Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  cursor: pointer;
}

.mani-header__menu-icon {
  width: 24px;
  height: 24px;
  margin-right: 8px;
  fill: #000;
}

.mani-header__nav {
  position: absolute;
  top: 41px;
  left: 107px;
  display: flex;
  gap: 8px;
  height: 39px;
}

.mani-header__nav a {
  display: block;
  padding: 10px;
  color: #000;
  font: 400 13px/1.4em "Mani Helvetica Now Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  white-space: nowrap;
  transition: color 0.4s ease;
}

.mani-header__nav a:hover,
.mani-header__nav a:focus-visible {
  color: #c09e43;
}

.mani-header__logo {
  position: absolute;
  top: 31px;
  left: 50%;
  display: block;
  width: 118px;
  height: 59px;
  transform: translateX(-50%);
}

/* Icons and clock share the vertical centre of MENU, the section links and the logo. */
.mani-header__actions {
  position: absolute;
  top: 0;
  right: 20px;
  bottom: 0;
  display: flex;
  align-items: center;
}

.mani-header__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-right: 8px;
  border: 0;
  border-radius: 3px;
  background: #fff;
  color: #000;
  cursor: pointer;
}

.mani-header__icon:nth-child(3) {
  margin-right: 5px;
}

.mani-header__icon > span {
  display: block;
  width: 20px;
  height: 20px;
  fill: #000;
}

.mani-header__clock-link {
  display: block;
  flex: none;
}

/* The Rolex widget draws at 150x70: a larger frame only adds empty space below it and pushes it off centre. */
.mani-header__clock {
  display: block;
  width: 150px;
  height: 70px;
  border: 0;
  overflow: hidden;
  pointer-events: none;
}

@media (max-width: 1068px) {
  .mani-header {
    height: 91px;
  }
  .mani-header__menu {
    top: 27px;
    left: 44px;
    width: 69px;
    height: 37px;
  }
  .mani-header__nav,
  .mani-header__clock-link {
    display: none;
  }
  .mani-header__logo {
    top: 22px;
    width: 92px;
    height: 46px;
  }
  .mani-header__actions {
    right: 21px;
  }
  .mani-header__icon,
  .mani-header__icon:nth-child(3) {
    margin: 0 0 0 5px;
  }
}

@media (max-width: 750px) {
  .mani-header {
    height: 65px;
  }
  .mani-header__menu {
    top: 13px;
    left: 8px;
  }
  .mani-header__logo {
    top: 13px;
    width: 78px;
    height: 39px;
  }
  .mani-header__actions {
    right: 9px;
  }
  .mani-header__icon,
  .mani-header__icon:nth-child(3) {
    width: 30px;
    height: 30px;
    margin: 0 0 0 2px;
    background: transparent;
  }
  .mani-header__icon > span {
    width: 18px;
    height: 18px;
  }
}

/* ---------- Menu (opened by "MENU") ---------- */
/*
 * Dark side panel from the left (desktop 440px, tablet 400px, mobile full width): Chiudi + language, the Rolex clock,
 * two tabs (Collezioni / Manì Boutique) with big links revealed one after the other, and an appointment call to action.
 * Colours of Manì: black, white, grey #9b9b9b and the gold of the header links (#c09e43).
 */

.mani-menu {
  --mani-gold: #c09e43;
  --mani-menu-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  position: fixed;
  inset: 0;
  z-index: 100000;
  visibility: hidden;
  pointer-events: none;
  color: #fff;
  font-family: "Mani Helvetica Now Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  text-align: left;
  transition: visibility 0s linear 0.55s;
}

.mani-menu.is-open {
  visibility: visible;
  pointer-events: auto;
  transition: none;
}

.mani-menu__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 12, 0.55);
  opacity: 0;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: opacity 0.5s ease;
}

.mani-menu__panel {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  width: 440px;
  height: 100vh;
  height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  background:
    radial-gradient(120% 45% at 0% 0%, rgba(192, 158, 67, 0.08), transparent 62%),
    radial-gradient(90% 40% at 100% 100%, rgba(192, 158, 67, 0.04), transparent 70%),
    #0b0e2a;
  box-shadow: 30px 0 80px rgba(0, 0, 0, 0.35);
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.55s var(--mani-menu-ease);
}

.mani-menu.is-open .mani-menu__overlay {
  opacity: 1;
}

.mani-menu.is-open .mani-menu__panel {
  clip-path: inset(0 0 0 0);
}

.mani-menu button {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.mani-menu ul {
  list-style: none;
}

.mani-menu a,
.mani-menu a:hover,
.mani-menu a:focus {
  color: #fff;
}

.mani-menu svg {
  fill: currentColor;
}

.mani-menu :focus-visible {
  outline: 1px solid var(--mani-gold);
  outline-offset: 3px;
}

/* Top bar: "Chiudi" + language */

.mani-menu__top {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  padding: 26px 36px 0;
}

.mani-menu__close {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
}

/* Uppercase labels: set on the spans themselves, the shell reset puts "none" on every descendant. */
.mani-menu__close-label,
.mani-menu__cta > span:first-child {
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mani-menu__close-icon {
  display: block;
  flex: none;
  width: 40px;
  height: 40px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  transition: transform 0.4s var(--mani-menu-ease), border-color 0.3s ease, background-color 0.3s ease;
}

.mani-menu__close:hover .mani-menu__close-icon {
  border-color: var(--mani-gold);
  background: rgba(192, 158, 67, 0.12);
  transform: rotate(90deg);
}

.mani-menu__lang {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.14em !important;
}

.mani-menu__lang > * {
  display: block;
  padding: 6px 11px 5px;
  border-radius: 999px;
}

.mani-menu__lang [aria-current] {
  background: #fff;
  color: #0b0e2a;
}

.mani-menu .mani-menu__lang a {
  color: #9b9b9b;
  transition: color 0.3s ease;
}

.mani-menu .mani-menu__lang a:hover {
  color: #fff;
}

/* English version not published yet. */
.mani-menu .mani-menu__lang-soon {
  color: #6f6f6f;
  cursor: default;
}

/* Body */

.mani-menu__body {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  padding: 26px 36px 32px;
}

/* The Rolex widget always draws at 150x70: smaller frames crop it, so the frame keeps that size and is scaled. */
.mani-menu__clock {
  --mani-clock-scale: 1;
  display: block;
  flex: none;
  width: calc(150px * var(--mani-clock-scale));
  height: calc(70px * var(--mani-clock-scale));
  overflow: hidden;
}

.mani-menu__clock iframe {
  display: block;
  width: 150px;
  height: 70px;
  border: 0;
  overflow: hidden;
  pointer-events: none;
  transform: scale(var(--mani-clock-scale));
  transform-origin: 0 0;
}

/* Tabs */

.mani-menu__tabs {
  position: relative;
  display: flex;
  gap: 28px;
  margin-top: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.mani-menu__tab {
  padding: 0 0 14px !important;
  color: #9b9b9b !important;
  font-size: 12px !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  transition: color 0.3s ease;
}

.mani-menu__tab:hover,
.mani-menu__tab[aria-selected="true"] {
  color: #fff !important;
}

.mani-menu__tab-line {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: var(--tab-width, 0);
  height: 1px;
  background: var(--mani-gold);
  transform: translateX(var(--tab-left, 0));
  transition: transform 0.45s var(--mani-menu-ease), width 0.45s var(--mani-menu-ease);
}

.mani-menu__panels {
  padding-top: 26px;
}

.mani-menu__tabpanel[hidden] {
  display: none;
}

.mani-menu__group + .mani-menu__group {
  margin-top: 26px;
}

.mani-menu__eyebrow {
  margin-bottom: 6px;
  color: var(--mani-gold);
  font-size: 11px;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
}

/* Big links: revealed one after the other when the panel (or a tab) opens. */
.mani-menu__tabpanel li {
  opacity: 0;
  transform: translateY(14px);
}

.mani-menu.is-open .mani-menu__tabpanel.is-revealed li {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.6s var(--mani-menu-ease);
  transition-delay: calc(0.12s + var(--i, 0) * 0.04s);
}

.mani-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mani-menu__label {
  font-size: 22px;
  line-height: 1.25;
  transition: transform 0.4s var(--mani-menu-ease), color 0.3s ease;
}

.mani-menu__arrow {
  display: block;
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--mani-gold);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s ease, transform 0.4s var(--mani-menu-ease);
}

.mani-menu__link:hover .mani-menu__label,
.mani-menu__link:focus-visible .mani-menu__label {
  color: var(--mani-gold);
  transform: translateX(6px);
}

.mani-menu__link:hover .mani-menu__arrow,
.mani-menu__link:focus-visible .mani-menu__arrow {
  opacity: 1;
  transform: none;
}

.mani-menu__group--small ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}

.mani-menu .mani-menu__group--small a {
  color: #9b9b9b;
  font-size: 13px;
  line-height: 26px;
  transition: color 0.3s ease;
}

.mani-menu .mani-menu__group--small a:hover {
  color: #fff;
}

/* Foot: appointment, contacts, socials */

.mani-menu__foot {
  margin-top: auto;
  padding-top: 36px;
}

.mani-menu__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 20px;
  border: 1px solid var(--mani-gold);
  font-size: 12px;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  transition: background-color 0.35s ease, color 0.35s ease;
}

.mani-menu__cta .mani-menu__arrow {
  opacity: 1;
  transform: none;
}

.mani-menu .mani-menu__cta:hover {
  background: var(--mani-gold);
  color: #0b0b0d;
}

.mani-menu__cta:hover .mani-menu__arrow {
  color: #0b0b0d;
  transform: translateX(4px);
}

.mani-menu__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 22px;
  color: #9b9b9b;
  font-size: 13px;
  line-height: 20px;
}

.mani-menu .mani-menu__info a {
  color: #9b9b9b;
  transition: color 0.3s ease;
}

.mani-menu .mani-menu__info a:first-child {
  color: #fff;
}

.mani-menu .mani-menu__info a:hover {
  color: var(--mani-gold);
}

.mani-menu__socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.mani-menu__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.mani-menu__socials a:hover {
  border-color: var(--mani-gold);
  background: rgba(192, 158, 67, 0.12);
}

.mani-menu__socials img {
  display: block;
  width: 18px;
  height: 18px;
}

@media (max-width: 1068px) {
  .mani-menu__panel {
    width: 400px;
  }
}

@media (max-width: 750px) {
  .mani-menu__panel {
    width: 100%;
  }
  .mani-menu__top {
    padding: 14px 20px 0;
  }
  .mani-menu__body {
    padding: 20px 20px 28px;
  }
  .mani-menu__tabs {
    margin-top: 22px;
  }
  .mani-menu__label {
    font-size: 21px;
  }
}

@media (hover: none) {
  .mani-menu__arrow {
    opacity: 0.6;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mani-menu,
  .mani-menu__overlay,
  .mani-menu__panel,
  .mani-menu__tab-line,
  .mani-menu.is-open .mani-menu__tabpanel.is-revealed li {
    transition: none;
  }
}

html.mani-menu-open,
html.mani-menu-open body {
  overflow: hidden;
}

/* ---------- Footer ---------- */

.mani-footer {
  display: block;
  width: 100%;
  min-height: 750px;
  padding: 77px 10% 37px;
  background: #000;
  color: #9b9b9b;
  font-family: "Mani Helvetica Now Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
}

.mani-footer__logo {
  display: block;
  width: 152px;
  height: 76px;
  margin: 0 auto;
}

.mani-footer__logo path {
  fill: #fff;
}

.mani-footer__columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 68px;
}

.mani-footer__title {
  margin-bottom: 22px;
  color: #fff;
  font-family: inherit;
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
}

.mani-footer__list {
  list-style: none;
}

.mani-footer__list li {
  color: #9b9b9b;
  font-size: 16px;
  line-height: 24px;
}

.mani-footer__list li + li {
  margin-top: 11px;
}

.mani-footer .mani-footer__list a,
.mani-footer .mani-footer__list a:hover {
  color: #9b9b9b;
}

.mani-footer__bottom {
  position: relative;
  margin-top: 112px;
}

.mani-footer__legal {
  color: #9b9b9b;
  font-size: 14px;
  line-height: 21px;
}

.mani-footer__socials {
  position: absolute;
  top: 0;
  right: 7px;
  display: flex;
  gap: 22px;
  list-style: none;
}

.mani-footer__socials a,
.mani-footer__socials img {
  display: block;
  width: 24px;
  height: 24px;
}

.mani-footer__payments {
  width: 359px;
  height: 22px;
  margin: 25px 0 0 auto;
}

@media (max-width: 1068px) {
  .mani-footer {
    min-height: 979px;
    padding: 83px 10% 114px;
  }
  .mani-footer__logo {
    width: 89px;
    height: 44px;
  }
  .mani-footer__columns {
    grid-template-columns: 311px 300px;
    column-gap: calc(100% - 704px);
    row-gap: 83px;
    margin-top: 68px;
  }
  .mani-footer__title {
    margin-bottom: 14px;
    font-size: 16.5px;
    line-height: 24px;
  }
  .mani-footer__list li {
    font-size: 16.5px;
  }
  .mani-footer__list li + li {
    margin-top: 7px;
  }
  .mani-footer__bottom {
    margin-top: 0;
  }
  .mani-footer__legal {
    font-size: 13.8px;
    line-height: 20px;
  }
  .mani-footer__socials {
    right: 0;
    gap: 15px;
  }
  .mani-footer__socials a,
  .mani-footer__socials img {
    width: 29px;
    height: 29px;
  }
  .mani-footer__payments {
    width: 357px;
    margin-top: 22px;
  }
}

@media (max-width: 750px) {
  .mani-footer {
    min-height: 1037px;
    padding: 37px 18px 45px;
  }
  .mani-footer__logo {
    width: 84px;
    height: 42px;
  }
  .mani-footer__columns {
    grid-template-columns: 1fr;
    row-gap: 40px;
    margin-top: 61px;
  }
  .mani-footer__columns > section:nth-child(2) {
    margin-top: 18px;
  }
  .mani-footer__title {
    margin-bottom: 6px;
    font-size: 11.84px;
    line-height: 17px;
  }
  .mani-footer__list li {
    font-size: 13.82px;
    line-height: 20px;
  }
  .mani-footer__list li + li {
    margin-top: 3px;
  }
  .mani-footer__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 36px;
  }
  .mani-footer__legal {
    font-size: 9.87px;
    line-height: 15px;
    text-align: center;
  }
  .mani-footer__payments {
    order: 2;
    width: 293px;
    height: 18px;
    margin: 45px auto 0;
  }
  .mani-footer__socials {
    position: static;
    order: 3;
    gap: 6px;
    margin-top: 16px;
  }
  .mani-footer__socials a,
  .mani-footer__socials img {
    width: 24px;
    height: 24px;
  }
}

/* The MENU panel lives inside the header: lift it above the page's own sticky bars (e.g. the RCPO nav) while open. */
html.mani-menu-open .mani-header {
  z-index: 2147483000;
}
