/* Ficha de producto (/tienda/<producto>): la página que indexa Google. Usa las variables de style.css. */
.pdp { max-width: 1180px; margin: 0 auto; padding: clamp(100px, 12vw, 130px) var(--gutter) 90px; }
.pdp__crumbs { font-size: 14px; color: var(--ink-2); margin-bottom: 22px; }
.pdp__crumbs a { color: inherit; }
.pdp__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.pdp__gallery { display: grid; gap: 12px; }
.pdp__gallery img { width: 100%; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.pdp__info h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(32px, 4.6vw, 52px); line-height: 1.02; margin: 6px 0 14px; }
.pdp__info h2 { font-family: var(--font-display); font-weight: 400; font-size: 20px; margin: 28px 0 10px; }
.pdp__price { font-size: 18px; margin: 0; }
.pdp__price b { font-size: 26px; }
.pdp__price small, .pdp__min { color: var(--ink-2); font-size: 14px; }
.pdp__desc { color: var(--ink-2); line-height: 1.6; }
.pdp__chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.pdp__chips li { background: #fff; border-radius: 999px; padding: 6px 14px; box-shadow: 0 0 0 1px var(--line); font-size: 14px; }
.pdp__features { padding-left: 1.2em; color: var(--ink-2); line-height: 1.6; }
.pdp__tiers { border-collapse: collapse; width: 100%; max-width: 380px; font-size: 15px; }
.pdp__tiers td { padding: 6px 0; border-bottom: 1px solid var(--line); }
.pdp__tiers td:last-child { text-align: end; font-weight: 700; }
.pdp__cta { margin-top: 30px; display: inline-flex; }
@media (max-width: 820px) { .pdp__grid { grid-template-columns: 1fr; } }

/* Páginas de texto editadas en el panel: las tablas se ven como la ficha de datos legales */
.legal table { border-collapse: collapse; width: 100%; background: #fff; border-radius: 18px; box-shadow: 0 0 0 1px var(--line); overflow: hidden; margin: 0 0 18px; }
.legal td, .legal th { padding: 8px 16px; text-align: start; vertical-align: top; color: var(--ink-2); border: 0; }
.legal td:first-child, .legal th:first-child { font-weight: 800; color: inherit; white-space: nowrap; }
.legal tr + tr td { border-top: 1px solid var(--line); }
@media (max-width: 560px) { .legal td:first-child { white-space: normal; } }

/* Árabe y otros idiomas de derecha a izquierda */
[dir="rtl"] .pdp__features { padding-left: 0; padding-right: 1.2em; }

/* Blog */
.blog { max-width: 1180px; margin: 0 auto; padding: clamp(40px, 7vw, 80px) var(--gutter) 90px; }
.blog__head { max-width: 680px; margin-bottom: 36px; }
.blog__head h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 7vw, 72px); line-height: 1; margin: 8px 0 12px; }
.blog__head p { color: var(--ink-2); font-size: 18px; }
.blog__empty { color: var(--ink-2); }
.blog__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.blog__card a { display: block; height: 100%; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); color: inherit; text-decoration: none; transition: transform .2s; }
.blog__card a:hover { transform: translateY(-3px) rotate(-.4deg); }
.blog__card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.blog__card div { padding: 18px 20px 22px; }
.blog__card time { font-size: 13px; color: var(--ink-2); }
.blog__card h2 { font-family: var(--font-display); font-weight: 400; font-size: 22px; line-height: 1.15; margin: 6px 0 8px; }
.blog__card p { color: var(--ink-2); margin: 0 0 12px; }
.blog__more { font-weight: 800; }
.blog__pages { display: flex; justify-content: space-between; margin-top: 30px; font-weight: 800; }
.post__back { display: inline-block; margin-bottom: 18px; font-weight: 800; color: inherit; }
.post__cover { width: 100%; border-radius: 22px; margin: 0 0 28px; }
.post__body img { max-width: 100%; height: auto; border-radius: 16px; }
.post__body blockquote { margin: 24px 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--wall, #c2187a); color: var(--ink-2); }
[dir="rtl"] .post__body blockquote { border-left: 0; border-right: 4px solid var(--wall, #c2187a); padding: 4px 18px 4px 0; }
.post__cta { margin-top: 48px; padding: 28px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line); text-align: center; }
.post__cta h2 { margin-top: 0; }
