/* ==========================================================================
   FLOR DE GEMA - MINIMAL LUXURY DESIGN SYSTEM
   Fondo Blanco Limpio, Tipografía Sans-Serif Moderna, Espaciado Generoso
   Eslogan: "Flor De Gema, Invierte en belleza eterna"
   ========================================================================== */

:root {
  /* Clean White Palette */
  --bg-white: #ffffff;
  --bg-subtle: #f9fafb;
  --bg-card: #ffffff;
  --bg-dark-btn: #1c2e28;
  --bg-dark-btn-hover: #111f1b;

  --border-light: #e5e7eb;
  --border-card: #eceef1;
  --border-focus: #111827;

  --text-primary: #111827;
  --text-heading: #0f172a;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;
  --text-light: #9ca3af;

  --color-green: #059669;
  --color-wa: #25d366;
  --color-wa-hover: #20ba59;

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.08);

  --transition: all 0.2s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-white);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

/* Container with generous margins and padding */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }
}

/* Live Notification Strip */
.top-live-strip {
  background: #fef2f2;
  border-bottom: 1px solid #fee2e2;
  padding: 0.55rem 1.5rem;
  font-size: 0.82rem;
  text-align: center;
  color: #991b1b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.live-dot-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #dc2626;
  flex-shrink: 0;
  animation: pulseRed 1.8s infinite;
}

@keyframes pulseRed {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(1.3); }
}

.top-live-strip strong {
  font-weight: 700;
}

.top-live-strip a {
  text-decoration: underline;
  color: #b91c1c;
  font-weight: 600;
}

/* Header */
.site-header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-main-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0 0.5rem;
}

.brand-title-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-icon-gem {
  width: 22px;
  height: 22px;
  color: #111827;
}

.brand-name-text {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #111827;
  text-transform: uppercase;
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.header-icon-btn {
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0.25rem;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.header-icon-btn:hover {
  background: var(--bg-subtle);
}

.header-icon-btn svg {
  width: 21px;
  height: 21px;
}

.wishlist-pill-count {
  position: absolute;
  top: -4px;
  right: -6px;
  background: var(--bg-dark-btn);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Submenu Bar */
.header-submenu-row {
  padding: 0.35rem 0 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  white-space: nowrap;
  font-size: 0.88rem;
  color: var(--text-secondary);
  scrollbar-width: none;
}

.header-submenu-row::-webkit-scrollbar {
  display: none;
}

.submenu-item {
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.15s ease;
}

.submenu-item:hover,
.submenu-item.active {
  color: #111827;
  font-weight: 600;
}

.submenu-dot {
  color: #9ca3af;
  margin: 0 0.15rem;
}

/* Hero Section */
.hero-wrapper {
  padding: 1.8rem 0 3.5rem;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 2.2rem;
  box-shadow: var(--shadow-sm);
}

.hero-image-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.hero-bookmark-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  cursor: pointer;
}

.hero-bookmark-btn:hover {
  background: rgba(0, 0, 0, 0.7);
}

.hero-text-block {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero-category-label {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: block;
}

.hero-main-title {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-heading);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero-main-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.8rem;
}

.btn-primary-dark {
  background-color: var(--bg-dark-btn);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1.05rem 2.6rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(28, 46, 40, 0.15);
}

.btn-primary-dark:hover {
  background-color: var(--bg-dark-btn-hover);
  transform: translateY(-1px);
}

.hero-caption-sub {
  margin-top: 1.25rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* Explora por tipo de gema */
.section-explore-gems {
  padding: 3rem 0;
  border-top: 1px solid var(--border-light);
}

.section-title-plain {
  font-size: 1.35rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.gem-type-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .gem-type-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.gem-type-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: var(--transition);
}

.gem-type-card:hover {
  transform: translateY(-3px);
}

.gem-type-img-box {
  position: relative;
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.gem-type-img-box img {
  width: 85%;
  height: 85%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

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

.gem-type-card-bookmark {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(2px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gem-type-name {
  margin-top: 0.75rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
}

/* ==========================================================================
   FLYERS ADAPTADOS Y PROPORCIONALES (DESKTOP & MOBILE FIX)
   ========================================================================== */
.flyer-slot-container {
  margin: 2.5rem 0;
}

/* Flyer 1: Wide Banner */
.flyer-banner-wide {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  background: var(--bg-white);
  display: block;
}

.flyer-banner-wide:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.flyer-banner-wide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (max-width: 768px) {
  .flyer-banner-wide {
    max-height: 180px;
  }
  .flyer-banner-wide img {
    max-height: 180px;
    object-fit: cover;
  }
}

/* Flyer 2: Vertical TikTok Live */
.flyer-live-frame {
  max-width: 300px;
  width: 100%;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-md);
  background: #000;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: block;
}

.flyer-live-frame:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.flyer-live-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 768px) {
  .flyer-live-frame {
    max-width: 220px;
  }
}

/* Flyer 3: Business 1:1 */
.flyer-business-frame {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: block;
}

.flyer-business-frame:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.flyer-business-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .flyer-business-frame {
    max-width: 240px;
  }
}

/* ==========================================================================
   CATÁLOGO DE PRODUCTOS:
   - MOBILE: EXACTAMENTE 2x2 = 4 PRODUCTOS VISIBLES
   - PC: 4 COLUMNAS LLENAS (MUCHOS PRODUCTOS A LA VEZ)
   ========================================================================== */
.catalog-section-clean {
  padding: 3.5rem 0;
  border-top: 1px solid var(--border-light);
}

.catalog-search-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.catalog-search-input {
  flex: 1;
  min-width: 260px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--bg-white);
  color: var(--text-primary);
}

.catalog-search-input:focus {
  outline: none;
  border-color: #111827;
}

.catalog-sort-select {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--bg-white);
  color: var(--text-primary);
  cursor: pointer;
}

.category-filter-pills {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.6rem;
  margin-bottom: 2rem;
  scrollbar-width: none;
}

.filter-btn-pill {
  background: var(--bg-subtle);
  border: 1px solid var(--border-card);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: var(--transition);
}

.filter-btn-pill:hover,
.filter-btn-pill.active {
  background: #111827;
  color: #ffffff;
  border-color: #111827;
}

/* Products Grid Responsive Rules */
.products-grid-clean {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

@media (max-width: 1024px) {
  .products-grid-clean {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .products-grid-clean {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

.product-card-clean {
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.product-card-clean:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #d1d5db;
}

.product-card-img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-card);
  cursor: pointer;
}

.product-card-img-wrap img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

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

.product-card-bookmark-btn {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111827;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.product-card-bookmark-btn:hover,
.product-card-bookmark-btn.active {
  background: #dc2626;
  color: #ffffff;
  border-color: #dc2626;
}

.product-card-badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-xs);
  color: #111827;
  text-transform: uppercase;
}

.product-card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

@media (max-width: 768px) {
  .product-card-body {
    padding: 0.75rem;
  }
}

.product-card-ref {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.product-card-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .product-card-name {
    font-size: 0.92rem;
  }
}

.product-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.8rem;
}

.mini-spec-pill {
  background: var(--bg-subtle);
  border: 1px solid var(--border-card);
  padding: 0.15rem 0.4rem;
  font-size: 0.72rem;
  color: var(--text-secondary);
  border-radius: 3px;
  font-weight: 500;
}

.product-card-price-row {
  margin-top: auto;
  padding-top: 0.7rem;
  border-top: 1px solid var(--border-card);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.price-cop-bold {
  font-size: 1.1rem;
  font-weight: 800;
  color: #111827;
}

@media (max-width: 768px) {
  .price-cop-bold {
    font-size: 0.98rem;
  }
}

.price-usd-muted {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.product-card-btn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.btn-view-sheet {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  color: #111827;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.55rem 0.35rem;
  border-radius: var(--radius-sm);
  text-align: center;
  transition: var(--transition);
}

.btn-view-sheet:hover {
  background: #e5e7eb;
}

.btn-wa-reserve {
  background: #25d366;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.55rem 0.35rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  transition: var(--transition);
}

.btn-wa-reserve:hover {
  background: var(--color-wa-hover);
}

.btn-wa-reserve svg {
  width: 14px;
  height: 14px;
}

/* ==========================================================================
   ACADEMIA GEMOLÓGICA
   ========================================================================== */
.academy-section-clean {
  padding: 3.5rem 0;
  border-top: 1px solid var(--border-light);
  background: var(--bg-subtle);
}

.academy-cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.academy-card-box {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.academy-card-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #d1d5db;
}

.academy-category-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: #059669;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.academy-title-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.academy-snippet-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.2rem;
}

.academy-action-link {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--bg-dark-btn);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ==========================================================================
   TRANSMISIONES EN VIVO & PREVENTAS
   ========================================================================== */
.live-stream-clean {
  padding: 3.5rem 0;
  border-top: 1px solid var(--border-light);
  background: #ffffff;
}

.live-stream-grid-clean {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .live-stream-grid-clean {
    grid-template-columns: 320px 1fr;
  }
}

.countdown-flex-clean {
  display: flex;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.countdown-digit-clean {
  background: var(--bg-subtle);
  border: 1px solid var(--border-card);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  text-align: center;
  min-width: 65px;
}

.countdown-digit-clean .num {
  font-size: 1.5rem;
  font-weight: 800;
  color: #111827;
  line-height: 1;
}

.countdown-digit-clean .lbl {
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.social-btn-row {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn-black-social {
  background: #000000;
  color: #ffffff;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-black-social svg,
.btn-instagram-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.btn-instagram-social {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================================
   NOSOTROS & CONTACTO & FAQ
   ========================================================================== */
.contact-section-clean {
  padding: 3.5rem 0;
  border-top: 1px solid var(--border-light);
  background: var(--bg-subtle);
}

.contact-grid-clean {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .contact-grid-clean {
    grid-template-columns: 1.1fr 1fr;
  }
}

.clean-contact-box {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.form-group-clean {
  margin-bottom: 1rem;
}

.form-group-clean label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.35rem;
}

.form-group-clean input,
.form-group-clean select,
.form-group-clean textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  background: #ffffff;
}

.form-group-clean input:focus,
.form-group-clean select:focus,
.form-group-clean textarea:focus {
  outline: none;
  border-color: #111827;
}

/* FAQ Clean */
.faq-wrap-clean {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item-clean {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-question-btn {
  width: 100%;
  padding: 1rem 1.25rem;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
  cursor: pointer;
}

.faq-answer-clean {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.25rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq-item-clean.active .faq-answer-clean {
  max-height: 200px;
  padding: 0 1.25rem 1.25rem;
}

/* Modales */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 99990;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
}

.modal-overlay.open {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  z-index: 99999 !important;
}

.modal-clean-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 850px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  padding: 2rem;
}

.modal-clean-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #111827;
  cursor: pointer;
}

.modal-clean-close:hover {
  background: #e5e7eb;
}

.spec-clean-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.9rem;
}

.spec-clean-table tr {
  border-bottom: 1px solid var(--border-light);
}

.spec-clean-table th {
  text-align: left;
  padding: 0.65rem 0.5rem;
  color: var(--text-muted);
  font-weight: 500;
  width: 40%;
}

.spec-clean-table td {
  padding: 0.65rem 0.5rem;
  color: #111827;
  font-weight: 600;
}

/* Wishlist Drawer */
.wishlist-drawer-clean {
  position: fixed;
  top: 0;
  right: -100%;
  width: 90%;
  max-width: 400px;
  height: 100vh;
  background: #ffffff;
  z-index: 2500;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transition: right 0.35s ease;
  border-left: 1px solid var(--border-light);
}

.wishlist-drawer-clean.open {
  right: 0;
}

.drawer-header-clean {
  padding: 1.25rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-header-clean h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111827;
}

.drawer-body-clean {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.drawer-footer-clean {
  padding: 1.25rem;
  border-top: 1px solid var(--border-light);
  background: var(--bg-subtle);
}

/* Floating WhatsApp Circle with SVG */
.wa-float-circle {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 1500;
  background: #25d366;
  color: #ffffff;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
}

.wa-float-circle:hover {
  transform: scale(1.08);
}

.wa-float-circle svg {
  width: 30px;
  height: 30px;
  fill: #ffffff;
}

/* Footer */
.site-footer-clean {
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  padding: 3.5rem 0 2rem;
}

.footer-clean-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .footer-clean-grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }
}

.footer-clean-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.footer-clean-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-clean-col a {
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.footer-clean-col a:hover {
  color: #111827;
  text-decoration: underline;
}

.footer-clean-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   POLÍTICAS DE COMPRA, ENVÍOS Y GARANTÍAS
   ========================================================================== */
.section-policies {
  padding: 4.5rem 0;
  border-top: 1px solid var(--border-light);
}

.policies-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-top: 2rem;
}

@media (min-width: 900px) {
  .policies-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.policy-card {
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.policy-card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-sm);
}

.policy-card-highlight {
  border-color: #1c2e28;
  background: #fcfdfc;
}

.policy-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #f1f5f3;
  color: #1c2e28;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.policy-card-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 1rem;
}

.policy-card-p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 0.85rem;
}

.policy-sub-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
  margin-top: 1.25rem;
  margin-bottom: 0.65rem;
}

.policy-steps-list {
  padding-left: 1.2rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.policy-steps-list strong,
.policy-bullets-list strong {
  color: #111827;
}

.policy-bullets-list {
  padding-left: 1.2rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.policy-highlight-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 1rem 1.15rem;
  margin-top: auto;
}

.policy-highlight-box h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.4rem;
}

.policy-highlight-box p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.policy-commitment-banner {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  font-size: 0.92rem;
  margin-top: auto;
}

/* ==========================================================================
   ADMIN PANEL & LOGIN MODAL (TAL CUAL VENTAS MAQUILLAJE · FLOR DE GEMA)
   ========================================================================== */

/* Botón de Candadito (Solo icono de candado sin texto) */
.admin-lock-icon-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  color: #4b5563;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.2s ease;
  pointer-events: auto;
}

.admin-lock-icon-btn:hover,
.admin-lock-icon-btn:active {
  color: #111827;
  background: rgba(0, 0, 0, 0.06);
  transform: scale(1.08);
}

.admin-lock-icon-btn svg {
  width: 20px;
  height: 20px;
  pointer-events: none;
}

/* Modales Base (Tal cual Ventas Maquillaje) */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999 !important;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal.active,
.modal.open {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  z-index: 999999 !important;
}

.modal-content {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  animation: modalPop 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalPop {
  0% { transform: scale(0.94) translateY(12px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #111827;
  margin: 0;
}

.modal-close-btn,
.admin-close {
  background: transparent;
  border: none;
  font-size: 1.6rem;
  color: #94a3b8;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.modal-close-btn:hover,
.admin-close:hover {
  color: #111827;
  background: #f1f5f9;
}

/* PIN Authentication Modal */
.admin-auth-card {
  max-width: 420px !important;
  text-align: center;
  padding: 26px 28px !important;
}

.pin-input-group {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 16px 0;
}

.pin-digit {
  width: 50px;
  height: 56px;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 900;
  background: #f8fafc;
  border: 2px solid #cbd5e1;
  border-radius: 10px;
  color: #0f172a;
  outline: none;
  transition: all 0.2s ease;
}

.pin-digit:focus {
  border-color: #d4af37;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

/* Fullscreen Admin Panel (Tal cual Ventas Maquillaje) */
.modal.admin-fullscreen-modal {
  padding: 14px;
  z-index: 999999 !important;
}

.modal-content.admin-panel-content {
  max-width: 1360px !important;
  width: 96vw !important;
  height: 94vh !important;
  max-height: 94vh !important;
  margin: auto !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 22px 26px !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 14px !important;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.45) !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.admin-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 14px;
  flex-shrink: 0;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-header-title-wrap h2 {
  font-size: 1.35rem;
  font-weight: 900;
  color: #0f172a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-subtitle {
  font-size: 0.82rem;
  color: #64748b;
  margin: 2px 0 0;
}

.admin-header-stats {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-stat-pill {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #334155;
}

.admin-stat-pill-live {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #047857;
  font-weight: 800;
}

/* Tabs Navigation */
.admin-tabs-nav {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 10px;
  margin-bottom: 14px;
  flex-shrink: 0;
  overflow-x: auto;
}

.admin-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.admin-tab-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
}

.admin-tab-btn.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
}

.admin-tab-btn.active i {
  color: #d4af37;
}

.admin-panel-body {
  flex-grow: 1;
  overflow-y: auto;
  padding-right: 6px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-tab-pane {
  display: none;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.admin-tab-pane.active {
  display: flex !important;
  animation: adminTabFade 0.2s ease-in-out;
}

.admin-tab-btn .admin-tab-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 9999px;
  min-width: 18px;
  text-align: center;
}

.admin-tab-btn:not(.active) .admin-tab-badge {
  background: #e2e8f0;
  color: #334155;
}

/* ==========================================================================
   MEDIA MANAGER (MÚLTIPLES FOTOS Y VIDEOS EN ADMIN)
   ========================================================================== */
.admin-media-box {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 14px;
}

.admin-media-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(95px, 1fr));
  gap: 10px;
  padding: 8px;
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  border-radius: 8px;
  min-height: 60px;
}

.admin-photo-card {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #e2e8f0;
  background: #0f172a;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: all 0.15s ease;
}

.admin-photo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.admin-photo-card.is-cover {
  border-color: #d4af37;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.4);
}

.admin-photo-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.admin-photo-cover-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  background: #d4af37;
  color: #000000;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
  z-index: 2;
}

.admin-photo-actions {
  position: absolute;
  bottom: 4px;
  right: 4px;
  display: flex;
  gap: 3px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  padding: 2px 4px;
  border-radius: 4px;
  z-index: 2;
}

.admin-photo-action-btn {
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 3px;
  font-size: 0.72rem;
  transition: transform 0.1s ease;
}

.admin-photo-action-btn:hover {
  transform: scale(1.2);
  color: #f59e0b;
}

.admin-photo-action-btn.btn-del:hover {
  color: #ef4444;
}

/* Videos List / Grid in Admin */
.admin-video-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.admin-video-preview-wrap {
  width: 90px;
  height: 56px;
  background: #0f172a;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.admin-video-preview-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-video-preview-wrap i {
  color: #ffffff;
  font-size: 1.2rem;
}

.admin-video-info {
  flex: 1;
  min-width: 0;
}

.admin-video-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-video-url {
  font-size: 0.75rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   CLIENT PRODUCT DETAIL MODAL MULTI-MEDIA SHOWCASE
   ========================================================================== */
.gem-modal-gallery {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gem-modal-stage {
  position: relative;
  width: 100%;
  height: 380px;
  max-height: 50vh;
  background: #090d16;
  border-radius: 10px;
  border: 1px solid #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gem-modal-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: opacity 0.2s ease;
}

.gem-modal-stage video {
  max-width: 100%;
  max-height: 100%;
  border-radius: 6px;
  outline: none;
}

.gem-modal-stage iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.gem-stage-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.74rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

.gem-stage-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: all 0.15s ease;
}

.gem-stage-nav-btn:hover {
  background: #d4af37;
  color: #000000;
  transform: translateY(-50%) scale(1.1);
}

.gem-stage-prev { left: 12px; }
.gem-stage-next { right: 12px; }

.gem-modal-thumbnails-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 8px;
}

.gem-modal-thumb-btn {
  position: relative;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid #e2e8f0;
  background: #0f172a;
  cursor: pointer;
  padding: 0;
  transition: all 0.15s ease;
}

.gem-modal-thumb-btn:hover {
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.gem-modal-thumb-btn.active {
  border-color: #d4af37;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.5);
  transform: scale(1.05);
}

.gem-modal-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gem-modal-thumb-video-icon {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.9rem;
}

/* Catalog Card Media Badge */
.gem-card-media-pill {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 5px;
  pointer-events: none;
  z-index: 2;
}

/* Orders Table */
.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
}

.admin-orders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  text-align: left;
}

.admin-orders-table th {
  background: #f8fafc;
  padding: 10px 14px;
  color: #475569;
  font-weight: 700;
  border-bottom: 2px solid #e2e8f0;
  white-space: nowrap;
}

.admin-orders-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #f1f5f9;
  color: #1e293b;
  vertical-align: middle;
}

.admin-orders-table tr:hover {
  background: #f8fafc;
}

.order-badge {
  padding: 3px 8px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
  display: inline-block;
}

.order-badge.status-pending { background: #fef3c7; color: #92400e; }
.order-badge.status-quoted { background: #e0f2fe; color: #0369a1; }
.order-badge.status-reserved { background: #fce7f3; color: #9d174d; }
.order-badge.status-sold { background: #dcfce7; color: #15803d; }

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

/* Grid Two Columns (Form + Categories) */
.admin-grid-two {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 16px;
  margin-bottom: 0;
}

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

.admin-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px;
}

.admin-card-header {
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e2e8f0;
}

.admin-card-header h3 {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-form .form-group {
  margin-bottom: 12px;
}

.admin-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 4px;
}

.admin-form input[type="text"],
.admin-form input[type="number"],
.admin-form input[type="url"],
.admin-form input[type="datetime-local"],
.admin-form input[type="file"],
.admin-form textarea,
.admin-form select {
  width: 100%;
  padding: 9px 12px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  color: #0f172a;
  font-family: inherit;
  font-size: 0.88rem;
  outline: none;
  box-sizing: border-box;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
  border-color: #d4af37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.admin-image-preview-wrap {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  padding: 6px;
  border-radius: 6px;
  border: 1px dashed #cbd5e1;
}

.admin-image-preview-wrap img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
}

/* Category Chips (Tal cual Ventas Maquillaje) */
.admin-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  max-height: 220px;
  overflow-y: auto;
  padding: 4px;
}

.admin-category-chip {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  padding: 5px 8px 5px 12px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #1e293b;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.admin-category-chip:hover {
  border-color: #d4af37;
  background: #fffdf5;
}

.chip-name {
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chip-count {
  background: #0f172a;
  color: #ffffff;
  border-radius: 9999px;
  padding: 2px 7px;
  font-size: 0.68rem;
  font-weight: 800;
}

.chip-actions {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 2px;
}

.chip-action-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 0.75rem;
  color: #64748b;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.chip-action-btn:hover {
  transform: scale(1.15);
}

.chip-edit-btn:hover {
  color: #0284c7;
  background: #e0f2fe;
}

.chip-delete-btn:hover {
  color: #dc2626;
  background: #fee2e2;
}

/* Category Pills in Admin Filter */
.admin-pills-container {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 12px;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.category-pill:hover {
  border-color: #d4af37;
  color: #0f172a;
}

.category-pill.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

/* Products Inventory Cards Grid (Tal cual Ventas Maquillaje) */
.admin-products-section {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px;
  margin-top: 16px;
}

.admin-products-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.admin-search-box {
  position: relative;
  width: 260px;
}

.admin-search-box input {
  width: 100%;
  padding: 7px 28px 7px 32px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  font-size: 0.82rem;
  outline: none;
  box-sizing: border-box;
}

.admin-search-box i {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 0.8rem;
}

.admin-prods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 12px;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 6px;
}

.admin-prod-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.admin-prod-card:hover {
  border-color: #d4af37;
  transform: translateY(-2px);
}

.admin-prod-card.inactive-product {
  opacity: 0.55;
  background: #f1f5f9;
}

.admin-prod-card-main {
  display: flex;
  gap: 10px;
  align-items: center;
}

.admin-prod-thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.admin-prod-info {
  flex: 1;
  min-width: 0;
}

.admin-prod-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-prod-price {
  font-size: 0.9rem;
  font-weight: 900;
  color: #15803d;
}

.admin-prod-actions {
  display: flex;
  gap: 4px;
  justify-content: flex-end;
}

.admin-action-btn {
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: background 0.15s ease;
}

.admin-action-edit {
  background: #0f172a;
  color: #ffffff;
}

.admin-action-edit:hover {
  background: #1e293b;
}

.admin-action-toggle {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
}

.admin-action-toggle.to-inactive {
  background: #fef3c7;
  color: #92400e;
}

.admin-action-delete {
  background: #fee2e2;
  color: #b91c1c;
}

.admin-action-delete:hover {
  background: #fecaca;
}

/* ==========================================================================
   DEVELOPER LOGS CONSOLE & TERMINAL (TAL CUAL VENTAS MAQUILLAJE)
   ========================================================================== */
.valen-logs-header-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 16px 20px;
  color: #f8fafc;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.valen-logs-header-info {
  flex: 1;
  min-width: 260px;
}

.valen-logs-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.valen-logs-title-row h3 {
  font-size: 1.15rem;
  color: #f1f5f9;
  font-weight: 800;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.valen-badge-live {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid #22c55e;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 9999px;
}

.live-blink {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: valenBlink 1.4s infinite;
}

@keyframes valenBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.valen-logs-subtitle {
  font-size: 0.8rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.35;
}

.valen-logs-header-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.valen-logs-header-actions .btn-sm {
  padding: 7px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 6px;
  background: #1e293b;
  color: #e2e8f0;
  border: 1px solid #475569;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.valen-logs-header-actions .btn-sm:hover {
  background: #334155;
  color: #ffffff;
}

.valen-logs-header-actions .btn-danger-outline {
  border-color: #ef4444;
  color: #f87171;
}

.valen-logs-header-actions .btn-danger-outline:hover {
  background: #ef4444;
  color: #ffffff;
}

/* Controls: Filters & Search */
.valen-logs-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.valen-logs-filter-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.valen-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
}

.valen-filter-pill:hover {
  border-color: #d4af37;
  color: #0f172a;
}

.valen-filter-pill.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.valen-filter-pill.pill-ok.active {
  background: #15803d;
  color: #ffffff;
  border-color: #15803d;
}

.valen-filter-pill.pill-failed.active {
  background: #b91c1c;
  color: #ffffff;
  border-color: #b91c1c;
}

.valen-filter-pill .pill-count {
  background: rgba(0, 0, 0, 0.08);
  padding: 1px 6px;
  border-radius: 9999px;
  font-size: 0.7rem;
}

.valen-filter-pill.active .pill-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.valen-logs-search-wrap {
  position: relative;
  min-width: 240px;
  flex-grow: 1;
  max-width: 360px;
}

.valen-logs-search-input {
  width: 100%;
  padding: 7px 30px 7px 32px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  font-size: 0.8rem;
  outline: none;
  box-sizing: border-box;
}

.valen-logs-search-input:focus {
  border-color: #d4af37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.valen-logs-search-wrap .search-icon {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 0.8rem;
}

.valen-logs-clear-search {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.1rem;
  color: #64748b;
  cursor: pointer;
}

/* Terminal Window */
.valen-terminal-wrapper {
  background: #090d16;
  border: 1px solid #1e293b;
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: 'Consolas', 'Courier New', monospace;
}

.valen-terminal-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  background: #111827;
  border-bottom: 1px solid #1f2937;
  color: #94a3b8;
  font-size: 0.76rem;
}

.valen-terminal-body {
  max-height: 480px;
  overflow-y: auto;
  padding: 6px 0;
  display: flex;
  flex-direction: column;
}

/* Log Rows */
.valen-log-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.15s;
}

.valen-log-row:hover {
  background: rgba(255, 255, 255, 0.04);
}

.valen-log-summary-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  font-size: 0.78rem;
  color: #e2e8f0;
  cursor: pointer;
  flex-wrap: wrap;
}

.valen-log-time {
  color: #64748b;
  font-size: 0.72rem;
  white-space: nowrap;
}

.valen-badge-status {
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.valen-badge-status.status-ok {
  background: rgba(34, 197, 94, 0.16);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.valen-badge-status.status-failed {
  background: rgba(239, 68, 68, 0.18);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.valen-badge-status.status-warn {
  background: rgba(245, 158, 11, 0.16);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.valen-badge-status.status-info {
  background: rgba(56, 189, 248, 0.16);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.valen-badge-action {
  background: #1e293b;
  color: #cbd5e1;
  border: 1px solid #334155;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
}

.valen-log-message {
  flex: 1;
  color: #f1f5f9;
  min-width: 180px;
}

.valen-log-toggle-json {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  font-size: 0.7rem;
  font-family: inherit;
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s;
}

.valen-log-toggle-json:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #f8fafc;
}

.valen-log-details-drawer {
  background: #04070d;
  border-top: 1px solid #1e293b;
  padding: 10px 14px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: valenDrawerSlide 0.18s ease-out;
}

@keyframes valenDrawerSlide {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.valen-log-diff-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #64748b;
  font-size: 0.72rem;
}

.btn-copy-entry-json {
  background: #1e293b;
  border: 1px solid #334155;
  color: #94a3b8;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.68rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-copy-entry-json:hover {
  background: #334155;
  color: #ffffff;
}

.valen-log-json-code {
  background: transparent;
  color: #38bdf8;
  font-size: 0.74rem;
  line-height: 1.45;
  margin: 0;
  max-height: 240px;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-all;
}

.valen-terminal-empty {
  padding: 40px 20px;
  text-align: center;
  color: #64748b;
  font-size: 0.82rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.valen-terminal-empty i {
  font-size: 1.8rem;
  color: #334155;
}


/* ==========================================================================
   LOGO EN ESQUINA PERMANENTE & BRAND HEADER LOGO
   ========================================================================== */
.brand-header-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  object-fit: cover;
  border: 1.5px solid #d4af37;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.floating-corner-logo {
  position: fixed;
  bottom: 1.75rem;
  left: 1.75rem;
  z-index: 1450;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #000000;
  border: 2px solid #d4af37;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-corner-logo:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 22px rgba(212, 175, 55, 0.5);
}

.floating-corner-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 600px) {
  .floating-corner-logo {
    bottom: 1.25rem;
    left: 1.25rem;
    width: 44px;
    height: 44px;
  }
}

/* ==========================================================================
   PRÓXIMOS LIVES & TIKTOK VIDEOS
   ========================================================================== */
.section-proximos-lives {
  padding: 4.5rem 0;
  border-top: 1px solid var(--border-light);
  background: var(--bg-white);
}

.live-stream-grid-clean {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

@media (min-width: 900px) {
  .live-stream-grid-clean {
    grid-template-columns: 320px 1fr;
    gap: 3.5rem;
  }
}

.live-badge-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #fee2e2;
  color: #991b1b;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  text-transform: uppercase;
}

.live-status-pill.now-live {
  background: #ef4444;
  color: #ffffff;
  animation: pulse-live 1.5s infinite;
}

@keyframes pulse-live {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.live-date-highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #f1f5f9;
  color: #334155;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  margin-bottom: 1.25rem;
}

/* Recommended TikTok Video Card */
.tiktok-recommended-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #000000;
  border-radius: 10px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .tiktok-recommended-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.tiktok-rec-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: #d4af37;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tiktok-rec-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0.2rem 0;
}

.tiktok-rec-desc {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0;
}

/* TikTok Published Videos Grid */
.tiktok-published-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.tiktok-videos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .tiktok-videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .tiktok-videos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tiktok-video-card {
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.tiktok-video-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.tiktok-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0f172a;
}

.tiktok-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: transform 0.3s ease;
}

.tiktok-video-card:hover .tiktok-thumb-wrap img {
  transform: scale(1.05);
  opacity: 1;
}

.tiktok-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
}

.tiktok-play-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  border: 2px solid #ffffff;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tiktok-views-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.75);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.tiktok-card-content {
  padding: 1.15rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tiktok-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.4;
  margin-bottom: 0.4rem;
}

.tiktok-card-desc {
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 0.85rem;
  line-height: 1.5;
}

.tiktok-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  margin-top: auto;
}

.tiktok-card-btn:hover {
  text-decoration: underline;
}

/* ==========================================================================
   FIX MODAL PEDIDO MANUAL Y FORMULARIO PRODUCTO
   ========================================================================== */
#admin-product-panel {
  display: none;
}
#admin-product-panel.open {
  display: block !important;
}

#modal-manual-order {
  display: none;
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(15, 23, 42, 0.75) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: 2000005 !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px !important;
  box-sizing: border-box !important;
}

#modal-manual-order.active,
#modal-manual-order.open {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

#modal-manual-order .modal-content {
  background: #ffffff !important;
  border-radius: 14px !important;
  padding: 24px !important;
  max-width: 500px !important;
  width: 100% !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4) !important;
  position: relative !important;
  z-index: 2000010 !important;
}

/* ==========================================================================
   ESTILOS GEMA VENDIDA / SOLD OUT (EXACTO REFERENCIA IMAGEN 2)
   ========================================================================== */
.gem-badge-soldout {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.90);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.gem-badge-soldout i {
  font-size: 0.72rem;
  color: #cbd5e1;
}

.btn-card-soldout {
  background: #94a3b8 !important;
  color: #ffffff !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  padding: 0.6rem 0.8rem !important;
  border-radius: var(--radius-sm, 6px) !important;
  border: none !important;
  cursor: not-allowed !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  width: 100% !important;
  opacity: 0.95;
  letter-spacing: 0.02em;
  user-select: none;
  box-shadow: none !important;
}

.gem-card-clean.is-sold .gem-image-stage img {
  filter: contrast(95%);
  opacity: 0.92;
}

.gem-card-clean.is-sold .gem-price-cop {
  color: #64748b;
}

.admin-action-btn.admin-action-sold {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
}

.admin-action-btn.admin-action-sold:hover {
  background: #e2e8f0;
}

.admin-action-btn.admin-action-sold.is-sold {
  background: #0f172a;
  color: #f8fafc;
  border: 1px solid #0f172a;
}




