:root {
  --cream: #fff7ef;
  --cream-2: #fffaf4;
  --rose: #f4b6a6;
  --rose-dark: #d98d7b;
  --brown: #5b2f26;
  --cocoa: #7a3e2f;
  --gold: #d7a441;
  --green: #25d366;
  --ink: #2d2725;
  --muted: #7b6c66;
  --line: #f0ded5;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(91, 47, 38, .12);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, var(--cream) 0%, #fff 36%, var(--cream-2) 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(255, 247, 239, .86);
  border-bottom: 1px solid rgba(240, 222, 213, .8);
}
.navbar {
  max-width: var(--max);
  margin: auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { width: 168px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 22px; color: var(--brown); font-weight: 650; }
.nav-links a { opacity: .92; }
.nav-links a:hover { color: var(--rose-dark); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.cart-link { position: relative; }
.cart-badge {
  display: inline-flex;
  min-width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--brown);
  color: white;
  font-size: 12px;
  margin-left: 4px;
}

.container { max-width: var(--max); margin: auto; padding: 0 22px; }
.hero {
  max-width: var(--max);
  margin: auto;
  padding: 72px 22px 44px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  align-items: center;
  gap: 38px;
}
.hero h1, .page-hero h1, .detail-info h1 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--brown);
  line-height: 1.02;
  letter-spacing: -.04em;
}
.hero h1 { font-size: clamp(42px, 6vw, 76px); margin: 10px 0 18px; }
.lead { font-size: 18px; line-height: 1.75; color: var(--muted); margin: 0 0 24px; }
.hero-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 36px;
  padding: 18px;
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}
.hero-card img { border-radius: 28px; width: 100%; }
.hero-card-info { padding: 18px 10px 4px; }
.hero-card-info h3 { margin: 0 0 6px; color: var(--brown); }
.hero-search {
  display: flex;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px;
  box-shadow: 0 14px 35px rgba(91, 47, 38, .08);
  max-width: 560px;
}
.hero-search input { flex: 1; border: 0; outline: 0; padding: 0 18px; background: transparent; min-width: 0; }

.eyebrow {
  margin: 0 0 8px;
  color: var(--rose-dark);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
}
.section-block { padding: 54px 0; }
.section-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.section-title-row h2, .admin-card h2, .cart-summary h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--brown);
  font-size: clamp(28px, 3vw, 42px);
  margin: 0;
}
.link-more { color: var(--cocoa); font-weight: 800; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brown); color: #fff; box-shadow: 0 12px 25px rgba(91, 47, 38, .18); }
.btn-light { background: #fff; color: var(--brown); border: 1px solid var(--line); }
.btn-whatsapp { background: var(--green); color: #fff; }
.btn-outline { background: transparent; color: var(--brown); border: 1px solid var(--line); }
.btn-lg { padding: 15px 22px; }
.btn-full { width: 100%; }
.btn-small { padding: 8px 12px; font-size: 13px; }

.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.category-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 14px 32px rgba(91, 47, 38, .08);
}
.category-card span { font-size: 34px; }
.category-card h3 { color: var(--brown); margin: 14px 0 8px; }
.category-card p { color: var(--muted); margin: 0; line-height: 1.55; }

.filters {
  position: sticky;
  top: 89px;
  z-index: 10;
  background: rgba(255, 250, 244, .92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  display: grid;
  grid-template-columns: 1.7fr repeat(4, 1fr);
  gap: 10px;
  box-shadow: 0 14px 35px rgba(91, 47, 38, .08);
  margin-bottom: 24px;
}
.input, .select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  padding: 12px 14px;
  outline: none;
}
.input:focus, .select:focus, textarea:focus { border-color: var(--rose-dark); }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.small-grid { grid-template-columns: repeat(4, 1fr); }
.product-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(91, 47, 38, .09);
  display: flex;
  flex-direction: column;
}
.product-image-wrap {
  background: #fff8f4;
  display: block;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
  border-radius: 18px;
}
.product-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-badges { min-height: 28px; display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 850;
}
.badge-promo { background: #fff0d2; color: #8b5d08; }
.badge-best { background: #ffe4df; color: var(--cocoa); }
.product-card h3 {
  color: var(--brown);
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 850;
  letter-spacing: -0.01em;
}

.product-card h3 a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-desc {
  color: var(--muted);
  line-height: 1.42;
  margin: 0 0 14px;
  font-size: 13px;
  flex: 1;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.availability { border-radius: 999px; padding: 7px 10px; font-weight: 850; font-size: 13px; }
.status-ok { background: #e8f8ef; color: #18733f; }
.status-out { background: #fbe8e4; color: #9b2f20; }
.price { color: var(--brown); font-weight: 900; }
.locked-price { color: var(--muted); font-size: 13px; font-weight: 750; }
.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 4px;
}

.product-actions .btn {
  min-height: 38px;
  padding: 9px 12px;
  font-size: 13px;
}
.product-actions .btn-whatsapp { grid-column: 1 / -1; }

.page-hero { padding: 50px 0 24px; }
.page-hero h1 { font-size: clamp(38px, 5vw, 60px); margin: 0 0 12px; }
.result-count { color: var(--muted); font-weight: 750; }
.empty-state {
  grid-column: 1 / -1;
  background: white;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 34px;
  text-align: center;
  color: var(--muted);
}

.detail-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: 36px; padding: 52px 0; }
.detail-gallery, .detail-info, .cart-summary, .admin-card, .auth-card, .cart-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 18px 42px rgba(91, 47, 38, .08);
}
.detail-gallery { padding: 18px; }
.detail-image { border-radius: 24px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.thumb-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.thumb-row img { border-radius: 16px; border: 1px solid var(--line); }
.detail-info { padding: 32px; }
.detail-info h1 { font-size: clamp(36px, 5vw, 58px); margin: 0 0 16px; }
.detail-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.detail-pills span { background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 9px 12px; font-weight: 750; }
.detail-price { color: var(--brown); font-size: 28px; font-weight: 900; margin: 20px 0; }
.qty-box { display: grid; gap: 8px; max-width: 160px; margin: 18px 0; }
.qty-box input { border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0; }
.notice-box { background: var(--cream); border: 1px solid var(--line); border-radius: 18px; padding: 16px; color: var(--muted); line-height: 1.55; }

.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.cart-list { display: grid; gap: 14px; }
.cart-item { display: grid; grid-template-columns: 92px 1fr 92px 120px auto; gap: 16px; align-items: center; padding: 14px; }
.cart-item img { border-radius: 18px; background: var(--cream); }
.cart-item h3 { margin: 0 0 6px; color: var(--brown); }
.cart-item p { margin: 0; color: var(--muted); }
.cart-item input { border: 1px solid var(--line); border-radius: 12px; padding: 10px; width: 90px; }
.cart-summary { padding: 22px; position: sticky; top: 112px; }
.summary-total { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 18px 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; line-height: 1.5; }


.contenedor {
    width: min(920px, calc(100% - 44px));
    margin: 56px auto;
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.contenedor h1 {
    margin: 0 0 12px;
    color: var(--brown);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 4vw, 48px);
}

.contenedor p {
    color: var(--muted);
    line-height: 1.6;
}
.auth-wrap { min-height: 72vh; display: grid; place-items: center; padding: 42px 22px; }
.auth-card { width: min(520px, 100%); padding: 30px; }
.auth-card h1 { margin: 0 0 10px; color: var(--brown); font-family: Georgia, serif; font-size: 38px; }
.form-grid { display: grid; gap: 14px; margin-top: 20px; }
.check-row { display: flex; align-items: center; gap: 10px; color: var(--muted); }

.admin-shell { display: grid; grid-template-columns: 280px 1fr; min-height: 100vh; background: #fffaf4; }
.admin-sidebar { background: var(--brown); color: white; padding: 24px; }
.admin-sidebar img { width: 180px; margin-bottom: 28px; }
.admin-sidebar a { display: block; padding: 12px 14px; border-radius: 14px; margin-bottom: 6px; opacity: .9; }
.admin-sidebar a:hover, .admin-sidebar a.active { background: rgba(255,255,255,.13); opacity: 1; }
.admin-main { padding: 30px; }
.admin-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.admin-top h1 { color: var(--brown); font-family: Georgia, serif; margin: 0; font-size: 42px; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.kpi { background: white; border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: 0 14px 35px rgba(91, 47, 38, .07); }
.kpi span { color: var(--muted); }
.kpi strong { display: block; color: var(--brown); font-size: 34px; margin-top: 8px; }
.admin-card { padding: 22px; overflow: hidden; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.admin-table th { color: var(--brown); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.admin-table td span { color: var(--muted); font-size: 13px; }
.table-img { width: 54px; height: 54px; border-radius: 14px; object-fit: cover; }
.mini-pill { display: inline-flex; border-radius: 999px; padding: 6px 9px; background: var(--cream); color: var(--brown) !important; font-weight: 800; }
.status-dot { display: inline-flex; border-radius: 999px; padding: 7px 10px; background: #fff0d2; color: #8b5d08; font-weight: 850; }
.status-new { background: #e8f8ef; color: #18733f; }

.cta-band {
  margin: 40px 0 72px;
  border-radius: 34px;
  background: linear-gradient(135deg, var(--brown), #8a4a3a);
  color: white;
  padding: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.cta-band h2 { font-family: Georgia, serif; font-size: 36px; margin: 0 0 8px; }
.cta-band p { margin: 0; color: rgba(255,255,255,.82); }
.site-footer { background: var(--brown); color: rgba(255,255,255,.84); padding: 36px 0; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 26px; }
.footer-grid h3, .footer-grid h4 { color: white; margin-top: 0; }
.footer-grid a, .footer-grid p { color: rgba(255,255,255,.78); line-height: 1.8; display: block; }

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: var(--brown);
  color: white;
  padding: 14px 18px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all .2s ease;
  z-index: 100;
}
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .hero, .detail-layout, .cart-layout, .admin-shell { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .filters { grid-template-columns: 1fr 1fr; top: 78px; }
  .product-grid, .small-grid, .category-grid, .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .cart-item { grid-template-columns: 76px 1fr; }
  .cart-item input, .cart-item strong, .cart-item button { grid-column: 2; }
  .admin-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .hero { padding-top: 38px; }
  .hero-search { border-radius: 24px; flex-direction: column; }
  .hero-search input { padding: 13px; }
  .product-grid, .small-grid, .category-grid, .filters, .kpi-grid, .footer-grid { grid-template-columns: 1fr; }
  .product-actions { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: start; }
  .admin-main { padding: 20px; }
}

/* Admin editor de producto */
.hidden { display: none !important; }
.admin-top-stack { align-items: flex-start; gap: 18px; }
.admin-actions-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.editor-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.editor-main { display: grid; gap: 20px; min-width: 0; }
.editor-side { min-width: 0; }
.sticky-card { position: sticky; top: 24px; }
.section-title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin-bottom: 18px; }
.section-title-row h2, .admin-card h2 { color: var(--brown); font-family: Georgia, serif; font-size: 28px; margin: 0 0 6px; }
.system-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.system-grid div { background: var(--cream); border: 1px solid var(--line); border-radius: 18px; padding: 14px; }
.system-grid span { display: block; color: var(--muted); font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.system-grid strong { color: var(--brown); display: block; font-size: 15px; word-break: break-word; }
.form-grid.two-cols { grid-template-columns: 1fr 1fr; }
.form-grid.compact { gap: 12px; margin: 18px 0; }
.full-col { grid-column: 1 / -1; }
.form-grid label { display: grid; gap: 8px; color: var(--brown); font-weight: 850; }
.form-grid input, .form-grid textarea, .form-grid select, .related-tools input, .related-tools select {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 13px;
  font: inherit;
  color: var(--brown);
  background: white;
}
.form-grid textarea { resize: vertical; }
.switch-list { display: grid; gap: 12px; margin-top: 14px; }
.switch-list label { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 800; }
.switch-list input { width: 18px; height: 18px; accent-color: var(--brown); }
.btn-block { width: 100%; justify-content: center; margin-top: 14px; }
.image-manager { display: grid; gap: 16px; }
.image-dropbox {
  border: 1px dashed #d6b8a9;
  background: #fffaf4;
  border-radius: 24px;
  padding: 18px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
}
.image-dropbox input { max-width: 230px; }
.image-dropbox strong { display: block; color: var(--brown); }
.image-dropbox span { color: var(--muted); font-size: 13px; }
.gallery-admin { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gallery-admin-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 10px;
  display: grid;
  grid-template-columns: 68px 1fr auto;
  gap: 10px;
  align-items: center;
  background: white;
}
.gallery-admin-item.principal { border-color: #c58a6c; background: #fff7ef; }
.gallery-admin-item img { width: 68px; height: 68px; border-radius: 14px; object-fit: cover; background: var(--cream); }
.gallery-admin-item strong { color: var(--brown); display: block; }
.gallery-admin-item span { color: var(--muted); font-size: 12px; word-break: break-all; }
.related-tools { display: grid; grid-template-columns: 1fr 220px; gap: 12px; margin-bottom: 16px; }
.related-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.related-layout h3 { color: var(--brown); margin: 0 0 10px; }
.related-list { display: grid; gap: 10px; max-height: 420px; overflow: auto; padding-right: 4px; }
.related-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 10px;
  display: grid;
  grid-template-columns: auto 56px 1fr;
  gap: 10px;
  align-items: center;
  background: white;
}
.related-list.selected .related-item { grid-template-columns: 56px 1fr auto; }
.related-item.checked { background: #fff7ef; border-color: #d6b8a9; }
.related-item img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; background: var(--cream); }
.related-item strong { display: block; color: var(--brown); }
.related-item small { display: block; color: var(--muted); margin-top: 3px; }
.preview-card-admin { margin: 18px 0; border: 1px solid var(--line); border-radius: 22px; padding: 14px; background: #fffaf4; display: grid; gap: 10px; }
.preview-card-admin img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; background: white; }
.preview-card-admin strong { color: var(--brown); font-size: 18px; }
.preview-card-admin span { color: var(--muted); }
.preview-card-admin p { margin: 0; color: var(--muted); line-height: 1.45; }
.preview-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }

@media (max-width: 1180px) {
  .editor-layout { grid-template-columns: 1fr; }
  .sticky-card { position: static; }
  .system-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .admin-actions-row { justify-content: flex-start; }
  .form-grid.two-cols, .related-tools, .related-layout, .gallery-admin, .system-grid { grid-template-columns: 1fr; }
  .gallery-admin-item { grid-template-columns: 64px 1fr; }
  .gallery-admin-item button { grid-column: 1 / -1; }
}
.formulario,
.formulario-grid {
    display: grid;
    gap: 16px;
}

.formulario-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.formulario label,
.formulario-grid label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.formulario input,
.formulario-grid input,
.formulario-grid select {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
}

.panel {
    margin-top: 24px;
    padding: 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.tabla-admin {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}

.tabla-admin th,
.tabla-admin td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.tabla-admin th {
    background: #faf7f5;
    font-weight: 700;
}

.alerta-ok {
    padding: 12px 16px;
    background: #e8f8ee;
    color: #176b35;
    border-radius: 10px;
    margin: 16px 0;
}

.alerta-error {
    padding: 12px 16px;
    background: #fdecec;
    color: #9b1c1c;
    border-radius: 10px;
    margin: 16px 0;
}

.admin-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.admin-menu a,
.boton,
.boton-secundario {
    display: inline-block;
    padding: 11px 16px;
    border-radius: 10px;
    text-decoration: none;
}

.boton {
    background: #111827;
    color: #fff;
    border: none;
    cursor: pointer;
}

.boton-secundario,
.admin-menu a {
    background: #f2ebe7;
    color: #111827;
}

/* ===============================
   Módulo de usuarios / login admin
   =============================== */

.barra-superior {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 24px;
}

.barra-superior h1 {
    margin: 0 0 6px;
    color: var(--brown);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 4vw, 44px);
}

.barra-superior p {
    margin: 0;
    color: var(--muted);
}

.panel {
    margin-top: 24px;
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 16px 38px rgba(91, 47, 38, .08);
}

.panel h2 {
    margin-top: 0;
    color: var(--brown);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
}

.formulario,
.formulario-grid {
    display: grid;
    gap: 16px;
}

.formulario-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.formulario label,
.formulario-grid label {
    display: block;
    margin-bottom: 6px;
    font-weight: 800;
    color: var(--brown);
}

.formulario input,
.formulario select,
.formulario textarea,
.formulario-grid input,
.formulario-grid select,
.formulario-grid textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    color: var(--ink);
    outline: none;
}

.formulario input:focus,
.formulario select:focus,
.formulario textarea:focus,
.formulario-grid input:focus,
.formulario-grid select:focus,
.formulario-grid textarea:focus {
    border-color: var(--rose-dark);
    box-shadow: 0 0 0 4px rgba(244, 182, 166, .22);
}

.tabla-admin {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
}

.tabla-admin th,
.tabla-admin td {
    padding: 13px 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: middle;
}

.tabla-admin th {
    background: var(--cream);
    color: var(--brown);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-weight: 850;
}

.tabla-admin td {
    color: var(--ink);
}

.alerta-ok {
    padding: 13px 16px;
    background: #e8f8ee;
    color: #176b35;
    border: 1px solid #c9ead5;
    border-radius: 14px;
    margin: 16px 0;
    font-weight: 750;
}

.alerta-error {
    padding: 13px 16px;
    background: #fdecec;
    color: #9b1c1c;
    border: 1px solid #f3caca;
    border-radius: 14px;
    margin: 16px 0;
    font-weight: 750;
}

.admin-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.admin-menu a,
.boton,
.boton-secundario {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 850;
    border: 0;
    cursor: pointer;
}

.boton {
    background: var(--brown);
    color: #fff;
    box-shadow: 0 12px 25px rgba(91, 47, 38, .18);
}

.boton:hover {
    background: var(--cocoa);
}

.boton-secundario,
.admin-menu a {
    background: var(--cream);
    color: var(--brown);
    border: 1px solid var(--line);
}

.boton-secundario:hover,
.admin-menu a:hover {
    background: #fff;
    border-color: var(--rose-dark);
}

.auth-card .boton {
    width: 100%;
    margin-top: 8px;
}

@media (max-width: 760px) {
    .barra-superior {
        flex-direction: column;
    }

    .tabla-admin {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}
/* Admin visual alignment 20260703 */
.admin-shell {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(244, 166, 180, 0.24), transparent 34%),
        linear-gradient(135deg, #fff7f4 0%, #ffffff 50%, #f8edf0 100%);
    color: #33272b;
    font-family: Arial, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.admin-sidebar {
    background: rgba(255, 255, 255, 0.82);
    color: #4f3d43;
    border-right: 1px solid rgba(120, 70, 85, 0.12);
    box-shadow: 18px 0 50px rgba(74, 45, 54, 0.08);
    backdrop-filter: blur(12px);
}

.admin-sidebar img {
    background: transparent;
    border-radius: 0;
}

.admin-sidebar a {
    color: #6f4c55;
    font-weight: 700;
    border: 1px solid transparent;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
    color: #7b4b5a;
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(123, 75, 90, 0.12);
    box-shadow: 0 10px 28px rgba(74, 45, 54, 0.08);
}

.admin-main {
    padding: 42px 48px;
}

.admin-top h1 {
    color: #33272b;
    font-family: Arial, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(2.4rem, 4.8vw, 4.4rem);
    line-height: 1;
    letter-spacing: -1px;
}

.admin-top .muted,
.admin-card .muted,
.admin-table td span,
.kpi span {
    color: #7c6970;
}

.eyebrow {
    color: #9b5264;
}

.kpi,
.admin-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(120, 70, 85, 0.12);
    border-radius: 28px;
    box-shadow: 0 25px 70px rgba(74, 45, 54, 0.11);
}

.kpi strong,
.admin-table th,
.section-title-row h2,
.admin-card h2 {
    color: #33272b;
    font-family: Arial, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, #9b5264, #d8899b);
    color: #fff;
    box-shadow: 0 14px 30px rgba(155, 82, 100, 0.25);
}

.btn-light {
    background: rgba(255, 255, 255, 0.9);
    color: #7b4b5a;
    border: 1px solid rgba(123, 75, 90, 0.14);
}

.admin-table th,
.admin-table td {
    border-bottom-color: rgba(120, 70, 85, 0.12);
}

.status-new {
    background: #eaf7ee;
    color: #287044;
}

.status-dot {
    background: #fff0d8;
    color: #8b5d08;
}

@media (max-width: 980px) {
    .admin-main {
        padding: 28px 22px;
    }

    .admin-sidebar {
        border-right: 0;
        border-bottom: 1px solid rgba(120, 70, 85, 0.12);
    }
}

/* ===============================
   Imágenes uniformes de productos
   Recomendado: subir imágenes 1000 x 1000 px
   =============================== */

/* Catálogo público */
.product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #ffffff;
    padding: 18px;
}

/* Contenedor de imagen en tarjetas */
.product-image-wrap {
  background: #fff8f4;
  display: block;
  padding: 14px;
}

.product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
  border-radius: 18px;
}

/* Detalle público del producto */
.detail-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #ffffff;
    padding: 18px;
    border-radius: 24px;
}

/* Miniaturas del detalle */
.thumb-row img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #ffffff;
    padding: 8px;
}

/* Tabla del admin */
.table-img,
.admin-product-img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 4px;
}

/* Galería del editor admin */
.gallery-admin-item img {
    width: 68px;
    height: 68px;
    object-fit: contain;
    background: #ffffff;
    padding: 5px;
    border-radius: 14px;
}

/* Vista previa lateral del admin */
.preview-card-admin img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #ffffff;
    padding: 14px;
    border-radius: 18px;
}

/* Productos relacionados */
.related-item img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    background: #ffffff;
    padding: 4px;
    border-radius: 14px;
}

/* Carrito */
.cart-item img {
    width: 92px;
    height: 92px;
    object-fit: contain;
    background: #ffffff;
    padding: 6px;
    border-radius: 18px;
}
/* ===============================
   Admin imágenes producto
   =============================== */

.image-two-columns {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 18px;
    align-items: start;
}

.image-principal-preview {
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 14px;
    background: #fff;
}

.image-principal-preview img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #fff;
    border-radius: 16px;
}

.gallery-admin-large {
    grid-template-columns: 1fr;
}

.image-admin-item-large {
    grid-template-columns: 86px 1fr auto;
}

.image-admin-item-large img {
    width: 86px;
    height: 86px;
    object-fit: contain;
    background: #fff;
    padding: 5px;
}

.image-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.image-card-actions.vertical {
    display: grid;
    gap: 8px;
    margin-top: 0;
}

.input-mini-file {
    width: 100%;
    margin-top: 8px;
    font-size: 12px;
}

@media (max-width: 760px) {
    .image-two-columns {
        grid-template-columns: 1fr;
    }

    .image-admin-item-large {
        grid-template-columns: 70px 1fr;
    }

    .image-card-actions.vertical {
        grid-column: 1 / -1;
    }
}
/* ===============================
   Admin productos relacionados
   =============================== */

.related-select-small {
    width: 100%;
    margin-top: 8px;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 8px 10px;
    background: #fff;
    color: var(--brown);
    font-size: 13px;
}

.related-item {
    min-height: 78px;
}

.related-item img {
    object-fit: contain;
    background: #fff;
    padding: 4px;
}

.related-item small {
    line-height: 1.45;
}

.related-filter-item[style*="display: none"] {
    display: none !important;
}
/* LB shared admin shell 20260704 */
:root {
    --lb-bg: #fff7f2;
    --lb-panel: #ffffff;
    --lb-panel-soft: #fff1ea;
    --lb-panel-muted: #f7ebe4;
    --lb-primary: #8f3f55;
    --lb-primary-dark: #6f2e40;
    --lb-secondary: #7a5a45;
    --lb-chocolate: #4b2e25;
    --lb-text: #241a17;
    --lb-muted: #806d66;
    --lb-border: #eadbd3;
    --lb-success: #0f9f6e;
    --lb-danger: #dc3545;
    --lb-warning: #b7791f;
    --lb-shadow: 0 16px 40px rgba(75, 46, 37, 0.08);
    --lb-shadow-soft: 0 8px 24px rgba(75, 46, 37, 0.06);
    --lb-radius: 18px;
}

html.lb-admin-page,
html.lb-admin-page body,
html.lb-admin-page button,
html.lb-admin-page input,
html.lb-admin-page textarea,
html.lb-admin-page select {
    font-family: "Hanken Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html.lb-admin-page {
    text-rendering: geometricPrecision;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html.lb-admin-page body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(255, 209, 220, 0.45), transparent 32rem),
        linear-gradient(135deg, #fff9f5 0%, #fff3eb 45%, #fffaf7 100%);
    color: var(--lb-text);
    font-size: 15px;
    line-height: 1.5;
    letter-spacing: -0.005em;
}

.material-symbols-outlined {
    font-family: "Material Symbols Outlined";
    font-weight: normal;
    font-style: normal;
    display: inline-block;
    width: 1em;
    overflow: hidden;
    text-transform: none;
    white-space: nowrap;
    direction: ltr;
    font-size: 22px;
    line-height: 1;
    vertical-align: middle;
    font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
}

.lb-shell {
    min-height: 100vh;
}

.lb-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 40;
    width: 282px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
    border-right: 1px solid var(--lb-border);
    box-shadow: var(--lb-shadow-soft);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.lb-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--lb-border);
}

/* Admin logo original */
.lb-brand img {
  width: 150px;
  height: auto;
  max-height: 58px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.lb-brand strong {
    display: block;
    color: var(--lb-primary-dark);
    font-size: 20px;
    line-height: 1.1;
    font-weight: 600;
}

.lb-brand span {
    display: block;
    color: var(--lb-muted);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-top: 2px;
}

.lb-nav {
    display: grid;
    gap: 6px;
}

.lb-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--lb-muted);
    font-weight: 600;
    padding: 12px 14px;
    border-radius: 14px;
    transition: .18s ease;
}

.lb-nav a:hover {
    background: var(--lb-panel-soft);
    color: var(--lb-primary-dark);
    transform: translateX(2px);
}

.lb-nav a.active {
    background: linear-gradient(135deg, var(--lb-primary), #b56576);
    color: white;
    box-shadow: 0 12px 24px rgba(143, 63, 85, .22);
}

.lb-sidebar-bottom {
    margin-top: auto;
    border-top: 1px solid var(--lb-border);
    padding-top: 18px;
    display: grid;
    gap: 8px;
}

.lb-topbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 282px;
    height: 72px;
    z-index: 35;
    background: rgba(255, 247, 242, .86);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(234, 219, 211, .9);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
}

.lb-search {
    width: min(460px, 46vw);
    height: 42px;
    border: 1px solid var(--lb-border);
    background: rgba(255,255,255,.75);
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    color: var(--lb-muted);
}

.lb-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--lb-text);
}

.lb-user-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--lb-muted);
    font-weight: 700;
}

.lb-main {
    margin-left: 282px;
    padding: 108px 32px 48px;
}

.lb-page-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 24px;
}

.lb-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--lb-muted);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

.lb-kicker,
.lb-page-head .eyebrow {
    margin: 0 0 8px;
    color: var(--lb-primary);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.lb-page-head h1 {
    margin: 0;
    color: var(--lb-primary-dark);
    font-size: clamp(38px, 5vw, 64px);
    line-height: .98;
    letter-spacing: -0.04em;
    font-weight: 900;
}

.lb-page-head p,
.lb-main .muted {
    color: var(--lb-muted);
}

.lb-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.lb-btn,
.lb-main .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 14px;
    padding: 11px 16px;
    min-height: 42px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 800;
    line-height: 1;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
}

.lb-btn:hover,
.lb-main .btn:hover {
    transform: translateY(-1px);
}

.lb-btn-primary,
.lb-main .btn-primary {
    background: linear-gradient(135deg, var(--lb-primary), #b56576);
    color: #fff;
    box-shadow: 0 14px 28px rgba(143, 63, 85, .22);
}

.lb-btn-light,
.lb-main .btn-light,
.lb-main .btn:not(.btn-primary):not(.btn-whatsapp) {
    background: rgba(255,255,255,.88);
    color: var(--lb-primary-dark);
    border: 1px solid var(--lb-border);
}

.lb-btn-small,
.lb-main .btn-small {
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 13px;
}

.lb-btn-block {
    width: 100%;
}

.lb-message,
.lb-main .alert,
.lb-main .alerta-ok,
.lb-main .alerta-error {
    background: var(--lb-panel);
    border: 1px solid var(--lb-border);
    border-radius: var(--lb-radius);
    padding: 14px 16px;
    box-shadow: var(--lb-shadow-soft);
    color: var(--lb-text);
    margin-bottom: 16px;
}

.lb-message.ok,
.lb-main .alerta-ok {
    border-left: 5px solid var(--lb-success);
}

.lb-message.error,
.lb-main .alerta-error,
.lb-main .alert-danger {
    border-left: 5px solid var(--lb-danger);
}

.lb-card,
.lb-main .admin-card,
.lb-main .kpi,
.lb-main .panel,
.lb-main .auth-card,
.lb-main .cart-summary {
    background: rgba(255,255,255,.92);
    border: 1px solid var(--lb-border);
    border-radius: var(--lb-radius);
    box-shadow: var(--lb-shadow-soft);
}

.lb-card,
.lb-main .admin-card,
.lb-main .panel {
    overflow: hidden;
}

.lb-card-head {
    padding: 18px 20px;
    border-bottom: 1px solid var(--lb-border);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
}

.lb-card-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lb-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--lb-panel-soft);
    color: var(--lb-primary);
}

.lb-card h2,
.lb-card h3,
.lb-main .admin-card h2,
.lb-main .panel h2,
.lb-main .section-title-row h2 {
    margin: 0;
    color: var(--lb-chocolate);
    font-weight: 900;
    font-family: "Hanken Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.lb-card h2,
.lb-main .admin-card h2 {
    font-size: 26px;
}

.lb-card-body {
    padding: 20px;
}

.lb-main .admin-card {
    padding: 22px;
}

.lb-main .admin-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.lb-main .admin-top h1 {
    margin: 0;
    color: var(--lb-primary-dark);
    font-family: "Hanken Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(38px, 5vw, 64px);
    line-height: .98;
    letter-spacing: -0.04em;
    font-weight: 900;
}

.lb-main .kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.lb-main .kpi {
    padding: 22px;
}

.lb-main .kpi span {
    color: var(--lb-muted);
    font-weight: 700;
}

.lb-main .kpi strong {
    display: block;
    color: var(--lb-text);
    font-size: 34px;
    margin-top: 6px;
}

.lb-main .admin-table,
.lb-table {
    width: 100%;
    border-collapse: collapse;
}

.lb-main .admin-table th,
.lb-main .admin-table td,
.lb-table th,
.lb-table td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--lb-border);
    text-align: left;
    vertical-align: middle;
}

.lb-main .admin-table th,
.lb-table th {
    color: var(--lb-chocolate);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 900;
}

.lb-main .admin-table td span {
    color: var(--lb-muted);
}

.lb-main input,
.lb-main select,
.lb-main textarea,
.lb-main .admin-search {
    border: 1px solid var(--lb-border);
    border-radius: 14px;
    background: rgba(255,255,255,.92);
    color: var(--lb-text);
    outline: 0;
}

.lb-main input:focus,
.lb-main select:focus,
.lb-main textarea:focus,
.lb-main .admin-search:focus {
    border-color: rgba(143, 63, 85, .5);
    box-shadow: 0 0 0 4px rgba(143, 63, 85, .10);
}

.lb-main .admin-actions-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin: 18px 0;
}

.lb-main .admin-search {
    width: min(420px, 100%);
    padding: 11px 13px;
}

.lb-main .status-dot,
.lb-main .mini-pill,
.lb-main .badge-visible,
.lb-main .badge-oculto,
.lb-main .badge-inactivo {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 900;
}

.lb-main .status-new,
.lb-main .badge-visible,
.lb-main .mini-pill {
    background: #e8f8ef;
    color: #18733f;
}

.lb-main .status-dot,
.lb-main .badge-oculto {
    background: #fff0d2;
    color: #8b5d08;
}

.lb-main .badge-inactivo {
    background: #fdecec;
    color: #9b1c1c;
}

@media (max-width: 1120px) {
    .lb-topbar {
        left: 0;
    }

    .lb-sidebar {
        position: static;
        width: auto;
        border-right: 0;
        border-bottom: 1px solid var(--lb-border);
    }

    .lb-main {
        margin-left: 0;
        padding-top: 96px;
    }
}

@media (max-width: 760px) {
    .lb-topbar {
        display: none;
    }

    .lb-main {
        padding: 24px 18px 36px;
    }

    .lb-page-head,
    .lb-main .admin-top {
        display: grid;
    }

    .lb-main .kpi-grid {
        grid-template-columns: 1fr;
    }

    .lb-search {
        width: 100%;
    }
}
/* LB local nav icons 20260704 */
.lb-nav-icon {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    background: var(--lb-panel-soft);
    border: 1px solid rgba(143, 63, 85, .12);
    position: relative;
}

.lb-nav-icon::before,
.lb-nav-icon::after {
    content: "";
    position: absolute;
    background: currentColor;
    color: var(--lb-primary);
}

.lb-nav a.active .lb-nav-icon {
    background: rgba(255,255,255,.18);
    border-color: rgba(255,255,255,.24);
}

.lb-nav a.active .lb-nav-icon::before,
.lb-nav a.active .lb-nav-icon::after {
    color: #fff;
}

.lb-nav-icon-dashboard::before {
    width: 5px;
    height: 5px;
    box-shadow: 7px 0 currentColor, 0 7px currentColor, 7px 7px currentColor;
    top: 5px;
    left: 5px;
}

.lb-nav-icon-products::before {
    width: 12px;
    height: 8px;
    border-radius: 7px 7px 4px 4px;
    top: 8px;
    left: 5px;
}

.lb-nav-icon-products::after {
    width: 14px;
    height: 2px;
    border-radius: 999px;
    top: 6px;
    left: 4px;
}

.lb-nav-icon-quotes::before {
    width: 12px;
    height: 14px;
    border-radius: 3px;
    top: 4px;
    left: 5px;
    background: transparent;
    border: 2px solid currentColor;
}

.lb-nav-icon-quotes::after {
    width: 7px;
    height: 2px;
    top: 9px;
    left: 8px;
    box-shadow: 0 4px currentColor;
}

.lb-nav-icon-clients::before {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    top: 5px;
    left: 4px;
    box-shadow: 8px 0 currentColor;
}

.lb-nav-icon-clients::after {
    width: 16px;
    height: 6px;
    border-radius: 8px 8px 4px 4px;
    bottom: 4px;
    left: 3px;
}

.lb-nav-icon-users::before {
    width: 12px;
    height: 12px;
    border-radius: 4px;
    top: 5px;
    left: 5px;
    background: transparent;
    border: 2px solid currentColor;
}

.lb-nav-icon-users::after {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    top: 8px;
    left: 8px;
}

.lb-nav-icon-store::before {
    width: 14px;
    height: 9px;
    border-radius: 2px;
    bottom: 4px;
    left: 4px;
    background: transparent;
    border: 2px solid currentColor;
}

.lb-nav-icon-store::after {
    width: 16px;
    height: 4px;
    border-radius: 6px 6px 2px 2px;
    top: 5px;
    left: 3px;
}

.lb-nav-icon-logout::before {
    width: 10px;
    height: 12px;
    border-radius: 3px;
    top: 5px;
    left: 4px;
    background: transparent;
    border: 2px solid currentColor;
    border-right: 0;
}

.lb-nav-icon-logout::after {
    width: 9px;
    height: 2px;
    top: 10px;
    right: 4px;
    box-shadow: 3px -3px 0 -1px currentColor, 3px 3px 0 -1px currentColor;
}

.lb-nav-icon-search::before {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid currentColor;
    top: 4px;
    left: 4px;
}

.lb-nav-icon-search::after {
    width: 7px;
    height: 2px;
    transform: rotate(45deg);
    top: 14px;
    left: 13px;
}

.lb-nav-icon-panel::before {
    width: 13px;
    height: 12px;
    border-radius: 3px;
    top: 5px;
    left: 5px;
    background: transparent;
    border: 2px solid currentColor;
}

.lb-nav-icon-panel::after {
    width: 8px;
    height: 2px;
    top: 9px;
    left: 8px;
    box-shadow: 0 4px currentColor;
}
/* LB public store visual alignment 20260704 */
html.lb-store-page {
    --cream: var(--lb-bg);
    --cream-2: #fffaf7;
    --rose: #edb1bd;
    --rose-dark: var(--lb-primary);
    --brown: var(--lb-chocolate);
    --cocoa: var(--lb-primary-dark);
    --gold: #d7a441;
    --green: #0f9f6e;
    --ink: var(--lb-text);
    --text: var(--lb-text);
    --muted: var(--lb-muted);
    --line: var(--lb-border);
    --white: var(--lb-panel);
    --soft: var(--lb-panel-soft);
    --shadow: var(--lb-shadow-soft);
    --radius: var(--lb-radius);
    --max: 1180px;
    scroll-behavior: smooth;
}

html.lb-store-page body,
body.lb-store-body {
    color: var(--lb-text);
    background:
        linear-gradient(180deg, #fff7f2 0%, #fffaf7 34%, #ffffff 100%);
    font-family: "Hanken Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
    overflow-x: hidden;
}

html.lb-store-page a {
    text-decoration: none;
}

html.lb-store-page .site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 247, 242, 0.94);
    border-bottom: 1px solid var(--lb-border);
    box-shadow: 0 10px 32px rgba(75, 46, 37, 0.05);
    backdrop-filter: blur(14px);
}

html.lb-store-page .navbar {
    width: 100%;
    max-width: 1240px;
    min-width: 0;
    padding: 14px 24px;
    gap: 20px;
}

html.lb-store-page .logo img {
    width: 150px;
    height: auto;
}

html.lb-store-page .nav-links {
    min-width: 0;
    max-width: 100%;
    gap: 6px;
    padding: 6px;
    color: var(--lb-secondary);
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--lb-border);
    border-radius: 999px;
    box-shadow: var(--lb-shadow-soft);
    font-weight: 800;
}

html.lb-store-page .nav-links a {
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--lb-secondary);
    opacity: 1;
    line-height: 1;
    white-space: nowrap;
}

html.lb-store-page .nav-links a:hover,
html.lb-store-page .nav-links a.active {
    color: #fff;
    background: linear-gradient(135deg, var(--lb-primary), #b56576);
    box-shadow: 0 10px 24px rgba(143, 63, 85, 0.18);
}

html.lb-store-page .nav-actions {
    flex-shrink: 0;
}

html.lb-store-page .cart-link {
    min-height: 46px;
    padding-inline: 18px;
    color: var(--lb-primary-dark);
}

html.lb-store-page .cart-badge {
    background: var(--lb-chocolate);
    color: #fff;
    font-weight: 900;
}

html.lb-store-page .container {
    max-width: 1180px;
}

html.lb-store-page .hero h1,
html.lb-store-page .page-hero h1,
html.lb-store-page .detail-info h1,
html.lb-store-page .section-title-row h2,
html.lb-store-page .admin-card h2,
html.lb-store-page .cart-summary h2,
html.lb-store-page .auth-card h1,
html.lb-store-page .contenedor h1,
html.lb-store-page .cta-band h2,
html.lb-store-page .product-detail-page h1 {
    color: var(--lb-primary-dark) !important;
    font-family: "Hanken Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
}

html.lb-store-page .page-hero {
    padding: 48px 0 28px;
}

html.lb-store-page .page-hero h1 {
    max-width: 820px;
    margin-bottom: 14px;
    font-size: clamp(40px, 5vw, 68px);
    line-height: 0.98;
}

html.lb-store-page .lead {
    max-width: 760px;
    color: var(--lb-muted);
    font-size: 18px;
    line-height: 1.65;
}

html.lb-store-page .eyebrow {
    color: var(--lb-primary);
    font-weight: 900;
    letter-spacing: 0.08em;
}

html.lb-store-page .filters {
    width: 100%;
    min-width: 0;
    top: 82px;
    border-color: var(--lb-border);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--lb-shadow-soft);
}

html.lb-store-page .filters > *,
html.lb-store-page .product-card,
html.lb-store-page .cart-item,
html.lb-store-page .detail-info,
html.lb-store-page .buy-box {
    min-width: 0;
}

html.lb-store-page .input,
html.lb-store-page .select,
html.lb-store-page textarea,
html.lb-store-page input[type="text"],
html.lb-store-page input[type="email"],
html.lb-store-page input[type="password"],
html.lb-store-page input[type="number"] {
    border-color: var(--lb-border);
    border-radius: 14px;
    color: var(--lb-text);
    background: #fff;
}

html.lb-store-page .input:focus,
html.lb-store-page .select:focus,
html.lb-store-page textarea:focus,
html.lb-store-page input:focus {
    border-color: var(--lb-primary);
    box-shadow: 0 0 0 4px rgba(143, 63, 85, 0.13);
}

html.lb-store-page .btn,
html.lb-store-page .boton,
html.lb-store-page .boton-secundario {
    min-height: 42px;
    border-radius: 999px;
    font-weight: 900;
    letter-spacing: 0;
}

html.lb-store-page .btn-primary,
html.lb-store-page .boton {
    background: linear-gradient(135deg, var(--lb-primary), #b56576) !important;
    color: #fff !important;
    box-shadow: 0 14px 30px rgba(143, 63, 85, 0.22) !important;
}

html.lb-store-page .btn-primary:hover,
html.lb-store-page .boton:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(143, 63, 85, 0.28) !important;
}

html.lb-store-page .btn-light,
html.lb-store-page .btn-outline,
html.lb-store-page .boton-secundario {
    background: #fff !important;
    color: var(--lb-primary-dark) !important;
    border: 1px solid var(--lb-border) !important;
}

html.lb-store-page .btn-whatsapp {
    background: #e3f8ee !important;
    color: #087a4f !important;
    box-shadow: none !important;
}

html.lb-store-page .result-count {
    color: var(--lb-secondary);
    font-weight: 800;
}

html.lb-store-page .product-grid {
    gap: 24px;
}

html.lb-store-page .product-card,
html.lb-store-page .category-card,
html.lb-store-page .detail-gallery,
html.lb-store-page .detail-info,
html.lb-store-page .cart-summary,
html.lb-store-page .admin-card,
html.lb-store-page .auth-card,
html.lb-store-page .cart-item,
html.lb-store-page .buy-box,
html.lb-store-page .detail-main-image,
html.lb-store-page .related-card,
html.lb-store-page .product-detail-empty {
    border: 1px solid var(--lb-border) !important;
    border-radius: 20px !important;
    background: #fff !important;
    box-shadow: var(--lb-shadow-soft) !important;
}

html.lb-store-page .product-card {
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

html.lb-store-page .product-card:hover {
    transform: translateY(-3px);
    border-color: rgba(143, 63, 85, 0.28) !important;
    box-shadow: 0 22px 42px rgba(75, 46, 37, 0.11) !important;
}

html.lb-store-page .product-image-wrap,
html.lb-store-page .related-card-image {
    background: var(--lb-panel-soft) !important;
}

html.lb-store-page .product-image,
html.lb-store-page .detail-main-image img,
html.lb-store-page .related-card-image img {
    object-fit: contain;
}

html.lb-store-page .product-body {
    padding: 20px;
}

html.lb-store-page .product-card h3,
html.lb-store-page .cart-item h3,
html.lb-store-page .related-card-body h3 {
    color: var(--lb-chocolate) !important;
    font-family: "Hanken Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: 22px;
    line-height: 1.18;
    letter-spacing: 0;
}

html.lb-store-page .product-desc,
html.lb-store-page .muted,
html.lb-store-page .detail-help,
html.lb-store-page .detail-code,
html.lb-store-page .related-card-body p {
    color: var(--lb-muted) !important;
}

html.lb-store-page .badge,
html.lb-store-page .availability,
html.lb-store-page .status-dot,
html.lb-store-page .mini-pill {
    border-radius: 999px;
    font-weight: 900;
}

html.lb-store-page .status-ok {
    background: #e3f8ee !important;
    color: #087a4f !important;
}

html.lb-store-page .status-out {
    background: #fff1ea !important;
    color: var(--lb-primary-dark) !important;
}

html.lb-store-page .product-actions {
    align-items: center;
}

html.lb-store-page .breadcrumb {
    color: var(--lb-secondary);
    font-weight: 800;
}

html.lb-store-page .product-detail-page {
    color: var(--lb-text);
}

html.lb-store-page .product-detail-layout {
    gap: 22px !important;
}

html.lb-store-page .detail-info,
html.lb-store-page .buy-box {
    padding: 24px !important;
}

html.lb-store-page .detail-info h1 {
    font-size: clamp(34px, 4vw, 56px) !important;
    line-height: 1 !important;
}

html.lb-store-page .detail-specs > div,
html.lb-store-page .detail-pills span,
html.lb-store-page .detail-thumbs button,
html.lb-store-page .stock-line {
    border-color: var(--lb-border) !important;
    background: var(--lb-panel-soft) !important;
    border-radius: 16px !important;
}

html.lb-store-page .detail-specs span,
html.lb-store-page .stock-line span {
    color: var(--lb-muted) !important;
}

html.lb-store-page .detail-specs strong,
html.lb-store-page .stock-line strong,
html.lb-store-page .price-large,
html.lb-store-page .price {
    color: var(--lb-primary-dark) !important;
}

html.lb-store-page .quote-note {
    border-color: var(--lb-border) !important;
    background: #fffaf7 !important;
    border-radius: 16px !important;
}

html.lb-store-page .cart-layout {
    gap: 24px;
}

html.lb-store-page .cart-item {
    border-radius: 18px !important;
}

html.lb-store-page .summary-total {
    border-color: var(--lb-border);
}

html.lb-store-page .alerta-error,
html.lb-store-page .alerta-ok {
    border-radius: 14px;
    font-weight: 800;
}

html.lb-store-page .site-footer {
    margin-top: 56px;
    background: var(--lb-chocolate);
    color: rgba(255, 255, 255, 0.82);
}

html.lb-store-page .footer-grid h3,
html.lb-store-page .footer-grid h4 {
    color: #fff;
    font-family: "Hanken Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

html.lb-store-page .footer-grid a,
html.lb-store-page .footer-grid p {
    color: rgba(255, 255, 255, 0.74);
}

@media (max-width: 980px) {
    html.lb-store-page .navbar {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    html.lb-store-page .nav-links {
        order: 3;
        flex: 1 1 100%;
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        scrollbar-width: none;
    }

    html.lb-store-page .nav-links::-webkit-scrollbar {
        display: none;
    }

    html.lb-store-page .nav-actions {
        margin-left: auto;
    }

    html.lb-store-page .filters {
        top: 119px;
    }
}

@media (max-width: 640px) {
    html.lb-store-page,
    html.lb-store-page body,
    body.lb-store-body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    html.lb-store-page .site-header {
        width: 100vw;
        max-width: 100vw;
        min-width: 0;
        overflow: hidden;
    }

    html.lb-store-page .container,
    html.lb-store-page main.container {
        width: min(calc(100vw - 44px), 346px);
        max-width: min(calc(100vw - 44px), 346px);
        min-width: 0;
        margin-left: 22px;
        margin-right: 22px;
        padding-left: 0;
        padding-right: 0;
    }

    html.lb-store-page .page-hero,
    html.lb-store-page .product-grid,
    html.lb-store-page .filters {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    html.lb-store-page .navbar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        width: min(calc(100vw - 36px), 354px);
        max-width: min(calc(100vw - 36px), 354px);
        min-width: 0;
        margin-left: 18px;
        margin-right: 18px;
        padding: 12px 0;
        column-gap: 12px;
        row-gap: 10px;
    }

    html.lb-store-page .logo {
        min-width: 0;
    }

    html.lb-store-page .logo img {
        width: 118px;
    }

    html.lb-store-page .nav-actions {
        justify-self: end;
        min-width: 0;
        margin-left: 0;
    }

    html.lb-store-page .cart-link {
        min-height: 40px;
        max-width: 132px;
        padding: 10px 13px;
        white-space: nowrap;
    }

    html.lb-store-page .nav-links {
        display: flex !important;
        grid-column: 1 / -1;
        width: 100%;
        max-width: min(calc(100vw - 36px), 354px);
        border-radius: 18px;
    }

    html.lb-store-page .nav-links a {
        padding: 10px 12px;
    }

    html.lb-store-page .page-hero {
        padding-top: 34px;
    }

    html.lb-store-page .page-hero h1 {
        max-width: 100%;
        font-size: clamp(34px, 13vw, 48px);
    }

    html.lb-store-page .lead {
        max-width: 100%;
        font-size: 17px;
    }

    html.lb-store-page .filters {
        padding: 14px;
    }

    html.lb-store-page .product-card h3 {
        font-size: 20px;
    }
}
/* End LB public store visual alignment 20260704 */
.catalog-category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.catalog-category-chips a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--brown);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 850;
  box-shadow: 0 10px 24px rgba(91, 47, 38, .06);
  transition: transform .16s ease, background .16s ease, color .16s ease, border-color .16s ease;
}

.catalog-category-chips a:hover {
  transform: translateY(-1px);
  border-color: var(--brown);
}

.catalog-category-chips a.active {
  background: var(--brown);
  color: #fff;
  border-color: var(--brown);
}

@media (max-width: 640px) {
  .catalog-category-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    margin-bottom: 16px;
  }

  .catalog-category-chips a {
    flex: 0 0 auto;
    font-size: 12px;
    padding: 8px 13px;
  }
}
/* Admin logo vertical */
.lb-brand.lb-brand-vertical {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
  padding-bottom: 22px;
}

.lb-brand.lb-brand-vertical img {
  width: 165px;
  height: auto;
  max-height: 72px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.lb-brand.lb-brand-vertical span {
  display: block;
  color: var(--lb-muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-top: 0;
}
/* Admin Material Symbols uniformes */
.lb-nav-ms {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--lb-panel-soft);
  border: 1px solid rgba(143, 63, 85, .12);
  color: var(--lb-primary);
  font-size: 18px;
  line-height: 1;
  overflow: hidden;
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
}

.lb-nav a.active .lb-nav-ms {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.24);
  color: #fff;
}

.lb-search .lb-nav-ms,
.lb-user-pill .lb-nav-ms {
  background: var(--lb-panel-soft);
  color: var(--lb-primary);
}
/* Admin sidebar elegant icons */
.lb-nav a {
  min-height: 52px;
  padding: 9px 12px;
  gap: 12px;
  font-weight: 800;
}

.lb-nav-icon-elegant {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: linear-gradient(135deg, #fff1ea, #ffffff);
  color: var(--lb-primary);
  border: 1px solid rgba(143, 63, 85, .10);
  box-shadow: 0 8px 20px rgba(143, 63, 85, .08);
  font-size: 20px;
  line-height: 1;
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
}

.lb-nav a:hover .lb-nav-icon-elegant {
  background: #fff;
  color: var(--lb-primary-dark);
  transform: translateX(1px);
}

.lb-nav a.active .lb-nav-icon-elegant {
  background: rgba(255, 255, 255, .20);
  color: #fff;
  border-color: rgba(255, 255, 255, .28);
  box-shadow: none;
  font-variation-settings: "FILL" 1, "wght" 600, "GRAD" 0, "opsz" 24;
}

.lb-topbar-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: var(--lb-panel-soft);
  color: var(--lb-primary);
  font-size: 19px;
  line-height: 1;
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
}