/* ==========================================================================
   Optikom · tema base (mobile-first)
   ========================================================================== */

@font-face { font-family: Montserrat; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/montserrat.woff2) format("woff2"); }
@font-face { font-family: Michroma; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/michroma.woff2) format("woff2"); }

:root {
	--ok-olive: #6b6e3d;
	--ok-olive-d: #4a4d2a;
	--ok-olive-l: #8a8e57;
	--ok-cream: #f6efe0;
	--ok-cream-2: #fbf7ee;
	--ok-sand: #e8dcc0;
	--ok-terra: #c0654a;
	--ok-terra-d: #a2503a;
	--ok-ink: #25221b;
	--ok-muted: #6c675a;
	--ok-line: #e4dcc8;
	--ok-white: #fff;
	--ok-r: 14px;
	--ok-r-sm: 10px;
	--ok-shadow: 0 10px 30px -12px rgba(37, 34, 27, .25);
	--ok-wrap: 1240px;
	--ok-gutter: 16px;
	--ok-header-h: 60px;
	--ok-font: Montserrat, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--ok-logo: Michroma, Montserrat, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--ok-font); font-size: 16px; line-height: 1.6; color: var(--ok-ink); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--ok-olive-d); text-underline-offset: 3px; }
a:hover { color: var(--ok-terra); }
h1, h2, h3, h4 { font-family: var(--ok-font); line-height: 1.15; font-weight: 700; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--ok-ink); }
h1 { font-size: clamp(1.75rem, 6vw, 2.9rem); }
h2 { font-size: clamp(1.4rem, 4.4vw, 2.1rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--ok-terra); outline-offset: 2px; border-radius: 4px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 99999; top: 8px; left: 8px; width: auto; height: auto; clip: auto; background: #fff; padding: 10px 14px; border-radius: 8px; }
[hidden] { display: none !important; }
.ok-hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

.ok-wrap { width: 100%; max-width: var(--ok-wrap); margin-inline: auto; padding-inline: var(--ok-gutter); }
.ok-section { padding-block: 40px; }
.ok-eyebrow { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; margin: 0 0 .8em; opacity: .85; }
.ok-eyebrow--dark { color: var(--ok-olive); opacity: 1; }
.ok-h2 { margin-bottom: 1rem; }

/* Botones --------------------------------------------------------------- */
.ok-btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: 0 1.4em; border-radius: 999px; border: 2px solid transparent; font-weight: 700; font-size: .95rem; text-decoration: none; text-align: center; transition: background .2s, color .2s, border-color .2s, transform .15s; }
.ok-btn:active { transform: scale(.98); }
.ok-btn--primary { background: var(--ok-olive-d); color: #fff; }
.ok-btn--primary:hover { background: var(--ok-terra); color: #fff; }
.ok-btn--light { background: #fff; color: var(--ok-ink); }
.ok-btn--light:hover { background: var(--ok-ink); color: #fff; }
.ok-btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.ok-btn--ghost:hover { background: rgba(255, 255, 255, .15); color: inherit; }
.ok-btn--line { border-color: var(--ok-olive-d); color: var(--ok-olive-d); background: transparent; }
.ok-btn--line:hover { background: var(--ok-olive-d); color: #fff; }
.ok-link { background: none; border: 0; padding: 8px; color: var(--ok-olive-d); text-decoration: underline; font-weight: 600; }
.ok-iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: transparent; color: var(--ok-ink); border-radius: 50%; position: relative; text-decoration: none; }
.ok-iconbtn:hover { background: var(--ok-cream); color: var(--ok-ink); }

/* Barra promo ------------------------------------------------------------ */
.ok-promo { background: var(--ok-olive-d); color: var(--ok-cream); text-align: center; font-size: .78rem; font-weight: 600; letter-spacing: .02em; }
.ok-promo p { margin: 0; padding: 8px var(--ok-gutter); }
.ok-promo a { color: #fff; font-weight: 700; margin-left: .5em; }

/* Encabezado -------------------------------------------------------------- */
.ok-header { position: sticky; top: 0; z-index: 900; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--ok-line); }
.admin-bar .ok-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ok-header { top: 46px; } }
.ok-header__bar { display: flex; align-items: center; gap: 8px; min-height: var(--ok-header-h); }
.ok-logo { font-family: var(--ok-logo); font-size: 1.15rem; letter-spacing: -.02em; color: var(--ok-ink); text-decoration: none; line-height: 1; text-transform: lowercase; display: inline-block; }
.ok-logo:hover { color: var(--ok-olive-d); }
.ok-logo--light { color: #fff; font-size: 1.5rem; }
.ok-logo--light:hover { color: var(--ok-sand); }
.ok-logo__img { max-height: 38px; width: auto; }
.ok-header__burger { margin-left: -10px; }
.ok-header__logo { margin-right: auto; }
.ok-header__tools { display: flex; align-items: center; gap: 2px; margin-right: -8px; }
.ok-header__account { display: none; }
.ok-cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; background: var(--ok-terra); color: #fff; border-radius: 9px; font-size: .68rem; font-weight: 700; line-height: 18px; text-align: center; }
.ok-nav { display: none; }
.ok-nav__list { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.ok-nav__list a { color: var(--ok-ink); text-decoration: none; font-weight: 600; font-size: .92rem; padding: 8px 0; border-bottom: 2px solid transparent; }
.ok-nav__list a:hover { border-color: var(--ok-terra); color: var(--ok-ink); }
.ok-search { background: var(--ok-cream); border-bottom: 1px solid var(--ok-line); padding-block: 12px; }
.ok-search form { display: flex; gap: 8px; }
.ok-search input[type=search] { flex: 1; min-width: 0; height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--ok-line); background: #fff; font-size: 16px; }

@media (min-width: 960px) {
	:root { --ok-header-h: 74px; --ok-gutter: 28px; }
	.ok-header__burger { display: none; }
	.ok-header__logo { margin-right: 36px; font-size: 1.35rem; }
	.ok-nav { display: block; margin-right: auto; }
	.ok-header__account { display: inline-flex; }
}

/* Menú móvil --------------------------------------------------------------- */
.ok-drawer { position: fixed; inset: 0; z-index: 99990; }
.ok-drawer__backdrop { position: absolute; inset: 0; background: rgba(37, 34, 27, .55); animation: ok-fade .2s; }
.ok-drawer__panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(88vw, 360px); background: #fff; padding: 12px 20px calc(20px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; animation: ok-slide .25s ease; overflow-y: auto; }
.ok-drawer__top { display: flex; align-items: center; justify-content: space-between; min-height: 52px; }
.ok-drawer__list { list-style: none; margin: 18px 0; padding: 0; }
.ok-drawer__list a { display: block; padding: 14px 4px; font-size: 1.15rem; font-weight: 700; color: var(--ok-ink); text-decoration: none; border-bottom: 1px solid var(--ok-line); }
.ok-drawer__foot { margin-top: auto; display: grid; gap: 10px; }
@keyframes ok-slide { from { transform: translateX(-100%); } }
@keyframes ok-fade { from { opacity: 0; } }
body.ok-lock { overflow: hidden; }

/* Hero slider ---------------------------------------------------------------- */
.ok-hero { position: relative; }
.ok-hero__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.ok-hero__track::-webkit-scrollbar { display: none; }
.ok-slide { flex: 0 0 100%; scroll-snap-align: start; display: flex; flex-direction: column-reverse; justify-content: flex-end; color: #fff; position: relative; overflow: hidden; min-height: 0; }
@media (min-width: 900px) and (max-height: 760px) { .ok-slide { min-height: 520px !important; } .ok-slide__media img { max-height: 380px !important; } }
.ok-slide--olive { background: radial-gradient(120% 90% at 85% 15%, #7d8147 0, var(--ok-olive) 45%, var(--ok-olive-d) 100%); }
.ok-slide--terra { background: radial-gradient(120% 90% at 85% 15%, #d97d60 0, var(--ok-terra) 45%, var(--ok-terra-d) 100%); }
.ok-slide--sand { background: radial-gradient(120% 90% at 85% 15%, #f4ead2 0, var(--ok-sand) 55%, #d7c7a3 100%); color: var(--ok-ink); }
.ok-slide--ink { background: radial-gradient(120% 90% at 85% 15%, #4b463a 0, #302c23 50%, #1e1b15 100%); }
.ok-slide__media { display: block; padding: 18px 10px 0; text-align: center; }
.ok-slide__media img { margin-inline: auto; width: min(100%, 560px); max-height: 230px; object-fit: contain; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .2)); }
.ok-slide__copy { padding: 8px var(--ok-gutter) 64px; max-width: 640px; margin-inline: auto; width: 100%; }
.ok-slide__title { color: inherit; font-size: clamp(1.8rem, 7.4vw, 3.4rem); margin-bottom: .4em; }
.ok-slide__text { font-size: 1rem; opacity: .92; max-width: 46ch; }
.ok-slide__price { font-weight: 700; font-size: 1.15rem; margin-bottom: 1.1em; }
.ok-slide__price span { font-weight: 500; font-size: .85rem; opacity: .8; }
.ok-slide__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.ok-slide .ok-eyebrow { color: inherit; }
.ok-slide--sand .ok-btn--light { background: var(--ok-ink); color: #fff; }
.ok-slide--sand .ok-btn--ghost:hover { background: rgba(0, 0, 0, .08); }
.ok-hero__ui { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; align-items: center; justify-content: center; gap: 14px; pointer-events: none; }
.ok-hero__ui > * { pointer-events: auto; }
.ok-hero__dots { display: flex; gap: 8px; }
.ok-hero__dot { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .45); transition: width .25s, background .25s; }
.ok-hero__dot.is-active { width: 28px; border-radius: 6px; background: #fff; }
.ok-hero[data-tone="dark"] .ok-hero__dot { background: rgba(0, 0, 0, .25); }
.ok-hero[data-tone="dark"] .ok-hero__dot.is-active { background: var(--ok-ink); }
.ok-hero__nav { display: none; width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); background: rgba(0, 0, 0, .12); color: #fff; align-items: center; justify-content: center; }
.ok-hero__nav[data-dir="-1"] svg { transform: scaleX(-1); }
.ok-hero__nav:hover { background: rgba(255, 255, 255, .25); }

@media (min-width: 900px) {
	.ok-slide { flex-direction: row; align-items: center; min-height: 600px; }
	.ok-slide__copy { flex: 0 0 48%; padding: 40px 0 90px max(var(--ok-gutter), calc((100vw - var(--ok-wrap)) / 2 + var(--ok-gutter))); margin: 0; max-width: none; }
	.ok-slide__copy > * { max-width: 520px; }
	.ok-slide__media { flex: 1; padding: 30px 40px 60px 0; }
	.ok-slide__media img { width: 100%; max-width: 680px; max-height: 480px; }
	.ok-hero__nav { display: inline-flex; }
}

/* Franja de beneficios --------------------------------------------------------- */
.ok-strip { background: var(--ok-cream); border-bottom: 1px solid var(--ok-line); }
.ok-strip__list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; list-style: none; margin: 0; padding: 18px var(--ok-gutter); max-width: var(--ok-wrap); margin-inline: auto; }
.ok-strip__list li { display: flex; align-items: center; gap: 10px; font-size: .82rem; line-height: 1.3; }
.ok-strip__list svg { flex: none; color: var(--ok-olive); }
.ok-strip__list b { display: block; font-size: .86rem; }
@media (min-width: 900px) { .ok-strip__list { grid-template-columns: repeat(4, 1fr); padding-block: 22px; } .ok-strip__list li { font-size: .9rem; } }

/* Secciones de portada -------------------------------------------------------- */
.ok-front > * { max-width: none; }
.ok-sec { padding: 44px var(--ok-gutter); }
.ok-sec > * { max-width: var(--ok-wrap); margin-inline: auto; }
.ok-sec--tint { background: var(--ok-cream-2); }
.ok-sec--cream { background: var(--ok-cream); }
.ok-sec--olive { background: var(--ok-olive-d); color: #fff; }
.ok-sec--olive h2, .ok-sec--olive h3 { color: #fff; }
.ok-sec__head { text-align: center; max-width: 640px !important; margin-bottom: 26px !important; }
.ok-sec__head h2 { margin-bottom: .3em; }
.ok-sec__head p { color: var(--ok-muted); margin: 0; }
.ok-sec--olive .ok-sec__head p { color: var(--ok-sand); }
@media (min-width: 900px) { .ok-sec { padding: 72px var(--ok-gutter); } }

/* Grid de productos ----------------------------------------------------------------- */
.ok-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.ok-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ok-line); border-radius: var(--ok-r); overflow: hidden; text-decoration: none; color: var(--ok-ink); transition: box-shadow .2s, transform .2s, border-color .2s; }
.ok-card:hover { box-shadow: var(--ok-shadow); transform: translateY(-3px); border-color: var(--ok-olive-l); color: var(--ok-ink); }
.ok-card__media { position: relative; aspect-ratio: 1; background: #fff; display: block; }
.ok-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.ok-card__tag { position: absolute; top: 10px; left: 10px; background: var(--ok-cream); color: var(--ok-olive-d); font-size: .65rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; }
.ok-card__body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 16px; border-top: 1px solid var(--ok-line); flex: 1; }
.ok-card__brand { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ok-olive); }
.ok-card__title { font-weight: 700; font-size: .95rem; line-height: 1.25; }
.ok-price { font-weight: 800; font-size: 1.02rem; margin-top: auto; padding-top: 4px; }
.ok-price--soon { color: var(--ok-muted); font-weight: 600; }
.ok-dots { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; }
.ok-dots i { width: 14px; height: 14px; border-radius: 50%; background: var(--c); border: 1px solid rgba(0, 0, 0, .18); }
.ok-dots b { font-size: .7rem; color: var(--ok-muted); }
.ok-grid--scroll { grid-auto-flow: column; grid-auto-columns: 62%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
.ok-grid--scroll > * { scroll-snap-align: start; }
@media (min-width: 700px) { .ok-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } .ok-grid--scroll { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(4, 1fr); overflow: visible; } }
@media (min-width: 1000px) { .ok-grid { grid-template-columns: repeat(5, 1fr); } }
.ok-gridli { list-style: none; }

/* Descubre (me gusta / compro / no me gusta) -------------------------------------------- */
.ok-discover { max-width: 460px; margin-inline: auto; position: relative; user-select: none; }
.ok-discover__stage { position: relative; aspect-ratio: 4 / 5.15; }
.ok-discover__deck { position: absolute; inset: 0; }
.ok-dcard { position: absolute; inset: 0; background: #fff; border: 1px solid var(--ok-line); border-radius: 22px; box-shadow: var(--ok-shadow); overflow: hidden; display: flex; flex-direction: column; touch-action: pan-y; will-change: transform; transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .35s; cursor: grab; }
.ok-dcard.is-drag { transition: none; cursor: grabbing; }
.ok-dcard:nth-last-child(2) { transform: scale(.955) translateY(14px); }
.ok-dcard:nth-last-child(3) { transform: scale(.91) translateY(28px); }
.ok-dcard:nth-last-child(n+4) { transform: scale(.88) translateY(36px); opacity: 0; }
.ok-dcard__media { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 40%, #fff 0, var(--ok-cream-2) 100%); }
.ok-dcard__media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; pointer-events: none; }
.ok-dcard__body { padding: 14px 18px 18px; border-top: 1px solid var(--ok-line); }
.ok-dcard__brand { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ok-olive); margin: 0 0 2px; }
.ok-dcard__title { font-size: 1.15rem; margin: 0 0 6px; }
.ok-dcard__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ok-dcard__more { display: inline-block; margin-top: 8px; font-size: .85rem; font-weight: 600; }
.ok-dcard__stamp { position: absolute; top: 22px; padding: 6px 14px; border: 4px solid; border-radius: 10px; font-weight: 800; letter-spacing: .06em; font-size: 1.3rem; opacity: 0; pointer-events: none; background: rgba(255, 255, 255, .85); }
.ok-dcard__stamp--yes { left: 18px; color: #2d8a4e; transform: rotate(-12deg); }
.ok-dcard__stamp--no { right: 18px; color: var(--ok-terra); transform: rotate(12deg); }
.ok-discover__actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 30px; }
.ok-act { display: flex; flex-direction: column; align-items: center; gap: 6px; border: 0; background: none; font-size: .8rem; font-weight: 700; color: var(--ok-ink); padding: 0; }
.ok-act svg { box-sizing: content-box; padding: 16px; border-radius: 50%; background: #fff; border: 2px solid currentColor; box-shadow: var(--ok-shadow); transition: transform .15s, background .2s, color .2s; }
.ok-act:active svg { transform: scale(.9); }
.ok-act--no { color: var(--ok-terra); }
.ok-act--like { color: #d1456a; }
.ok-act--buy { color: var(--ok-olive-d); }
.ok-act--buy svg { background: var(--ok-olive-d); color: #fff; border-color: var(--ok-olive-d); }
.ok-act span { color: var(--ok-ink); }
.ok-discover__hint { text-align: center; font-size: .78rem; color: var(--ok-muted); margin: 18px 0 0; }
.ok-discover__end { position: absolute; inset: 0; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: #fff; border: 1px dashed var(--ok-olive-l); border-radius: 22px; padding: 22px; }
.ok-discover__end h3 { font-size: 1.3rem; margin: 0; }
.ok-discover__end p { color: var(--ok-muted); font-size: .92rem; margin: 0 0 6px; }

/* Hoja inferior (comentario) --------------------------------------------------------------- */
.ok-sheet { position: fixed; inset: 0; z-index: 99995; display: flex; align-items: flex-end; justify-content: center; }
.ok-sheet__backdrop { position: absolute; inset: 0; background: rgba(37, 34, 27, .55); animation: ok-fade .2s; }
.ok-sheet__panel { position: relative; background: #fff; width: 100%; max-width: 520px; padding: 22px 20px calc(22px + env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; animation: ok-up .28s ease; }
.ok-sheet__panel h3 { margin-bottom: .2em; font-size: 1.25rem; }
.ok-sheet__sub { color: var(--ok-muted); font-size: .9rem; }
.ok-sheet textarea { width: 100%; border: 1px solid var(--ok-line); border-radius: var(--ok-r-sm); padding: 12px 14px; font-size: 16px; resize: vertical; background: var(--ok-cream-2); }
.ok-sheet__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.ok-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.ok-chips button { border: 1px solid var(--ok-line); background: #fff; border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: .88rem; }
.ok-chips button.is-on { background: var(--ok-olive-d); color: #fff; border-color: var(--ok-olive-d); }
@keyframes ok-up { from { transform: translateY(100%); } }
@media (min-width: 700px) { .ok-sheet { align-items: center; } .ok-sheet__panel { border-radius: 22px; } }
.ok-toast { position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 99999; background: var(--ok-ink); color: #fff; padding: 11px 20px; border-radius: 999px; font-size: .88rem; font-weight: 600; box-shadow: var(--ok-shadow); animation: ok-fade .2s; max-width: 90vw; text-align: center; }

/* Follow ------------------------------------------------------------------------------------- */
.ok-follow { display: grid; gap: 10px; width: 100%; max-width: 420px; }
.ok-follow input[type=text] { width: 100%; height: 50px; border-radius: 999px; border: 1px solid var(--ok-line); padding: 0 20px; font-size: 16px; background: #fff; color: var(--ok-ink); }
.ok-follow__msg { margin: 0; font-size: .85rem; min-height: 1.2em; }
.ok-followband { display: grid; gap: 22px; align-items: center; }
.ok-followband h2 { color: #fff; margin-bottom: .3em; }
.ok-followband p { color: var(--ok-sand); margin: 0; }
.ok-sec--olive .ok-btn--primary { background: var(--ok-terra); }
.ok-sec--olive .ok-btn--primary:hover { background: #fff; color: var(--ok-ink); }
.ok-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.ok-social a { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, .45); border-radius: 50%; color: #fff; }
.ok-social a:hover { background: #fff; color: var(--ok-olive-d); }
@media (min-width: 800px) { .ok-followband { grid-template-columns: 1.1fr 1fr; gap: 50px; } }

/* Cómo funciona --------------------------------------------------------------------------------- */
.ok-steps { display: grid; gap: 14px; counter-reset: step; list-style: none; padding: 0; margin: 0 auto !important; }
.ok-steps li { background: #fff; border: 1px solid var(--ok-line); border-radius: var(--ok-r); padding: 20px 20px 20px 74px; position: relative; counter-increment: step; }
.ok-steps li::before { content: counter(step); position: absolute; left: 18px; top: 18px; width: 40px; height: 40px; border-radius: 50%; background: var(--ok-olive-d); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.ok-steps h3 { margin: 0 0 4px; }
.ok-steps p { margin: 0; color: var(--ok-muted); font-size: .92rem; }
@media (min-width: 900px) { .ok-steps { grid-template-columns: repeat(4, 1fr); } .ok-steps li { padding: 78px 20px 22px; } .ok-steps li::before { left: 20px; top: 20px; } }

/* Marcas ----------------------------------------------------------------------------------------- */
.ok-brands { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; list-style: none; margin: 0 auto !important; padding: 0; align-items: stretch; }
.ok-brands__item { background: #fff; border: 1px solid var(--ok-line); border-radius: var(--ok-r); height: 92px; display: flex; align-items: center; justify-content: center; padding: 18px 22px; }
.ok-brands__item img { max-height: 58px; width: auto; max-width: 100%; object-fit: contain; }
.ok-brands__item:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 800px) { .ok-brands { grid-template-columns: repeat(5, 1fr); } .ok-brands__item:last-child:nth-child(odd) { grid-column: auto; } .ok-brands__item { height: 110px; } }

/* Historia (imágenes + texto) ---------------------------------------------------------------------- */
.ok-story { display: grid; gap: 24px; align-items: center; }
.ok-story__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ok-story__imgs img { border-radius: var(--ok-r); width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.ok-story__imgs img:last-child { margin-top: 28px; }
@media (min-width: 900px) { .ok-story { grid-template-columns: 1fr 1fr; gap: 56px; } }

/* Blog ----------------------------------------------------------------------------------------------- */
.ok-posts { display: grid; gap: 18px; }
.ok-post { background: #fff; border: 1px solid var(--ok-line); border-radius: var(--ok-r); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.ok-post:hover { box-shadow: var(--ok-shadow); transform: translateY(-3px); }
.ok-post__media { display: block; aspect-ratio: 16 / 9; background: var(--ok-cream); }
.ok-post__media img { width: 100%; height: 100%; object-fit: cover; }
.ok-post__body { padding: 16px 18px 20px; }
.ok-post__meta { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ok-olive); margin: 0 0 6px; }
.ok-post__title { font-size: 1.1rem; margin: 0 0 6px; }
.ok-post__title a { color: var(--ok-ink); text-decoration: none; }
.ok-post__title a:hover { color: var(--ok-terra); }
.ok-post__excerpt { color: var(--ok-muted); font-size: .9rem; margin: 0; }
@media (min-width: 700px) { .ok-posts { grid-template-columns: repeat(3, 1fr); } }
.navigation.pagination { margin-top: 30px; text-align: center; }
.page-numbers { display: inline-block; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 700; margin: 2px; }
.page-numbers.current, a.page-numbers:hover { background: var(--ok-olive-d); color: #fff; }

/* Cabecera de páginas y artículos ------------------------------------------------------------------------- */
.ok-pagehead { background: var(--ok-cream); border-bottom: 1px solid var(--ok-line); padding: 34px 0 28px; }
.ok-pagehead h1 { margin: 0 0 .25em; }
.ok-pagehead__lead { max-width: 62ch; color: var(--ok-muted); margin: 0; font-size: 1.05rem; }
.ok-article__head { padding-top: 30px; max-width: 860px; }
.ok-article__head h1 { font-size: clamp(1.7rem, 5.6vw, 2.8rem); }
.ok-article__lead { font-size: 1.12rem; color: var(--ok-muted); }
.ok-article__cover { max-width: 960px; margin-block: 14px 8px; }
.ok-article__cover img { width: 100%; border-radius: var(--ok-r); aspect-ratio: 16 / 9; object-fit: cover; }
.ok-article__body { max-width: 760px; padding-block: 18px 26px; }
.ok-article__cta { display: grid; gap: 14px; align-items: center; background: var(--ok-cream); border-radius: var(--ok-r); padding: 24px !important; max-width: 860px; margin-bottom: 20px; }
.ok-article__cta h2 { margin: 0 0 4px; font-size: 1.3rem; }
.ok-article__cta p { margin: 0; color: var(--ok-muted); }
@media (min-width: 700px) { .ok-article__cta { grid-template-columns: 1fr auto; } }

/* Texto largo -------------------------------------------------------------------------------------------------- */
.ok-prose { max-width: 760px; }
.ok-prose > * { max-width: 100%; }
.ok-prose h2 { margin-top: 1.6em; }
.ok-prose h3 { margin-top: 1.4em; font-size: 1.2rem; }
.ok-prose ul, .ok-prose ol { padding-left: 1.25em; }
.ok-prose li { margin-bottom: .45em; }
.ok-prose img { border-radius: var(--ok-r); }
.ok-prose figure { margin: 1.4em 0; }
.ok-prose blockquote { margin: 1.4em 0; padding: 14px 20px; border-left: 4px solid var(--ok-terra); background: var(--ok-cream-2); border-radius: 0 var(--ok-r-sm) var(--ok-r-sm) 0; }
.ok-prose table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.ok-prose th, .ok-prose td { border: 1px solid var(--ok-line); padding: 10px 12px; text-align: left; vertical-align: top; }
.ok-prose th { background: var(--ok-cream); }
.ok-callout { background: var(--ok-cream); border-left: 4px solid var(--ok-olive); padding: 16px 20px; border-radius: 0 var(--ok-r-sm) var(--ok-r-sm) 0; margin: 1.5em 0; }
.ok-callout p:last-child { margin: 0; }
.ok-note { color: var(--ok-muted); font-size: .88rem; }
.ok-empty { text-align: center; color: var(--ok-muted); padding: 40px 0; }

/* Pie ------------------------------------------------------------------------------------------------------------ */
.ok-footer { background: var(--ok-ink); color: #d8d2c0; margin-top: 0; }
.ok-footer a { color: #d8d2c0; text-decoration: none; }
.ok-footer a:hover { color: #fff; text-decoration: underline; }
.ok-footer__grid { display: grid; gap: 28px; padding-block: 44px 28px; }
.ok-footer__brand p { max-width: 36ch; margin: 14px 0; font-size: .92rem; }
.ok-footer__col h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: .9em; }
.ok-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.ok-footer__contact { margin-top: 16px; font-size: .88rem; }
.ok-footer .ok-social a { border-color: rgba(255, 255, 255, .3); }
.ok-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); font-size: .78rem; padding-block: 16px calc(16px + env(safe-area-inset-bottom)); }
.ok-footer__bottom .ok-wrap { display: grid; gap: 4px; }
.ok-footer__bottom p { margin: 0; }
@media (min-width: 700px) { .ok-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; } .ok-footer__bottom .ok-wrap { grid-template-columns: 1fr auto; } }

/* Páginas con bloques de WordPress -------------------------------------------------------------------------------------- */
.ok-page--front { overflow-x: clip; }
.wp-block-columns { gap: 20px; }
.wp-block-button__link { border-radius: 999px; font-weight: 700; background: var(--ok-olive-d); }
.alignfull { width: 100%; max-width: none; }
.wp-block-image img { border-radius: var(--ok-r); }
.ok-steps strong { display: block; font-size: 1.05rem; margin-bottom: 2px; } .ok-steps li { color: var(--ok-muted); font-size: .92rem; }
.ok-steps li strong { color: var(--ok-ink); }

/* Facebook */
.ok-promo__fb { display: inline-flex; align-items: center; gap: 4px; margin-left: 14px; padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .35); }
.ok-promo__fb span { font-weight: 700; }
.ok-promo p { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px; }
.ok-footer__fb { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #fff !important; margin-bottom: 6px; }
.ok-followband__fb { margin-top: 16px; color: #fff; }
.ok-article__ctabtns { display: flex; flex-wrap: wrap; gap: 10px; }
.ok-discover__end .ok-btn { width: 100%; max-width: 320px; }
.ok-drawer__foot .ok-btn svg { flex: none; }
