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

:root {
  /* Palette — warm ivory + deep charcoal + dusty rose accent */
  --ivory:        #F9F5EF;
  --ivory-dark:   #EDE8DF;
  --ivory-mid:    #E2DAD0;
  --charcoal:     #1A1714;
  --charcoal-mid: #3D3830;
  --charcoal-lt:  #7A7268;
  --rose:         #C4808A;
  --rose-light:   #EEDCDE;
  --rose-deep:    #8C4B52;
  --white:        #FFFFFF;

  /* Status colors */
  --available-bg:   #E6F4EC;
  --available-text: #1F6B3A;
  --sold-bg:        #F4E6E6;
  --sold-text:      #8B2020;

  /* WA green */
  --wa-green:      #25D366;
  --wa-green-dark: #1DA851;

  /* Borders & shadows */
  --border:        rgba(26,23,20,0.10);
  --border-mid:    rgba(26,23,20,0.18);
  --border-strong: rgba(26,23,20,0.28);
  --shadow-sm:     0 2px 12px rgba(26,23,20,0.06);
  --shadow-card:   0 8px 40px rgba(26,23,20,0.12);
  --shadow-modal:  0 20px 80px rgba(26,23,20,0.22);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Jost', system-ui, sans-serif;

  /* Shape */
  --radius:    6px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Motion */
  --ease:        cubic-bezier(0.22, 0.61, 0.36, 1);
  --transition:  0.2s var(--ease);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--charcoal);
  min-height: 100vh;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ─── HEADER ────────────────────────────────────────────────────────── */
.header {
  background: var(--charcoal);
  color: var(--white);
  text-align: center;
  padding: 3.5rem 1.5rem 3rem;
  position: relative;
  overflow: hidden;
}

.header-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(196,128,138,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(196,128,138,0.10) 0%, transparent 40%);
  pointer-events: none;
}

/* Decorative top bar */
.header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rose-deep), var(--rose), #E8B4BA, var(--rose), var(--rose-deep));
}

.header-inner {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}

.header-eyebrow {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 1rem;
}

.header-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 9vw, 90px);
  font-weight: 400;
  color: var(--white);
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 0.8rem;
}

.header-title em {
  font-style: italic;
  color: #E8B4BA;
}

.header-tagline {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.50);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.header-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--wa-green);
  text-decoration: none;
  border: 1px solid rgba(37,211,102,0.35);
  border-radius: 30px;
  padding: 7px 16px;
  transition: var(--transition);
}

.header-whatsapp:hover {
  background: rgba(37,211,102,0.12);
  border-color: var(--wa-green);
}

/* ─── TOOLBAR ───────────────────────────────────────────────────────── */
.toolbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 0 var(--border);
}

.toolbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 52px;
}

.filters {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  flex: 1;
  scrollbar-width: none;
  align-items: center;
}

.filters::-webkit-scrollbar { display: none; }

.filter-btn {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.3px;
  white-space: nowrap;
  padding: 5px 13px;
  border: 1px solid transparent;
  border-radius: 20px;
  background: transparent;
  color: var(--charcoal-lt);
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.filter-btn:hover {
  color: var(--charcoal);
  background: var(--ivory-dark);
}

.filter-btn.active {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}

/* Status-specific filter buttons */
.filter-available { color: var(--available-text); }
.filter-available.active {
  background: var(--available-text);
  color: var(--white);
  border-color: var(--available-text);
}
.filter-sold { color: var(--sold-text); }
.filter-sold.active {
  background: var(--sold-text);
  color: var(--white);
  border-color: var(--sold-text);
}
.filter-offers { color: #e07b00; }
.filter-offers.active {
  background: #e07b00;
  color: var(--white);
  border-color: #e07b00;
}

.filter-divider {
  width: 1px;
  height: 18px;
  background: var(--border-mid);
  margin: 0 4px;
  flex-shrink: 0;
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.item-count {
  font-size: 11px;
  color: var(--charcoal-lt);
  white-space: nowrap;
}

/* Admin badge */
.admin-badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--rose-deep);
  background: var(--rose-light);
  border-radius: 12px;
  padding: 3px 10px;
}

/* ─── BUTTONS ───────────────────────────────────────────────────────── */
.btn-primary {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 8px 16px;
  background: var(--charcoal);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary:hover { background: var(--rose-deep); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  padding: 7px 14px;
  background: transparent;
  color: var(--charcoal-mid);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-secondary:hover { background: var(--ivory-dark); }

.btn-danger {
  font-family: var(--font-body);
  font-size: 12px;
  padding: 7px 12px;
  background: transparent;
  color: #A03030;
  border: 1px solid rgba(160,48,48,0.25);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}

.btn-danger:hover { background: #FEF0F0; }

.btn-danger-solid {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 20px;
  background: #A03030;
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}

.btn-danger-solid:hover { background: #7A2020; }
.btn-danger-solid:disabled { opacity: 0.45; cursor: not-allowed; }

/* WhatsApp button */
.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  background: var(--wa-green);
  border: none;
  border-radius: var(--radius);
  padding: 12px 20px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  margin-top: 1rem;
  width: 100%;
}

.btn-whatsapp:hover { background: var(--wa-green-dark); transform: translateY(-1px); }
.btn-whatsapp.is-disabled {
  background: var(--ivory-dark);
  color: var(--charcoal-lt);
  cursor: not-allowed;
  pointer-events: none;
}

/* Toggle sold button */
.btn-toggle-sold {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  padding: 8px 16px;
  background: transparent;
  color: var(--sold-text);
  border: 1px solid rgba(139,32,32,0.3);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-toggle-sold:hover { background: var(--sold-bg); }

.btn-toggle-sold.is-sold {
  color: var(--available-text);
  border-color: rgba(31,107,58,0.3);
}

.btn-toggle-sold.is-sold:hover { background: var(--available-bg); }

/* Edit button */
.btn-edit {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  padding: 8px 14px;
  background: transparent;
  color: var(--charcoal-mid);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}

.btn-edit:hover { background: var(--ivory-dark); }

/* Delete button */
.btn-delete {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  padding: 8px 14px;
  background: transparent;
  color: #A03030;
  border: 1px solid rgba(160,48,48,0.25);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}

.btn-delete:hover { background: #FEF0F0; }

/* Link button */
.btn-link {
  font-family: var(--font-body);
  font-size: 13px;
  background: none;
  border: none;
  color: var(--rose-deep);
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  font-weight: 500;
}

.btn-link-back {
  font-family: var(--font-body);
  font-size: 12px;
  background: none;
  border: none;
  color: var(--rose-deep);
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

/* ─── VISIBILITY HELPERS ─────────────────────────────────────────────── */
.admin-only  { display: none !important; }
.visitor-only { display: revert; }
.force-hidden { display: none !important; }

body.is-admin .admin-only  { display: revert !important; }
body.is-admin .visitor-only { display: none !important; }

/* ─── LOADING STATE ──────────────────────────────────────────────────── */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 1rem;
  gap: 1rem;
}

.loading-spinner {
  width: 36px;
  height: 36px;
  border: 2px solid var(--ivory-mid);
  border-top-color: var(--rose);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.loading-text {
  font-size: 13px;
  color: var(--charcoal-lt);
  letter-spacing: 0.5px;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ─── MAIN & GRID ───────────────────────────────────────────────────── */
.main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 5rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}

/* Empty state */
.upload-hint {
  text-align: center;
  padding: 5rem 1rem;
  animation: fadeIn 0.5s ease;
}

.upload-hint-icon {
  font-size: 28px;
  color: var(--rose);
  margin-bottom: 1rem;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.1); }
}

.upload-hint-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.upload-hint-sub {
  font-size: 13px;
  color: var(--charcoal-lt);
  max-width: 300px;
  margin: 0 auto;
}

.empty-filter {
  text-align: center;
  padding: 4rem 1rem;
  font-size: 14px;
  color: var(--charcoal-lt);
}

/* ─── PRODUCT CARDS ─────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  animation: slideUp 0.35s var(--ease) backwards;
  position: relative;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: var(--border-mid);
}

/* Sold-out card treatment */
.card.is-sold {
  opacity: 0.75;
}

.card.is-sold .card-img { filter: grayscale(40%); }

.card-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--ivory-dark);
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}

.card:hover .card-img { transform: scale(1.06); }

.card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--charcoal-lt);
}

.card-placeholder-icon { font-size: 36px; opacity: 0.3; }
.card-placeholder-text { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; opacity: 0.5; }

/* Category badge (top left) */
.card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
}

.badge-nuevo    { background: #E4F0D8; color: #2D5C0E; }
.badge-oferta   { background: #FAECE7; color: #8E3A1D; }
.badge-exclusivo { background: var(--rose-light); color: var(--rose-deep); }

/* ──── STATUS PILL on card (top right) — KEY FEATURE ──── */
.card-status {
  position: absolute;
  top: 10px;
  right: 10px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}

.card-status.available {
  background: var(--available-bg);
  color: var(--available-text);
}

.card-status.sold-out {
  background: var(--sold-bg);
  color: var(--sold-text);
}

/* Sold-out overlay banner */
.card-sold-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(26,23,20,0.75) 0%, transparent 100%);
  padding: 2rem 1rem 0.75rem;
  display: flex;
  align-items: flex-end;
}

.card-sold-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.80);
}

.card-body { padding: 14px 16px 18px; }

.card-cat {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 5px;
}

.card-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: 4px;
}

.card-desc {
  font-size: 12px;
  color: var(--charcoal-lt);
  margin-bottom: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  gap: 8px;
}

.card-price {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  color: var(--charcoal);
}

.card-size {
  font-size: 10px;
  font-weight: 500;
  color: var(--charcoal-lt);
  background: var(--ivory-dark);
  padding: 3px 9px;
  border-radius: 10px;
  letter-spacing: 0.5px;
}

/* ─── MODAL ─────────────────────────────────────────────────────────── */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,23,20,0.60);
  backdrop-filter: blur(3px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.2s ease;
}

.overlay.open { display: flex; }

.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 500px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
  animation: slideUp 0.28s var(--ease);
  box-shadow: var(--shadow-modal);
}

.modal-close {
  position: absolute;
  top: 1rem; right: 1.25rem;
  background: var(--ivory-dark);
  border: none;
  font-size: 20px;
  color: var(--charcoal-lt);
  cursor: pointer;
  line-height: 1;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}

.modal-close:hover { background: var(--ivory-mid); color: var(--charcoal); }

.modal-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}

/* Image upload */
.img-upload-area {
  width: 100%;
  aspect-ratio: 4/3;
  border: 2px dashed var(--border-mid);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  margin-bottom: 0.75rem;
  background: var(--ivory);
  position: relative;
  transition: border-color var(--transition), background var(--transition);
}

.img-upload-area:hover {
  border-color: var(--rose);
  background: var(--rose-light);
}

.img-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--charcoal-lt);
  font-size: 13px;
  font-weight: 500;
}

.img-placeholder-icon { font-size: 32px; }

.img-edit-hint {
  font-size: 11px;
  color: var(--charcoal-lt);
  margin-bottom: 1rem;
  text-align: center;
}

#img-input { display: none; }

/* Form */
.form-group { margin-bottom: 14px; }

.form-group label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--charcoal-lt);
  margin-bottom: 6px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid var(--border-mid);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(196,128,138,0.15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Checkbox (sold status) */
.form-checkbox {
  background: var(--sold-bg);
  border: 1.5px solid rgba(139,32,32,0.20);
  border-radius: var(--radius);
  padding: 12px 14px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--sold-text);
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--sold-text);
  cursor: pointer;
  flex-shrink: 0;
}

.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

/* ─── LIGHTBOX ───────────────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(26,23,20,0.80);
  backdrop-filter: blur(6px);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox.open { display: flex; }

.lightbox-inner {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 820px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  max-height: 92vh;
  animation: slideUp 0.28s var(--ease);
  box-shadow: var(--shadow-modal);
}

.lightbox-close {
  position: fixed;
  top: 1.25rem; right: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border-mid);
  border-radius: 50%;
  width: 38px; height: 38px;
  font-size: 20px;
  color: var(--charcoal-mid);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.lightbox-close:hover {
  background: var(--ivory-dark);
  transform: rotate(90deg);
}

.lightbox-img-wrap {
  background: var(--ivory-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  overflow: hidden;
  position: relative;
}

.lightbox-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.lightbox-no-img {
  font-size: 13px;
  color: var(--charcoal-lt);
  display: none;
}

.lightbox-info {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow-y: auto;
  gap: 0;
}

/* Status pill in lightbox — KEY ELEMENT */
.lightbox-status-pill {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  background: var(--available-bg);
  color: var(--available-text);
  margin-bottom: 1rem;
  align-self: flex-start;
}

.lightbox-status-pill.sold {
  background: var(--sold-bg);
  color: var(--sold-text);
}

/* sold state dims the lightbox info */
.lightbox-info.is-sold .lightbox-name,
.lightbox-info.is-sold .lightbox-price {
  opacity: 0.55;
}

.lightbox-badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 0.5rem;
  align-self: flex-start;
}

.lightbox-name {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.1;
  margin-bottom: 4px;
}

.lightbox-cat {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 0.75rem;
}

.lightbox-desc {
  font-size: 13px;
  color: var(--charcoal-lt);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.lightbox-footer {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  margin-bottom: 1rem;
}

.lightbox-price {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  color: var(--charcoal);
}

.lightbox-size {
  font-size: 12px;
  color: var(--charcoal-lt);
  background: var(--ivory-dark);
  padding: 4px 12px;
  border-radius: 12px;
  font-weight: 500;
}

/* Admin action row in lightbox */
.lightbox-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

/* ─── FOOTER ─────────────────────────────────────────────────────────── */
.footer {
  background: var(--charcoal);
  color: var(--white);
  text-align: center;
  padding: 3rem 1.5rem;
}

.footer-inner { max-width: 480px; margin: 0 auto; }

.footer-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 0.5rem;
}

.footer-channel {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.25rem;
}

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--wa-green);
  text-decoration: none;
  transition: var(--transition);
}

.footer-whatsapp:hover { opacity: 0.8; }

.footer-location {
  font-size: 11px;
  color: rgba(255,255,255,0.30);
  margin-top: 1.5rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ─── LOGIN MODAL ────────────────────────────────────────────────────── */
.modal-login { max-width: 400px; }

.login-icon {
  font-size: 28px;
  margin-bottom: 0.75rem;
}

.login-sub {
  font-size: 13px;
  color: var(--charcoal-lt);
  margin-bottom: 1.5rem;
  margin-top: -1rem;
}

.login-error {
  font-size: 13px;
  color: #A03030;
  background: #FEF0F0;
  border-radius: var(--radius);
  padding: 8px 12px;
  margin-bottom: 0.5rem;
}

/* ─── DANGER MODAL ───────────────────────────────────────────────────── */
.modal-danger { max-width: 440px; text-align: center; }

.danger-icon { font-size: 36px; margin-bottom: 0.75rem; }

.danger-warning {
  font-size: 14px;
  color: var(--charcoal-mid);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.danger-tip {
  font-size: 12px;
  color: var(--charcoal-lt);
  margin-bottom: 1rem;
  background: var(--ivory-dark);
  padding: 8px 12px;
  border-radius: var(--radius);
}

/* ─── IMPORT CSV MODAL ───────────────────────────────────────────────── */
.modal-import { max-width: 640px; }

.import-intro {
  font-size: 13px;
  color: var(--charcoal-lt);
  margin-bottom: 1rem;
}

.import-help {
  margin-bottom: 1rem;
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  overflow: hidden;
}

.import-help summary {
  font-size: 13px;
  font-weight: 500;
  padding: 10px 14px;
  cursor: pointer;
  background: var(--ivory);
  user-select: none;
}

.import-help-body {
  padding: 12px 14px;
  font-size: 13px;
  color: var(--charcoal-mid);
  line-height: 1.7;
}

.csv-cols { list-style: none; margin: 0.5rem 0; }
.csv-cols li { padding: 3px 0; }
.csv-cols code { font-family: monospace; background: var(--ivory-mid); padding: 1px 5px; border-radius: 3px; }
.csv-cols .req { color: #A03030; font-size: 11px; }
.csv-cols .opt { color: var(--charcoal-lt); font-size: 11px; }

.import-uploads {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 1rem;
}

.import-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.import-field-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--charcoal-lt);
}

.import-drop-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 1.25rem;
  border: 2px dashed var(--border-mid);
  border-radius: var(--radius);
  cursor: pointer;
  min-height: 90px;
  transition: var(--transition);
  text-align: center;
}

.import-drop-zone:hover { border-color: var(--rose); background: var(--rose-light); }

.drop-icon { font-size: 22px; }
.drop-text { font-size: 11px; color: var(--charcoal-lt); }

.import-error {
  font-size: 13px;
  color: #A03030;
  background: #FEF0F0;
  border-radius: var(--radius);
  padding: 8px 12px;
}

/* Import step 2 summary */
.import-summary {
  font-size: 13px;
  color: var(--charcoal-mid);
  background: var(--ivory-dark);
  padding: 10px 14px;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.missing-photos-alert {
  display: flex;
  gap: 10px;
  background: #FFF8E6;
  border: 1px solid #E8C87A;
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-bottom: 1rem;
  font-size: 13px;
}

.alert-icon { font-size: 18px; flex-shrink: 0; }
.alert-title { font-weight: 600; margin-bottom: 4px; }
.alert-text  { color: var(--charcoal-lt); font-size: 12px; margin-bottom: 6px; }

/* Import preview table */
.import-preview-table-wrap {
  overflow-x: auto;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.import-preview-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.import-preview-table th {
  padding: 8px 10px;
  text-align: left;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--charcoal-lt);
  background: var(--ivory);
  border-bottom: 1px solid var(--border);
}

.import-preview-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  color: var(--charcoal-mid);
}

.import-preview-table tr:last-child td { border-bottom: none; }
.import-preview-table tr.has-errors td { background: #FEF6F6; }

.row-status { font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 10px; }
.row-status.ok     { background: var(--available-bg); color: var(--available-text); }
.row-status.warn   { background: #FFF3CD; color: #856404; }
.row-status.error  { background: var(--sold-bg); color: var(--sold-text); }
.row-status.noimg  { background: var(--ivory-mid); color: var(--charcoal-lt); }
.row-status.update { background: #E3F0FF; color: #1A57A0; }
.row-status.new    { background: var(--available-bg); color: var(--available-text); }

.import-progress { margin-bottom: 0.5rem; }

.import-progress-bar {
  height: 4px;
  background: var(--ivory-mid);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 8px;
}

.import-progress-fill {
  height: 100%;
  background: var(--rose);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.import-progress-text {
  font-size: 12px;
  color: var(--charcoal-lt);
}

.delete-all-progress { margin-bottom: 1rem; }

/* ─── TOAST ──────────────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 30px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast-success { background: var(--charcoal); color: var(--white); }
.toast-error   { background: #A03030; color: var(--white); }
.toast-info    { background: var(--charcoal-mid); color: var(--white); }

/* ─── CARD THUMB (import preview) ───────────────────────────────────── */
.card-thumb {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
}

/* ─── SHAKE ANIMATION ────────────────────────────────────────────────── */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}

/* ─── ANIMATIONS ─────────────────────────────────────────────────────── */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────── */
@media (max-width: 680px) {
  .lightbox-inner { grid-template-columns: 1fr; }
  .lightbox-img-wrap { min-height: 240px; max-height: 280px; }
  .toolbar-inner { flex-wrap: wrap; padding: 8px 1rem; min-height: auto; }
  .item-count { display: none; }
  .header-title { font-size: 56px; }
  .import-uploads { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .lightbox-name { font-size: 26px; }
  .lightbox-price { font-size: 30px; }
  .lightbox-info { padding: 1.5rem; }
}

@media (max-width: 420px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-name { font-size: 16px; }
}

/* ─── FOOTER CREDIT ─────────────────────────────────────────────────── */
.footer-credit {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  margin-top: 0.75rem;
  letter-spacing: 1px;
}

.credit-heart { color: var(--rose); }
.credit-name  { color: rgba(255,255,255,0.45); font-weight: 500; }

/* ─── SIZE FILTER ────────────────────────────────────────────────────── */
.size-filter-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 1.5rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.size-filter-wrap::-webkit-scrollbar { display: none; }

.size-filter-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--charcoal-lt);
  white-space: nowrap;
  flex-shrink: 0;
}

.size-pill {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 12px;
  border: 1px solid var(--border-mid);
  border-radius: 20px;
  background: transparent;
  color: var(--charcoal-mid);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.size-pill:hover {
  border-color: var(--charcoal);
  color: var(--charcoal);
  background: var(--ivory-dark);
}

.size-pill.active {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}

/* ═══════════════════════════════════════════════════════════════════════
   TIENDA GILI — NEW FEATURES STYLES
   Added: offer banner, hero redesign, featured strip, search+sort,
          testimonials, no-results state
   ═══════════════════════════════════════════════════════════════════════ */

/* ─── OFFER BANNER ───────────────────────────────────────────────────── */
.offer-banner {
  background: var(--charcoal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 9px 1.5rem;
  font-size: 12px;
  letter-spacing: 0.3px;
  position: relative;
  flex-wrap: wrap;
}

.offer-banner-text {
  color: rgba(255,255,255,0.75);
  white-space: nowrap;
}

.offer-banner-link {
  color: var(--rose);
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  transition: opacity 0.15s;
}

.offer-banner-link:hover { opacity: 0.8; }

.offer-banner-close {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  font-size: 12px;
  padding: 4px;
  line-height: 1;
  transition: color 0.15s;
}

.offer-banner-close:hover { color: var(--white); }

/* ─── HERO (replaces old .header) ───────────────────────────────────── */
.hero {
  background: var(--charcoal);
  color: var(--white);
  text-align: center;
  padding: 5rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Decorative top bar */
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rose-deep), var(--rose), #E8B4BA, var(--rose), var(--rose-deep));
}

.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-bg-orb-1 {
  width: 500px; height: 500px;
  top: -200px; left: -150px;
  background: radial-gradient(circle, rgba(196,128,138,0.12) 0%, transparent 70%);
}

.hero-bg-orb-2 {
  width: 400px; height: 400px;
  top: -100px; right: -100px;
  background: radial-gradient(circle, rgba(184,155,110,0.08) 0%, transparent 70%);
}

.hero-bg-orb-3 {
  width: 300px; height: 300px;
  bottom: -80px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(196,128,138,0.07) 0%, transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.hero-logomark {
  margin-bottom: 1.5rem;
  opacity: 0.9;
  animation: fadeInDown 0.8s var(--ease) both;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 0.9; transform: translateY(0); }
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 1rem;
  animation: fadeIn 0.8s 0.1s var(--ease) both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(60px, 10vw, 100px);
  font-weight: 400;
  color: var(--white);
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 0.75rem;
  animation: fadeIn 0.8s 0.15s var(--ease) both;
}

.hero-title em {
  font-style: italic;
  color: #E8B4BA;
}

.hero-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 140px;
  margin: 0 auto 1rem;
  animation: fadeIn 0.8s 0.2s var(--ease) both;
}

.hero-divider span:first-child,
.hero-divider span:last-child {
  flex: 1;
  height: 0.5px;
  background: rgba(196,128,138,0.4);
  display: block;
}

.hero-diamond {
  width: 5px;
  height: 5px;
  background: var(--rose);
  transform: rotate(45deg);
  flex-shrink: 0;
  display: block !important;
  flex: none !important;
}

.hero-tagline {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.50);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 2rem;
  animation: fadeIn 0.8s 0.25s var(--ease) both;
}

.hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  animation: fadeIn 0.8s 0.3s var(--ease) both;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 12px 28px;
  background: var(--rose);
  color: var(--white);
  text-decoration: none;
  border-radius: 30px;
  transition: background 0.2s, transform 0.2s;
}

.hero-btn-primary:hover {
  background: var(--rose-deep);
  transform: translateY(-1px);
}

.hero-btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--wa-green);
  text-decoration: none;
  border: 1px solid rgba(37,211,102,0.35);
  border-radius: 30px;
  padding: 11px 20px;
  transition: var(--transition);
}

.hero-btn-wa:hover {
  background: rgba(37,211,102,0.12);
  border-color: var(--wa-green);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  animation: fadeIn 0.8s 0.4s var(--ease) both;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--white);
  line-height: 1;
}

.hero-stat-label {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-top: 3px;
}

.hero-stat-divider {
  font-size: 20px;
  color: rgba(255,255,255,0.15);
  margin-top: -8px;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-scroll-hint span {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(196,128,138,0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
  display: block;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1; transform: scaleY(1.15); }
}

/* ─── SECTION COMMON ─────────────────────────────────────────────────── */
.section-eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 0.4rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.1;
  margin-bottom: 0;
}

.section-title em {
  font-style: italic;
  color: var(--rose);
}

/* ─── FEATURED STRIP ─────────────────────────────────────────────────── */
.featured-section {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}

.featured-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.featured-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.featured-see-all {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 6px 16px;
  cursor: pointer;
  color: var(--charcoal-mid);
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.featured-see-all:hover {
  background: var(--ivory-dark);
  color: var(--charcoal);
}

.featured-track {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  overflow-x: auto;
  scrollbar-width: none;
}

.featured-track::-webkit-scrollbar { display: none; }

.featured-card {
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}

.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(26,23,20,0.1);
}

.featured-card-img {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--ivory-dark);
  position: relative;
}

.featured-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease);
}

.featured-card:hover .featured-card-img img { transform: scale(1.06); }

.featured-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal-lt);
  font-size: 28px;
  opacity: 0.25;
}

.featured-card-body {
  padding: 10px 12px 14px;
}

.featured-card-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.featured-card-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--rose-deep);
}

.featured-star {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #B89B6E;
  color: white;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 12px;
}

/* ─── SEARCH + SORT ROW ──────────────────────────────────────────────── */
.search-sort-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 1.5rem 6px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.search-wrap {
  flex: 1;
  min-width: 200px;
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 10px;
  color: var(--charcoal-lt);
  pointer-events: none;
  flex-shrink: 0;
}

.search-input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 13px;
  padding: 7px 32px 7px 32px;
  border: 1px solid var(--border-mid);
  border-radius: 20px;
  background: var(--ivory);
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
}

.search-input:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(196,128,138,0.12);
  background: var(--white);
}

.search-input::placeholder { color: var(--charcoal-lt); }

/* Hide browser's native search clear button */
.search-input::-webkit-search-cancel-button { display: none; }

.search-clear {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 11px;
  color: var(--charcoal-lt);
  padding: 2px 4px;
  line-height: 1;
  transition: color 0.15s;
}

.search-clear:hover { color: var(--charcoal); }

.sort-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.sort-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--charcoal-lt);
  white-space: nowrap;
}

.sort-select {
  font-family: var(--font-body);
  font-size: 12px;
  padding: 6px 28px 6px 10px;
  border: 1px solid var(--border-mid);
  border-radius: 20px;
  background: var(--ivory);
  color: var(--charcoal);
  cursor: pointer;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%237A7268' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: border-color 0.15s;
}

.sort-select:focus { border-color: var(--rose); }

/* ─── NO RESULTS (SEARCH) ────────────────────────────────────────────── */
.no-results-search {
  text-align: center;
  padding: 5rem 1rem;
  animation: fadeIn 0.3s ease;
}

.no-results-icon {
  font-size: 36px;
  color: var(--charcoal-lt);
  opacity: 0.25;
  display: block;
  margin-bottom: 1rem;
}

.no-results-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
}

.no-results-sub {
  font-size: 13px;
  color: var(--charcoal-lt);
  margin-bottom: 1.25rem;
}

.no-results-clear {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 7px 20px;
  cursor: pointer;
  color: var(--charcoal-mid);
  transition: var(--transition);
}

.no-results-clear:hover { background: var(--ivory-dark); }

/* ─── TESTIMONIALS ───────────────────────────────────────────────────── */
.testimonials-section {
  background: var(--charcoal);
  padding: 5rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 15% 50%, rgba(196,128,138,0.08) 0%, transparent 50%),
    radial-gradient(circle at 85% 30%, rgba(184,155,110,0.05) 0%, transparent 40%);
  pointer-events: none;
}

.testimonials-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.testimonials-inner .section-eyebrow { color: var(--rose); }
.testimonials-inner .section-title { color: var(--white); margin-bottom: 2.5rem; }
.testimonials-inner .section-title em { color: #E8B4BA; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background 0.2s;
}

.testimonial-card:hover {
  background: rgba(255,255,255,0.06);
}

.testimonial-stars {
  font-size: 14px;
  color: #B89B6E;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.70);
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--rose);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  margin: 0;
}

.testimonial-loc {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  margin: 0;
  letter-spacing: 0.5px;
}

/* ─── FOOTER (new layout) ────────────────────────────────────────────── */
.footer-brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 1px;
}

.footer-brand em {
  font-style: italic;
  color: #E8B4BA;
}

/* ─── SEARCH HIGHLIGHT on cards ──────────────────────────────────────── */
.search-highlight {
  background: rgba(196,128,138,0.25);
  border-radius: 2px;
}

/* ─── RESPONSIVE ADDITIONS ───────────────────────────────────────────── */
@media (max-width: 680px) {
  .offer-banner { font-size: 11px; gap: 8px; }
  .offer-banner-text { white-space: normal; text-align: center; }
  .hero { padding: 3.5rem 1rem 3rem; min-height: 400px; }
  .hero-title { font-size: 56px; }
  .hero-actions { flex-direction: column; gap: 8px; }
  .hero-stats { gap: 0.75rem; }
  .hero-stat-num { font-size: 22px; }
  .search-sort-row { flex-direction: column; align-items: stretch; }
  .search-wrap { min-width: unset; }
  .sort-wrap { justify-content: flex-end; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .featured-header { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}

@media (max-width: 420px) {
  .hero-stats { flex-direction: column; gap: 0.5rem; }
  .hero-stat-divider { display: none; }
}
