/*
Theme Name: La Casa Motera — Hello
Theme URI: https://lacasamotera.com
Template: hello-elementor
Author: La Casa Motera
Description: Tema hijo de Hello Elementor para el catálogo de La Casa Motera. Conserva la cabecera y el pie globales del catálogo y deja el contenido de las páginas nuevas a Elementor Free.
Version: 2.0.0
Requires at least: 6.9
Requires PHP: 8.1
Text Domain: lacasamotera
*/

/* ---------------------------------------------------------
   Noto Sans (variable, self-hosted)
   --------------------------------------------------------- */
@font-face {
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("assets/fonts/noto-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("assets/fonts/noto-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------------------------------------------------------
   Base
   --------------------------------------------------------- */
:root {
  --lcm-black: #000;
  --lcm-white: #fff;
  --lcm-muted: #73737a;
  --lcm-accent: #25d366;
  --lcm-sale: #fc0000;
  --lcm-font: "Noto Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    sans-serif;
  --lcm-header: 60px;
  --lcm-gutter: 10px;
}

@media (min-width: 1280px) {
  :root {
    --lcm-gutter: 40px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--lcm-black);
  color: var(--lcm-white);
  font-family: var(--lcm-font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.lcm-no-scroll {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Hello Elementor's reset targets `[type="button"]`, `[type="submit"]` and
   `input[type="search"]`, which outranks a plain element selector. Matching
   those selectors here keeps the catalog's controls untouched. */
button,
[type="button"],
[type="submit"],
input,
select,
textarea {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
}

button,
[type="button"],
[type="submit"] {
  cursor: pointer;
}

button:disabled {
  cursor: default;
}

:focus-visible,
a:focus-visible,
button:focus-visible,
[type="button"]:focus-visible,
[type="submit"]:focus-visible,
input:focus-visible {
  outline: 2px solid var(--lcm-accent);
  outline-offset: 2px;
  box-shadow: none;
}

[hidden] {
  display: none !important;
}

.lcm-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 10px 16px;
  background: var(--lcm-white);
  color: var(--lcm-black);
  font-size: 13px;
  font-weight: 700;
}

.lcm-skip:focus {
  left: 8px;
  top: 8px;
}

/* WordPress admin bar keeps the sticky header below it. */
body.admin-bar .lcm-header {
  top: 32px;
}

body.admin-bar .lcm-search,
body.admin-bar .lcm-search-backdrop,
body.admin-bar .lcm-mega,
body.admin-bar .lcm-drawer,
body.admin-bar .lcm-drawer-backdrop {
  top: calc(var(--lcm-header) + 32px);
}

@media (max-width: 782px) {
  body.admin-bar .lcm-header {
    top: 46px;
  }

  body.admin-bar .lcm-search,
  body.admin-bar .lcm-search-backdrop,
  body.admin-bar .lcm-mega,
  body.admin-bar .lcm-drawer,
  body.admin-bar .lcm-drawer-backdrop {
    top: calc(var(--lcm-header) + 46px);
  }
}

/* ---------------------------------------------------------
   Simple document layout (pages, posts, 404)
   --------------------------------------------------------- */
.lcm-doc {
  padding: 56px 20px 72px;
}

@media (min-width: 1280px) {
  .lcm-doc {
    padding: 72px 40px 96px;
  }
}

.lcm-doc__inner {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.lcm-doc__eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.lcm-doc__title {
  margin-top: 12px;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
}

.lcm-prose {
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  line-height: 1.7;
}

.lcm-prose > * + * {
  margin-top: 1.1em;
}

.lcm-prose h2 {
  margin-top: 1.8em;
  color: var(--lcm-white);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
}

.lcm-prose h3 {
  margin-top: 1.6em;
  color: var(--lcm-white);
  font-size: 18px;
  font-weight: 600;
}

.lcm-prose a {
  color: var(--lcm-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lcm-prose ul,
.lcm-prose ol {
  padding-left: 1.2em;
  list-style: disc;
}

.lcm-prose ol {
  list-style: decimal;
}

.lcm-prose li + li {
  margin-top: 0.4em;
}

.lcm-prose strong {
  color: var(--lcm-white);
}

.lcm-prose blockquote {
  padding-left: 18px;
  border-left: 2px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.85);
}

.lcm-prose img {
  width: 100%;
}

.lcm-empty {
  padding: 64px 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

.lcm-empty__title {
  color: var(--lcm-white);
  font-size: 28px;
  font-weight: 600;
}
