/*
 * SCENTIVOIRE · Porcelana «Los Tres Salones» — base
 * Tokens, light reset, global typography, links, focus, forms, buttons,
 * header, Houses panel, search layer, mobile drawer, language selector,
 * footer, accessibility helpers, reduced motion and print.
 * Loaded first on every page: base → salon → home → ficha → pages.
 * Element defaults use :where() so every component class overrides them.
 */

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
  --pc-porcelana: #F4F3F0;
  --pc-yeso: #E8E6E1;
  --pc-grafito: #1D1E20;
  --pc-pizarra: #5A5D62;
  --pc-filete: #D4D2CD;
  --pc-filete-activo: #83858A;
  --pc-platino: #B8BBBF;
  --pc-noche: #1F2226;
  --pc-niebla: #A9ADB3;
  --pc-niebla-clara: #C9CDD2;
  --pc-pizarra-azul: #2E3B47;

  --pc-mujer-tinte: #F5EEEB;
  --pc-mujer-superficie: #EBDDD7;
  --pc-mujer-peana: #D8C2BA;
  --pc-mujer-acento: #8C4A44;
  --pc-hombre-tinte: #EDF0EC;
  --pc-hombre-superficie: #DCE2DC;
  --pc-hombre-peana: #C2CCC4;
  --pc-hombre-acento: #3E5148;
  --pc-unisex-tinte: #EEF0F3;
  --pc-unisex-superficie: #DDE2E8;
  --pc-unisex-peana: #C4CBD5;
  --pc-unisex-acento: #3D4A5D;

  --pc-tinte: var(--pc-porcelana);
  --pc-superficie: var(--pc-yeso);
  --pc-peana: var(--pc-yeso);
  --pc-acento: var(--pc-grafito);

  --pc-font: "Albert Sans", "Helvetica Neue", Arial, sans-serif;

  --pc-display: clamp(3.25rem, 1.2rem + 7.5vw, 9rem);
  --pc-salon-title: clamp(3.75rem, 1.5rem + 9vw, 11rem);
  --pc-h1: clamp(2.25rem, 1.5rem + 2.6vw, 4.25rem);
  --pc-h2: clamp(1.625rem, 1.25rem + 1.2vw, 2.5rem);
  --pc-h3: 1.25rem;
  --pc-body: 1.0625rem;
  --pc-label: 0.6875rem;
  --pc-label-track: 0.3em;

  --pc-gutter: clamp(24px, 5.5vw, 80px);
  --pc-wrap: 1440px;
  --pc-section: clamp(88px, 10vw, 160px);

  /* Base-owned extras (motion and dark hairline). */
  --pc-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --pc-dur: 300ms;
  --pc-dur-slow: 600ms;
  --pc-filete-noche: #3A3E44;
}

[data-salon="mujer"] {
  --pc-tinte: var(--pc-mujer-tinte);
  --pc-superficie: var(--pc-mujer-superficie);
  --pc-peana: var(--pc-mujer-peana);
  --pc-acento: var(--pc-mujer-acento);
}
[data-salon="hombre"] {
  --pc-tinte: var(--pc-hombre-tinte);
  --pc-superficie: var(--pc-hombre-superficie);
  --pc-peana: var(--pc-hombre-peana);
  --pc-acento: var(--pc-hombre-acento);
}
[data-salon="unisex"] {
  --pc-tinte: var(--pc-unisex-tinte);
  --pc-superficie: var(--pc-unisex-superficie);
  --pc-peana: var(--pc-unisex-peana);
  --pc-acento: var(--pc-unisex-acento);
}

/* German and Polish: long compounds — one step down on display sizes (~85 %). */
html:is(:lang(de), :lang(pl)) {
  --pc-display: clamp(2.75rem, 1rem + 6.4vw, 7.65rem);
  --pc-salon-title: clamp(3.2rem, 1.275rem + 7.65vw, 9.35rem);
  --pc-h1: clamp(2rem, 1.3rem + 2.3vw, 3.75rem);
  --pc-label-track: 0.2em;
}

/* ==========================================================================
   2. Light reset
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-family: var(--pc-font);
  color: var(--pc-grafito);
  background: var(--pc-porcelana);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
  scroll-padding-top: 24px;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--pc-porcelana);
  color: var(--pc-grafito);
  font-family: var(--pc-font);
  font-size: var(--pc-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: clip;
}

:where(img, picture, video, canvas, svg) { max-width: 100%; }
:where(img, picture, video, canvas) { display: block; height: auto; }
:where(svg) { flex-shrink: 0; }
:where(input, button, textarea, select) { font: inherit; color: inherit; letter-spacing: inherit; }
:where(button) { cursor: pointer; }
:where(figure) { margin-inline: 0; }
:where(p, li, dd, blockquote, figcaption) { overflow-wrap: break-word; }
:where(b, strong) { font-weight: 500; }
:where(small) { font-size: 0.8125rem; font-weight: 400; }
:where(hr) { height: 0; margin: 2.5em 0; border: 0; border-top: 1px solid var(--pc-filete); }
:where(abbr[title]) { text-decoration: underline dotted 1px; cursor: help; }
:where(code, kbd, pre, samp) { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.875em; }
:where(blockquote) { margin: 2em 0; padding-left: 24px; border-left: 1px solid var(--pc-filete-activo); font-style: italic; }
:where(figcaption) { margin-top: 10px; font-size: 0.8125rem; font-weight: 400; line-height: 1.5; color: var(--pc-pizarra); }

:where(table) { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums lining-nums; }
:where(th, td) { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--pc-filete); text-align: left; vertical-align: top; }
:where(th) { font-size: var(--pc-label); font-weight: 500; letter-spacing: var(--pc-label-track); text-transform: uppercase; color: var(--pc-pizarra); }

::selection { background: var(--pc-grafito); color: var(--pc-porcelana); }

/* ==========================================================================
   3. Typography — one family, contrast of scale (200 / 300 / 500)
   ========================================================================== */
:where(h1, h2, h3, h4, h5, h6) {
  margin: 0 0 0.5em;
  font-family: var(--pc-font);
  color: inherit;
  text-wrap: balance;
  overflow-wrap: break-word;
}
:where(h1) { font-size: var(--pc-h1); font-weight: 300; line-height: 1.04; letter-spacing: -0.025em; }
:where(h2) { font-size: var(--pc-h2); font-weight: 300; line-height: 1.12; letter-spacing: -0.015em; }
:where(h3) { font-size: var(--pc-h3); font-weight: 500; line-height: 1.3; letter-spacing: 0; }
:where(h4) { font-size: 1.0625rem; font-weight: 500; line-height: 1.4; }
:where(h5) { font-size: 0.9375rem; font-weight: 500; line-height: 1.4; }
:where(h6) { font-size: var(--pc-label); font-weight: 500; line-height: 1.4; letter-spacing: var(--pc-label-track); text-transform: uppercase; color: var(--pc-pizarra); }

html:is(:lang(de), :lang(pl)) :where(h1, h2, h3, .pc-display) {
  -webkit-hyphens: auto;
  hyphens: auto;
}

.pc-display {
  margin: 0;
  font-size: var(--pc-display);
  font-weight: 200;
  line-height: 0.92;
  letter-spacing: -0.035em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.pc-label {
  font-size: var(--pc-label);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: var(--pc-label-track);
  text-transform: uppercase;
  color: var(--pc-pizarra);
}

.pc-lead {
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.6;
  color: var(--pc-pizarra);
}

.pc-tabular { font-variant-numeric: tabular-nums lining-nums; }

/* ==========================================================================
   4. Layout helpers
   ========================================================================== */
.pc-wrap {
  width: 100%;
  max-width: var(--pc-wrap);
  margin-inline: auto;
  padding-inline: var(--pc-gutter);
}
.pc-section { padding-block: var(--pc-section); }
.pc-rule {
  display: block;
  height: 0;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--pc-filete);
}

/* ==========================================================================
   5. Links and focus
   ========================================================================== */
:where(a) {
  color: inherit;
  text-decoration: none;
  transition: color var(--pc-dur) var(--pc-ease), text-decoration-color var(--pc-dur) var(--pc-ease);
}
/* Links written inside running text (editor content) stay visibly underlined. */
:where(p, li, dd, td, th, figcaption, blockquote, address) :where(a:not([class])) {
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.24em;
  text-decoration-color: var(--pc-filete-activo);
}
:where(p, li, dd, td, th, figcaption, blockquote, address) :where(a:not([class])):hover {
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 2px solid var(--pc-grafito);
  outline-offset: 3px;
}
:where(.pc-on-dark, .pc-footer) :focus-visible { outline-color: var(--pc-porcelana); }

.pc-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--pc-grafito);
  font-family: var(--pc-font);
  font-size: var(--pc-label);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: var(--pc-label-track);
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.pc-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: var(--pc-label-track);
  bottom: 8px;
  height: 1px;
  background: var(--pc-acento);
  transition: background-color var(--pc-dur) var(--pc-ease);
}
.pc-link:hover::after { background: var(--pc-grafito); }
.pc-on-dark .pc-link { color: var(--pc-porcelana); }
.pc-on-dark .pc-link::after { background: var(--pc-niebla); }
.pc-on-dark .pc-link:hover::after { background: var(--pc-porcelana); }

/* ==========================================================================
   6. Buttons
   ========================================================================== */
.pc-button,
:where(input[type="submit"], input[type="button"], .search-submit, .wp-element-button, .wp-block-button__link) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  margin: 0;
  padding: 0 32px 0 calc(32px + var(--pc-label-track));
  border: 1px solid var(--pc-grafito);
  border-radius: 0;
  background: var(--pc-grafito);
  color: var(--pc-porcelana);
  font-family: var(--pc-font);
  font-size: var(--pc-label);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: var(--pc-label-track);
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: background-color var(--pc-dur) var(--pc-ease), border-color var(--pc-dur) var(--pc-ease), color var(--pc-dur) var(--pc-ease);
}
.pc-button:hover,
:where(input[type="submit"], input[type="button"], .search-submit, .wp-element-button, .wp-block-button__link):hover {
  background: var(--pc-pizarra);
  border-color: var(--pc-pizarra);
  color: var(--pc-porcelana);
}
.pc-button svg { width: 16px; height: 16px; }

.pc-button--line {
  background: transparent;
  color: var(--pc-grafito);
}
.pc-button--line:hover {
  background: var(--pc-grafito);
  border-color: var(--pc-grafito);
  color: var(--pc-porcelana);
}

/* Solid porcelain button for dark zones (footer, scores, verdict). */
.pc-button--light {
  background: var(--pc-porcelana);
  border-color: var(--pc-porcelana);
  color: var(--pc-grafito);
}
.pc-button--light:hover {
  background: transparent;
  border-color: var(--pc-porcelana);
  color: var(--pc-porcelana);
}

.pc-button:disabled,
.pc-button[aria-disabled="true"] {
  background: var(--pc-yeso);
  border-color: var(--pc-filete);
  color: var(--pc-pizarra);
  cursor: not-allowed;
}

.pc-iconbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: color var(--pc-dur) var(--pc-ease);
}
.pc-iconbtn:hover { color: var(--pc-pizarra); }
.pc-icon { display: block; }

/* ==========================================================================
   7. Forms — a single underline, 48 px, radius 0
   Field defaults sit at attribute specificity (0,1,0): enough to neutralise
   third-party form presets loaded earlier (e.g. the WPVibe preview layer),
   while any component class loaded later still wins.
   ========================================================================== */
:is([type="text"], [type="email"], [type="url"], [type="password"], [type="number"], [type="date"], [type="datetime-local"], [type="month"], [type="search"], [type="tel"], [type="time"], [type="week"], [multiple], textarea, select),
:where(input:not([type])) {
  display: block;
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--pc-filete-activo);
  border-radius: 0;
  background-color: transparent;
  box-shadow: none;
  color: var(--pc-grafito);
  font-family: var(--pc-font);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color var(--pc-dur) var(--pc-ease);
}
:is([type="text"], [type="email"], [type="url"], [type="password"], [type="number"], [type="date"], [type="datetime-local"], [type="month"], [type="search"], [type="tel"], [type="time"], [type="week"], [multiple], textarea, select):hover,
:is([type="text"], [type="email"], [type="url"], [type="password"], [type="number"], [type="date"], [type="datetime-local"], [type="month"], [type="search"], [type="tel"], [type="time"], [type="week"], [multiple], textarea, select):focus {
  border-color: var(--pc-grafito);
  box-shadow: none;
  outline: none;
}
:is([type="text"], [type="email"], [type="url"], [type="password"], [type="number"], [type="date"], [type="datetime-local"], [type="month"], [type="search"], [type="tel"], [type="time"], [type="week"], [multiple], textarea, select):focus-visible {
  outline: 2px solid var(--pc-grafito);
  outline-offset: 3px;
}
:is(textarea) {
  height: auto;
  min-height: 144px;
  padding: 12px 0;
  line-height: 1.6;
  resize: vertical;
}
:is(select) {
  padding-right: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%231D1E20' stroke-width='1.25'%3E%3Cpath d='M2 4.5l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  background-size: 12px 12px;
  cursor: pointer;
}
:is(select[multiple]) { height: auto; padding-right: 0; background-image: none; }
:where(input[type="search"])::-webkit-search-decoration,
:where(input[type="search"])::-webkit-search-cancel-button { -webkit-appearance: none; }
::placeholder { color: var(--pc-pizarra); opacity: 1; }
:is([type="checkbox"], [type="radio"]) {
  width: 18px;
  height: 18px;
  margin: 0 10px 0 0;
  -webkit-appearance: auto;
  appearance: auto;
  accent-color: var(--pc-grafito);
  vertical-align: -3px;
}
:where(input:disabled, select:disabled, textarea:disabled) { opacity: 0.55; cursor: not-allowed; }

:where(label:not([class]), legend:not([class])) {
  font-size: var(--pc-label);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: var(--pc-label-track);
  text-transform: uppercase;
  color: var(--pc-pizarra);
}
:where(label:not([class]):has(input[type="checkbox"], input[type="radio"])) {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--pc-grafito);
}
:where(fieldset) { min-width: 0; margin: 0; padding: 0; border: 0; }
:where(legend) { padding: 0; }

/* WordPress get_search_form() markup */
:where(.search-form) { display: flex; align-items: flex-end; gap: 16px; max-width: 640px; }
:where(.search-form) > label { flex: 1; display: block; }

/* WordPress pagination */
:where(.nav-links) { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
:where(.page-numbers) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 8px;
  border-bottom: 1px solid transparent;
  color: var(--pc-grafito);
  font-size: 0.875rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
}
:where(.page-numbers.current) { border-bottom-color: var(--pc-grafito); }

/* WordPress alignment helpers */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; }

/* ==========================================================================
   8. Accessibility helpers
   ========================================================================== */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  word-wrap: normal;
}
.skip-link:focus,
.screen-reader-text:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100001;
  width: auto;
  height: auto;
  margin: 0;
  padding: 16px 22px;
  overflow: visible;
  clip: auto;
  clip-path: none;
  background: var(--pc-grafito);
  color: var(--pc-porcelana);
  font-size: var(--pc-label);
  font-weight: 500;
  letter-spacing: var(--pc-label-track);
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

/* ==========================================================================
   9. House line
   ========================================================================== */
.pc-topbar {
  display: none;
  background: var(--pc-porcelana);
  border-bottom: 1px solid var(--pc-filete);
}
.pc-topbar__text {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: var(--pc-wrap);
  min-height: 32px;
  margin: 0 auto;
  padding: 8px var(--pc-gutter) 8px calc(var(--pc-gutter) + 0.24em);
  color: var(--pc-pizarra);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.24em;
  text-align: center;
  text-transform: uppercase;
}
.pc-topbar__lead,
.pc-topbar__sep { display: none; }
.pc-topbar__sep { padding: 0 14px; }
@media (min-width: 48em) {
  .pc-topbar { display: block; }
}
@media (min-width: 64em) {
  .pc-topbar__lead,
  .pc-topbar__sep { display: inline; }
}

/* ==========================================================================
   10. Header — mobile first (drawer), desktop from 75em
   ========================================================================== */
.pc-header {
  --pc-header-inner: 63px;
  --pc-nav-size: 11px;
  --pc-nav-track: 0.16em;
  --pc-nav-gap: 24px;
  position: relative;
  z-index: 40;
  background: var(--pc-porcelana);
  border-bottom: 1px solid var(--pc-filete);
  color: var(--pc-grafito);
}
.pc-header__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 16px;
  max-width: var(--pc-wrap);
  height: var(--pc-header-inner);
  margin-inline: auto;
  padding-inline: max(8px, calc(var(--pc-gutter) - 12px));
}
.pc-header__start {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
}
.pc-header__end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  min-width: 0;
}
.pc-header__tools { display: flex; align-items: center; }
.pc-header__lang { display: none; }
.pc-nav { display: none; }

.pc-burger {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  width: 22px;
}
.pc-burger > span {
  display: block;
  width: 22px;
  height: 1px;
  background: currentColor;
}
.pc-burger > span + span { width: 14px; }

.pc-wordmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding-left: 0.34em;
  color: var(--pc-grafito);
  font-family: var(--pc-font);
  font-size: 15px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.pc-wordmark:hover { color: var(--pc-pizarra); }

/* Nav links: 500 · capitals · hairline underline 8 px below, in the salon accent. */
.pc-nav__list {
  display: flex;
  align-items: center;
  gap: var(--pc-nav-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
.pc-nav__list > li { display: flex; }
.pc-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--pc-grafito);
  font-family: var(--pc-font);
  font-size: var(--pc-nav-size);
  font-weight: 500;
  line-height: 1;
  letter-spacing: var(--pc-nav-track);
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.pc-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: var(--pc-nav-track);
  bottom: 8px;
  height: 1px;
  background: var(--pc-link-accent, var(--pc-grafito));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--pc-dur) var(--pc-ease);
}
.pc-nav__link:hover::after,
.pc-nav__link[aria-current]::after,
.pc-nav__link.is-current::after,
.pc-nav__link[aria-expanded="true"]::after { transform: scaleX(1); }
.pc-nav__link--mujer { --pc-link-accent: var(--pc-mujer-acento); }
.pc-nav__link--hombre { --pc-link-accent: var(--pc-hombre-acento); }
.pc-nav__link--unisex { --pc-link-accent: var(--pc-unisex-acento); }

.pc-casas__toggle::after { right: calc(var(--pc-nav-track) + 16px); }
.pc-casas__toggle .pc-icon {
  width: 10px;
  height: 10px;
  transition: transform var(--pc-dur) var(--pc-ease);
}
.pc-casas__toggle[aria-expanded="true"] .pc-icon { transform: rotate(180deg); }

@keyframes pc-drop {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

/* Houses panel — full width under the header */
.pc-mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 5;
  background: var(--pc-porcelana);
  border-bottom: 1px solid var(--pc-filete);
  animation: pc-drop 250ms var(--pc-ease);
}
.pc-mega__inner {
  max-width: var(--pc-wrap);
  margin-inline: auto;
  padding: 48px var(--pc-gutter) 56px;
}
.pc-mega__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.pc-mega__item { padding-inline: 32px; }
.pc-mega__item:first-child { padding-left: 0; }
.pc-mega__item + .pc-mega__item { border-left: 1px solid var(--pc-filete); }
.pc-mega__link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding-block: 8px;
  color: var(--pc-grafito);
  text-decoration: none;
}
.pc-mega__name {
  padding-bottom: 4px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  font-size: var(--pc-h2);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.015em;
  transition: background-size var(--pc-dur) var(--pc-ease);
}
.pc-mega__link:hover .pc-mega__name,
.pc-mega__link[aria-current] .pc-mega__name { background-size: 100% 1px; }
.pc-mega__note {
  color: var(--pc-pizarra);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
}

/* Search layer (class names distinct from the PAGES search form and results) */
.pc-searchlayer {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 6;
  background: var(--pc-porcelana);
  border-bottom: 1px solid var(--pc-filete);
  animation: pc-drop 250ms var(--pc-ease);
}
.pc-searchlayer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  align-items: start;
  column-gap: 16px;
  max-width: var(--pc-wrap);
  margin-inline: auto;
  padding: 28px var(--pc-gutter) 36px;
}
.pc-searchlayer__close { margin-right: -12px; }
.pc-searchlayer .pc-navsearch { justify-self: center; }

.pc-navsearch {
  display: grid;
  gap: 8px;
  width: 100%;
  max-width: 880px;
}
.pc-navsearch__label { display: block; }
.pc-navsearch__row {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--pc-filete-activo);
  transition: border-color var(--pc-dur) var(--pc-ease);
}
.pc-navsearch__row:hover { border-bottom-color: var(--pc-grafito); }
/* Keyboard focus: the underline thickens to 2 px graphite across the whole row. */
.pc-navsearch__row:focus-within {
  border-bottom-color: var(--pc-grafito);
  box-shadow: 0 1px 0 var(--pc-grafito);
}
.pc-navsearch__field {
  flex: 1;
  min-width: 0;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  font-size: 1.0625rem;
  font-weight: 400;
}
.pc-navsearch__field:hover,
.pc-navsearch__field:focus { border: 0; }
.pc-navsearch__field:focus-visible { outline: none; }
.pc-navsearch__submit { margin-right: -12px; }
.pc-searchlayer .pc-navsearch__field {
  height: 72px;
  font-size: clamp(1.5rem, 1rem + 1.8vw, 2.5rem);
  font-weight: 300;
  letter-spacing: -0.015em;
}

/* Language selector (sv_language_switcher markup, restyled) */
.sv-language { position: relative; }
.sv-language__toggle,
.sv-language__fallback {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0 0 0 8px;
  border: 0;
  background: none;
  color: var(--pc-grafito);
  font-family: var(--pc-font);
  font-size: var(--pc-nav-size, 12px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: var(--pc-nav-track, 0.2em);
  text-transform: uppercase;
}
.sv-language__toggle { cursor: pointer; }
.sv-language__toggle::after {
  content: "";
  width: 5px;
  height: 5px;
  margin-top: -3px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--pc-dur) var(--pc-ease);
}
.sv-language__toggle[aria-expanded="true"]::after { transform: translateY(3px) rotate(-135deg); }
.sv-language__menu {
  position: absolute;
  top: calc(100% + (var(--pc-header-inner, 88px) - 44px) / 2);
  right: 0;
  z-index: 60;
  min-width: 216px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: var(--pc-porcelana);
  border: 1px solid var(--pc-filete);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 250ms var(--pc-ease), transform 250ms var(--pc-ease), visibility 0s linear 250ms;
}
.sv-language.is-open .sv-language__menu {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 250ms var(--pc-ease), transform 250ms var(--pc-ease), visibility 0s;
}
.sv-language__menu li { margin: 0; }
.sv-language__menu a {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 44px;
  padding: 0 20px;
  color: var(--pc-grafito);
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  transition: background-color var(--pc-dur) var(--pc-ease);
}
.sv-language__menu a:hover { background: var(--pc-yeso); }
.sv-language__menu a span {
  color: var(--pc-pizarra);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
}
.sv-language__menu small { font-size: inherit; }
.sv-language__menu a[aria-current="page"] small {
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

/* Desktop header (the JS adds .pc-header--condensed if a long language still does not fit) */
@media (min-width: 75em) {
  .pc-header:not(.pc-header--condensed) {
    --pc-header-inner: 87px;
  }
  .pc-header:not(.pc-header--condensed) .pc-header__inner {
    column-gap: 32px;
    padding-inline: 40px;
  }
  .pc-header:not(.pc-header--condensed) .pc-header__menu { display: none; }
  .pc-header:not(.pc-header--condensed) .pc-nav,
  .pc-header:not(.pc-header--condensed) .pc-header__lang { display: block; }
  .pc-header:not(.pc-header--condensed) .pc-header__search { margin-left: -4px; }
  .pc-header:not(.pc-header--condensed) .pc-wordmark {
    font-size: 17px;
    letter-spacing: 0.46em;
    padding-left: 0.46em;
  }
}
@media (min-width: 90em) {
  .pc-header:not(.pc-header--condensed) {
    --pc-nav-size: 12px;
    --pc-nav-track: 0.2em;
    --pc-nav-gap: 36px;
  }
  .pc-header:not(.pc-header--condensed) .pc-header__inner { padding-inline: var(--pc-gutter); }
  .pc-header:not(.pc-header--condensed) .pc-wordmark { font-size: 20px; }
}

/* ==========================================================================
   11. Mobile drawer — full screen sheet on porcelain
   ========================================================================== */
html.pc-lock,
html.pc-lock body { overflow: hidden; }

.pc-drawer {
  position: fixed;
  top: var(--wp-admin--admin-bar--height, 0px);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--pc-porcelana);
  color: var(--pc-grafito);
  animation: pc-fade 250ms var(--pc-ease);
}
@keyframes pc-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.pc-drawer__bar {
  position: sticky;
  top: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  flex: none;
  height: 64px;
  padding-inline: max(8px, calc(var(--pc-gutter) - 12px));
  background: var(--pc-porcelana);
  border-bottom: 1px solid var(--pc-filete);
}
.pc-drawer__wordmark { justify-self: center; }
.pc-drawer__body {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
  padding: 8px var(--pc-gutter) 48px;
}
.pc-drawer__title { margin: 0 0 4px; }

.pc-drawer__salons {
  margin: 0;
  padding: 0;
  list-style: none;
}
.pc-drawer__salons li { border-bottom: 1px solid var(--pc-filete); }
.pc-drawer__salon {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 88px;
  color: var(--pc-grafito);
  font-size: 2.75rem;
  font-weight: 200;
  line-height: 1;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.pc-drawer__salon-name {
  padding-bottom: 4px;
  background: linear-gradient(var(--pc-link-accent), var(--pc-link-accent)) 0 100% / 0 1px no-repeat;
  transition: background-size var(--pc-dur) var(--pc-ease);
}
.pc-drawer__salon[aria-current] .pc-drawer__salon-name,
.pc-drawer__salon:hover .pc-drawer__salon-name { background-size: 100% 1px; }
.pc-drawer__swatch {
  flex: none;
  width: 24px;
  height: 24px;
  background: var(--pc-swatch);
  border: 1px solid var(--pc-swatch-line);
}
/* The three gestures in miniature: arch, lintel, axis. */
.pc-drawer__salon--mujer {
  --pc-swatch: var(--pc-mujer-superficie);
  --pc-swatch-line: var(--pc-mujer-peana);
  --pc-link-accent: var(--pc-mujer-acento);
}
.pc-drawer__salon--mujer .pc-drawer__swatch { border-radius: 12px 12px 0 0; }
.pc-drawer__salon--hombre {
  --pc-swatch: var(--pc-hombre-superficie);
  --pc-swatch-line: var(--pc-hombre-peana);
  --pc-link-accent: var(--pc-hombre-acento);
}
.pc-drawer__salon--hombre .pc-drawer__swatch { border-top-color: var(--pc-hombre-acento); }
.pc-drawer__salon--unisex {
  --pc-swatch: var(--pc-unisex-superficie);
  --pc-swatch-line: var(--pc-unisex-peana);
  --pc-link-accent: var(--pc-unisex-acento);
}
.pc-drawer__salon--unisex .pc-drawer__swatch {
  background: linear-gradient(var(--pc-unisex-peana), var(--pc-unisex-peana)) center / 1px 100% no-repeat, var(--pc-unisex-superficie);
}

.pc-drawer__links {
  margin: 0;
  padding: 0;
  list-style: none;
}
.pc-drawer__links--pages { margin-top: 24px; }
.pc-drawer__links li { border-bottom: 1px solid var(--pc-filete); }
.pc-drawer__link {
  display: flex;
  align-items: center;
  min-height: 52px;
  color: var(--pc-grafito);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
}
.pc-drawer__link[aria-current] {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 8px;
}

.pc-drawer__langs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pc-drawer__lang {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--pc-grafito);
  font-size: 0.9375rem;
  font-weight: 400;
  text-decoration: none;
}
.pc-drawer__lang[aria-current] {
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}
.pc-drawer__note {
  margin: 0;
  color: var(--pc-pizarra);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ==========================================================================
   12. Footer — night graphite, platinum wordmark
   ========================================================================== */
.pc-footer {
  background: var(--pc-noche);
  color: var(--pc-niebla);
  font-weight: 400;
}
.pc-footer__inner {
  max-width: var(--pc-wrap);
  margin-inline: auto;
  padding: 64px var(--pc-gutter) 28px;
}
.pc-footer__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px 24px;
  align-items: start;
}
.pc-footer__brand { grid-column: 1 / -1; }
.pc-footer__wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--pc-platino);
  font-size: 18px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.46em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.pc-footer__wordmark:hover { color: var(--pc-porcelana); }
.pc-footer__tagline {
  max-width: 320px;
  margin: 12px 0 0;
  color: var(--pc-niebla);
  font-size: 0.875rem;
  line-height: 1.6;
}
.pc-footer__title {
  margin: 0 0 12px;
  color: var(--pc-porcelana);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.pc-footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.pc-footer__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--pc-niebla);
  font-size: 0.875rem;
  line-height: 1.4;
  text-decoration: none;
  transition: color var(--pc-dur) var(--pc-ease);
}
.pc-footer__link:hover { color: var(--pc-porcelana); }
.pc-footer__link[aria-current] {
  color: var(--pc-porcelana);
  text-decoration: underline;
  text-decoration-color: var(--pc-platino);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.pc-footer__legal {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--pc-filete-noche);
}
.pc-footer__disclosure,
.pc-footer__copy {
  margin: 0;
  color: var(--pc-niebla);
  font-size: 0.8125rem;
  line-height: 1.55;
}
.pc-footer__disclosure { max-width: 880px; }
.pc-footer__copy { font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }

@media (min-width: 48em) {
  .pc-footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pc-footer__legal {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 40px;
  }
}
@media (min-width: 64em) {
  .pc-footer__inner { padding-top: 72px; }
  .pc-footer__link { min-height: 32px; }
}
@media (min-width: 75em) {
  .pc-footer__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .pc-footer__brand { grid-column: 1 / span 3; }
  .pc-footer__col { grid-column: span 2; }
  .pc-footer__col--house { grid-column: span 3; }
}
@media (min-width: 90em) {
  .pc-footer__list--langs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
  }
}

/* ==========================================================================
   13. Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   14. Print
   ========================================================================== */
@media print {
  html,
  body { background: #fff; color: #000; }
  .skip-link,
  .pc-topbar,
  .pc-header__start,
  .pc-header__end,
  .pc-searchlayer,
  .pc-drawer,
  .pc-mega,
  .pc-footer__col { display: none !important; }
  .pc-header { border-bottom-color: #000; }
  .pc-header__inner { display: flex; justify-content: center; height: auto; padding-block: 12px; }
  .pc-footer { background: none; color: #000; border-top: 1px solid #000; }
  .pc-footer__wordmark,
  .pc-footer__tagline,
  .pc-footer__disclosure,
  .pc-footer__copy { color: #000; }
  .pc-footer__legal { border-top-color: #000; }
  a { text-decoration: underline; }
  img { break-inside: avoid; }
  :where(h1, h2, h3) { break-after: avoid; }
}
