:root{color:#272724;background:#f6f2eb;font-family:system-ui,sans-serif;--green:#1d5146;--line:#d9d3c6}
*{box-sizing:border-box}body{margin:0}header{padding:1rem clamp(1rem,5vw,4rem);display:flex;gap:1rem;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}header a{font:700 1.55rem Georgia,serif;color:var(--green);text-decoration:none}header span,small{color:#565853}main{max-width:1100px;margin:0 auto;padding:clamp(1.1rem,5vw,3rem)}main.booking{max-width:660px}h1,h2,h3{font-family:Georgia,serif;font-weight:500;margin:.15rem 0 .8rem}h1{font-size:clamp(2.6rem,7vw,4.6rem);letter-spacing:-.055em;line-height:1}h2{font-size:1.65rem}p{line-height:1.5}.card,.stats{border:1px solid var(--line);background:#fffcf7;border-radius:14px;padding:clamp(1rem,3vw,1.65rem)}.card{margin-top:1rem}.columns,.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem}.stats{grid-template-columns:repeat(3,minmax(0,1fr));align-items:center}.stats strong{display:block;font-size:1.2rem}.stats label{margin:0}.check{display:flex;align-items:center;gap:.45rem}.check input{width:auto}label{display:block;margin:.4rem 0 .9rem;font-size:.94rem;font-weight:600}input,select,button{font:inherit}input,select{display:block;width:100%;min-height:2.55rem;margin-top:.35rem;border:1px solid #a69f90;border-radius:7px;padding:.5rem;background:#fff;color:inherit}button{border:0;border-radius:7px;background:var(--green);color:white;padding:.65rem 1rem;cursor:pointer}button:disabled{opacity:.58;cursor:not-allowed}button.secondary{color:var(--green);background:#e8eee8}.message{color:var(--green);margin:.55rem 0 0}.message:empty{display:none}.error{color:#90281b}.turn{border-top:1px solid var(--line);padding:.85rem 0}.turn p{margin:.25rem 0 .6rem}.turn button{margin:.25rem .4rem .15rem 0}.transfer{padding:.55rem 0}
@media(max-width:690px){.columns{grid-template-columns:1fr}.stats{grid-template-columns:1fr 1fr}.stats label{grid-column:1/-1}}

/* Marynails public site */
.salon {
  --ink: #351e2a;
  --wine: #73253f;
  --rose: #f0dbe2;
  --paper: #fff9f6;
  --edge: #e4cbd3;
  background: var(--paper);
  color: var(--ink);
}
.salon :focus-visible { outline: 3px solid var(--wine); outline-offset: 4px; }
.salon-header,
.salon-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .85rem clamp(1.1rem, 6vw, 6rem);
  border-color: var(--edge);
}
.salon-header .wordmark { font: 500 2rem Georgia, serif; letter-spacing: -.055em; color: var(--ink); }
.wordmark span { color: var(--wine); }
.salon-header nav,
.salon-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.05rem 1.7rem; }
.salon-header nav a { font: 600 .92rem system-ui, sans-serif; color: var(--ink); }
.salon-header nav a:hover { text-decoration: underline; }
.salon .salon-pill {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: .6rem 1.4rem;
  background: var(--wine);
  color: #fff;
  border-radius: 40px;
  font: 650 .94rem system-ui, sans-serif;
  text-decoration: none;
  white-space: normal;
}
.salon .salon-pill:hover:not(:disabled) { background: #582037; }
.salon .salon-pill:disabled { color: #66374a; background: #f0e0e6; opacity: 1; }
.salon .salon-main { max-width: 1320px; padding: clamp(1rem, 4vw, 3rem); }
.salon-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(0, 1fr);
  background: var(--rose);
  overflow: hidden;
  border-radius: 26px;
}
.hero-copy { align-self: center; padding: clamp(1.4rem, 5.6vw, 5rem); }
.salon-location { color: var(--wine); margin: 0 0 1rem; font-size: .82rem; font-weight: 650; }
.salon h1 { max-width: 10ch; font-size: clamp(2.85rem, 7.8vw, 7.4rem); line-height: .96; margin: 0 0 1.25rem; }
.salon h2 { font-size: clamp(2rem, 3.8vw, 3.45rem); letter-spacing: -.045em; line-height: 1.05; }
.hero-copy > p:not(.salon-location), .agenda-copy p { max-width: 34ch; }
.salon-text-link { color: var(--wine); font-weight: 650; text-underline-offset: .28em; }
.salon-actions { margin-top: 1.45rem; }
.hero-photo { position: relative; margin: 0; min-height: 460px; }
.hero-photo img { display: block; width: 100%; height: 100%; position: absolute; object-fit: cover; }
.hero-photo figcaption {
  position: absolute;
  bottom: .85rem;
  right: .85rem;
  padding: .25rem .6rem;
  border-radius: 4px;
  background: #fff9f6;
  color: var(--ink);
  font-size: .72rem;
}
.salon-services, .salon-agenda, .salon-visit {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(1.15rem, 4vw, 3.1rem);
  padding: clamp(1.7rem, 4.5vw, 4rem) clamp(.3rem, 4vw, 3.5rem);
  scroll-margin-top: 1.2rem;
}
.salon-services { align-items: start; }
.service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.6rem; margin: 0; padding: 0; list-style: none; }
.service-list li { padding: .65rem .05rem; }
.service-list strong { font-weight: 570; }
.salon-agenda { background: #f8eaf0; border-radius: 24px; align-items: start; }
.salon-agenda .card { background: #fffaf8; margin: 0; border-color: var(--edge); }
.salon-agenda input, .salon-agenda select { border-color: #ad909b; min-height: 46px; }
.agenda-copy { align-self: center; }
.salon .message { color: var(--wine); }
.salon-visit address { font-style: normal; line-height: 1.65; }
.salon-hours { max-width: 320px; margin: 0; }
.salon-hours div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; }
.salon-hours dd { margin: 0; white-space: nowrap; }
.salon-footer { background: var(--rose); flex-wrap: wrap; }
.salon-footer a { color: var(--wine); }
@media (max-width: 760px) {
  .salon-header { gap: .5rem 1rem; flex-wrap: wrap; }
  .salon-header nav { order: 3; width: 100%; gap: 1.25rem; padding-top: .2rem; }
  .salon-header nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .salon-hero, .salon-services, .salon-agenda, .salon-visit { grid-template-columns: 1fr; }
  .hero-photo { min-height: 0; aspect-ratio: 4 / 3; }
  .hero-photo img { object-position: center 57%; }
  .hero-copy { padding: clamp(1.4rem, 6vw, 2.5rem); }
  .salon-agenda { padding-inline: 1rem; }
}
@media (max-width: 430px) {
  .salon .fields, .service-list { grid-template-columns: 1fr; }
  .salon-header .wordmark { font-size: 1.75rem; }
}



/* Independent site pages */
.salon-nav a[aria-current="page"] {
  color: var(--wine);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .45em;
}
.salon-hero + .salon-agenda { margin-top: clamp(1.2rem, 3.5vw, 3rem); }
.salon-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(1.6rem, 6vw, 5rem);
  padding: clamp(1.5rem, 6vw, 5.5rem);
  background: var(--rose);
  border-radius: 24px;
}
.salon-detail h1 { font-size: clamp(2.6rem, 8vw, 6rem); max-width: initial; }
.salon-detail .service-list { font-size: clamp(1rem, 1.55vw, 1.25rem); }
.salon-address address { font: normal clamp(1.1rem, 2.2vw, 1.65rem)/1.45 system-ui, sans-serif; }
.salon-pagination {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem 1rem;
  margin-top: 1.25rem;
}
.salon-pagination a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--wine);
  text-underline-offset: .24em;
  font-weight: 650;
}
.salon-pagination a[rel="next"] { margin-inline-start: auto; }
@media (max-width: 760px) {
  .salon-detail { grid-template-columns: 1fr; }
}


/* Horarios home: the agenda is the page surface. */
.salon .salon-home { max-width: none; padding: 0; background: #f8eaf0; }
.salon-home .salon-agenda {
  min-height: 62vh;
  max-width: 1320px;
  margin-inline: auto;
  padding: clamp(2rem, 6.5vw, 6rem) clamp(1.15rem, 6vw, 6rem);
  background: transparent;
  border-radius: 0;
  align-items: start;
}
.salon-home .agenda-copy { align-self: start; }
.salon-home h1 {
  max-width: none;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
}
.salon-home #booking { width: 100%; }
.salon-home .salon-pagination {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(1.15rem, 6vw, 6rem) 1.5rem;
}
@media (max-width: 760px) {
  .salon-home .salon-agenda { min-height: auto; }
}


/* Agenda con calendario */
.salon-home .salon-agenda { display: block; }
.salon-home #booking label:first-child { max-width: 30rem; }
.salon-home #booking .salon-pill { margin-top: .5rem; }
.agenda-calendar { margin: 1.4rem 0 1.9rem; max-width: 42rem; }
.calendar-controls, .calendar-days { display: grid; gap: .45rem; }
.calendar-controls { grid-template-columns: 2.8rem minmax(0, 1fr) 2.8rem; align-items: center; margin-bottom: .65rem; }
.salon-home .calendar-controls h2, .salon-home .agenda-hours h2 {
  font: 650 1.12rem/1.2 system-ui, sans-serif; letter-spacing: normal; margin: 0;
}
.calendar-controls h2 { text-align: center; text-transform: capitalize; }
.calendar-days { grid-template-columns: repeat(7,minmax(0,1fr)); }
.calendar-days .weekday { text-align: center; color: #684554; font-size: .82rem; line-height: 1.7; }
.salon-home .calendar-controls button, .salon-home .calendar-days button, .salon-home .slot-choice {
  background: #fffbfa;
  color: var(--wine);
  border: 1px solid #ad909b;
  border-radius: 7px;
  min-height: 44px;
  padding: .3rem .15rem;
  width: 100%;
}
.salon-home .calendar-days button[aria-pressed="true"], .salon-home .slot-choice[aria-pressed="true"] {
  background: var(--wine); color: white; border-color: var(--wine);
}
.salon-home .calendar-days button:disabled, .salon-home .calendar-controls button:disabled { opacity: .43; }
.agenda-hours h3 { font: 650 .9rem system-ui, sans-serif; margin: 1.1rem 0 .42rem; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(4.25rem,1fr)); gap: .38rem; }
.agenda-hours > p { min-height: 1.45rem; margin: .35rem 0 0; }
.booking-contact { margin-top: 1.35rem; }
@media(max-width:440px) {
  .calendar-days { gap: .15rem; }
  .slot-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
}


/* Brand and navigation sit on one line, including narrow phones. */
:is(.salon, .crm-body) .salon-header {
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: clamp(.7rem, 4vw, 3rem);
}
:is(.salon, .crm-body) .salon-header .wordmark { flex: none; }
:is(.salon, .crm-body) .salon-header .salon-nav {
  order: 0;
  width: auto;
  flex-wrap: nowrap;
  gap: clamp(.55rem, 3vw, 1.7rem);
  padding-top: 0;
}
:is(.salon, .crm-body) .salon-header .salon-nav a { white-space: nowrap; }
@media (max-width: 430px) {
  :is(.salon, .crm-body) .salon-header { padding: .65rem 1rem; gap: .7rem; }
  :is(.salon, .crm-body) .salon-header .wordmark { font-size: clamp(1.23rem, 5.8vw, 1.55rem); }
  :is(.salon, .crm-body) .salon-header .salon-nav { gap: clamp(.48rem, 2.7vw, 1rem); }
  :is(.salon, .crm-body) .salon-header .salon-nav a { font-size: clamp(.76rem, 3.2vw, .92rem); }
}


/* Direct day shortcuts, with the month available on demand. */
:is(.salon, .crm-body) .salon-header { justify-content: space-between; }
:is(.salon, .crm-body) .salon-header .salon-nav { margin-inline-start: auto; }
:is(.salon, .crm-body) .salon-header .salon-nav a { font-size: 1.075rem; }
@media (max-width: 430px) {
  :is(.salon, .crm-body) .salon-header .salon-nav a { font-size: clamp(.82rem, 3.55vw, 1rem); }
}
.agenda-date-actions { display: flex; gap: .55rem; margin: 1rem 0 .65rem; }
.salon-home .agenda-date-actions button {
  background: #fffbfa; color: var(--wine); border: 1px solid #ad909b;
  border-radius: 7px; min-height: 44px; padding: .45rem 1.05rem;
}
.salon-home .agenda-date-actions button[aria-pressed="true"] {
  background: var(--wine); color: white; border-color: var(--wine);
}
.salon-home .agenda-calendar { margin-top: 0; }
.agenda-calendar summary { min-height: 44px; padding-block: .65rem; cursor: pointer; color: var(--wine); }
.agenda-calendar[open] summary { margin-bottom: .45rem; }
.agenda-demo-price { margin: -.3rem 0 .8rem; font-size: .88rem; color: #684554; }

/* One continuous page surface on each public route. */
html:has(body.salon), body.salon { background: #f8eaf0; }
body.salon {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.salon .salon-main {
  flex: 1 0 auto;
  width: 100%;
  max-width: none;
  padding: 0;
  background: transparent;
}
.salon .salon-detail {
  max-width: 1320px;
  margin-inline: auto;
  padding: clamp(2rem, 6.5vw, 6rem) clamp(1.15rem, 6vw, 6rem);
  background: transparent;
  border-radius: 0;
  align-items: start;
}

/* Booking layout with one date control and full-width times. */
.salon-home .salon-agenda {
  max-width: 36rem;
  margin-block: clamp(.75rem, 4vw, 2rem);
  min-height: 0;
  padding: clamp(.85rem, 4vw, 1.5rem);
  border-radius: 1.5rem;
  background: #fff5f7;
}
.salon-home h1 { font-size: clamp(1.7rem, 5vw, 2.5rem); }
.salon-home #booking label:first-child { max-width: none; }
.salon-home #booking select {
  border-color: #dcbcc7;
  border-radius: .55rem;
  background: #fff8fa;
}
.salon-home .agenda-calendar { max-width: none; margin: 0 0 .9rem; }
.agenda-calendar summary {
  display: flex;
  align-items: center;
  gap: .65rem;
  list-style: none;
  padding: .65rem .8rem;
  border-radius: .55rem;
  background: #f1d6de;
  font-weight: 650;
}
.agenda-calendar summary::-webkit-details-marker { display: none; }
.agenda-calendar summary::after {
  content: "";
  width: .45rem;
  height: .45rem;
  border-right: 2px solid;
  border-bottom: 2px solid;
  transform: rotate(45deg);
  margin: 0 .15rem .2rem auto;
}
.agenda-calendar[open] summary::after { transform: rotate(225deg); margin-bottom: 0; }
.agenda-calendar-icon {
  width: 1.05rem;
  height: 1rem;
  border: 1.5px solid;
  border-radius: .2rem;
  background: linear-gradient(currentColor,currentColor) 0 .27rem / 100% 1px no-repeat;
}
[data-calendar-date] { border-left: 1px solid #caa5b3; padding-left: .65rem; }
.agenda-hours > p:empty { display: none; }
.salon-home .slot-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: .35rem; margin-top: .45rem; }
.salon-home .slot-choice,
.salon-home .slot-choice[aria-pressed="true"] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: .4rem .8rem;
  background: #fff8fa;
  color: var(--wine);
  border-color: #d5adb9;
  font-weight: 650;
}
.salon-home .slot-choice::after {
  content: "";
  width: .95rem;
  height: .95rem;
  border: 1.5px solid #a76b83;
  border-radius: 50%;
}
.salon-home .slot-choice[aria-pressed="true"] {
  background: #f5d8e1;
  border-color: var(--wine);
}
.salon-home .slot-choice[aria-pressed="true"]::after {
  border-color: var(--wine);
  background: radial-gradient(circle, var(--wine) 0 47%, transparent 53%);
}
.salon-home #booking .salon-pill { width: 100%; border-radius: .65rem; }
.salon-home #booking [hidden] { display: none; }

/* Keep four times in view while allowing access to the rest. */
.salon-home .slot-grid {
  max-height: calc(176px + 1.05rem);
  overflow-y: auto;
  scrollbar-gutter: stable;
  padding: 2px 3px 2px 2px;
  scroll-padding: 2px;
}

@font-face { font-family: "DM Sans"; src: url(/dm-sans.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: Lora; src: url(/lora.woff2) format("woff2"); font-weight: 600 700; font-display: swap; }

html:has(body.salon), body.salon { background: #faedf1; }
body.salon {
  --ink: #4b243c;
  --wine: #711b49;
  --blush: #f4d8e2;
  --display: Lora, Georgia, serif;
  --body: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  font-family: var(--body);
  background: radial-gradient(ellipse at top, #fff6f8, #faedf1 68%);
}
:is(.salon, .crm-body) .salon-header {
  background: #f7e3e9;
  border-bottom: 0;
  padding: clamp(.65rem, 1.6vw, 1.1rem) clamp(.65rem, 5vw, 2.5rem);
}
:is(.salon, .crm-body) .salon-header .salon-nav {
  gap: clamp(.52rem, 5vw, 3.2rem);
  align-items: center;
}
:is(.salon, .crm-body) .salon-header .salon-nav a {
  padding-block: .35em;
  color: var(--wine);
  font: 600 clamp(.8rem, 2.8vw, 1.65rem)/1.1 var(--body);
}
:is(.salon, .crm-body) .salon-header .salon-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: .14em;
  text-underline-offset: .65em;
}
.salon h1, .salon h2 { color: var(--wine); font-family: var(--display); font-weight: 700; }
.salon .salon-pill, .salon .agenda-hours h2, .salon .calendar-controls h2 { font-family: var(--body); }
.salon .salon-catalog {
  max-width: 68rem;
  margin-inline: auto;
  padding: clamp(.75rem, 2.2vw, 1.45rem);
}
.salon .catalog-heading-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.catalog-items {
  display: grid;
  gap: clamp(.55rem, 2vw, 1.25rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.catalog-item {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  overflow: hidden;
  min-height: clamp(7.75rem, 23.5vw, 15rem);
  border-radius: clamp(.65rem, 2.5vw, 1.5rem);
  background: #fff9fa;
}
.catalog-photo {
  position: absolute;
  inset: 0 0 0 43%;
  z-index: -2;
  background-image: url(/service-photos.png);
  background-size: 200% 200%;
  background-repeat: no-repeat;
}
.catalog-photo.classic { background-position: left top; }
.catalog-photo.gel { background-position: right top; }
.catalog-photo.pedicure { background-position: left bottom; }
.catalog-photo.removal { background-position: right bottom; }
.catalog-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #fff9fa 41%, #fff9faf0 45%, #fff9fa00 64%);
}
.catalog-item-copy {
  position: relative;
  width: 60%;
  padding: clamp(.65rem, 2vw, 1.4rem) 0 clamp(.65rem, 2vw, 1.4rem) clamp(.7rem, 4vw, 2.45rem);
}
.salon .catalog-item h2 {
  margin: 0;
  font-size: clamp(1.05rem, 4.4vw, 2.9rem);
  letter-spacing: -.035em;
}
.catalog-item p {
  margin: .32em 0 .55em;
  font-size: clamp(.79rem, 2.85vw, 1.85rem);
  line-height: 1.25;
}
.catalog-item strong {
  display: inline-block;
  min-width: 4.1em;
  padding: .16em .55em;
  border-radius: 999px;
  background: var(--blush);
  color: var(--wine);
  font-size: clamp(.98rem, 3.9vw, 2.5rem);
  text-align: center;
}
.salon .catalog-cta {
  display: flex;
  justify-content: center;
  margin: clamp(.85rem, 2.7vw, 1.65rem) auto 0;
  max-width: 50rem;
  width: 84%;
  font-size: clamp(1rem, 3.3vw, 2.15rem);
}
.catalog-cta .agenda-calendar-icon { margin-right: .65em; }
.catalog-more { text-align: center; font-size: .9rem; margin-block: 1.5rem; }
.salon-catalog [hidden] { display: none; }
@media (max-width: 430px) {
  .catalog-item-copy { width: 61%; }
  .catalog-item::before { background: linear-gradient(90deg, #fff9fa 42%, #fff9faf5 48%, #fff9fa00 72%); }
}

.salon .salon-location-page {
  width: 100%;
  max-width: 68rem;
  margin-inline: auto;
  padding: clamp(.75rem, 2.2vw, 1.45rem);
}
.salon .salon-location-page h1 {
  max-width: none;
  margin: .35rem .4rem clamp(.9rem, 3vw, 2rem);
  font-size: clamp(2.05rem, 7.4vw, 4.8rem);
  letter-spacing: -.04em;
}
.location-map {
  display: block;
  width: 100%;
  height: clamp(16rem, 66vw, 30rem);
  border: 0;
  border-radius: clamp(.8rem, 2.5vw, 1.5rem);
  background: #f4d8e2;
}
.location-address {
  margin: clamp(.65rem, 2.5vw, 1.4rem) 0;
  padding: clamp(.85rem, 3vw, 1.65rem);
  border-radius: clamp(.8rem, 2.5vw, 1.5rem);
  background: #fff9fa;
  color: var(--wine);
  font: 400 clamp(1rem, 3vw, 1.65rem)/1.4 var(--body);
}
.salon .location-directions {
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  font-size: clamp(1rem, 3.1vw, 1.6rem);
}
.location-phone {
  display: block;
  width: max-content;
  margin: .8rem auto 0;
  font-size: .9rem;
}

.payment-step {
  margin-top: 1rem;
  padding: clamp(.85rem, 4vw, 1.25rem);
  border: 1px solid #e9c8d3;
  border-radius: .9rem;
  background: #fff9fa;
}
.salon-home .payment-step h2 { font-size: clamp(1.35rem, 4vw, 1.85rem); }
.payment-step h3 { margin-top: .8rem; font: 700 1.02rem var(--body); }
.checkout-notice { padding: .55rem .7rem; border-radius: .45rem; background: #f4d8e2; }
.payment-step dt { font-weight: 700; }
.payment-step dd { margin: 0 0 .4rem; }
.payment-step .payment-back {
  display: block;
  margin: .45rem auto 0;
  color: var(--wine);
  background: transparent;
  text-decoration: underline;
}

/* The checkout replaces the availability screen in the same page. */
.salon-agenda:has(.payment-step:not([hidden])) > .agenda-copy,
#booking:has(.payment-step:not([hidden])) > label,
#booking:has(.payment-step:not([hidden])) > .agenda-demo-price,
#booking:has(.payment-step:not([hidden])) > .agenda-calendar,
#booking:has(.payment-step:not([hidden])) > .agenda-hours {
  display: none;
}
.salon-home .payment-step {
  margin-top: 0;
}

.catalog-status:empty { display: none; }
.catalog-item-no-photo .catalog-item-copy { width: 100%; padding-right: 1rem; }
.catalog-upload { display: block; width: 57%; height: 100%; object-fit: cover; background: none; }
#services textarea {
  display: block;
  width: 100%;
  margin-top: .35rem;
  border: 1px solid #a69f90;
  border-radius: 7px;
  padding: .5rem;
  font: inherit;
}
#services [data-service-preview] { border-radius: 7px; max-width: 100%; }

.crm-payment-review { margin-top: .8rem; padding: .8rem; border-radius: .7rem; background: #fff8fa; }
.crm-payment-review h4 { margin: 0; }
.crm-receipt { margin-block: .65rem; }
.crm-receipt summary { cursor: pointer; font-weight: 650; min-height: 32px; }
.crm-receipt a { display: inline-block; margin: .35rem .75rem .35rem 0; }
.crm-receipt img { display: block; max-width: 100%; max-height: 30rem; object-fit: contain; border-radius: .5rem; }
.service-image-preview { margin: .7rem 0; }
.service-image-preview figcaption { margin-bottom: .35rem; font-weight: 650; }
.service-image-frame { position: relative; isolation: isolate; width: min(100%, 19rem); aspect-ratio: 2 / 1; overflow: hidden; border-radius: .55rem; }
.service-image-frame img { width: 100%; height: 100%; object-fit: cover; }
.service-image-frame .catalog-photo { inset: 0; }
.service-image-preview[hidden], .service-image-preview [hidden] { display: none; }

@media (max-width: 520px) {
  .salon .salon-header .salon-nav a { min-height: 44px; }
  .salon-home #booking input:not([type="hidden"]), .salon-home #booking select {
    min-height: 44px;
    font-size: 1rem;
  }
  .salon-home .agenda-calendar summary { min-height: 44px; }
  .salon-home .calendar-days .weekday { font-size: .78rem; }
  .salon-home .payment-back, .salon .catalog-cta { min-height: 44px; }
  .salon-home .agenda-continue:not([hidden]) { position: sticky; bottom: .5rem; z-index: 1; }
  .salon-home [data-payment-feedback]:not(:empty),
  .salon-home #booking-message:not(:empty) { padding: .55rem .7rem; border-radius: .45rem; background: #fff9fa; }
}

/* Marynails público · identidad compartida con el CRM */
html:has(.mary-public), body.salon.mary-public { background:#fcf9fa; }
body.salon.mary-public {
  --ink:#2e1029; --wine:#621646; --paper:#fcf9fa; --card:#fff; --public-line:#e7dbe3;
  --body:"DM Sans",system-ui,sans-serif;
  display:block; min-height:100vh; color:var(--ink);
}
.mary-public [hidden] { display:none !important; }
.mary-public :is(a,button,input,select,summary):focus-visible { outline:2px solid var(--wine); outline-offset:3px; }
.mary-public .public-icon {
  width:1.25rem; height:1.25rem; flex:none; fill:none; stroke:currentColor;
  stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round;
}
.public-skip { position:absolute; left:1rem; top:-6rem; z-index:20; padding:.6rem 1rem; background:#fff; color:#401331; }
.public-skip:focus { top:.5rem; }
.mary-public .public-shell {
  position:fixed; inset:0 auto 0 0; z-index:10; width:13rem;
  flex-direction:column; align-items:stretch; justify-content:flex-start;
  padding:1.75rem .7rem 1rem; gap:1.75rem; border:0;
  background:linear-gradient(152deg,#401331,#561b49 58%,#401331);
}
.mary-public .public-brand {
  position:relative; align-self:center; display:inline-block; padding-bottom:.45rem;
  color:#fff; font:500 2rem/1 Georgia,serif; letter-spacing:-.055em;
}
.public-brand::after {
  content:""; position:absolute; left:52%; bottom:.12rem; width:29%;
  height:.45rem; border-bottom:2px solid currentColor; border-radius:0 0 60% 55%; transform:rotate(-8deg);
}
.public-nav { display:grid; gap:.35rem; }
.mary-public .public-nav a {
  display:flex; align-items:center; gap:.68rem; min-height:48px; padding:.55rem .85rem;
  border-radius:.65rem; color:#fff; text-decoration:none; font:700 .97rem/1.15 var(--body);
}
.mary-public .public-nav a:hover { background:#692754; }
.mary-public .public-nav a[aria-current="page"] { background:#f8dae4; color:var(--ink); }
.mary-public .public-social {
  display:flex; align-items:center; justify-content:space-between; gap:.45rem; margin-top:auto;
  min-height:44px; border-top:1px solid #ffffff36; padding:.5rem;
  color:#fff; font:600 .82rem/1.3 var(--body);
}
.mary-public .public-shell :focus-visible { outline-color:#fff; }
.mary-public .salon-main {
  width:calc(100% - 13rem); max-width:79rem; margin:0 auto 0 13rem;
  padding:clamp(1.3rem,3.4vw,3rem) clamp(1.25rem,4vw,3.5rem) 3rem;
}
.mary-public :is(h1,h2,h3) {
  color:var(--ink); font-family:var(--body); font-weight:750; letter-spacing:-.04em; margin:0;
}
.mary-public h1 { max-width:none; font-size:clamp(2rem,4.1vw,3.55rem); line-height:1.05; }
.mary-public h2 { font-size:clamp(1.3rem,2.2vw,1.85rem); line-height:1.15; }
.mary-public p { color:#65495b; }
.public-section-heading { display:grid; gap:.3rem; margin:0 0 1rem; }
.public-section-heading p { margin:0; font-size:.9rem; }
.mary-public .public-button {
  display:inline-flex; align-items:center; justify-content:center; gap:.65rem; width:fit-content;
  min-height:46px; padding:.55rem .95rem; border:0; border-radius:.65rem;
  background:var(--wine); color:#fff; font-weight:750; text-decoration:none;
}
.mary-public .public-button:hover { background:#4c1237; }
.mary-public .public-link {
  display:inline-flex; align-items:center; gap:.4rem; min-height:44px;
  color:var(--wine); font-weight:750; text-underline-offset:.18em;
}
.public-hero {
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); overflow:hidden;
  margin-bottom:clamp(1.4rem,3vw,2.2rem); border-radius:1rem;
  background:linear-gradient(110deg,#f8e9f1,#f8dbe7);
}
.public-hero-copy { align-self:center; padding:clamp(1.25rem,4vw,3.4rem); }
.public-hero-copy h1 { max-width:13ch; }
.public-hero-copy p { margin:.8rem 0 1.2rem; }
.public-hero-copy .public-hero-location { margin:0 0 .65rem; color:var(--wine); font-size:.84rem; font-weight:750; }
.public-hero-image {
  display:block; width:100%; height:100%; max-height:24rem; min-height:17rem;
  object-fit:cover; object-position:50% 53%;
}
.mary-public .salon-catalog { max-width:none; margin:0; padding:0; }
.mary-public .catalog-items { grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr)); gap:1rem; }
.mary-public .catalog-item {
  display:flex; flex-direction:column; align-items:stretch; min-height:0;
  border:1px solid var(--public-line); border-radius:.85rem; background:var(--card);
}
.mary-public .catalog-item::before { content:none; }
.mary-public .catalog-photo { position:static; z-index:auto; width:100%; height:auto; aspect-ratio:2/1; }
.mary-public .catalog-item-copy { display:flex; flex:1; flex-direction:column; width:100%; padding:.9rem 1rem .55rem; }
.mary-public .catalog-item h3 { font-size:1.2rem; }
.mary-public .catalog-item p {
  display:block; max-width:none; margin:.4rem 0 .55rem; font-size:.9rem;
  -webkit-line-clamp:unset; overflow:visible; color:#65495b; overflow-wrap:anywhere;
}
.mary-public .catalog-item h3 { overflow-wrap:anywhere; }
.mary-public .catalog-meta {
  display:flex; justify-content:space-between; gap:.5rem; align-items:center; margin-top:auto;
  padding:.35rem 0 .1rem; font-size:.9rem;
}
.mary-public .catalog-meta span { color:#4c3746; background:#f6eaf0; border-radius:2rem; padding:.2rem .5rem; }
.mary-public .catalog-meta strong { display:inline; color:var(--ink); margin:0; font-size:1.04rem; }
.mary-public .catalog-more { text-align:left; margin-top:1rem; }
.mary-public .salon-home .salon-agenda,.mary-public.salon .salon-home .salon-agenda {
  display:block; width:100%; max-width:none; min-height:0; margin:0; padding:0;
  background:transparent; border:0;
}
.mary-public .agenda-copy { margin:0 0 1rem; }
.mary-public .agenda-copy p { margin:.5rem 0 0; }
.mary-public #booking {
  display:grid; grid-template-columns:minmax(0,21rem) minmax(0,1fr); gap:1rem;
  align-items:start; width:100%; max-width:none; margin:0;
}
.public-book-options,.mary-public .agenda-hours,.mary-public .payment-step,.public-address-card {
  min-width:0; padding:clamp(.85rem,2vw,1.3rem); border-radius:.9rem;
  border:1px solid var(--public-line); background:#fff;
}
.mary-public #booking label { margin:.2rem 0 .65rem; }
.mary-public #booking :is(input:not([type=hidden]),select) { min-height:44px; border:1px solid #bcabb6; border-radius:.6rem; background:#fff; font-size:1rem; }
.mary-public #booking input[type=file] { max-width:100%; }
.mary-public .agenda-demo-price { margin:.45rem 0 .9rem; font-size:.82rem; }
.mary-public .public-service-detail { margin:.4rem 0 0; color:var(--ink); font-size:.9rem; font-weight:750; }
.mary-public .agenda-calendar { margin:0; }
.mary-public .agenda-calendar summary { min-height:44px; background:#f8e6ee; color:var(--ink); }
.mary-public .calendar-controls { margin-top:.65rem; }
.mary-public .calendar-controls button,.mary-public .calendar-days button { min-height:41px; border-color:#cfbbc7; }
.mary-public .salon-home .agenda-hours h2 { font:750 1.15rem/1.2 var(--body); }
.mary-public .salon-home .slot-grid {
  grid-template-columns:repeat(auto-fill,minmax(4.5rem,1fr)); margin-top:.7rem;
  max-height:22rem; overflow-y:auto; padding:.2rem; scrollbar-gutter:stable; gap:.4rem;
}
.mary-public .salon-home .slot-choice { min-height:44px; justify-content:center; text-align:center; border-color:#c3dcd2; color:#163a32; background:#e8f3ef; }
.mary-public .salon-home .slot-choice::after { content:none; }
.mary-public .salon-home .slot-choice[aria-pressed="true"] { color:#fff; background:#216053; border-color:#216053; }
.mary-public .agenda-continue { display:flex; margin:.8rem 0 0 auto; min-width:10rem; }
.mary-public #booking .public-button { min-height:46px; background:var(--wine); color:#fff; }
.mary-public #booking .public-button:disabled { background:#e9e0e6; color:#53394a; opacity:1; cursor:not-allowed; }
.mary-public #booking:has(.payment-step:not([hidden])) > .public-book-options { display:none; }
.mary-public .payment-step { grid-column:1 / -1; width:100%; max-width:39rem; }
.mary-public .payment-step [data-payment-summary] { margin:.65rem 0; padding:.55rem .75rem; border-radius:.55rem; background:#e9f3ef; color:#22453c; }
.mary-public .checkout-notice { background:#fae8d1; color:#623d19; }
.mary-public [data-transfer-details] { padding:.75rem; margin:.8rem 0; background:#f9eef3; border-radius:.65rem; }
.mary-public .payment-back { min-height:44px; margin:.35rem 0 0; }
.mary-public #booking-message { grid-column:1 / -1; }
.mary-public #booking-message.error,.mary-public [data-payment-feedback].error { color:#85142e; }
.mary-public .salon-location-page { max-width:none; margin:0; padding:0; }
.public-location-grid { display:grid; grid-template-columns:minmax(13rem,.65fr) minmax(0,1.35fr); gap:1rem; align-items:start; }
.public-address-card .public-link { display:flex; width:fit-content; margin-top:.35rem; }
.mary-public .location-address { font:normal 1rem/1.55 var(--body); color:var(--ink); background:transparent; padding:0; margin:.75rem 0 1.15rem; }
.mary-public .location-map { width:100%; height:clamp(19rem,48vw,32rem); border:1px solid var(--public-line); border-radius:1rem; }
@media (max-width:1000px) {
  .mary-public #booking { grid-template-columns:minmax(0,17rem) minmax(0,1fr); }
}
@media (max-width:760px) {
  html:has(.mary-public) { scroll-padding-bottom:5rem; }
  .mary-public .public-shell { position:static; width:100%; padding:.72rem 1rem .6rem; background:var(--paper); }
  .mary-public .public-brand { align-self:center; color:var(--ink); font-size:1.7rem; }
  .mary-public .public-social { display:none; }
  .mary-public .public-shell :focus-visible { outline-color:var(--wine); outline-offset:-2px; }
  .public-nav {
    position:fixed; z-index:10; inset:auto 0 0; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.2rem;
    padding:.3rem .45rem calc(.35rem + env(safe-area-inset-bottom)); border-top:1px solid var(--public-line);
    background:var(--paper);
  }
  .mary-public .public-nav a { flex-direction:column; gap:.25rem; justify-content:center; padding:.35rem; color:var(--ink); font-size:.8rem; }
  .mary-public .public-nav a:hover { background:#f9e7ee; }
  .mary-public .salon-main { width:100%; margin:0; padding:.65rem 1rem calc(5rem + env(safe-area-inset-bottom)); }
  .public-hero { grid-template-columns:minmax(0,1fr); }
  .public-hero-copy { padding:1.2rem 1.1rem; }
  .public-hero-copy h1 { max-width:15ch; }
  .public-hero-copy p { margin:.5rem 0 .8rem; }
  .public-hero-image { height:clamp(8rem,40vw,12rem); min-height:0; object-position:center 50%; }
  .mary-public #booking,.public-location-grid { grid-template-columns:minmax(0,1fr); }
  .mary-public .agenda-continue { width:100%; }
  .mary-public .location-map { height:18rem; }
}
