:root {
  --blue-1: #1f67c9;
  --blue-2: #0f3f8f;
  --gold: #f1c94b;
  --gold-2: #d69f17;
  --text: #14315e;
  --bg: #eef4fb;
  --panel: #ffffff;
  --border: #d3dfef;
  --shadow: 0 14px 35px rgba(18, 45, 88, 0.12);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: Arial, Helvetica, sans-serif; color: var(--text); background: #e7e7e7; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.topbar {
  background: linear-gradient(135deg, var(--blue-1), var(--blue-2));
  border-bottom: 2px solid rgba(255,255,255,.35);
  box-shadow: var(--shadow);
  position: sticky; top: 0; z-index: 50;
}
.topbar-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 2rem; font-weight: 700; color: #fff; font-family: Georgia, serif; }
.brand img { width: min(470px, 48vw); max-height: 104px; object-fit: contain; }
.header-userbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 16px;
  background: rgba(255,255,255,.1);
  box-shadow: 0 12px 26px rgba(10, 30, 72, .14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.header-user {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 0 6px 0 0;
}
.header-user-avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  color: #143f89;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(20,63,137,.12);
  flex: 0 0 auto;
}
.header-user-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  color: #fff;
  line-height: 1.15;
}
.header-user-copy strong,
.header-user-copy small {
  display: block;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.header-user-copy strong { font-size: .95rem; }
.header-user-copy small { color: rgba(255,255,255,.76); font-size: .78rem; }
.header-user-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.12);
  color: #fff;
  font-weight: 800;
  font-size: .88rem;
  transition: transform .16s ease, background .16s ease;
}
.header-user-link:hover { transform: translateY(-1px); background: rgba(255,255,255,.2); }
.header-user-logout { background: #fff; color: #173f86; border-color: #fff; }
.brand-flag { font-size: 1.5rem; }
.main-nav { display: flex; gap: 28px; color: #fff; font-weight: 700; }
.main-nav a { opacity: .95; }
.top-actions { display: flex; gap: 10px; }
.icon-btn {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 10px; 
  border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: #fff;
}
.hero {
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  z-index: 0;
}
@media (max-width: 768px) {
  .main-nav, .top-actions{
    display: none;
  }
  .hero::before {
    content: none; /* lo elimina completamente en mobile */
  }
}
.hero-inner { min-height: 140px; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.hero-copy { width: 100%; display: flex; align-items: center; justify-content: center; gap: 14px; }
.hero-flag { font-size: 4rem; filter: drop-shadow(0 6px 10px rgba(0,0,0,.25)); }
.search-box {
  display: flex; flex-wrap: wrap; width: min(720px, 100%); background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow);
  border: 2px solid rgba(255,255,255,.6);
}
.search-box > input { flex: 1 1 280px; min-width: 0; border: 0; padding: 22px 24px; font-size: 1.6rem; }
.search-scope {
  display: inline-flex; flex: 1 1 210px; align-items: center; gap: 8px; min-width: 0; padding: 0 14px; color: #244a8e; font-weight: 700; white-space: normal; border-left: 1px solid var(--border);
}
.search-scope input { width: auto; flex: 0 0 auto; padding: 0; }
.search-box button {
  flex: 0 0 170px;
  border: 0; background: linear-gradient(#f5d964, var(--gold)); color: #173d7d; font-size: 1.5rem; font-weight: 800;
  padding: 0 30px; min-width: 170px; cursor: pointer;
}
.section-block {
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(240,245,250,.96));
  border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); margin: 20px auto; padding: 18px;
}
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; min-width: 0; flex-wrap: wrap; }
.section-head h1, .section-head h2 { margin: 0; color: #16448e; min-width: 0; overflow-wrap: anywhere; }
.section-head-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
.category-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px; }
.category-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 12px; text-align: center;
  transition: transform .18s ease, box-shadow .18s ease;
}
.category-card:hover, .product-card:hover { transform: translateY(-2px); box-shadow: 0 12px 25px rgba(20,50,110,.12); }
.category-card img { aspect-ratio: 1.25/1; object-fit: cover; border-radius: 12px; margin-bottom: 10px; }
.category-card span { font-weight: 800; color: #21488a; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid-large { grid-template-columns: repeat(4, 1fr); }
.product-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.product-card img { width: 100%; display: block; aspect-ratio: 1.25 / 1; object-fit: cover; background: #e9f0fb; }
.product-card h3 { margin: 0; padding: 12px 12px 4px; color: #153f86; font-size: 1.15rem; }
.product-meta { padding: 0 12px 12px; color: #51698f; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .95rem; }
.product-meta.stacked { flex-direction: column; align-items: flex-start; }
.provider-results-heading { display: inline-flex; align-items: center; gap: 14px; min-width: 0; max-width: 100%; }
.provider-results-heading > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.user-avatar-ring {
  --avatar-size: 150px;
  display: inline-grid;
  place-items: center;
  width: var(--avatar-size);
  height: var(--avatar-size);
  padding: 3px;
  border-radius: 50%;
  background: conic-gradient(from 210deg, #f7b300, #ef4565, #b73cff, #4f8cff, #f7b300);
  box-shadow: 0 8px 18px rgba(20,49,94,.16);
  vertical-align: middle;
  flex: 0 0 auto;
}
.user-avatar-ring img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #eef4fb;
}
.user-avatar-ring-sm { --avatar-size: 50px; padding: 2px; box-shadow: 0 4px 10px rgba(20,49,94,.12); }
.user-avatar-ring-sm img { border-width: 2px; }
.user-avatar-ring-lg { --avatar-size: 150px; }
.like-dot { color: #d14b63; font-weight: 700; }
.video-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; }
.video-placeholder, .thumb {
  border-radius: 16px; min-height: 220px; position: relative; overflow: hidden; border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(20,44,88,.18), rgba(20,44,88,.35)), linear-gradient(120deg, #5bb1ed, #6ac2ff 20%, #4c8bcc 20%, #335c88 40%, #789d51 42%, #385e31 100%);
}
.thumb { min-height: 100px; }
.thumb.food { background: linear-gradient(120deg, rgba(85,40,10,.18), rgba(123,83,32,.22)), linear-gradient(140deg, #ead7a5, #d2a56c, #b66d37); }
.thumb.beach { background: linear-gradient(180deg, #dcecff, #72c0ff 45%, #e8d7bf 46%, #d1b38d); }
.play-badge {
  position: absolute; left: 24px; bottom: 24px; background: rgba(16,36,84,.6); color: #fff; padding: 14px 24px; border-radius: 999px;
  font-size: 1.2rem; font-weight: 700; border: 1px solid rgba(255,255,255,.4);
}
.product-detail { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; }
.main-image-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
  appearance: none;
  -webkit-appearance: none;
}
.main-image-button:focus-visible { outline: 3px solid rgba(31,103,201,.45); outline-offset: 4px; }
.product-gallery .main-image { width: 100%; aspect-ratio: 1 / .85; object-fit: cover; border-radius: 20px; transition: transform .22s ease; }
.main-image-button:hover .main-image { transform: scale(1.015); }
.gallery-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.gallery-thumb {
  padding: 0; border: 1px solid var(--border); border-radius: 12px; background: #fff; cursor: pointer; overflow: hidden; appearance: none; -webkit-appearance: none; touch-action: manipulation;
}
.gallery-thumb.is-active { border-color: #1d56aa; box-shadow: 0 0 0 2px rgba(29,86,170,.15); }
.gallery-thumb img { width: 100%; display: block; aspect-ratio: 1.15 / 1; object-fit: cover; }
.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 42px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .24s ease, visibility .24s ease;
}
.product-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.product-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: zoom-out;
}
.product-lightbox-image {
  position: relative;
  z-index: 1;
  display: block;
  max-width: min(100%, 1200px);
  max-height: min(100%, calc(100vh - 32px));
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(18,45,88,.24);
  transform: scale(.96);
  transition: transform .24s ease;
}
.product-lightbox.is-open .product-lightbox-image { transform: scale(1); }
body.product-lightbox-open { overflow: hidden; }
.product-info h1 { font-size: 2.6rem; margin: 0 0 8px; color: #153f86; }
.product-location { font-size: 1.35rem; color: #5b7292; margin: 0 0 14px; }
.rating-row, .tags, .detail-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.tags{font-size: .8rem; gap: 5px;}
.like-button {
  min-width: 56px;
  padding-inline: 16px;
}
.like-button-icon {
  font-size: 1.35rem;
  line-height: 1;
  color: #7f8aa3;
}
.like-button.is-liked {
  border-color: #ea5b6c;
  background: #fff2f4;
}
.like-button.is-liked .like-button-icon {
  color: #e03a4f;
}
.share-widget { position: relative; }
.share-trigger { gap: 8px; min-width: 54px; }
.share-trigger-icon { font-size: 1.1rem; line-height: 1; }
.share-trigger-label { display: inline; }
.share-fallback {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 20;
  min-width: 220px;
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}
.share-fallback[hidden] { display: none !important; }
.share-copy-button, .share-link { width: 100%; }
.share-feedback { min-height: 18px; color: #5d7191; }
.stars { color: #e2b21f; letter-spacing: 2px; }
.pill, .tags span, .tags a { background: #edf3fb; border: 1px solid var(--border); color: #28549a; padding: 8px 12px; border-radius: 999px; }
.tags a { transition: background .18s ease, border-color .18s ease, color .18s ease; }
.tags a:hover { background: #dfeafb; border-color: #adc2e0; color: #173f86; }
.provider-pill { background: #f4edff; border-color: #c9a7ff; color: #6f35bb; font-weight: 800; text-decoration: none; box-shadow: 0 4px 10px rgba(111,53,187,.12); transition: background .18s ease, transform .18s ease, box-shadow .18s ease; }
.provider-pill:hover { background: #eadcff; transform: translateY(-1px); box-shadow: 0 8px 18px rgba(111,53,187,.18); }
.product-card-provider { display: inline-flex; align-items: center; width: fit-content; font-size: inherit; line-height: 1.2; padding: 6px 10px; }
.product-card-provider:hover { background: #f4edff; transform: none; box-shadow: 0 4px 10px rgba(111,53,187,.12); }
.price-row { font-size: 2.1rem; font-weight: 800; margin: 18px 0; color: #11408a; }
.btn-admin {
  display: inline-flex;
  width: fit-content;
  margin: 5px;
  align-items: center;
  justify-content: center;
  padding: 4px 6px;
  border-radius: 6px;
  font-size: .95rem;
  border: 1px solid var(--border);
  cursor: pointer;
  background: #ddb5b3;
  border-color: #e90101;
  color: #cb280c;
}
.product-admin-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 5px auto;
}
.btn-primary, .btn-secondary, .btn-whatsapp, .auth-card button {
  display: inline-flex; align-items: center; justify-content: center; padding: 14px 22px; border-radius: 12px; font-weight: 800;
  border: 1px solid var(--border); cursor: pointer;
}
.auth-card #remember{ width: auto; margin-top: 0; }
.auth-card label{display: inline-block !important;}
.btn-primary, .auth-card button { background: linear-gradient(#f7df78, var(--gold)); color: #173d7d; }
.btn-primary:disabled, .btn-secondary:disabled, .btn-whatsapp:disabled, .btn-danger:disabled, .auth-card button:disabled { opacity: .65; cursor: not-allowed; }
.btn-secondary { background: #fff; color: #244a8e; }
.btn-whatsapp { gap: 9px; border-color: #1cae5f; background: #25d366; color: #fff; }
.whatsapp-icon { width: 20px; height: 20px; fill: currentColor; flex: 0 0 auto; }
.btn-danger { display: inline-flex; align-items: center; justify-content: center; padding: 14px 22px; border-radius: 12px; font-weight: 800; border: 1px solid #d34a5d; cursor: pointer; background: linear-gradient(#ff9aa7, #ea5b6c); color: #fff; }
.description-box { margin-top: 26px; border-top: 1px solid var(--border); padding-top: 20px; }
.description-box h2 { margin: 0 0 10px; color: #173f86; }
.flash { width: min(1180px, calc(100% - 32px)); margin: 14px auto 0; padding: 14px 18px; border-radius: 12px; font-weight: 700; }
.flash.success { background: #ebfff2; color: #19653f; border: 1px solid #bde4cb; }
.flash.error { background: #fff1f2; color: #892948; border: 1px solid #f0bcc7; }
.inline-alert { margin: 14px 0; padding: 14px 18px; border-radius: 12px; font-weight: 700; }
.inline-alert.error { background: #fff1f2; color: #892948; border: 1px solid #f0bcc7; }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pagination a { min-width: 42px; height: 42px; display: grid; place-items: center; background: #fff; border: 1px solid var(--border); border-radius: 10px; }
.pagination a.active { background: var(--blue-1); color: #fff; border-color: var(--blue-1); }
.auth-wrap, .form-wrap, .admin-wrap { flex: 1; padding: 32px 0; }
.auth-card, .admin-form { width: min(760px, 100%); margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); }
.auth-card { width: min(480px, 100%); }
.auth-card h1 { margin-top: 0; }
.auth-card label, .admin-form label { display: block; font-weight: 700; color: #21488c; margin: 12px 0 8px; }
.auth-card input, .admin-form input, .admin-form select, .admin-form textarea {
  width: 100%; border: 1px solid var(--border); border-radius: 12px; padding: 13px 14px; background: #fbfdff;
}
.admin-form input.is-valid { border-color: #41a36d; background: #f2fbf5; }
.admin-form input.is-invalid { border-color: #d34a5d; background: #fff6f7; }
.help-text { color: #5d7191; font-size: .95rem; }
.slug-feedback.is-valid { color: #1f7a46; }
.slug-feedback.is-invalid { color: #b72f46; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check-row, .form-actions, .admin-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.inline-check { display: grid !important; grid-template-columns: auto 1fr; gap: 10px; align-items: start; margin: 0 !important; }
.inline-check input { width: auto !important; margin-top: 3px; }
.preview-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 16px 0; }
.preview-card { display: grid; gap: 8px; min-width: 0; }
.preview-strip img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px; border: 1px solid var(--border); }
.preview-label { font-size: .9rem; font-weight: 700; color: #5d7191; text-align: center; }
.preview-action-form { margin: 0; }
.preview-rotate-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.preview-rotate-button { width: 100%; padding-inline: 10px; font-size: .9rem; }
.preview-action-button, .preview-delete-button { width: 100%; }
.preview-delete-button { width: 100%; }
.product-stats-row { margin: 6px 0 16px; }
.contact-click-details { position: relative; }
.contact-click-details summary { list-style: none; cursor: pointer; }
.contact-click-details summary::-webkit-details-marker { display: none; }
.contact-click-panel {
  position: absolute; z-index: 10; left: 0; top: calc(100% + 8px); width: min(760px, calc(100vw - 40px));
  padding: 14px; border: 1px solid var(--border); border-radius: 12px; background: #fff; box-shadow: 0 16px 34px rgba(20,50,110,.16);
}
.contact-click-panel table { min-width: 640px; }
.contact-click-panel th, .contact-click-panel td { vertical-align: top; }
.empty-click-details { margin: 0; color: #5d7191; }
.admin-head { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-bottom: 20px; }
.admin-head h1 { margin: 0 0 6px; }
.admin-dashboard-head {
  display: grid;
  grid-template-columns: minmax(260px, .82fr) minmax(420px, 1.18fr);
  align-items: stretch;
  gap: 18px;
  margin-bottom: 26px;
  padding: 18px;
  border: 1px solid rgba(211,223,239,.9);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(241,246,252,.9)),
    radial-gradient(circle at 10% 10%, rgba(241,201,75,.18), transparent 34%);
  box-shadow: 0 18px 38px rgba(18,45,88,.11);
}
.admin-title-block {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4px 8px;
}
.admin-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef5ff;
  border: 1px solid #cdddf2;
  color: #28549a;
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}
.admin-dashboard-head h1 {
  margin: 0;
  color: #102d67;
  font-size: clamp(1.8rem, 2.6vw, 2.55rem);
  line-height: 1.04;
}
.admin-dashboard-head p {
  max-width: 560px;
  margin: 10px 0 0;
  color: #5a6d8d;
  font-size: 1rem;
  line-height: 1.45;
}
.admin-dashboard-head .admin-actions {
  align-content: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 4px;
}
.admin-dashboard-head .admin-actions a {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: .9rem;
  box-shadow: 0 8px 18px rgba(18,45,88,.08);
}
.admin-dashboard-head .admin-actions .admin-action-main {
  min-width: 150px;
  box-shadow: 0 10px 24px rgba(214,159,23,.22);
}
.admin-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.admin-grid > .section-block { scroll-margin-top: 120px; }
.danger-zone { margin-top: 24px; border-color: #f0bcc7; background: linear-gradient(180deg, #fff, #fff7f8); scroll-margin-top: 24px; }
.danger-text { margin: 0 0 16px; color: #7d2d44; }
.danger-form { display: grid; gap: 14px; }
.danger-options { display: grid; gap: 14px; }
.danger-option { display: grid !important; grid-template-columns: auto 1fr; gap: 10px; align-items: start; margin: 0 !important; padding: 14px; border: 1px solid #f0bcc7; border-radius: 12px; background: #fff; color: #7d2d44 !important; }
.danger-option input { width: auto !important; margin-top: 3px; }
.danger-option span { display: block; }
.danger-summary { padding: 16px; border-radius: 12px; border: 1px solid #f0bcc7; background: #fff; color: #7d2d44; }
.danger-summary p { margin: 0; }
.danger-summary p + p { margin-top: 8px; }
.danger-check { display: grid !important; grid-template-columns: auto 1fr; gap: 10px; align-items: start; margin: 0 !important; color: #c0364d !important; }
.danger-check input { width: auto !important; margin-top: 3px; }
.danger-check span { color: #c0364d; display: block; }
.user-photo-edit {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 10px 0;
}
.backup-settings-form { display: grid; gap: 12px; }
.backup-run-form { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.admin-subtable { margin-top: 10px; }
.admin-searches, .admin-searches-detail { width: min(1100px, 100%); }
.admin-report { width: min(1280px, 100%); }
.admin-report h2 { margin: 0 0 12px; color: #21488b; }
.report-table-shell { position: relative; padding: 0; }
.table-copy-button {
  position: absolute;
  right: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid #cdddf2;
  border-radius: 10px;
  background: rgba(255,255,255,.95);
  color: #21488b;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(18,45,88,.14);
}
.table-copy-button:hover { background: #f4f8fd; }
.table-copy-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.table-copy-button-top { top: 12px; }
.table-copy-button-bottom { bottom: 12px; }
.table-wrap tbody tr.is-selected-search td { background: #f4f8fd; }
.table-wrap small { color: #5d7191; }
.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 10px; border-bottom: 1px solid var(--border); text-align: left; }
th { color: #21488b; }
.admin-product-cover-link { display: inline-block; width: 50px; height: 50px; border-radius: 8px; }
.admin-product-cover { width: 50px; height: 50px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); background: #eef4fb; }
.table-wrap tbody tr.is-inactive td,
.table-wrap tbody tr.is-inactive td a,
.table-wrap tbody tr.is-inactive td small { color: #96a0b2; }
.empty-state { padding: 28px; text-align: center; color: #5f7390; background: #fff; border-radius: 14px; }
.empty-state a { color: var(--blue-1); text-decoration: underline; font-weight: 800; }
.site-footer {
  margin-top: auto; background: linear-gradient(180deg, #1c61be, #123f8f); color: #fff; border-top: 3px solid rgba(241,201,75,.75);
}
.site-footer::before {
  content: "";
  display: block;
  width: 100%;
  height: 48px;
  background-image: url('../img/footer-desktop.png');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% 100%;
}
@media (max-width: 768px) {
  .site-footer::before {
    height: 34px;
    background-image: url('../img/footer-mobile.png');
    background-size: 100% auto;
  }
}
.footer-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: #fff; font-weight: 700; }
@media (max-width: 1100px) {
  .category-grid { grid-template-columns: repeat(4, 1fr); }
  .grid-large { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .topbar-inner, .hero-copy, .admin-head { flex-direction: column; align-items: stretch; }
  .topbar-inner { justify-content: center; padding: 10px 0; }
  .brand { justify-content: center; }
  .brand img { width: min(420px, 92vw); max-height: 86px; }
  .header-userbar { width: 100%; justify-content: space-between; }
  .header-user-copy strong,
  .header-user-copy small { max-width: min(52vw, 360px); }
  .admin-dashboard-head { grid-template-columns: 1fr; padding: 16px; }
  .admin-dashboard-head .admin-actions { justify-content: flex-start; padding: 0; }
  .admin-dashboard-head .admin-actions a { flex: 1 1 180px; }
  .main-nav { justify-content: center; flex-wrap: wrap; }
  .top-actions { justify-content: center; }
  .search-box > input { font-size: 1.1rem; padding: 16px; }
  .search-scope { padding: 0 12px; font-size: .95rem; white-space: normal; }
  .search-box button { font-size: 1.2rem; min-width: 130px; }
  .two-col, .video-layout, .product-detail, .admin-grid { grid-template-columns: 1fr; }
  .product-grid, .grid-large { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .brand { font-size: 1.5rem; }
  .brand img { max-height: 74px; }
  .header-userbar { align-items: stretch; flex-wrap: wrap; }
  .header-user { flex: 1 1 100%; padding-right: 0; }
  .header-user-link { flex: 1 1 auto; }
  .header-user-copy strong,
  .header-user-copy small { max-width: calc(100vw - 100px); }
  .section-block { padding: 14px; border-radius: 14px; }
  .section-head { align-items: flex-start; gap: 10px; }
  .section-head h2 { font-size: 1.55rem; line-height: 1.12; }
  .provider-results-heading {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    width: 100%;
  }
  .provider-results-heading .user-avatar-ring-lg { --avatar-size: 112px; }
  .admin-dashboard-head h1 { font-size: 1.8rem; }
  .admin-dashboard-head .admin-actions a { flex: 1 1 100%; }
  .category-grid, .product-grid, .grid-large, .gallery-strip, .preview-strip { grid-template-columns: 1fr 1fr; }
  .hero-flag { font-size: 2.8rem; }
  .search-box { flex-direction: column; }
  .search-box > input { flex: 0 0 auto; min-height: 58px; }
  .search-scope { flex: 0 0 auto; min-height: 46px; border-top: 1px solid var(--border); border-left: 0; }
  .search-box button { flex: 0 0 auto; width: 100%; min-height: 58px; padding: 14px 24px; }
  .footer-inner { flex-direction: column; justify-content: center; padding: 18px 0; }
  .share-trigger { padding-inline: 16px; }
  .share-fallback { left: 0; right: auto; min-width: min(280px, calc(100vw - 32px)); }
}
