/* El blog de Deisola Aromas: la misma casa que la tienda, para leer.
   Va después de blog/blog.css (la base del kit) y pisa sus variables.
   Los colores y las tipografías son los de src/styles/main.css de la tienda. */
:root {
  --bg: #F4EEE6;
  --paper: #EEE4D8;
  --card: #FBF7F2;
  --ink: #3A302A;
  --ink-2: #6B5E55;
  --line: rgba(58, 48, 42, .16);
  --blush: #EBCFCA;
  --rose: #C4868A;
  --rose-deep: #A9686E;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --script: 'Allura', 'Brush Script MT', cursive;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);

  --b-ancho: 700px;
  --b-tinta: var(--ink);
  --b-gris: var(--ink-2);
  --b-linea: var(--line);
  --b-acento: var(--rose-deep);
  --b-fondo: var(--bg);
  --b-fuente: var(--sans);
  --b-fuente-tit: var(--serif);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
.b-pagina { font-size: 17px; line-height: 1.6; font-weight: 400; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.b-pagina img { display: block; max-width: 100%; height: auto; }
.b-pagina a { color: inherit; }
.b-pagina h1, .b-pagina h2, .b-pagina h3 { font-weight: 400; }
.b-pagina :focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blush); color: var(--ink); }

.saltar { position: absolute; left: 12px; top: -60px; z-index: 10; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--bg); text-decoration: none; font-size: .85rem; transition: top .2s; }
.saltar:focus { top: 12px; }

/* ── El botón, como el de la tienda ── */
.dbtn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: .8rem 1.6rem; border-radius: 999px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--bg);
  font: 500 .8rem/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: background-color .45s var(--ease), border-color .45s var(--ease), color .45s var(--ease);
}
.b-pagina a.dbtn { color: var(--bg); }
.dbtn--claro { background: rgba(251, 247, 242, .6); border-color: rgba(58, 48, 42, .35); }
.b-pagina a.dbtn--claro { color: var(--ink); }
.dbtn--chico { min-height: 40px; padding: .55rem 1.05rem; font-size: .68rem; }
@media (hover: hover) {
  .dbtn:hover { background: var(--rose-deep); border-color: var(--rose-deep); }
  .b-pagina a.dbtn--claro:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
}

/* ── Cabecera ── */
.dn { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.dn__logo { display: block; color: var(--ink); padding: 4px 0; }
.dn__marca { display: block; width: 84px; aspect-ratio: 491 / 270; background: currentColor; -webkit-mask: url('../wordmark.webp') center / contain no-repeat; mask: url('../wordmark.webp') center / contain no-repeat; }
.dn__nav { display: none; }
.dn__nav a { position: relative; padding: .5rem 0; text-decoration: none; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.dn__nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: .25rem; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.dn__nav a.activo::after { transform: scaleX(1); background: var(--rose); }
@media (hover: hover) { .dn__nav a:hover::after { transform: scaleX(1); transform-origin: left; } }

/* ── Lo que se lee ── */
.b-main { padding: 26px 0 80px; }
.b-migas, .b-meta, .b-indice p, .b-tarj__meta {
  font: 500 .7rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2);
}
.b-migas { gap: 10px; }
.b-migas a { text-decoration: none; padding: 6px 0; }
.b-migas span { padding: 6px 0; }
.b-migas span[aria-hidden] { color: var(--rose); }
@media (hover: hover) { .b-migas a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; } }

.b-cab { margin: 30px 0 34px; }
.b-meta { margin: 0 0 18px; padding-left: 1.3em; text-indent: -1.3em; line-height: 1.7; }
.b-meta::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: calc(1.3em - 6px); border-radius: 50%; background: var(--rose); vertical-align: .12em; }
.b-cab h1 { font-size: clamp(2.35rem, 10.4vw, 3.9rem); line-height: 1; letter-spacing: -.015em; }
.b-resumen { font-family: var(--serif); font-size: 1.36rem; line-height: 1.32; margin-top: 20px; }
/* Las dos rayitas con la flor, como en el manifiesto de la tienda. */
.b-cab::after {
  content: '✿'; display: block; margin-top: 32px; text-align: center; color: var(--rose); font-size: .95rem; line-height: 1;
  background:
    linear-gradient(var(--line), var(--line)) left center / calc(50% - 22px) 1px no-repeat,
    linear-gradient(var(--line), var(--line)) right center / calc(50% - 22px) 1px no-repeat;
}

.b-indice { border: 0; background: var(--card); border-radius: 22px; padding: 22px 22px 14px; margin-bottom: 34px; }
.b-indice p { margin-bottom: 6px; }
.b-indice ol { counter-reset: nota; gap: 0; }
.b-indice li { counter-increment: nota; border-top: 1px solid var(--line); }
.b-indice li:first-child { border-top: 0; }
.b-indice a { display: flex; align-items: baseline; gap: 14px; padding: 11px 0; min-height: 44px; text-decoration: none; font-family: var(--serif); font-size: 1.24rem; line-height: 1.2; }
.b-indice a::before { content: counter(nota, decimal-leading-zero); flex: none; font: 500 .7rem/1 var(--sans); letter-spacing: .16em; color: var(--rose-deep); }
@media (hover: hover) { .b-indice a:hover { color: var(--rose-deep); } }

.b-cuerpo { font-size: 1.06rem; line-height: 1.72; }
.b-cuerpo p { margin-bottom: 1.15em; }
.b-cuerpo strong { font-weight: 500; }
.b-cuerpo h2 { font-size: clamp(1.8rem, 7.4vw, 2.35rem); line-height: 1.06; letter-spacing: -.01em; margin: 2.1em 0 .65em; }
.b-cuerpo h2::before { content: ''; display: block; width: 44px; height: 1px; background: var(--rose); margin-bottom: 22px; }
.b-cuerpo h3 { font-family: var(--serif); font-weight: 500; font-size: 1.42rem; line-height: 1.18; margin: 1.5em 0 .45em; }
.b-cuerpo ul { list-style: none; padding-left: 0; gap: .7em; margin-bottom: 1.3em; }
.b-cuerpo li { position: relative; padding-left: 1.35em; }
.b-cuerpo li::before { content: ''; position: absolute; left: .15em; top: .74em; width: 6px; height: 6px; border-radius: 50%; background: var(--rose); }
/* Preguntas frecuentes: una debajo de la otra, separadas por una línea. */
.b-cuerpo #preguntas ~ h3 { border-top: 1px solid var(--line); padding-top: 1.05em; margin-top: 1.2em; }
.b-cuerpo #preguntas + h3 { border-top: 0; padding-top: 0; margin-top: 0; }
.b-cuerpo #preguntas ~ p { color: var(--ink-2); }

/* ── La tienda, al pie de la nota ── */
.b-contacto {
  margin-top: 60px; padding: 22px; border-radius: 28px;
  background: linear-gradient(120deg, #F1DAD5 0%, #EBDDE8 55%, #DCE6EE 100%);
  display: grid; gap: 20px;
}
.b-contacto__foto { width: 148px; aspect-ratio: 4 / 4.6; border-radius: 999px 999px 16px 16px; overflow: hidden; background: #705d4a; box-shadow: 0 30px 50px -34px rgba(58, 48, 42, .6); }
.b-contacto__foto img { width: 100%; height: 100%; object-fit: cover; }
.b-contacto__firma { margin: 0 0 2px; font-family: var(--script); font-size: 2rem; line-height: 1; color: var(--rose-deep); }
.b-contacto h2 { margin: 0 0 10px; font-family: var(--serif); font-size: clamp(1.9rem, 8vw, 2.5rem); line-height: 1.02; letter-spacing: -.01em; }
.b-contacto__txt > p:not(.b-contacto__firma) { margin: 0; color: var(--ink-2); max-width: 46ch; }
.b-contacto__vias { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* ── Seguir leyendo y el índice del blog ── */
.b-seguir { margin-top: 64px; }
.b-seguir h2 { font-size: 2rem; line-height: 1.05; margin-bottom: 10px; }
.b-tarjetas a { gap: 8px; padding: 22px 0; }
.b-tarj__tit { font-weight: 500; font-size: 1.5rem; line-height: 1.12; }
.b-tarjetas--lista .b-tarj__tit { font-weight: 400; font-size: clamp(1.75rem, 7.6vw, 2.4rem); line-height: 1.04; letter-spacing: -.01em; }
.b-tarj__res { font-size: .98rem; line-height: 1.5; }
@media (hover: hover) { .b-tarjetas a:hover .b-tarj__tit { text-decoration: none; color: var(--rose-deep); } }

.b-indice-pag .b-cab { margin: 34px 0 20px; }
.b-indice-pag .b-cab h1 { font-size: clamp(3.3rem, 16vw, 6rem); line-height: .9; font-weight: 400; }
.b-notas__firma { display: block; font-family: var(--script); color: var(--rose); font-size: 1.18em; line-height: .8; padding: .05em 0 .12em .5em; letter-spacing: 0; }
.b-indice-pag .b-resumen { font-family: var(--sans); font-size: 1.06rem; line-height: 1.55; max-width: 34ch; margin-top: 14px; }

/* ── Pie ── */
.dp { background: var(--ink); color: var(--bg); padding: 56px 20px 28px; display: grid; justify-items: center; gap: 22px; text-align: center; }
.dp__logo { display: block; color: rgba(244, 238, 230, .92); }
.dp__logo span { display: block; width: 136px; aspect-ratio: 835 / 770; background: currentColor; -webkit-mask: url('../logo.webp') center / contain no-repeat; mask: url('../logo.webp') center / contain no-repeat; }
.dp__lema { margin: 0; font-family: var(--serif); font-size: 1.5rem; line-height: 1.22; max-width: 20ch; }
.dp__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 22px; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; }
.dp__links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; opacity: .78; transition: opacity .3s; }
@media (hover: hover) { .dp__links a:hover { opacity: 1; } }
.dp__legal { margin: 6px 0 0; padding-top: 22px; width: 100%; border-top: 1px solid rgba(244, 238, 230, .14); font-size: .8rem; color: rgba(244, 238, 230, .6); }
.dp :focus-visible { outline-color: var(--blush); }

@media (min-width: 720px) {
  .b-contacto { grid-template-columns: 190px 1fr; align-items: center; gap: 34px; padding: 30px 38px 30px 30px; }
  .b-contacto__foto { width: 190px; }
}

@media (min-width: 960px) {
  .b-pagina { font-size: 18px; }
  .dn { padding: 16px clamp(20px, 5vw, 72px); }
  .dn__marca { width: 96px; }
  .dn__nav { display: flex; gap: clamp(1.2rem, 2.2vw, 2.2rem); }
  .dbtn--chico { min-height: 44px; padding: .7rem 1.3rem; font-size: .74rem; }
  .b-main { padding: 44px 0 120px; }
  .b-cab { margin: 40px 0 44px; }
  .b-indice { padding: 28px 32px 18px; }
  .dp { grid-template-columns: auto 1fr auto; justify-items: start; align-items: center; text-align: left; gap: 28px 64px; padding: 72px clamp(20px, 5vw, 72px) 32px; }
  .dp__lema { font-size: 1.9rem; max-width: 22ch; }
  .dp__links { flex-direction: column; gap: 0; }
  .dp__links a { min-height: 34px; }
  .dp__legal { grid-column: 1 / -1; }
}

.b-tarjetas--lista li:first-child { border-top: 0; }
