/* ── Reset & base ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ol:      #6B7C45;
  --ol-d:    #4A5730;
  --ol-dd:   #333D20;
  --ol-l:    #EDF0E4;
  --ol-m:    #B8C49A;
  --pink:    #c47a8a;
  --pink-l:  #fdf0f4;
  --pink-ll: #fdf5f7;
  --white:   #ffffff;
  --bg:      #F9F6F4;
  --bg2:     #F0EDE9;
  --text:    #1A1A18;
  --text2:   #6B6B62;
  --text3:   #9E9E94;
  --border:  rgba(0,0,0,0.1);
  --border2: rgba(0,0,0,0.07);
  --radius:  8px;
  --radius-lg: 14px;
  --shadow:  0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: linear-gradient(160deg, #fde8f0 0%, #fdf3f0 20%, #fdf8f2 40%, #f4f7ee 65%, #e8f2e0 100%) fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── Main container */
main { display: block; width: 100%; }

/* ── Shipping bar ─────────────────────────────────── */
.shipping-bar {
  width: 100%;
  background: linear-gradient(90deg, #f9e4ec 0%, #fceef4 25%, #f5f0f8 50%, #edf4e8 75%, #e4f0dd 100%);
  border-bottom: 1px solid rgba(196,122,138,0.18);
  padding: 8px 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 200;
}
.shipping-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 0;
  max-width: 960px;
  width: 100%;
}
.ship-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #7a4d5a;
  font-weight: 500;
  padding: 0 14px;
  white-space: nowrap;
}
.ship-item svg { color: var(--pink); flex-shrink: 0; }
.ship-sep {
  width: 1px;
  height: 12px;
  background: rgba(196,122,138,0.3);
  flex-shrink: 0;
}

/* ── Site banner ──────────────────────────────────── */
.site-banner {
  width: 100%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 1.5rem;
}
.site-banner img {
  max-width: 820px;
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px rgba(180,120,140,0.12), 0 1px 4px rgba(0,0,0,0.04);
}

/* ── Shop section ─────────────────────────────────── */
.shop-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  background: transparent;
  width: 100%;
}
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.section-title { font-size: 18px; font-weight: 600; color: var(--text); }
.section-count { font-size: 13px; color: var(--text3); }

.prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.prod-card {
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(196,122,138,0.13);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow .2s, transform .15s;
}
.prod-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.prod-img {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, var(--pink-ll) 0%, var(--ol-l) 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ol-m);
}
.prod-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.prod-card:hover .prod-img img { transform: scale(1.04); }
.prod-img-placeholder { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.prod-img-placeholder svg { opacity: .4; }
.prod-img-placeholder span { font-size: 12px; color: var(--ol-m); }
.prod-body { padding: 14px; }
.prod-cat-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: #7a4d5a;
  background: var(--pink-l);
  padding: 2px 8px;
  border-radius: 100px;
  margin-bottom: 6px;
}
.prod-name { font-size: 15px; font-weight: 500; color: var(--text); margin-bottom: 4px; line-height: 1.3; }
.prod-desc-short {
  font-size: 13px; color: var(--text2); margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4;
}
.prod-footer { display: flex; align-items: center; justify-content: space-between; }
.prod-price { font-size: 16px; font-weight: 600; color: var(--ol-d); }
.prod-stock-badge { font-size: 12px; color: var(--text3); }
.prod-stock-badge.low { color: #d97706; }
.prod-stock-badge.out { color: #dc2626; }

/* ── Product page ─────────────────────────────────── */
.product-page { max-width: 960px; margin: 0 auto; padding: 2rem 1.5rem; }
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; color: var(--text2); cursor: pointer; margin-bottom: 1.5rem; transition: color .15s;
}
.back-link:hover { color: var(--pink); }
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
@media (max-width: 640px) { .product-layout { grid-template-columns: 1fr; } }
.product-gallery {
  border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(135deg, var(--pink-ll) 0%, var(--ol-l) 100%);
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
}
.product-gallery img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery-placeholder { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--ol-m); }
.product-gallery-placeholder svg { opacity: .35; }
.product-gallery-placeholder span { font-size: 14px; }
.product-info { display: flex; flex-direction: column; gap: 1rem; }
.product-cat-tag {
  display: inline-flex; align-items: center;
  font-size: 12px; font-weight: 500; color: #7a4d5a; background: var(--pink-l);
  padding: 3px 10px; border-radius: 100px; width: fit-content;
}
.product-name { font-size: 26px; font-weight: 600; color: var(--text); line-height: 1.2; }
.product-price { font-size: 28px; font-weight: 600; color: var(--ol-d); }
.product-desc { font-size: 15px; color: var(--text2); line-height: 1.7; border-top: 1px solid var(--border2); padding-top: 1rem; }
.product-meta { display: flex; flex-direction: column; gap: 8px; }
.product-meta-row { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text2); }
.product-meta-row svg { color: var(--pink); flex-shrink: 0; }
.product-meta-row strong { color: var(--text); }
.product-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: .5rem; }

/* ── Empty state ──────────────────────────────────── */
.empty-state { text-align: center; padding: 4rem 2rem; color: var(--text2); }
.empty-state svg { color: var(--ol-m); margin-bottom: 12px; }
.empty-state h3 { font-size: 16px; font-weight: 500; color: var(--text); margin-bottom: 6px; }
.empty-state p { font-size: 14px; color: var(--text3); }

/* ── Buttons ──────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0 18px; height: 38px; border-radius: var(--radius); border: none;
  background: var(--pink); color: #fff; font-size: 14px; font-weight: 500;
  font-family: inherit; cursor: pointer; transition: background .15s;
}
.btn-primary:hover { background: #a85e70; }
.btn-primary.green { background: var(--ol); }
.btn-primary.green:hover { background: var(--ol-d); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0 14px; height: 38px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--white);
  color: var(--text2); font-size: 14px; font-family: inherit; cursor: pointer; transition: background .1s;
}
.btn-outline:hover { background: var(--bg2); }
.btn-icon {
  width: 32px; height: 32px; border-radius: var(--radius);
  border: 1px solid var(--border2); background: transparent;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--text2); transition: background .1s, color .1s; flex-shrink: 0;
}
.btn-icon:hover { background: var(--bg2); color: var(--text); }
.btn-icon.del:hover { background: #fef2f2; color: #dc2626; border-color: #fca5a5; }
.btn-icon.save { color: var(--ol); }

/* ── Toast ────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #3d2530; color: #fff; font-size: 14px;
  padding: 10px 20px; border-radius: var(--radius);
  opacity: 0; transition: opacity .2s, transform .2s;
  pointer-events: none; z-index: 999; white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ════════════════════════════════════════════════════
   ADMIN STYLES (admin.html)
   ════════════════════════════════════════════════════ */
.admin-body { background: linear-gradient(160deg, #fde8f0 0%, #fdf3f0 20%, #fdf8f2 40%, #f4f7ee 65%, #e8f2e0 100%) fixed; min-height: 100vh; }

/* Login */
.login-overlay {
  min-height: 100vh; background: linear-gradient(135deg, var(--pink-ll) 0%, var(--ol-l) 100%);
  display: flex; align-items: center; justify-content: center; padding: 2rem;
}
.login-card {
  background: rgba(255,255,255,0.88); border: 1px solid rgba(196,122,138,0.2);
  border-radius: var(--radius-lg); padding: 2.2rem; width: 100%; max-width: 360px;
  box-shadow: 0 8px 32px rgba(196,122,138,0.12);
}
.login-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 1.5rem; }
.login-logo svg { color: var(--pink); }
.login-logo-text { font-size: 15px; font-weight: 600; color: var(--text); line-height: 1.2; }
.login-title { font-size: 15px; font-weight: 500; margin-bottom: 4px; }
.login-sub { font-size: 13px; color: var(--text2); margin-bottom: 1.5rem; }

/* Fields */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 500; color: var(--text2); margin-bottom: 5px; }
.field input, .field select, .field textarea {
  width: 100%; height: 38px; padding: 0 12px;
  font-size: 14px; font-family: inherit;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--white); color: var(--text); outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { height: 80px; padding: 10px 12px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(196,122,138,0.12);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.err-msg {
  font-size: 13px; color: #dc2626; background: #fef2f2;
  border: 1px solid #fecaca; border-radius: var(--radius); padding: 8px 12px; margin-bottom: 14px;
}
.form-actions { display: flex; gap: 8px; margin-top: 1.5rem; }

/* Admin layout */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 220px; flex-shrink: 0;
  background: rgba(255,250,252,0.92); border-right: 1px solid rgba(196,122,138,0.15);
  padding: 1.5rem 1rem; display: flex; flex-direction: column; gap: 4px;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.admin-sidebar-logo {
  display: flex; align-items: center; gap: 8px;
  padding: 0 8px; margin-bottom: 1rem;
  font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.3;
}
.admin-sidebar-logo svg { color: var(--pink); flex-shrink: 0; }
.sidebar-label {
  font-size: 11px; font-weight: 500; text-transform: uppercase;
  letter-spacing: .08em; color: var(--text3); padding: 0 8px; margin-bottom: 4px; margin-top: 8px;
}
.sidebar-item {
  display: flex; align-items: center; gap: 8px; padding: 8px 10px;
  border-radius: var(--radius); font-size: 14px; color: var(--text2);
  cursor: pointer; transition: background .1s, color .1s;
  border: none; background: transparent; font-family: inherit; width: 100%; text-align: left;
}
.sidebar-item:hover { background: var(--bg); color: var(--text); }
.sidebar-item.active { background: var(--pink-l); color: #7a3a4a; font-weight: 500; }
.sidebar-item svg { flex-shrink: 0; color: var(--pink); }
.sidebar-item.active svg { color: #a85e70; }

.admin-content { flex: 1; padding: 2rem; overflow: auto; background: transparent; }
.admin-content-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem;
}
.admin-content-title { font-size: 20px; font-weight: 600; color: var(--text); }
.admin-back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text2); text-decoration: none;
  padding: 6px 12px; border-radius: var(--radius);
  border: 1px solid var(--border2); background: var(--white);
  transition: background .1s;
}
.admin-back-link:hover { background: var(--bg2); color: var(--text); }

/* Stats */
.stats-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; margin-bottom: 2rem; }
.stat-card { background: rgba(255,255,255,0.75); border: 1px solid rgba(196,122,138,0.15); border-radius: var(--radius-lg); padding: 1rem 1.25rem; backdrop-filter: blur(4px); }
.stat-label { font-size: 12px; color: var(--text2); margin-bottom: 4px; }
.stat-value { font-size: 26px; font-weight: 600; color: var(--text); }

/* Cat manager */
.cat-list { display: flex; flex-direction: column; gap: 8px; max-width: 560px; }
.cat-row {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px;
  background: var(--white); border: 1px solid var(--border2); border-radius: var(--radius);
}
.cat-name { flex: 1; font-size: 14px; font-weight: 500; color: var(--text); }
.cat-count {
  font-size: 12px; padding: 2px 8px; border-radius: 100px;
  background: var(--pink-l); color: #7a3a4a; font-weight: 500;
}
.cat-edit-input {
  flex: 1; height: 32px; padding: 0 10px; font-size: 14px; font-family: inherit;
  border: 1px solid var(--pink); border-radius: var(--radius); outline: none;
  box-shadow: 0 0 0 3px rgba(196,122,138,0.1); background: var(--white); color: var(--text);
}
.add-row { display: flex; gap: 8px; max-width: 560px; margin-bottom: 1.5rem; }
.add-row input {
  flex: 1; height: 38px; padding: 0 12px; font-size: 14px; font-family: inherit;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--white); color: var(--text); outline: none;
}
.add-row input:focus { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(196,122,138,0.1); }

/* Prod table */
.table-wrap { background: rgba(255,255,255,0.78); border: 1px solid rgba(196,122,138,0.13); border-radius: var(--radius-lg); overflow: hidden; backdrop-filter: blur(4px); }
.prod-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.prod-table th {
  text-align: left; padding: 10px 14px; font-size: 12px; font-weight: 500;
  color: var(--text2); text-transform: uppercase; letter-spacing: .05em;
  background: var(--bg); border-bottom: 1px solid var(--border2);
}
.prod-table td { padding: 12px 14px; border-bottom: 1px solid var(--border2); vertical-align: middle; color: var(--text); }
.prod-table tr:last-child td { border-bottom: none; }
.prod-table tr:hover td { background: var(--bg); }
.prod-thumb {
  width: 40px; height: 40px; border-radius: var(--radius); object-fit: cover;
  background: var(--pink-l); display: flex; align-items: center; justify-content: center;
  color: var(--pink); overflow: hidden; flex-shrink: 0;
}
.prod-thumb img { width: 40px; height: 40px; object-fit: cover; border-radius: var(--radius); }
.td-name { font-weight: 500; }
.td-actions { display: flex; gap: 6px; justify-content: flex-end; }

/* Prod form */
.prod-form { max-width: 560px; }
.form-section-title {
  font-size: 13px; font-weight: 500; text-transform: uppercase;
  letter-spacing: .06em; color: var(--text3); margin-bottom: 10px;
  margin-top: 1.5rem; border-top: 1px solid var(--border2); padding-top: 1.25rem;
}
.form-section-title:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.img-preview {
  width: 100%; height: 140px; border: 1px dashed rgba(196,122,138,0.4);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  background: var(--pink-ll); margin-bottom: 10px; overflow: hidden; cursor: pointer;
}
.img-preview img { width: 100%; height: 100%; object-fit: cover; }
.img-preview-placeholder { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--pink); font-size: 13px; opacity: .7; }

/* ── Multi-category tags (tienda) ─────────────────── */
.prod-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 6px; }
.prod-cat-tag {
  display: inline-block; font-size: 11px; font-weight: 500;
  color: #7a4d5a; background: var(--pink-l);
  padding: 2px 7px; border-radius: 100px;
}

/* Detalle de producto — múltiples tags */
.product-cat-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.product-cat-tag {
  display: inline-flex; align-items: center;
  font-size: 12px; font-weight: 500; color: #7a4d5a; background: var(--pink-l);
  padding: 3px 10px; border-radius: 100px;
}

/* ── Mini tags (tabla admin) ──────────────────────── */
.td-cat-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.mini-tag {
  display: inline-block; font-size: 11px; font-weight: 500;
  color: #7a4d5a; background: var(--pink-l);
  padding: 2px 7px; border-radius: 100px; white-space: nowrap;
}
.mini-tag-lg {
  font-size: 12px; padding: 3px 10px;
}

/* ── Checkboxes de categorías en formulario ───────── */
.cat-checkboxes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
  max-width: 560px;
  padding: 12px;
  background: linear-gradient(160deg, #fde8f0 0%, #fdf3f0 20%, #fdf8f2 40%, #f4f7ee 65%, #e8f2e0 100%) fixed;
  min-height: 100vh;
  border: 1px solid var(--border2);
  border-radius: var(--radius);
}

.cat-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: var(--radius);
  border: 1px solid var(--border2);
  background: var(--white);
  cursor: pointer;
  transition: background .12s, border-color .12s;
  user-select: none;
}
.cat-checkbox-label:hover {
  background: var(--pink-ll);
  border-color: rgba(196,122,138,0.35);
}
.cat-checkbox-label:has(.cat-checkbox:checked) {
  background: var(--pink-l);
  border-color: var(--pink);
}

.cat-checkbox {
  width: 15px; height: 15px;
  accent-color: var(--pink);
  cursor: pointer;
  flex-shrink: 0;
}
.cat-checkbox-text {
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
  line-height: 1;
}

/* ── Loading / spinner ────────────────────────────── */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 4rem 2rem;
  color: var(--text3);
  font-size: 14px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.spinner { animation: spin .8s linear infinite; color: var(--pink); }

/* ── ID badge ─────────────────────────────────────── */
.id-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  font-family: 'SF Mono', 'Fira Code', monospace;
  color: var(--ol-dd);
  background: var(--ol-l);
  border: 1px solid var(--ol-m);
  padding: 2px 7px;
  border-radius: 5px;
  letter-spacing: .03em;
  white-space: nowrap;
}

/* ── Referencia en ficha de producto ─────────────── */
.product-meta-row .ref-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  font-family: 'SF Mono', 'Fira Code', monospace;
  color: var(--ol-dd);
  background: var(--ol-l);
  border: 1px solid var(--ol-m);
  padding: 2px 8px;
  border-radius: 5px;
  letter-spacing: .04em;
}

/* ── Galería de producto ──────────────────────────── */
.product-gallery-wrap { display: flex; flex-direction: column; gap: 10px; }

.product-gallery {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255,255,255,0.5);
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: zoom-in;
}
.gallery-main-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity .18s;
  display: block;
}
.gallery-fade { opacity: 0.4; }

/* Flechas de navegación */
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.9); border: 1px solid rgba(0,0,0,.08);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text); z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
  transition: background .15s, transform .15s;
}
.gallery-nav:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.gallery-prev { left: 10px; }
.gallery-next { right: 10px; }

/* Botón zoom */
.gallery-zoom-btn {
  position: absolute; top: 10px; right: 10px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.85); border: 1px solid rgba(0,0,0,.08);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text2); z-index: 10;
  transition: background .15s;
}
.gallery-zoom-btn:hover { background: #fff; color: var(--pink); }

/* Contador */
.gallery-counter {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  background: rgba(0,0,0,.45); color: #fff; font-size: 12px;
  padding: 2px 10px; border-radius: 100px; pointer-events: none;
}

/* Thumbnails */
.gallery-thumbs {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.gallery-thumb {
  width: 64px; height: 64px; border-radius: var(--radius);
  overflow: hidden; cursor: pointer;
  border: 2px solid var(--border2);
  transition: border-color .15s, transform .12s;
  flex-shrink: 0;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb:hover { border-color: var(--pink); transform: scale(1.04); }
.gallery-thumb.active { border-color: var(--pink); box-shadow: 0 0 0 2px rgba(196,122,138,.25); }

/* ── Lightbox ──────────────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,.92);
  display: none; align-items: center; justify-content: center;
  flex-direction: column; gap: 16px;
}
.lightbox.open { display: flex; }

.lightbox-img-wrap {
  max-width: 90vw; max-height: 80vh;
  display: flex; align-items: center; justify-content: center;
  cursor: grab;
}
.lightbox-img-wrap:active { cursor: grabbing; }
.lightbox-img {
  max-width: 90vw; max-height: 80vh;
  object-fit: contain; border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0,0,0,.5);
  user-select: none;
}

.lightbox-close {
  position: absolute; top: 16px; right: 16px;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.lightbox-close:hover { background: rgba(255,255,255,.22); }

.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.lightbox-nav:hover { background: rgba(255,255,255,.25); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

.lightbox-counter {
  color: rgba(255,255,255,.6); font-size: 13px;
}

/* ── Multi-imagen admin form ──────────────────────── */
.img-url-list { display: flex; flex-direction: column; gap: 8px; max-width: 560px; }
.img-url-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  background: var(--bg); border: 1px solid var(--border2); border-radius: var(--radius);
}
.img-url-thumb {
  width: 48px; height: 48px; border-radius: var(--radius);
  overflow: hidden; flex-shrink: 0;
  background: var(--pink-ll); display: flex; align-items: center; justify-content: center;
}
.img-url-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-url-thumb-placeholder { color: var(--pink); opacity: .5; }
.img-url-input {
  flex: 1; height: 34px; padding: 0 10px;
  font-size: 13px; font-family: inherit;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--white); color: var(--text); outline: none;
}
.img-url-input:focus { border-color: var(--pink); box-shadow: 0 0 0 2px rgba(196,122,138,.1); }
.img-principal-badge {
  font-size: 11px; font-weight: 500; color: var(--ol-dd);
  background: var(--ol-l); border: 1px solid var(--ol-m);
  padding: 2px 8px; border-radius: 100px; white-space: nowrap; flex-shrink: 0;
}

/* ── Upload de imágenes con Cloudinary ────────────── */
.img-upload-list { display: flex; flex-direction: column; gap: 8px; max-width: 560px; margin-bottom: 4px; }

.img-upload-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  background: var(--bg); border: 1px solid var(--border2); border-radius: var(--radius);
}
.img-upload-name {
  flex: 1; font-size: 13px; color: var(--text2);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.btn-upload-add {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 8px; padding: 8px 16px;
  border: 1.5px dashed rgba(196,122,138,.45);
  border-radius: var(--radius); background: var(--pink-ll);
  color: var(--pink); font-size: 13px; font-weight: 500;
  cursor: pointer; transition: background .12s, border-color .12s;
  font-family: inherit;
}
.btn-upload-add:hover { background: var(--pink-l); border-color: var(--pink); }

.upload-progress-msg {
  font-size: 13px; color: var(--ol-d); font-weight: 500;
  padding: 6px 10px; border-radius: var(--radius);
  background: var(--ol-l); border: 1px solid var(--ol-m);
  display: inline-block; margin-top: 6px;
}
.upload-progress-msg.upload-error {
  color: #dc2626; background: #fef2f2; border-color: #fca5a5;
}

/* ── Sección Más vistos ───────────────────────────── */
.most-viewed-section {
  background: transparent;
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}
.most-viewed-icon {
  display: inline-flex;
  align-items: center;
  margin-right: 8px;
  color: var(--pink);
  vertical-align: middle;
}
.most-viewed-grid {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.most-viewed-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196,122,138,0.2), transparent);
  margin: 0 auto;
  max-width: 1100px;
  padding: 0 1.5rem;
}

/* ── Site header (banner + acciones) ──────────────── */
.site-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 16px 1.5rem 0;
  gap: 1rem;
  position: relative;
  min-height: 90px;
}
.site-header .site-banner {
  position: absolute;
  left: 50%;
  top: 16px;
  transform: translateX(-50%);
  padding: 0;
  justify-content: center;
  background: transparent;
}
.site-header .site-banner img {
  max-width: 220px;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  box-shadow: none;
  mask-image: none;
  -webkit-mask-image: none;
  mix-blend-mode: multiply;
}
.header-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

/* Botones del header */
.hdr-btn {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(196,122,138,0.3);
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(6px);
  font-size: 13px; font-family: inherit;
  color: var(--text2); cursor: pointer;
  transition: background .1s, color .1s, border-color .1s;
  white-space: nowrap;
}
.hdr-btn:hover { background: var(--pink-l); color: var(--pink); border-color: var(--pink); }
.hdr-login-btn { color: var(--pink); border-color: var(--pink); font-weight: 500; background: rgba(255,255,255,0.9); }
.hdr-cart-btn  { font-weight: 500; }
.hdr-btn-label { display: inline; }
.hdr-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--pink) 0%, var(--ol) 100%);
  color: #fff; font-size: 15px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: none;
  box-shadow: 0 2px 8px rgba(196,122,138,0.3);
  transition: transform .15s;
}
.hdr-avatar:hover { transform: scale(1.08); }

/* ── Menú horizontal de categorías ───────────────── */
.cat-navbar {
  width: 100%;
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(196,122,138,0.15);
  border-top: 1px solid rgba(196,122,138,0.1);
  margin-top: 12px;
  position: sticky;
  top: 36px;
  z-index: 150;
}
.cat-nav-inner {
  display: flex;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 0;
}
.cat-nav-inner::-webkit-scrollbar { display: none; }
.cat-nav-item {
  padding: 0 18px;
  height: 44px;
  display: flex; align-items: center;
  font-size: 13px; font-weight: 500;
  color: var(--text2);
  cursor: pointer;
  white-space: nowrap;
  border: none; background: transparent;
  font-family: inherit;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
  flex-shrink: 0;
}
.cat-nav-item:hover { color: var(--pink); }
.cat-nav-item.active { color: var(--pink); border-bottom-color: var(--pink); }

@media (max-width: 640px) {
  .site-header { padding: 10px 1rem 0; }
  .hdr-btn-label { display: none; }
  .header-actions { gap: 6px; }
  .hdr-btn { padding: 8px 10px; }
}

/* ── Auth page ────────────────────────────────────── */
.auth-page {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 2.5rem 1rem;
  min-height: 60vh;
}
.auth-card {
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(196,122,138,0.2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  width: 100%; max-width: 380px;
  box-shadow: 0 8px 32px rgba(196,122,138,0.1);
}
.auth-logo {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--pink-l), var(--ol-l));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem; color: var(--pink);
  border: 1px solid rgba(196,122,138,0.2);
}
.auth-title {
  font-size: 18px; font-weight: 600; color: var(--text);
  text-align: center; margin-bottom: 1.5rem;
}
.auth-err {
  font-size: 13px; color: #dc2626;
  background: #fef2f2; border: 1px solid #fecaca;
  border-radius: var(--radius); padding: 8px 12px; margin-bottom: 12px;
}
.auth-ok {
  font-size: 13px; color: var(--ol-dd);
  background: var(--ol-l); border: 1px solid var(--ol-m);
  border-radius: var(--radius); padding: 8px 12px; margin-bottom: 12px;
}
.auth-divider {
  display: flex; align-items: center; gap: 10px;
  margin: 16px 0; color: var(--text3); font-size: 13px;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border2);
}
.btn-google {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 9px 16px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--white);
  font-size: 14px; font-family: inherit; font-weight: 500;
  color: var(--text); cursor: pointer; transition: background .1s;
}
.btn-google:hover { background: var(--bg); }
.auth-links {
  margin-top: 16px; text-align: center; font-size: 13px; color: var(--text3);
}
.auth-links a { color: var(--pink); text-decoration: none; }
.auth-links a:hover { text-decoration: underline; }

/* ── Perfil ───────────────────────────────────────── */
.profile-page {
  max-width: 640px; margin: 0 auto; padding: 2rem 1.5rem;
  display: flex; flex-direction: column; gap: 1.5rem;
}
.profile-header {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.25rem; background: rgba(255,255,255,0.8);
  border: 1px solid rgba(196,122,138,0.15); border-radius: var(--radius-lg);
}
.profile-avatar {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--pink) 0%, var(--ol) 100%);
  color: #fff; font-size: 22px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(196,122,138,0.3);
}
.profile-email { font-size: 15px; font-weight: 500; color: var(--text); }
.profile-since { font-size: 12px; color: var(--text3); margin-top: 2px; }
.profile-section {
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(196,122,138,0.15);
  border-radius: var(--radius-lg); padding: 1.25rem;
  display: flex; flex-direction: column; gap: 12px;
}
.profile-section-title {
  font-size: 14px; font-weight: 600; color: var(--text);
  display: flex; align-items: center; gap: 8px; margin-bottom: 4px;
}
.profile-section-title svg { color: var(--pink); }

/* ── Wishlist btn en producto ─────────────────────── */
.btn-wishlist {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0 14px; height: 38px; border-radius: var(--radius);
  border: 1px solid rgba(196,122,138,0.35);
  background: transparent; color: var(--text2);
  font-size: 14px; font-family: inherit; cursor: pointer;
  transition: all .15s;
}
.btn-wishlist:hover { background: var(--pink-l); color: var(--pink); border-color: var(--pink); }
.btn-wishlist.wished { background: var(--pink-l); color: var(--pink); border-color: var(--pink); }

/* ── Wish btn en tarjeta ──────────────────────────── */
.wish-btn {
  position: absolute; top: 8px; right: 8px;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(196,122,138,0.2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text3);
  transition: background .15s, color .15s, transform .15s;
  z-index: 5;
}
.wish-btn:hover { background: var(--pink-l); color: var(--pink); transform: scale(1.12); }
.wish-btn.wished { color: var(--pink); background: var(--pink-l); }
.prod-img { position: relative; }

/* ── Toggle personalizable (admin) ───────────────── */
.toggle-label {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px; border-radius: var(--radius);
  border: 1px solid var(--border2); background: var(--bg);
  cursor: pointer; transition: background .1s;
}
.toggle-label:hover { background: var(--pink-ll); }
.toggle-wrap { flex-shrink: 0; margin-top: 2px; }
.toggle-wrap input[type="checkbox"] { display: none; }
.toggle-track {
  width: 40px; height: 22px; border-radius: 11px;
  background: var(--border); transition: background .2s;
  position: relative; cursor: pointer;
}
.toggle-wrap input:checked + .toggle-track { background: var(--pink); }
.toggle-thumb {
  position: absolute; top: 3px; left: 3px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; transition: transform .2s;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.toggle-wrap input:checked + .toggle-track .toggle-thumb { transform: translateX(18px); }
.toggle-title { font-size: 14px; font-weight: 500; color: var(--text); }
.toggle-sub { font-size: 12px; color: var(--text3); margin-top: 2px; line-height: 1.4; }

/* Preview personalizable en admin */
.personalizable-preview {
  margin-top: 10px; padding: 14px;
  border: 1.5px dashed rgba(196,122,138,.4);
  border-radius: var(--radius); background: var(--pink-ll);
}
.personalizable-preview.hidden { display: none; }
.pers-preview-label { font-size: 12px; color: var(--text3); margin-bottom: 8px; font-style: italic; }
.pers-preview-box { background: var(--white); border-radius: var(--radius); padding: 12px; }

/* Badge en tabla */
.pers-badge {
  display: inline-block; font-size: 10px; font-weight: 500;
  background: #fef3c7; color: #92400e;
  border: 1px solid #fcd34d; border-radius: 4px;
  padding: 1px 5px; margin-left: 6px; vertical-align: middle;
}

/* ── Campo personalización en ficha de producto ───── */
.pers-field-wrap {
  width: 100%; padding: 14px;
  border: 1.5px solid rgba(196,122,138,.35);
  border-radius: var(--radius); background: var(--pink-ll);
  transition: border-color .15s;
}
.pers-field-wrap.pers-error { border-color: #dc2626; background: #fef2f2; }
.pers-field-label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--text); margin-bottom: 8px;
}
.pers-required { color: var(--pink); }
.pers-input-wrap { position: relative; }
.pers-input, .pers-input-demo {
  width: 100%; height: 40px; padding: 0 50px 0 12px;
  font-size: 14px; font-family: inherit;
  border: 1px solid rgba(196,122,138,.3);
  border-radius: var(--radius);
  background: var(--white); color: var(--text); outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.pers-input:focus { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(196,122,138,.12); }
.pers-input-demo { opacity: .6; cursor: not-allowed; }
.pers-counter {
  position: absolute; right: 10px; top: 50%;
  transform: translateY(-50%);
  font-size: 11px; font-weight: 500; color: var(--text3);
  pointer-events: none;
}
.pers-counter-max { color: #d97706; }
.pers-hint { font-size: 12px; color: var(--text3); margin-top: 6px; }
.pers-field-wrap.pers-error .pers-hint { color: #dc2626; }

/* ── Personalización: opciones lado a lado ────────── */
.pers-option-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: start;
}
@media (max-width: 520px) {
  .pers-option-row { grid-template-columns: 1fr; }
  .pers-option-sep { text-align: center; }
}
.pers-option { display: flex; flex-direction: column; gap: 8px; }
.pers-option-title {
  font-size: 13px; font-weight: 600; color: var(--text2);
}
.pers-option-sep {
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 500; color: var(--text3);
  padding-top: 28px;
}

/* Botón subir imagen personalización cliente */
.pers-upload-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: var(--radius);
  border: 1.5px dashed rgba(196,122,138,.4);
  background: var(--white); color: var(--text2);
  font-size: 13px; cursor: pointer;
  transition: background .12s, border-color .12s;
}
.pers-upload-btn:hover { background: var(--pink-ll); border-color: var(--pink); color: var(--pink); }

.pers-img-preview {
  margin-top: 8px; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--border2);
  max-height: 100px;
}
.pers-img-preview.hidden { display: none; }
.pers-img-preview img { width: 100%; height: 100px; object-fit: cover; display: block; }

/* Error mensaje */
.pers-error-msg {
  font-size: 13px; color: #dc2626; margin-top: 8px;
  display: flex; align-items: center; gap: 5px;
}
.pers-error-msg.hidden { display: none; }
.pers-field-wrap.pers-error { border-color: #dc2626; background: #fef2f2; }

/* Demo upload en admin preview */
.pers-upload-demo {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: var(--radius);
  border: 1.5px dashed rgba(196,122,138,.3);
  background: var(--pink-ll); color: var(--text3);
  font-size: 13px; opacity: .7;
}

/* ── Carrito badge ────────────────────────────────── */
.topbar-cart-btn { position: relative; }
.cart-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; border-radius: 9px;
  background: var(--pink); color: #fff;
  font-size: 11px; font-weight: 600;
  padding: 0 4px; margin-left: 4px;
  vertical-align: middle;
}

/* ── Página carrito ───────────────────────────────── */
.cart-page { max-width: 960px; margin: 0 auto; padding: 2rem 1.5rem; }
.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.5rem; flex-wrap: wrap; gap: 10px;
}
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 720px) { .cart-layout { grid-template-columns: 1fr; } }

/* Filas de producto */
.cart-items { display: flex; flex-direction: column; gap: 10px; }
.cart-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(196,122,138,.13);
  border-radius: var(--radius-lg);
  flex-wrap: wrap;
}
.cart-thumb {
  width: 60px; height: 60px; border-radius: var(--radius);
  overflow: hidden; flex-shrink: 0;
  background: var(--pink-ll);
  display: flex; align-items: center; justify-content: center;
  color: var(--pink);
}
.cart-thumb img { width: 60px; height: 60px; object-fit: cover; }
.cart-info { flex: 1; min-width: 0; }
.cart-name { font-size: 14px; font-weight: 500; color: var(--text); margin-bottom: 2px; }
.cart-ref  { font-size: 11px; color: var(--text3); font-family: monospace; }
.cart-pers {
  font-size: 12px; color: var(--ol-dd); background: var(--ol-l);
  border-radius: 4px; padding: 2px 6px; margin-top: 4px;
  display: inline-flex; align-items: center; gap: 5px; flex-wrap: wrap;
}
.cart-pers-img {
  width: 32px; height: 32px; object-fit: cover;
  border-radius: 4px; border: 1px solid var(--border2);
}

/* Controles cantidad */
.cart-qty-wrap {
  display: flex; align-items: center; gap: 0;
  border: 1px solid var(--border2); border-radius: var(--radius);
  overflow: hidden; flex-shrink: 0;
}
.cart-qty-btn {
  width: 30px; height: 30px;
  background: transparent; border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text2);
  transition: background .1s;
}
.cart-qty-btn:hover:not(:disabled) { background: var(--pink-l); color: var(--pink); }
.cart-qty-btn:disabled { opacity: .35; cursor: not-allowed; }
.cart-qty-num {
  width: 32px; text-align: center;
  font-size: 14px; font-weight: 500; color: var(--text);
  border-left: 1px solid var(--border2); border-right: 1px solid var(--border2);
  line-height: 30px;
}

.cart-line-price {
  font-size: 15px; font-weight: 600; color: var(--ol-d);
  min-width: 60px; text-align: right;
}
.cart-remove-btn {
  width: 30px; height: 30px; border-radius: var(--radius);
  border: 1px solid var(--border2); background: transparent;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text3);
  transition: background .1s, color .1s;
  flex-shrink: 0;
}
.cart-remove-btn:hover { background: #fef2f2; color: #dc2626; border-color: #fca5a5; }

/* Resumen */
.cart-summary {
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(196,122,138,.15);
  border-radius: var(--radius-lg); padding: 1.25rem;
  position: sticky; top: 100px;
}
.cart-summary-title { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 1rem; }
.cart-summary-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; color: var(--text2); margin-bottom: 8px;
}
.cart-free-ship { color: var(--ol-d); font-weight: 500; }
.cart-ship-hint {
  font-size: 12px; color: var(--text3); margin-bottom: 12px;
  padding: 6px 10px; background: var(--bg); border-radius: var(--radius);
}
.cart-ship-ok { color: var(--ol-d); background: var(--ol-l); }
.cart-summary-total {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 17px; font-weight: 600; color: var(--text);
  border-top: 1px solid var(--border2); padding-top: 12px; margin-top: 4px;
}
.cart-clear-btn { color: var(--text3); font-size: 13px; }

/* ── Selector de cantidad en ficha producto ───────── */
.qty-selector {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(196,122,138,.2);
  border-radius: var(--radius);
}
.qty-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  white-space: nowrap;
}
.qty-controls {
  display: flex;
  align-items: center;
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  overflow: hidden;
}
.qty-btn {
  width: 34px; height: 34px;
  background: transparent; border: none;
  font-size: 18px; font-weight: 400;
  color: var(--text2); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .1s, color .1s;
  line-height: 1;
}
.qty-btn:hover:not(:disabled) { background: var(--pink-l); color: var(--pink); }
.qty-btn:disabled { opacity: .3; cursor: not-allowed; }
.qty-value {
  width: 40px; text-align: center;
  font-size: 15px; font-weight: 600; color: var(--text);
  border-left: 1px solid var(--border2);
  border-right: 1px solid var(--border2);
  line-height: 34px;
  user-select: none;
}
.qty-stock-info {
  font-size: 12px; color: var(--text3);
  white-space: nowrap;
}

/* ── Método de pago en carrito ────────────────────── */
.pay-method-box {
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(196,122,138,.13);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  margin-top: 10px;
}
.pay-method-title {
  font-size: 14px; font-weight: 600; color: var(--text);
  display: flex; align-items: center; gap: 8px; margin-bottom: 12px;
}
.pay-method-title svg { color: var(--pink); }
.pay-method-options { display: flex; flex-direction: column; gap: 8px; }
.pay-option {
  display: flex; align-items: center;
  border: 1.5px solid var(--border2);
  border-radius: var(--radius); padding: 12px 14px;
  cursor: pointer; transition: border-color .15s, background .15s;
  background: var(--white);
}
.pay-option input[type="radio"] { display: none; }
.pay-option.active { border-color: var(--pink); background: var(--pink-ll); }
.pay-option:hover  { border-color: var(--pink); }
.pay-option-content {
  display: flex; align-items: center; gap: 12px; width: 100%;
}
.pay-option-icon { font-size: 24px; flex-shrink: 0; }
.pay-option-name { font-size: 14px; font-weight: 500; color: var(--text); }
.pay-option-desc { font-size: 12px; color: var(--text3); margin-top: 1px; }
.pay-option-price {
  margin-left: auto; font-size: 14px; font-weight: 600; color: var(--text);
  white-space: nowrap; flex-shrink: 0;
}
.pay-option-free { color: var(--ol-d); }

/* ── Checkout ─────────────────────────────────────── */
.checkout-page { max-width: 960px; margin: 0 auto; padding: 2rem 1.5rem; }
.checkout-header {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.5rem; flex-wrap: wrap;
}
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 1.5rem; align-items: start;
}
@media (max-width: 720px) { .checkout-layout { grid-template-columns: 1fr; } }
.checkout-left { display: flex; flex-direction: column; gap: 1rem; }
.checkout-section {
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(196,122,138,.13);
  border-radius: var(--radius-lg); padding: 1.25rem;
  display: flex; flex-direction: column; gap: 12px;
}
.checkout-section-title {
  font-size: 14px; font-weight: 600; color: var(--text);
  display: flex; align-items: center; gap: 8px; margin-bottom: 4px;
}
.checkout-section-title svg { color: var(--pink); }
.checkout-store-note {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--ol-dd);
  background: var(--ol-l); border-radius: var(--radius);
  padding: 10px 14px; border: 1px solid var(--ol-m);
}
.checkout-pay-selected {
  font-size: 14px; font-weight: 500; color: var(--text);
  padding: 10px 14px; background: var(--pink-ll);
  border: 1px solid rgba(196,122,138,.3); border-radius: var(--radius);
}
.checkout-item-row {
  display: flex; justify-content: space-between;
  font-size: 13px; color: var(--text2); margin-bottom: 6px;
}

/* ── Pedido confirmado ────────────────────────────── */
.order-ok-page {
  display: flex; align-items: flex-start; justify-content: center;
  padding: 2.5rem 1rem; min-height: 50vh;
}
.order-ok-card {
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(196,122,138,.2);
  border-radius: var(--radius-lg); padding: 2.5rem;
  max-width: 480px; width: 100%; text-align: center;
  box-shadow: 0 8px 32px rgba(196,122,138,.1);
}
.order-ok-icon { font-size: 52px; margin-bottom: 1rem; }
.order-ok-title { font-size: 22px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.order-ok-paid-badge {
  display: inline-block; font-size: 13px; font-weight: 600;
  background: var(--ol-l); color: var(--ol-dd);
  padding: 5px 14px; border-radius: 100px; margin-bottom: 10px;
}
.order-ok-sub { font-size: 14px; color: var(--text2); margin-bottom: 1.5rem; line-height: 1.6; }
.order-ok-details {
  background: var(--bg); border-radius: var(--radius);
  padding: 14px; margin-bottom: 1rem; text-align: left;
}
.order-ok-row {
  display: flex; justify-content: space-between;
  font-size: 13px; color: var(--text2); padding: 4px 0;
  border-bottom: 1px solid var(--border2);
}
.order-ok-row:last-child { border-bottom: none; }

/* ── Pasos del checkout ───────────────────────────── */
.checkout-steps {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 1.25rem;
  font-size: 13px;
}
.step {
  color: var(--text3);
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--bg2);
}
.step.active {
  color: var(--pink);
  background: var(--pink-l);
  border: 1px solid rgba(196,122,138,.3);
}
.step.done {
  color: var(--ol-d);
  background: var(--ol-l);
}
.step-sep { color: var(--text3); font-size: 16px; }

/* ── Métodos de envío admin ───────────────────────── */
.ship-methods-list { display: flex; flex-direction: column; gap: 8px; max-width: 580px; margin-bottom: 1rem; }
.ship-method-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(196,122,138,.13);
  border-radius: var(--radius);
}
.ship-method-info { flex: 1; }
.ship-method-name { font-size: 14px; font-weight: 500; color: var(--text); }
.ship-method-meta { font-size: 12px; color: var(--text3); margin-top: 2px; }
.ship-form-box {
  max-width: 560px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(196,122,138,.13);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-top: 1rem;
}
.ship-toggle { gap: 8px !important; }

/* ── Historial de pedidos ─────────────────────────── */
.orders-list { display: flex; flex-direction: column; gap: 14px; }
.order-card {
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(196,122,138,.15);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
}
.order-card-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 10px; padding-bottom: 10px;
  border-bottom: 1px solid var(--border2);
}
.order-card-date { font-size: 12px; color: var(--text3); }
.order-card-id   { font-size: 14px; font-weight: 600; color: var(--text); margin-top: 2px; }
.order-status-badge {
  font-size: 12px; font-weight: 500;
  padding: 4px 10px; border-radius: 100px;
  white-space: nowrap;
}
.status-pending { background: #fef3c7; color: #92400e; }
.status-shipped { background: #dbeafe; color: #1e40af; }
.status-done    { background: var(--ol-l); color: var(--ol-dd); }
.status-cancel  { background: #fee2e2; color: #991b1b; }

.payment-status-badge {
  display: inline-block;
  font-size: 12px; font-weight: 500;
  padding: 3px 9px; border-radius: 100px;
  white-space: nowrap;
  margin-left: 4px;
}
.payment-paid    { background: var(--ol-l); color: var(--ol-dd); }
.payment-pending { background: #fef3c7; color: #92400e; }
.order-card-items { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.order-card-item {
  display: flex; justify-content: space-between;
  font-size: 13px; color: var(--text2);
}
.order-card-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 10px; border-top: 1px solid var(--border2);
}
.order-card-ship { font-size: 12px; color: var(--text3); }
.order-card-total { font-size: 16px; font-weight: 600; color: var(--ol-d); }

/* ── Panel admin: pedidos ─────────────────────────── */
.admin-orders-list { display: flex; flex-direction: column; gap: 14px; max-width: 900px; }
.admin-order-card {
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.25rem;
}
.admin-order-header {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 10px; margin-bottom: 12px;
  border-bottom: 1px solid var(--border2);
}
.admin-order-id   { font-size: 15px; font-weight: 600; color: var(--text); }
.admin-order-date { font-size: 12px; color: var(--text3); margin-top: 2px; }
.order-status-select {
  padding: 6px 10px; font-size: 13px; font-family: inherit;
  border: 1px solid var(--border2); border-radius: var(--radius);
  background: var(--white); color: var(--text); cursor: pointer;
}
.admin-order-body {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin-bottom: 12px;
}
@media (max-width: 700px) { .admin-order-body { grid-template-columns: 1fr; } }
.admin-order-label { font-size: 11px; color: var(--text3); text-transform: uppercase; letter-spacing: .03em; margin-bottom: 3px; }
.admin-order-value { font-size: 14px; font-weight: 500; color: var(--text); }
.admin-order-sub   { font-size: 12px; color: var(--text2); margin-top: 2px; }
.admin-order-items {
  background: var(--bg); border-radius: var(--radius);
  padding: 10px 12px; display: flex; flex-direction: column; gap: 4px;
}
.admin-order-item {
  display: flex; justify-content: space-between;
  font-size: 13px; color: var(--text2);
}
.admin-order-item.has-pers { font-weight: 500; }
.admin-order-pers {
  font-size: 12px; color: var(--ol-dd); background: var(--ol-l);
  border-radius: 4px; padding: 3px 8px; margin: 2px 0 4px;
  display: inline-block;
}
.admin-order-notes {
  margin-top: 10px; font-size: 13px; color: var(--text2);
  background: var(--bg); border-radius: var(--radius); padding: 8px 12px;
}
.admin-order-alert {
  margin-top: 10px; font-size: 13px; font-weight: 500; color: #92400e;
  background: #fef3c7; border: 1px solid #fcd34d;
  border-radius: var(--radius); padding: 8px 12px;
}

/* ── Lista simple de pedidos (perfil) ─────────────── */
.orders-list-simple { display: flex; flex-direction: column; gap: 8px; }
.order-row-simple {
  display: grid;
  grid-template-columns: 90px 1fr auto auto 20px;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(196,122,138,.13);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: background .12s, border-color .12s;
}
.order-row-simple:hover { background: var(--pink-ll); border-color: rgba(196,122,138,.3); }
.order-row-ref  { font-size: 14px; font-weight: 600; color: var(--text); }
.order-row-date { font-size: 13px; color: var(--text3); }
.order-row-total { font-size: 14px; font-weight: 600; color: var(--ol-d); }
.order-row-arrow { color: var(--text3); display: flex; }
@media (max-width: 560px) {
  .order-row-simple { grid-template-columns: 1fr auto; row-gap: 6px; }
  .order-row-date, .order-row-total { grid-column: 1 / 2; }
}

.status-prep { background: #e0e7ff; color: #3730a3; }

/* ── Detalle de pedido ────────────────────────────── */
.order-detail-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 1.5rem; align-items: start;
}
@media (max-width: 720px) { .order-detail-layout { grid-template-columns: 1fr; } }
.order-detail-left { display: flex; flex-direction: column; gap: 1rem; }

/* Timeline de estado */
.status-timeline {
  margin-top: 16px;
  display: flex; flex-direction: column; gap: 0;
  position: relative;
  padding-left: 4px;
}
.status-timeline-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 8px 0;
  position: relative;
}
.status-timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 5px; top: 24px; bottom: -8px;
  width: 2px;
  background: var(--border2);
}
.status-timeline-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--pink); flex-shrink: 0; margin-top: 3px;
  box-shadow: 0 0 0 3px var(--pink-l);
}
.status-timeline-label { font-size: 13px; font-weight: 500; color: var(--text); }
.status-timeline-date  { font-size: 11px; color: var(--text3); margin-top: 1px; }

/* ── Descarga de imagen personalizada en admin ────── */
.admin-order-pers-img { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pers-img-link {
  font-size: 12px; font-weight: 600; text-decoration: none;
  color: var(--ol-dd); background: rgba(255,255,255,0.7);
  border: 1px solid var(--ol-m); border-radius: 4px;
  padding: 2px 9px; display: inline-flex; align-items: center; gap: 5px;
  transition: background .1s;
}
.pers-img-link:hover { background: #fff; }
.pers-img-download { color: var(--pink); border-color: rgba(196,122,138,.4); }

/* ── Número de seguimiento ─────────────────────────── */
.admin-order-tracking {
  font-size: 12px; color: var(--ol-dd); margin-top: 4px;
  display: flex; align-items: center; gap: 6px;
}
.edit-tracking-btn, .add-tracking-btn {
  background: none; border: none; color: var(--pink);
  font-size: 11px; text-decoration: underline; cursor: pointer;
  padding: 0; font-family: inherit;
}
.add-tracking-btn { margin-top: 4px; display: inline-block; }

.tracking-box {
  margin-top: 10px; padding: 10px 14px;
  background: var(--ol-l); border: 1px solid var(--ol-m);
  border-radius: var(--radius); font-size: 13px; color: var(--ol-dd);
}
.tracking-number {
  font-family: monospace; font-weight: 600; font-size: 14px;
  background: var(--white); padding: 2px 8px; border-radius: 4px;
  margin-left: 4px; letter-spacing: .02em;
}

/* ── Panel admin: fila de usuario clicable ────────── */
.user-row-clickable { cursor: pointer; transition: background .12s; }
.user-row-clickable:hover { background: var(--pink-ll); }

/* ── Detalle de usuario (admin) ───────────────────── */
.user-detail-header {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(196,122,138,.15);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.25rem;
}
.user-detail-avatar {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--pink) 0%, var(--ol) 100%);
  color: #fff; font-size: 19px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 10px rgba(196,122,138,.3);
}
.user-detail-email { font-size: 15px; font-weight: 600; color: var(--text); }
.user-detail-sub { font-size: 12px; color: var(--text3); margin-top: 2px; }
.user-detail-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin-bottom: 1rem;
}
@media (max-width: 640px) { .user-detail-grid { grid-template-columns: 1fr; } }

.user-order-row { cursor: pointer; }

/* Highlight de pedido al llegar desde el detalle de usuario */
.order-highlighted {
  animation: pulseHighlight 2s ease;
  border-color: var(--pink) !important;
}
@keyframes pulseHighlight {
  0%   { box-shadow: 0 0 0 4px rgba(196,122,138,.35); }
  100% { box-shadow: 0 0 0 0 rgba(196,122,138,0); }
}

/* ── Footer ────────────────────────────────────────── */
.site-footer {
  margin-top: 3rem;
  background: rgba(255,255,255,0.5);
  border-top: 1px solid rgba(196,122,138,.15);
  padding: 2.5rem 1.5rem 1.5rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
}
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-logo { font-size: 15px; font-weight: 600; color: var(--pink); }
.footer-tagline { font-size: 13px; color: var(--text3); line-height: 1.5; max-width: 280px; }
.footer-col-title {
  font-size: 12px; font-weight: 600; color: var(--text2);
  text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px;
}
.footer-link {
  font-size: 13px; color: var(--text3); text-decoration: none;
  transition: color .12s;
}
.footer-link:hover { color: var(--pink); text-decoration: underline; }
.footer-bottom {
  max-width: 1100px; margin: 1.75rem auto 0;
  padding-top: 1.25rem; border-top: 1px solid rgba(196,122,138,.12);
  font-size: 12px; color: var(--text3); text-align: center;
}

/* ── Páginas legales ──────────────────────────────── */
.legal-page {
  max-width: 700px; margin: 0 auto; padding: 2rem 1.5rem 3rem;
}
.legal-title {
  font-size: 22px; font-weight: 600; color: var(--text);
  margin: 1.25rem 0 1.25rem;
}
.legal-content {
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(196,122,138,.15);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  font-size: 14px; color: var(--text2); line-height: 1.7;
}
.legal-content h4 {
  font-size: 14px; font-weight: 600; color: var(--text);
  margin: 1.25rem 0 6px;
}
.legal-content h4:first-child { margin-top: 0; }
.legal-content p { margin: 0 0 4px; }
.legal-content strong { color: var(--text); }

/* ── Botón flotante WhatsApp ───────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  z-index: 500;
  transition: transform .18s, box-shadow .18s;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 22px rgba(37,211,102,0.5);
}
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: whatsappPulse 2.4s ease-out infinite;
  z-index: -1;
}
@keyframes whatsappPulse {
  0%   { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.7); opacity: 0; }
}
@media (max-width: 640px) {
  .whatsapp-float { bottom: 16px; right: 16px; width: 52px; height: 52px; }
}

/* ── Sección Instagram ─────────────────────────────── */
.instagram-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem 2.5rem;
}
.instagram-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.25rem;
  color: var(--pink);
}
.instagram-header .section-title {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.instagram-handle {
  font-size: 14px;
  font-weight: 500;
  color: var(--pink);
  cursor: pointer;
}
.instagram-handle:hover { text-decoration: underline; }
/* Carrusel propio de Instagram */
.instagram-carousel-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}
.instagram-carousel {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 2px 10px;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: rgba(196,122,138,.35) transparent;
}
.instagram-carousel::-webkit-scrollbar { height: 6px; }
.instagram-carousel::-webkit-scrollbar-thumb { background: rgba(196,122,138,.3); border-radius: 10px; }
.instagram-carousel::-webkit-scrollbar-track { background: transparent; }

.insta-loading {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--text3);
  font-size: 13px;
  width: 100%;
}
.insta-loading a { color: var(--pink); }

.insta-card {
  position: relative;
  flex: 0 0 auto;
  width: 200px;
  height: 200px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  scroll-snap-align: start;
  display: block;
  background: var(--pink-ll);
  box-shadow: 0 2px 10px rgba(196,122,138,.1);
  transition: transform .18s;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
}
.insta-card:hover { transform: translateY(-3px); }
.insta-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.insta-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(196,122,138,0) 40%, rgba(120,60,80,.75) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding-bottom: 14px;
  color: #fff;
  opacity: 0;
  transition: opacity .2s;
}
.insta-card:hover .insta-card-overlay { opacity: 1; }
.insta-card-overlay span { font-size: 12px; font-weight: 500; }

@media (max-width: 640px) {
  .insta-card { width: 150px; height: 150px; }
}

/* Flechas del carrusel */
.insta-arrow {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(196,122,138,.25);
  color: var(--text2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(196,122,138,.12);
  transition: background .15s, color .15s, transform .15s;
}
.insta-arrow:hover { background: var(--pink); color: #fff; transform: scale(1.06); }

/* ── Fallback e indicador de vídeo en Instagram ───── */
.insta-fallback {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--pink-l) 0%, var(--ol-l) 100%);
  color: var(--pink);
}
.insta-card.insta-broken { background: linear-gradient(135deg, var(--pink-l) 0%, var(--ol-l) 100%); }
.insta-card.insta-broken::after {
  content: '📷';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
}
.insta-video-badge {
  position: absolute; top: 8px; right: 8px;
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(0,0,0,.55); color: #fff;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}

/* ── Modal de publicación de Instagram ────────────── */
.insta-modal {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,.85);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.insta-modal.open { display: flex; }
.insta-modal-content {
  background: var(--surface, #fff);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 480px; width: 100%;
  max-height: 88vh;
  display: flex; flex-direction: column;
  box-shadow: 0 8px 40px rgba(0,0,0,.5);
}
.insta-modal-media {
  width: 100%; background: #000;
  display: flex; align-items: center; justify-content: center;
  max-height: 60vh;
}
.insta-modal-media img,
.insta-modal-media video {
  width: 100%; max-height: 60vh;
  object-fit: contain;
  display: block;
}
.insta-modal-info {
  padding: 16px 18px;
  display: flex; flex-direction: column; gap: 10px;
  overflow-y: auto;
}
.insta-modal-caption {
  font-size: 14px; color: var(--text2);
  white-space: pre-wrap;
  margin: 0;
}
.insta-modal-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--pink);
  align-self: flex-start;
}
.insta-modal-link:hover { text-decoration: underline; }
.insta-modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.insta-modal-close:hover { background: rgba(255,255,255,.22); }
