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

:root {
  --lf-cream: #faf3d9;
  --lf-paper: #eee3c2;
  --lf-ink: #16140f;
  --lf-accent: #e0571e;
  --lf-yellow: #f3c400;
  --lf-olive: #8c8369;
  --lf-red: #c0392b;
  --sans: 'Geist', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background-color: var(--lf-paper);
  background-image: radial-gradient(rgba(22,20,15,.06) 1px, transparent 1.5px);
  background-size: 8px 8px;
  color: var(--lf-ink);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

a { color: inherit; }

/* ======================================================================
   ADMIN UI — Lentes Feos brand applied to CMS
   Same palette, borders, and offset shadows as the public site.
   ====================================================================== */

.nav-admin {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 36px;
  border-bottom: 2.5px solid var(--lf-ink);
  position: sticky;
  top: 0;
  background: var(--lf-cream);
  z-index: 100;
  flex-wrap: wrap;
  gap: 12px;
}
.nav-left { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--lf-ink); font-family: 'Alfa Slab One', serif; font-size: 18px; }
.logo-badge { background: var(--lf-ink); color: var(--lf-cream); font-family: var(--sans); font-weight: 800; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; padding: 3px 7px; border-radius: 2px; }
.nav-links { display: flex; gap: 4px; flex-wrap: wrap; }
.nav-right { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav-link { text-decoration: none; color: var(--lf-ink); font-size: 13px; font-weight: 600; padding: 6px 11px; border-radius: 3px; border: 1.5px solid transparent; transition: border-color .12s, background .12s; }
.nav-link:hover { border-color: var(--lf-ink); background: var(--lf-yellow); }
.nav-user { background: var(--lf-ink); color: var(--lf-cream) !important; border-radius: 3px; font-weight: 700; }
.nav-user:hover { background: var(--lf-ink) !important; color: var(--lf-cream) !important; border-color: transparent !important; opacity: .85; }

/* Login */
.login-wrap { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100vh; padding: 48px 24px; }
.login-logo { margin-bottom: 32px; font-family: 'Alfa Slab One', serif; font-size: 36px; color: var(--lf-ink); letter-spacing: -.01em; }
.login-box { width: 100%; max-width: 360px; background: var(--lf-cream); border: 2.5px solid var(--lf-ink); box-shadow: 8px 8px 0 var(--lf-ink); border-radius: 4px; padding: 32px 28px; }
.login-title { font-family: 'DM Serif Display', serif; font-size: 26px; font-weight: 400; text-align: center; margin-bottom: 6px; }
.login-sub { text-align: center; color: var(--lf-olive); font-size: 14px; margin-bottom: 28px; font-weight: 600; }
.login-error { text-align: center; color: var(--lf-red); font-size: 13px; margin-bottom: 16px; font-weight: 700; }

/* Forms */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--lf-olive); margin-bottom: 5px; }
.field input, .field select, .filter-select, .field-textarea {
  width: 100%; padding: 11px 13px; border: 2px solid var(--lf-ink); border-radius: 3px;
  font-family: var(--sans); font-size: 14px; color: var(--lf-ink); background: var(--lf-cream); outline: none; transition: box-shadow .12s;
}
.field input::placeholder { color: var(--lf-olive); }
.field input:focus, .field select:focus, .filter-select:focus, .field-textarea:focus { box-shadow: 3px 3px 0 var(--lf-accent); }
.field-textarea { resize: vertical; min-height: 100px; }
.field-hint { display: block; font-size: 12px; color: var(--lf-olive); margin-top: 4px; font-weight: 600; }
.field-row { display: flex; gap: 12px; }
.field-row .field { flex: 1; }
.field-checkbox { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--lf-ink); font-weight: 600; }

/* Buttons */
.btn-primary { width: 100%; padding: 13px; background: var(--lf-ink); color: var(--lf-cream); border: 2px solid var(--lf-ink); border-radius: 3px; box-shadow: 4px 4px 0 var(--lf-accent); font-family: var(--sans); font-size: 14px; font-weight: 800; cursor: pointer; margin-top: 4px; transition: box-shadow .12s, transform .12s; }
.btn-primary:hover { box-shadow: 2px 2px 0 var(--lf-accent); transform: translate(2px,2px); }
.btn-outline { padding: 9px 18px; background: var(--lf-cream); color: var(--lf-ink); border: 2px solid var(--lf-ink); border-radius: 3px; box-shadow: 3px 3px 0 var(--lf-ink); font-family: var(--sans); font-size: 13px; font-weight: 700; cursor: pointer; text-decoration: none; display: inline-block; transition: box-shadow .12s, transform .12s; }
.btn-outline:hover { box-shadow: 1px 1px 0 var(--lf-ink); transform: translate(2px,2px); }
.btn-sm { padding: 9px 16px; background: var(--lf-ink); color: var(--lf-cream); border: 2px solid var(--lf-ink); border-radius: 3px; box-shadow: 3px 3px 0 var(--lf-accent); font-family: var(--sans); font-size: 13px; font-weight: 700; cursor: pointer; text-decoration: none; display: inline-block; transition: box-shadow .12s, transform .12s; }
.btn-sm:hover { box-shadow: 1px 1px 0 var(--lf-accent); transform: translate(2px,2px); }
.btn-danger { background: var(--lf-cream) !important; color: var(--lf-red) !important; border-color: var(--lf-red) !important; box-shadow: 3px 3px 0 var(--lf-red) !important; }
.btn-danger:hover { background: var(--lf-red) !important; color: var(--lf-cream) !important; box-shadow: 1px 1px 0 var(--lf-red) !important; transform: translate(2px,2px); }

/* Admin shell */
.admin-wrap { padding: 36px 48px; max-width: 1280px; margin: 0 auto; }
.admin-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; padding-bottom: 22px; border-bottom: 2px solid var(--lf-ink); flex-wrap: wrap; gap: 12px; }
.admin-title { font-family: 'DM Serif Display', serif; font-size: 38px; font-weight: 400; }
.admin-subnav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; padding-bottom: 20px; border-bottom: 2px solid var(--lf-ink); }
.admin-subnav a { font-size: 13px; font-weight: 700; color: var(--lf-ink); text-decoration: none; padding: 7px 14px; border-radius: 3px; border: 2px solid transparent; transition: all .12s; }
.admin-subnav a:hover { border-color: var(--lf-ink); background: var(--lf-yellow); }
.admin-subnav a.active { border-color: var(--lf-ink); background: var(--lf-yellow); box-shadow: 3px 3px 0 var(--lf-ink); }
.admin-tool-card { background: var(--lf-cream); border: 2px solid var(--lf-ink); box-shadow: 5px 5px 0 var(--lf-ink); border-radius: 4px; padding: 22px 26px; margin-bottom: 28px; }
.admin-tool-card h4 { font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--lf-olive); margin-bottom: 16px; }
.section-title { font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--lf-olive); margin-bottom: 16px; }
.empty-state { text-align: center; padding: 48px 24px; color: var(--lf-olive); font-size: 15px; font-weight: 600; }
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 40px; }
.stat-card { padding: 22px 24px; background: var(--lf-cream); border: 2px solid var(--lf-ink); box-shadow: 5px 5px 0 var(--lf-ink); border-radius: 4px; }
.stat-num { font-family: 'Alfa Slab One', serif; font-size: 48px; line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--lf-olive); }

/* Tables */
.table-responsive { width: 100%; overflow-x: auto; }
.users-table { width: 100%; border-collapse: collapse; }
.users-table th { text-align: left; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--lf-olive); padding: 0 16px 12px; border-bottom: 2px solid var(--lf-ink); }
.users-table td { padding: 14px 16px; font-size: 14px; border-bottom: 1px solid rgba(22,20,15,.15); vertical-align: middle; }
.users-table tr:hover td { background: rgba(243,196,0,.18); }
.user-name { font-weight: 700; }
.user-email { color: var(--lf-olive); font-size: 13px; font-weight: 600; }
.table-actions { display: flex; gap: 8px; }
.action-link { font-size: 12px; font-weight: 700; color: var(--lf-olive); cursor: pointer; text-decoration: none; padding: 4px 8px; border: 1.5px solid transparent; border-radius: 3px; background: none; font-family: var(--sans); transition: all .12s; }
.action-link:hover { color: var(--lf-ink); border-color: var(--lf-ink); background: var(--lf-yellow); }
.action-link.danger:hover { color: var(--lf-cream); border-color: var(--lf-red); background: var(--lf-red); }

/* Drag-to-reorder lists */
.reorder-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.reorder-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--lf-cream); border: 2px solid var(--lf-ink); box-shadow: 3px 3px 0 var(--lf-ink); border-radius: 3px; cursor: default; transition: box-shadow .12s, transform .12s; }
.reorder-item.dragging { opacity: 0.4; }
.reorder-drag-handle { color: var(--lf-olive); cursor: grab; font-size: 16px; user-select: none; flex-shrink: 0; }
.reorder-drag-handle:active { cursor: grabbing; }
.reorder-thumb { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--lf-paper); border: 2px solid var(--lf-ink); }
.reorder-info { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.reorder-name { font-weight: 700; font-size: 14px; }
.reorder-sub { font-size: 12px; color: var(--lf-olive); font-weight: 600; }
.reorder-remove { background: none; border: none; cursor: pointer; font-size: 16px; color: var(--lf-olive); padding: 2px 6px; border-radius: 3px; transition: color .12s, background .12s; }
.reorder-remove:hover { color: var(--lf-cream); background: var(--lf-red); }

/* Image upload */
.upload-row { display: flex; align-items: center; gap: 14px; }
.upload-preview { width: 80px; height: 80px; border-radius: 4px; object-fit: cover; background: var(--lf-paper); border: 2px solid var(--lf-ink); flex-shrink: 0; }
.upload-preview.round { border-radius: 50%; }
.upload-btn { position: relative; overflow: hidden; font-size: 12px; padding: 8px 16px; cursor: pointer; }
.upload-btn input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.shots-grid { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
.shot-card { width: 110px; position: relative; border-radius: 4px; overflow: hidden; background: var(--lf-paper); border: 2px solid var(--lf-ink); }
.shot-card img { width: 100%; height: 80px; object-fit: cover; display: block; }
.shot-remove { position: absolute; top: 2px; right: 2px; background: rgba(0,0,0,.7); color: #fff; border: none; cursor: pointer; font-size: 12px; padding: 1px 6px; border-radius: 3px; }

/* Color swatch pickers */
.swatch-row { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch-option { width: 32px; height: 32px; border-radius: 4px; border: 2px solid var(--lf-ink); cursor: pointer; position: relative; }
.swatch-option input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.swatch-option.selected, .swatch-option:has(input[type="radio"]:checked) { box-shadow: 0 0 0 3px var(--lf-accent); }
/* Free color picker, offered next to the curated swatches */
.swatch-custom { overflow: hidden; padding: 0; display: inline-block; }
.swatch-custom::after { content: ""; position: absolute; right: 2px; bottom: 2px; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--lf-ink); background: conic-gradient(#e0571e, #f3c400, #4f8a4d, #3f6fb0, #cf3b2a, #e0571e); pointer-events: none; }
.swatch-color { position: absolute; inset: -6px; width: calc(100% + 12px); height: calc(100% + 12px); border: none; padding: 0; background: none; cursor: pointer; }
.swatch-color::-webkit-color-swatch-wrapper { padding: 0; }
.swatch-color::-webkit-color-swatch { border: none; }
.swatch-color::-moz-color-swatch { border: none; }
.swatch-custom-radio { position: absolute; opacity: 0; pointer-events: none; }

/* Confirm modal */
.confirm-modal-overlay { display: none; position: fixed; inset: 0; background: rgba(22,20,15,0.5); z-index: 1000; align-items: center; justify-content: center; }
.confirm-modal-overlay.open { display: flex; }
.confirm-modal { background: var(--lf-cream); border: 2.5px solid var(--lf-ink); box-shadow: 8px 8px 0 var(--lf-ink); border-radius: 4px; padding: 28px; max-width: 360px; width: 90%; }
.confirm-modal-text { font-size: 15px; color: var(--lf-ink); margin-bottom: 22px; line-height: 1.5; font-weight: 500; }
.confirm-modal-actions { display: flex; justify-content: flex-end; gap: 10px; }

/* Inline notices */
.notice-ok { background: #f0fdf4; border: 2px solid #16a34a; box-shadow: 3px 3px 0 #16a34a; border-radius: 3px; padding: 13px 16px; margin-bottom: 22px; font-size: 14px; font-weight: 700; color: var(--lf-ink); }
.notice-err { background: #fef2f2; border: 2px solid var(--lf-red); box-shadow: 3px 3px 0 var(--lf-red); border-radius: 3px; padding: 13px 16px; margin-bottom: 22px; font-size: 14px; font-weight: 700; color: var(--lf-red); }

/* ======================================================================
   PUBLIC SITE — "Lentes Feos" brand design
   Tokens from HANDOFF.md: hard offset shadows, paper/blue textures,
   Alfa Slab One wordmark, DM Serif Display headings.
   ====================================================================== */

.lf-page {
  --accent: #e0571e;
  --wm-lentes: #f3b50e;
  --wm-feos: #e0571e;
  background: #eee3c2;
  color: #16140f;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.lf-page * { box-sizing: border-box; }
.lf-page ::selection { background: #16140f; color: #faf3d9; }

.lf-container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

.lf-paper { background-color: #eee3c2; background-image: radial-gradient(rgba(22,20,15,.06) 1px, transparent 1.5px); background-size: 8px 8px; }
.lf-blue { background-color: #4f86c6; background-image: radial-gradient(rgba(255,255,255,.07) 1.2px, transparent 1.6px); background-size: 6px 6px; }
.lf-section { border-bottom: 2.5px solid #16140f; padding: 68px 0; position: relative; overflow: hidden; }

/* Header */
.lf-header { position: sticky; top: 0; z-index: 50; background: #faf3d9; border-bottom: 2.5px solid #16140f; }
.lf-header-inner { max-width: 1180px; margin: 0 auto; padding: 13px 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.lf-brand { display: flex; align-items: center; text-decoration: none; }
.lf-brand-logo { display: block; height: 38px; width: auto; }
.lf-nav { display: flex; align-items: center; gap: 22px; font-size: 13.5px; font-weight: 600; color: #16140f; flex-wrap: wrap; }
.lf-nav a { color: #16140f; text-decoration: none; }
.lf-nav-cta { background: var(--accent); color: #fff; border: 2px solid #16140f; box-shadow: 3px 3px 0 #16140f; padding: 8px 14px; border-radius: 3px; text-decoration: none; font-weight: 800; }

/* Hero */
.lf-hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; padding-bottom: 0; }
.lf-stickers { display: flex; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.lf-sticker { background: #faf3d9; border: 2px solid #16140f; box-shadow: 3px 3px 0 #16140f; padding: 8px 14px; font-weight: 800; font-size: 12.5px; letter-spacing: .04em; border-radius: 3px; display: inline-block; }
.lf-sticker:nth-child(odd) { transform: rotate(-2deg); }
.lf-sticker:nth-child(even) { background: #f3c400; transform: rotate(2deg); }
.lf-wordmark-logo { margin: 0; }
.lf-wordmark-logo img { display: block; width: min(460px, 100%); height: auto; }
.lf-tagline { font-family: 'DM Serif Display', serif; font-size: 30px; margin-top: 14px; color: #16140f; }
.lf-tagline em { color: var(--accent); font-style: italic; }
.lf-about-card { background: #faf3d9; border: 2.5px solid #16140f; box-shadow: 7px 7px 0 #16140f; border-radius: 4px; padding: 20px 22px; margin-top: 24px; max-width: 33em; }
.lf-about-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #8c8369; margin-bottom: 8px; }
.lf-about-body { margin: 0; font-size: 16.5px; line-height: 1.55; font-weight: 500; }
.lf-socials { display: flex; gap: 10px; margin-top: 22px; }
.lf-social-chip { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; background: #faf3d9; border: 2px solid #16140f; box-shadow: 3px 3px 0 #16140f; border-radius: 3px; text-decoration: none; color: #16140f; }
.lf-ctas { display: flex; gap: 14px; margin-top: 24px; flex-wrap: wrap; }
.lf-cta-primary { background: #16140f; color: #faf3d9; border: 2.5px solid #16140f; box-shadow: 4px 4px 0 var(--accent); padding: 13px 22px; border-radius: 3px; text-decoration: none; font-weight: 800; font-size: 15px; }
.lf-cta-secondary { background: #faf3d9; color: #16140f; border: 2.5px solid #16140f; box-shadow: 4px 4px 0 #16140f; padding: 13px 22px; border-radius: 3px; text-decoration: none; font-weight: 800; font-size: 15px; }

.lf-portrait-frame { background: #161616; padding: 18px 10px; border-radius: 4px; border: 2.5px solid #16140f; box-shadow: 10px 10px 0 #16140f; transform: rotate(1.5deg); }
.lf-sprocket { height: 14px; background-image: radial-gradient(circle at 9px 7px, #faf3d9 2.3px, transparent 2.8px); background-size: 18px 14px; background-repeat: repeat-x; }
.lf-portrait { position: relative; height: 420px; margin: 10px 0; overflow: hidden; }
.lf-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Section title tab */
.lf-title-tab { display: inline-flex; align-items: center; gap: 14px; background: #faf3d9; border: 2.5px solid #16140f; box-shadow: 7px 7px 0 #16140f; padding: 12px 26px; border-radius: 4px; transform: rotate(-1deg); margin-bottom: 24px; }
.lf-title-tab span.lf-title { font-family: 'DM Serif Display', serif; font-size: 34px; color: #16140f; }
.lf-title-tab .lf-title em { color: var(--accent); font-style: normal; }
.lf-section-intro { font-size: 17px; font-weight: 600; max-width: 46em; margin: 24px 0 36px; }
.lf-section-intro.ink { color: #3a352a; }
.lf-section-intro.blue { color: #0e2a4a; }

/* Labs grid */
.lf-labs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lf-lab-row { background: #faf3d9; border: 2px solid #16140f; box-shadow: 3px 3px 0 #16140f; border-radius: 40px; padding: 11px 16px; display: flex; align-items: center; gap: 14px; text-decoration: none; color: #16140f; }
.lf-lab-logo { width: 46px; height: 46px; flex: none; border-radius: 50%; overflow: hidden; border: 2.5px solid #16140f; background: #fff; display: block; }
.lf-lab-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lf-lab-name { display: block; font-weight: 800; font-size: 16px; }
.lf-lab-sub { display: block; font-size: 12.5px; font-weight: 600; color: #8c8369; }

/* Card grids (guides + recommendations) */
.lf-cards-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.lf-card { text-decoration: none; color: #16140f; background: #faf3d9; border: 2.5px solid #16140f; border-radius: 5px; overflow: hidden; display: flex; flex-direction: column; }
.lf-card-cover { position: relative; aspect-ratio: 1 / 1; background: repeating-linear-gradient(45deg,#e7ddc0,#e7ddc0 11px,#efe7cf 11px,#efe7cf 22px); border-bottom: 2.5px solid #16140f; display: flex; align-items: center; justify-content: center; }
.lf-card-cover.has-img { background: none; }
.lf-card-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.lf-card-cover-label { font-weight: 800; font-size: 12px; letter-spacing: .1em; color: #a59f8c; }
.lf-card-badge { position: absolute; top: 12px; left: 12px; border: 2px solid #16140f; box-shadow: 2px 2px 0 #16140f; font-weight: 800; font-size: 11px; padding: 5px 10px; border-radius: 3px; transform: rotate(-3deg); }
.lf-card-body { padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.lf-card-title { font-family: 'DM Serif Display', serif; font-size: 23px; line-height: 1.1; }
.lf-card-excerpt { margin: 0; font-size: 14px; line-height: 1.5; font-weight: 500; color: #4a473f; }
.lf-card-link { margin-top: auto; font-weight: 800; font-size: 13px; color: var(--accent); }
.lf-card-cover-solid { height: 150px; border-bottom: 2.5px solid #16140f; display: flex; align-items: center; justify-content: center; }
.lf-card-question { width: 78px; height: 60px; border-radius: 5px; background: #faf3d9; border: 2.5px solid #16140f; box-shadow: 4px 4px 0 #16140f; display: flex; align-items: center; justify-content: center; font-family: 'Alfa Slab One', serif; font-size: 34px; color: #16140f; }
.lf-card-row { flex-direction: row; align-items: center; gap: 18px; padding: 16px 22px; box-shadow: 5px 5px 0 #16140f; }
.lf-card-row-box { width: 64px; height: 64px; flex: none; border-radius: 5px; border: 2.5px solid #16140f; box-shadow: 2px 2px 0 #16140f; display: flex; align-items: center; justify-content: center; font-family: 'DM Serif Display', serif; font-size: 26px; color: #16140f; }
.lf-card-row-body { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.lf-card-row-title { font-family: 'DM Serif Display', serif; font-size: 19px; line-height: 1.15; }
.lf-card-row-excerpt { font-size: 13px; font-weight: 500; color: #4a473f; }
.lf-card-row-arrow { flex: none; font-family: 'DM Serif Display', serif; font-size: 24px; color: #16140f; }

/* Film accordion */
.lf-roll-list { display: flex; flex-direction: column; gap: 16px; }
.lf-roll { background: #faf3d9; border: 2.5px solid #16140f; box-shadow: 5px 5px 0 #16140f; border-radius: 5px; overflow: hidden; }
.lf-roll-toggle { all: unset; cursor: pointer; box-sizing: border-box; width: 100%; display: flex; align-items: center; gap: 16px; padding: 18px 22px; }
.lf-roll-box { width: 80px; height: 60px; flex: none; border-radius: 3px; border: 2.5px solid #16140f; box-shadow: 2px 2px 0 #16140f; }
.lf-roll-box-img { width: 80px; height: 60px; flex: none; border-radius: 3px; border: 2.5px solid #16140f; box-shadow: 2px 2px 0 #16140f; object-fit: cover; display: block; }
.lf-roll-meta { flex: 1; text-align: left; }
.lf-roll-name { display: block; font-weight: 800; font-size: 19px; color: #16140f; }
.lf-roll-iso { display: block; font-size: 12px; font-weight: 700; color: #8c8369; letter-spacing: .03em; }
.lf-roll-sign { font-family: 'DM Serif Display', serif; font-size: 24px; color: #16140f; line-height: 1; }
.lf-roll-panel { border-top: 2.5px solid #16140f; padding: 22px; display: none; }
.lf-roll.open .lf-roll-panel { display: block; }
.lf-roll-desc { margin: 0 0 20px; font-size: 16px; line-height: 1.55; font-weight: 500; color: #2c2a24; max-width: 50em; }
.lf-gal { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 14px; }
.lf-gal::-webkit-scrollbar { height: 10px; }
.lf-gal::-webkit-scrollbar-track { background: #e7ddc0; border-radius: 20px; }
.lf-gal::-webkit-scrollbar-thumb { background: #16140f; border-radius: 20px; }
.lf-shot { flex: none; width: 230px; background: #161616; padding: 12px 8px; border-radius: 4px; border: 2.5px solid #16140f; box-shadow: 4px 4px 0 #16140f; }
.lf-shot-frame { position: relative; height: 170px; margin: 8px 0; display: flex; align-items: center; justify-content: center; overflow: hidden; background: repeating-linear-gradient(45deg,#211e18,#211e18 10px,#262219 10px,#262219 20px); }
.lf-shot-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lf-shot-label { color: #6f6a5e; font-weight: 800; font-size: 11px; letter-spacing: .08em; }
.lf-shot-sprocket { height: 11px; background-image: radial-gradient(circle at 7px 5px, #faf3d9 1.8px, transparent 2.2px); background-size: 14px 11px; background-repeat: repeat-x; }

/* Footer */
.lf-footer { background: #16140f; color: #cfc7ad; }
.lf-footer-inner { max-width: 1180px; margin: 0 auto; padding: 50px 28px; display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.lf-footer-wordmark { font-family: 'Alfa Slab One', serif; font-size: 30px; line-height: .9; }
.lf-footer-wordmark .lf-w1 { color: #faf3d9; }
.lf-footer-wordmark .lf-w2 { color: #e8b6c1; }
.lf-footer-url { font-weight: 800; font-size: 13px; color: #f3c400; margin-top: 16px; }
.lf-footer-blurb { font-size: 14px; color: #8c8369; margin-top: 8px; max-width: 30em; }
.lf-footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.lf-footer-heading { font-weight: 800; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #6f6a5e; margin-bottom: 14px; }
.lf-footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 14px; font-weight: 600; }
.lf-footer-links a { color: #cfc7ad; text-decoration: none; }
.lf-footer-legal { border-top: 1px solid #2a2620; }
.lf-footer-legal-inner { max-width: 1180px; margin: 0 auto; padding: 16px 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 11px; font-weight: 600; color: #6f6a5e; }
.lf-footer-dev { color: #6f6a5e; text-decoration: none; font-size: 11px; font-weight: 600; }
.lf-footer-dev:hover { color: #f3c400; }

/* Lightbox */
.lf-lightbox { display: none; position: fixed; inset: 0; z-index: 200; background: rgba(22,20,15,.92); align-items: center; justify-content: center; padding: 20px; }
.lf-lightbox.open { display: flex; }
.lf-lightbox-inner { position: relative; max-width: 880px; width: 100%; }
.lf-lightbox-frame { background: #161616; border: 2.5px solid #16140f; box-shadow: 10px 10px 0 #16140f; border-radius: 4px; overflow: hidden; padding: 14px 10px; }
.lf-lightbox-sprocket { height: 14px; background-image: radial-gradient(circle at 9px 7px, #faf3d9 2.3px, transparent 2.8px); background-size: 18px 14px; background-repeat: repeat-x; }
.lf-lightbox-img { display: block; width: 100%; max-height: 70vh; object-fit: contain; margin: 10px 0; background: #111; }
.lf-lightbox-caption { color: #6f6a5e; font-weight: 800; font-size: 11px; letter-spacing: .08em; text-align: center; margin-top: 6px; }
.lf-lightbox-close { position: absolute; top: -14px; right: -14px; width: 36px; height: 36px; background: #faf3d9; border: 2.5px solid #16140f; box-shadow: 3px 3px 0 #16140f; border-radius: 50%; font-size: 18px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #16140f; font-weight: 800; }
.lf-lightbox-prev, .lf-lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); background: #faf3d9; border: 2.5px solid #16140f; box-shadow: 3px 3px 0 #16140f; border-radius: 3px; width: 40px; height: 48px; font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #16140f; font-weight: 800; }
.lf-lightbox-prev { left: -54px; }
.lf-lightbox-next { right: -54px; }
.lf-lightbox-prev:disabled, .lf-lightbox-next:disabled { opacity: .3; cursor: default; box-shadow: none; }
.lf-lightbox-counter { position: absolute; bottom: -28px; left: 50%; transform: translateX(-50%); font-size: 11px; font-weight: 800; letter-spacing: .08em; color: #8c8369; white-space: nowrap; }
.lf-shot-frame img { cursor: zoom-in; }
@media (max-width: 680px) {
  .lf-lightbox-prev { left: 4px; top: auto; bottom: -48px; transform: none; }
  .lf-lightbox-next { right: 4px; top: auto; bottom: -48px; transform: none; }
  .lf-lightbox-counter { bottom: -28px; }
  .lf-lightbox { padding-bottom: 72px; }
}

/* Ver más + breadcrumb */
.lf-ver-mas { text-align: center; margin-top: 40px; }
.lf-breadcrumb { max-width: 1180px; margin: 0 auto; padding: 22px 28px 0; font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 8px; color: #8c8369; }
.lf-breadcrumb a { color: #16140f; text-decoration: none; border-bottom: 2px solid #16140f; padding-bottom: 1px; }
.lf-breadcrumb-sep { color: #8c8369; }

/* Hamburger button — hidden on desktop */
.lf-hamburger { display: none; background: none; border: 2px solid #16140f; border-radius: 3px; box-shadow: 2px 2px 0 #16140f; padding: 7px 10px; cursor: pointer; flex-direction: column; gap: 5px; }
.lf-hamburger span { display: block; width: 20px; height: 2px; background: #16140f; border-radius: 1px; transition: transform .2s, opacity .2s; }
.lf-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lf-hamburger.open span:nth-child(2) { opacity: 0; }
.lf-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.lf-nav-drawer { display: none; flex-direction: column; gap: 4px; padding: 14px 20px 18px; border-top: 2px solid #16140f; background: #faf3d9; }
.lf-nav-drawer.open { display: flex; }
.lf-nav-drawer a { color: #16140f; text-decoration: none; font-size: 15px; font-weight: 700; padding: 10px 0; border-bottom: 1px solid rgba(22,20,15,.1); }
.lf-nav-drawer a:last-child { border-bottom: none; }
.lf-nav-drawer .lf-nav-cta { background: var(--accent); color: #fff; border: 2px solid #16140f; box-shadow: 3px 3px 0 #16140f; padding: 10px 16px; border-radius: 3px; margin-top: 8px; text-align: center; }

@media (max-width: 900px) {
  .lf-hero-grid, .lf-cards-grid { grid-template-columns: 1fr; }
  .lf-labs-grid { grid-template-columns: 1fr; }
  .lf-nav { display: none; }
  .lf-hamburger { display: flex; }
}

/* ── Laboratorios: sección, mapa y fichas ─────────────────────────────────── */

/* Mapa (Leaflet + OpenStreetMap) */
/* position+z-index crean un contexto de apilamiento propio: sin esto los panes
   de Leaflet (z-index 400-700, controles en 1000) se pintan sobre el header
   sticky, que vive en 50. */
.lf-map-wrap { position: relative; z-index: 0; border: 2.5px solid #16140f; box-shadow: 5px 5px 0 #16140f; border-radius: 4px; overflow: hidden; background: #faf3d9; margin-bottom: 32px; }
.lf-map-canvas { width: 100%; height: 420px; }
.lf-map-small .lf-map-canvas { height: 200px; }
.lf-map-small { box-shadow: 3px 3px 0 #16140f; margin: 12px 0; }
.lf-map-pin span { display: block; width: 22px; height: 22px; border-radius: 50%; background: var(--accent, var(--lf-accent)); border: 2.5px solid #16140f; box-shadow: 2px 2px 0 rgba(22,20,15,.5); }
.leaflet-popup-content-wrapper { border: 2.5px solid #16140f; box-shadow: 3px 3px 0 #16140f; border-radius: 4px; background: #faf3d9; }
.leaflet-popup-content { font-family: var(--sans); font-size: 13.5px; font-weight: 600; margin: 12px 14px; line-height: 1.5; }
.leaflet-popup-content a { color: #16140f; font-weight: 800; text-decoration: none; border-bottom: 2px solid #16140f; }
.leaflet-popup-tip { border: 2px solid #16140f; background: #faf3d9; }
.lf-map-popup-where { color: #8c8369; font-weight: 600; }

/* Grilla de fichas */
.lf-labcards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lf-labcard { display: flex; flex-direction: column; gap: 12px; background: #faf3d9; border: 2.5px solid #16140f; box-shadow: 5px 5px 0 #16140f; border-radius: 4px; padding: 18px 20px; text-decoration: none; color: #16140f; transition: transform .12s, box-shadow .12s; }
.lf-labcard:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 #16140f; }
.lf-labcard-head { display: flex; align-items: center; gap: 13px; }
.lf-labcard-logo { width: 48px; height: 48px; flex: none; border-radius: 50%; overflow: hidden; border: 2.5px solid #16140f; background: #fff; display: block; }
.lf-labcard-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lf-labcard-name { display: block; font-weight: 800; font-size: 17px; line-height: 1.2; }
.lf-labcard-sub { display: block; font-size: 12.5px; font-weight: 600; color: #8c8369; margin-top: 3px; }
.lf-labcard-where { font-size: 12.5px; font-weight: 700; color: #8c8369; }
.lf-labcard-types { display: block; }
.lf-labcard-services { display: flex; flex-direction: column; gap: 5px; border-top: 2px dashed rgba(22,20,15,.18); padding-top: 11px; }
.lf-labcard-service { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 600; }
.lf-labcard-service-price { font-weight: 800; white-space: nowrap; }
.lf-labcard-more { font-size: 12px; font-weight: 700; color: #8c8369; }
.lf-labcard-cta { margin-top: auto; font-size: 13px; font-weight: 800; color: var(--accent, var(--lf-accent)); }

/* Ficha individual */
.lf-lab-hero { display: flex; align-items: center; gap: 22px; margin-bottom: 26px; flex-wrap: wrap; }
.lf-lab-hero-logo { width: 96px; height: 96px; flex: none; border-radius: 50%; overflow: hidden; border: 3px solid #16140f; box-shadow: 4px 4px 0 #16140f; background: #fff; display: block; }
.lf-lab-hero-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lf-lab-hero-name { font-family: 'Alfa Slab One', serif; font-size: 40px; line-height: 1.05; margin: 0; }
.lf-lab-hero-sub { font-size: 15.5px; font-weight: 600; color: #8c8369; margin: 7px 0 0; }
.lf-lab-hero-where { font-size: 14px; font-weight: 700; margin: 7px 0 0; }
.lf-lab-hero-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.lf-lab-desc { max-width: 720px; margin-bottom: 34px; }
.lf-lab-desc p { font-size: 15.5px; line-height: 1.65; margin-bottom: 12px; }
.lf-lab-detail-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 26px; align-items: start; }
.lf-lab-block-title { font-family: 'Alfa Slab One', serif; font-size: 19px; margin: 0 0 14px; }
.lf-lab-services, .lf-lab-block { background: #faf3d9; border: 2.5px solid #16140f; box-shadow: 5px 5px 0 #16140f; border-radius: 4px; padding: 22px 24px; }
.lf-lab-aside { display: flex; flex-direction: column; gap: 22px; }
.lf-lab-block-line { font-size: 14px; font-weight: 600; margin: 0 0 5px; }
.lf-lab-block-link { display: inline-block; font-size: 14px; font-weight: 800; color: #16140f; text-decoration: none; border-bottom: 2px solid #16140f; margin-top: 6px; }
.lf-lab-empty { font-size: 14px; font-weight: 600; color: #8c8369; }

/* Tabla de servicios */
.lf-services-table { width: 100%; border-collapse: collapse; }
.lf-services-table tr { border-bottom: 2px dashed rgba(22,20,15,.18); }
.lf-services-table tr:last-child { border-bottom: none; }
.lf-services-table td { padding: 11px 0; vertical-align: top; }
.lf-service-name { font-size: 14.5px; font-weight: 700; }
.lf-service-note { display: block; font-size: 12.5px; font-weight: 600; color: #8c8369; margin-top: 3px; }
.lf-service-price { text-align: right; font-size: 15px; font-weight: 800; white-space: nowrap; padding-left: 16px; }
.lf-service-noprice { color: #8c8369; font-weight: 700; font-size: 13.5px; }
.lf-services-disclaimer { font-size: 12.5px; font-weight: 600; color: #8c8369; margin-top: 16px; }

/* Admin: fieldsets del editor de labs */
.admin-fieldset-title { font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--lf-olive); margin: 28px 0 14px; padding-top: 18px; border-top: 2px dashed rgba(22,20,15,.18); }
.admin-field-hint { font-size: 12.5px; color: var(--lf-olive); margin: -6px 0 16px; line-height: 1.5; }
.reorder-price { font-size: 13.5px; font-weight: 800; white-space: nowrap; }

@media (max-width: 1000px) {
  .lf-labcards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .lf-labcards-grid { grid-template-columns: 1fr; }
  .lf-lab-detail-grid { grid-template-columns: 1fr; }
  .lf-map-canvas { height: 320px; }
  .lf-lab-hero-name { font-size: 30px; }
}

/* Admin: geocodificación de labs */
.admin-flash { border: 2px solid var(--lf-ink); border-radius: 3px; padding: 11px 14px; font-size: 13.5px; font-weight: 700; margin-bottom: 16px; }
.admin-flash.ok { background: #dff0d8; }
.admin-flash.warn { background: #fdf0c8; }
.admin-geo-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.admin-geo-status { font-size: 13px; font-weight: 700; color: var(--lf-olive); }
.admin-details { margin-bottom: 18px; }
.admin-details summary { font-size: 12.5px; font-weight: 800; color: var(--lf-olive); cursor: pointer; padding: 6px 0; }
.admin-details[open] summary { margin-bottom: 8px; }
.lf-map-empty { border-top: 2px solid #16140f; background: #faf3d9; margin: 0; padding: 11px 16px; font-size: 13px; font-weight: 700; color: #8c8369; }

/* Ficha de lab: bloque de contacto etiquetado */
.lf-contact-list { margin: 0; }
.lf-contact-item { display: flex; gap: 10px; align-items: baseline; padding: 7px 0; border-bottom: 2px dashed rgba(22,20,15,.18); }
.lf-contact-item:last-child { border-bottom: none; }
.lf-contact-item dt { flex: none; width: 84px; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #8c8369; }
.lf-contact-item dd { margin: 0; font-size: 14px; font-weight: 700; min-width: 0; overflow-wrap: anywhere; }
.lf-contact-item dd a { color: #16140f; text-decoration: none; border-bottom: 2px solid #16140f; }

/* Ficha técnica del lab: precio destacado, filas y chips */
.lf-lab-specs { display: flex; gap: 26px; align-items: flex-start; flex-wrap: wrap; background: #faf3d9; border: 2.5px solid #16140f; box-shadow: 5px 5px 0 #16140f; border-radius: 4px; padding: 22px 24px; margin-bottom: 26px; }
.lf-spec-price { flex: none; border-right: 2px dashed rgba(22,20,15,.18); padding-right: 24px; }
.lf-spec-price-num { display: block; font-family: 'Alfa Slab One', serif; font-size: 32px; line-height: 1.05; color: var(--accent, var(--lf-accent)); }
.lf-spec-price-label { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #8c8369; margin-top: 5px; max-width: 150px; }
.lf-spec-rows { flex: 1; min-width: 240px; display: flex; flex-direction: column; gap: 10px; }
.lf-spec-row { display: flex; gap: 12px; align-items: baseline; }
.lf-spec-label { flex: none; width: 84px; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #8c8369; }
.lf-spec-value { font-size: 14px; font-weight: 700; }
.lf-chips { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.lf-chip { display: inline-block; font-size: 12px; font-weight: 800; padding: 3px 9px; border: 2px solid #16140f; border-radius: 40px; background: #fff; }
.lf-chip-proceso { background: var(--lf-yellow); }
.lf-chip-formato { background: #fff; }
.lf-chip-extra { background: #eee3c2; }
.lf-chip-tipo { background: var(--accent); color: #fff; }

/* Puntos de entrega en la ficha */
.lf-locations-list { list-style: none; margin: 0; padding: 0; }
.lf-location { padding: 9px 0; border-bottom: 2px dashed rgba(22,20,15,.18); }
.lf-location:last-child { border-bottom: none; }
.lf-location-name { display: block; font-size: 14px; font-weight: 800; }
.lf-location-address { display: block; font-size: 12.5px; font-weight: 600; color: #8c8369; margin-top: 2px; }

/* Pin secundario (punto de entrega) */
.lf-map-pin-spot span { width: 16px; height: 16px; background: #faf3d9; border-width: 2.5px; }
.lf-map-popup-kind { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #8c8369; }

/* Tarjeta de lab: specs resumidas */
.lf-labcard-specs { display: flex; flex-direction: column; gap: 8px; border-top: 2px dashed rgba(22,20,15,.18); padding-top: 11px; }
.lf-labcard-headline { font-family: 'Alfa Slab One', serif; font-size: 21px; line-height: 1.1; color: var(--accent, var(--lf-accent)); }
.lf-labcard-headline-label { display: block; font-family: var(--sans); font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #8c8369; margin-top: 2px; }
.lf-labcard-turnaround { font-size: 12.5px; font-weight: 700; color: #8c8369; }

/* Admin: grillas de checkboxes curados */
.checkbox-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.checkbox-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border: 2px solid var(--lf-ink); border-radius: 40px; background: var(--lf-cream); font-size: 13px; font-weight: 700; cursor: pointer; text-transform: none; letter-spacing: 0; color: var(--lf-ink); }
.checkbox-chip:has(input:checked) { background: var(--lf-yellow); box-shadow: 3px 3px 0 var(--lf-ink); }
.checkbox-chip input { width: auto; margin: 0; }

/* Barra de filtros de /laboratorios */
.lf-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px 22px; background: #faf3d9; border: 2.5px solid #16140f; box-shadow: 5px 5px 0 #16140f; border-radius: 4px; padding: 16px 20px; margin-bottom: 26px; }
.lf-filter-group { display: flex; flex-direction: column; gap: 7px; }
.lf-filter-label { font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: #8c8369; }
.lf-filter-select { font-family: var(--sans); font-size: 13.5px; font-weight: 700; color: #16140f; background: #fff; border: 2px solid #16140f; border-radius: 3px; padding: 8px 11px; cursor: pointer; outline: none; }
.lf-filter-select:focus { box-shadow: 3px 3px 0 var(--accent, var(--lf-accent)); }
.lf-filter-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lf-filter-chip { font-family: var(--sans); font-size: 12.5px; font-weight: 800; color: #16140f; background: #fff; border: 2px solid #16140f; border-radius: 40px; padding: 6px 13px; cursor: pointer; transition: background .12s, box-shadow .12s, transform .12s; }
.lf-filter-chip:hover { background: #eee3c2; }
.lf-filter-chip.on { background: var(--lf-yellow); box-shadow: 3px 3px 0 #16140f; }
.lf-filter-meta { margin-left: auto; display: flex; align-items: center; gap: 14px; }
#lf-filter-count { font-size: 12.5px; font-weight: 800; color: #8c8369; }
.lf-filter-clear { font-family: var(--sans); font-size: 12.5px; font-weight: 800; color: #16140f; background: none; border: none; border-bottom: 2px solid #16140f; padding: 0 0 2px; cursor: pointer; }
.lf-labs-noresults { display: none; text-align: center; padding: 40px 20px; font-size: 15px; font-weight: 700; color: #faf3d9; }

@media (max-width: 700px) {
  .lf-filters { gap: 14px; }
  .lf-filter-meta { margin-left: 0; width: 100%; justify-content: space-between; }
}

/* News popup */
.lf-news { display: none; position: fixed; inset: 0; z-index: 300; background: rgba(22,20,15,.78); align-items: center; justify-content: center; padding: 24px; overflow-y: auto; }
.lf-news.open { display: flex; animation: lf-news-fade .18s ease-out; }
.lf-news-card { position: relative; width: 100%; max-width: 460px; margin: auto; background: #faf3d9; border: 2.5px solid #16140f; box-shadow: 10px 10px 0 var(--news-accent,#e0571e); border-radius: 5px; padding: 12px 0; animation: lf-news-pop .22s cubic-bezier(.2,.9,.3,1.2); }
.lf-news-sprocket { height: 14px; background-image: radial-gradient(circle at 9px 7px, #eee3c2 2.3px, transparent 2.8px); background-size: 18px 14px; background-repeat: repeat-x; }
.lf-news-image { margin: 10px 0; border-top: 2.5px solid #16140f; border-bottom: 2.5px solid #16140f; background: #eee3c2; }
.lf-news-image img { display: block; width: 100%; height: auto; max-height: 46vh; object-fit: contain; }
.lf-news-body { padding: 14px 28px 20px; display: flex; flex-direction: column; gap: 12px; }
.lf-news-eyebrow { align-self: flex-start; background: var(--news-accent,#e0571e); color: #faf3d9; border: 2px solid #16140f; box-shadow: 2px 2px 0 #16140f; border-radius: 3px; padding: 5px 11px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; transform: rotate(-2deg); }
.lf-news-title { margin: 0; font-family: 'DM Serif Display', serif; font-weight: 400; font-size: 30px; line-height: 1.1; color: #16140f; }
.lf-news-title em { font-style: italic; color: var(--accent); }
.lf-news-text { margin: 0; font-size: 14.5px; line-height: 1.55; font-weight: 500; color: #4a473f; white-space: pre-line; }
.lf-news-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.lf-news-dismiss { background: none; border: none; padding: 0; font-family: inherit; font-size: 13px; font-weight: 800; color: #8c8369; cursor: pointer; border-bottom: 2px solid #8c8369; }
.lf-news-dismiss:hover { color: #16140f; border-color: #16140f; }
.lf-news-close { position: absolute; top: -14px; right: -14px; width: 36px; height: 36px; background: #faf3d9; border: 2.5px solid #16140f; box-shadow: 3px 3px 0 #16140f; border-radius: 50%; font-size: 18px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #16140f; font-weight: 800; }
@keyframes lf-news-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lf-news-pop { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .lf-news.open, .lf-news-card { animation: none; }
}
@media (max-width: 680px) {
  .lf-news { padding: 20px 16px; }
  .lf-news-card { box-shadow: 6px 6px 0 var(--news-accent,#e0571e); }
  .lf-news-close { top: -12px; right: -6px; }
  .lf-news-title { font-size: 25px; }
  .lf-news-body { padding: 12px 20px 18px; }
}
