/* Mejoras de navegación y lectura sobre la identidad existente de Skin Leather. */
[hidden] { display: none !important; }
:root { --transition: 180ms ease; }
:focus-visible { outline: 2px solid #8c6a4f; outline-offset: 5px; }
button, input, select { font: inherit; }
button { touch-action: manipulation; }
button.swatch-item { appearance: none; border: 0; background: transparent; color: inherit; text-align: left; width: 100%; min-height: 44px; cursor: pointer; padding: 3px 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 10001; transform: translateY(-160%); background: var(--ink); color: white; padding: 12px 18px; }
.skip-link:focus { transform: none; }
.nav-inner { max-width: 1500px; }
.nav-mobile-actions { gap: 16px; }
.menu-search-toggle { display: inline-flex !important; align-items: center; justify-content: center; width: 44px; height: 44px; }
.menu-toggle { min-width: 44px; min-height: 44px; }
.hero-title-stage { height: auto !important; min-height: 0 !important; aspect-ratio: auto !important; }
.hero-title { position: static; width: auto; height: auto; clip: auto; overflow: visible; font-family: var(--font-serif); font-size: clamp(5rem, 9vw, 10rem); line-height: .88; letter-spacing: -.045em; font-weight: 300; }
.hero-title::first-line { color: var(--ink); }
.hero-eyebrow, .hero-title, .hero-sub, .hero-cta { opacity: 1 !important; animation: none !important; }
.hero-sub { font-size: clamp(1rem, 1.2vw, 1.2rem); line-height: 1.8; }
.hero-cta { background: var(--ink); color: white; border: 1px solid var(--ink); min-height: 48px; padding: 16px 24px; letter-spacing: .13em; transition: background .18s, transform .18s; }
.hero-cta:hover { background: #463525; color: white; transform: translateY(-2px); }
#catalog-controls { padding: 36px clamp(20px, 5vw, 80px); background: var(--cream-dark); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); scroll-margin-top: 88px; }
.catalog-controls-inner { max-width: 1360px; margin: auto; display: flex; align-items: end; gap: 40px; justify-content: space-between; }
.catalog-browse { min-width: 0; }
.catalog-categories { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.catalog-categories a { display: flex; align-items: center; padding: 10px 16px; border: 1px solid #dfd8cf; border-radius: 999px; font-size: .85rem; min-height: 44px; transition: background .18s, color .18s; }
.catalog-categories a.active { background: var(--ink); color: white; border-color: var(--ink); }
.catalog-categories a:hover { border-color: var(--ink); }
.catalog-search { width: 270px; flex-shrink: 0; }
.catalog-search label { display: block; font-size: .8rem; font-weight: 500; margin-bottom: 8px; }
.catalog-search-field { position: relative; }
.catalog-search input { width: 100%; padding: 13px 42px 13px 14px; border: 1px solid #d6cdbf; border-radius: 6px; background: white; color: var(--ink); font-size: 16px; min-height: 48px; }
#clear-search { position: absolute; right: 3px; top: 2px; border: 0; background: transparent; font-size: 24px; width: 44px; height: 44px; cursor: pointer; }
#catalog-result-count { margin-top: 8px; min-height: 18px; font-size: .75rem; color: var(--ink-light); }
.products-grid[data-category="search"] { grid-template-columns: minmax(0, 1fr); }
.product-card, .product-card-poltrona, .product-card-sillon { transition: opacity .28s ease, transform .28s ease; }
.product-card *, .product-card-poltrona *, .product-card-sillon * { filter: none !important; transition-delay: 0s !important; }
.product-card.visible, .product-card-poltrona.visible, .product-card-sillon.visible { filter: none !important; opacity: 1; }
.product-card.visible .fade-target, .product-card-poltrona.visible .fade-target, .product-card-sillon.visible .fade-target { opacity: 1; transform: none; }
.dynamic-img { transition: opacity .18s ease !important; }
.is-updating .swatch-active-display { opacity: .55; }
.product-card-sillon .sillon-dot { border: 0; cursor: pointer; padding: 0; }
.catalog-empty { padding: 50px 20px; text-align: center; }
.catalog-empty h3 { font: 2.4rem var(--font-serif); }
.catalog-empty p { margin: 16px 0 24px; }
.catalog-empty button { padding: 12px 20px; background: var(--ink); color: white; border: 0; border-radius: 4px; cursor: pointer; }
.site-toast { position: fixed; bottom: max(24px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); background: var(--ink); color: white; padding: 16px 22px; width: max-content; max-width: calc(100vw - 32px); z-index: 20000; border-radius: 8px; font-size: .9rem; box-shadow: 0 8px 32px #0002; }
.site-toast.is-error { background: #7b332a; }
.dialog-open { overflow: hidden; }
.dialog-open #btn-toggle-scale { display: none !important; }
.auth-modal-card, .admin-modal-card { max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; }
.auth-modal-card input { font-size: 16px; min-height: 48px; }
.admin-snapshot-item { gap: 12px; }
.admin-snapshot-item-name { overflow-wrap: anywhere; }
.noscript-note { padding: 24px; background: var(--cream-dark); }
.noscript-note a { text-decoration: underline; }
@media (max-width: 1100px) {
  .catalog-controls-inner { flex-direction: column; align-items: stretch; gap: 24px; }
  .catalog-search { width: 100%; max-width: 500px; }
}
@media (max-width: 768px) {
  .nav-inner { padding: 10px 16px; }
  .nav-right { margin-left: auto; }
  .nav-mobile-actions { gap: 3px; margin-left: 6px; }
  .hero-content { padding: 90px 20px 0 !important; display: flex !important; flex-direction: column; align-items: center; justify-content: flex-start !important; gap: 0 !important; }
  .hero-content .hero-eyebrow { margin: 0 0 20px !important; }
  .hero-content .hero-title-stage { margin: 0 !important; padding: 0; }
  .hero-content .hero-sub { margin: 18px 0 20px !important; }
  .hero-content .hero-cta { margin: 0 !important; }
  .hero-title { font-size: clamp(4.2rem, 19vw, 6.5rem); line-height: .92; }
  .hero-sub { margin-top: 20px; line-height: 1.55; }
  .hero-scroll-stage { position: absolute !important; left: 0; right: 0; top: auto !important; bottom: 55px !important; height: 36svh !important; min-height: 0 !important; }
  .hero-scroll-hint { bottom: 18px !important; }
  #catalog-controls { padding: 24px 16px; }
  .catalog-categories { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; margin-right: -16px; padding-right: 16px; scrollbar-width: thin; }
  .catalog-categories a { flex-shrink: 0; padding: 10px 14px; }
  #catalogo { padding-top: 32px; scroll-margin-top: 70px; }
  button.swatch-item { width: 44px !important; height: 44px; min-width: 44px; padding: 0; justify-content: center; }
  .swatches-container { gap: 18px !important; }
  .swatch-col { min-width: 0; }
  .swatch-col h3 { letter-spacing: .08em; }
  .swatch-active-display { min-height: 28px; line-height: 1.5; text-wrap: balance; }
  .sillon-swatches-wrap { gap: 4px !important; }
  .variant-btn { min-height: 44px; }
  .auth-modal-card, .admin-modal-card { max-height: calc(100dvh - 24px); }
  .admin-snapshot-item { align-items: start; flex-direction: column; }
  .admin-snapshot-actions { width: 100%; }
}
@media (max-width: 370px) {
  .logo { font-size: 1rem; }
  .nav-login-btn { padding: 8px 6px; font-size: .6rem; }
  .hero-eyebrow { font-size: .6rem; letter-spacing: .18em; }
  .hero-sub { font-size: .95rem; }
  .hero-scroll-stage { height: 31svh !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .product-card, .product-card-poltrona, .product-card-sillon, .sillones-callout { opacity: 1 !important; transform: none !important; filter: none !important; }
}
