/* ─── CONCHICHINA JEWELERS — MAIN STYLES ─────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --pink:      #FF3E8A;
  --pink-soft: #FFB8D4;
  --yellow:    #FFD447;
  --black:     #1C1C1C;
  --white:     #FFFAF6;
  --cream:     #FFF0E8;
  --muted:     #9A8070;
  --border:    #F0D8CC;
  --radius:    6px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--black);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── TYPOGRAPHY ─────────────────────────────────────────────────────────── */
h1, h2, h3 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.05;
}

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

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

/* ─── BANNER ─────────────────────────────────────────────────────────────── */
.site-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 16px;
  background: var(--pink);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  position: relative;
  z-index: 200;
}

.banner-close {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  color: #fff;
  line-height: 1;
  padding: 2px 6px;
  opacity: 0.7;
}

.banner-close:hover { opacity: 1; }

/* ─── NAV ────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 2px solid var(--pink);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

/* Nav logo wrap (new redesigned logo) */
.nav-logo-wrap { display:flex; align-items:center; gap:10px; text-decoration:none; }
.nav-logo-text { display:flex; flex-direction:column; line-height:1; }
.nav-logo-name { font-family:'Bebas Neue',sans-serif; font-size:1.3rem; color:var(--pink); letter-spacing:0.08em; }
.nav-logo-sub  { font-family:'Inter',sans-serif; font-size:0.72rem; color:var(--muted); letter-spacing:0.05em; }
.nav-logo-sub .loca { font-family:'Lilita One',cursive; font-size:1.05em; letter-spacing:0.02em; }

.nav-links {
  display: none;
  list-style: none;
  gap: 8px;
  align-items: center;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  padding: 8px 14px;
  transition: color 0.2s;
  letter-spacing: 0.03em;
}

.nav-link:hover { color: var(--pink); }

.nav-link.nav-cta {
  border: 1px solid var(--pink);
  color: var(--pink);
  border-radius: var(--radius);
}

.nav-link.nav-cta:hover {
  background: var(--pink);
  color: #fff;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── MOBILE MENU ────────────────────────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(300px, 85vw);
  height: 100vh;
  background: #fff;
  border-left: 1px solid var(--border);
  z-index: 500;
  display: flex;
  flex-direction: column;
  padding: 24px;
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
}

.mobile-menu.open { right: 0; }

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 499;
}

.mobile-menu.open ~ .mobile-overlay,
.mobile-menu.open + .mobile-overlay { display: block; }

.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.5rem;
  cursor: pointer;
  margin-bottom: 32px;
  line-height: 1;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu-link {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 0.06em;
  color: var(--pink);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.mobile-menu-link:hover { color: var(--black); }

/* ─── HERO ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, #FFF0E8 0%, #FFD4E8 50%, #FFF8D0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-gem {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(280px, 50vw, 600px);
  pointer-events: none;
  opacity: 0.55;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 24px;
  text-align: left;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-title-line1 {
  font-size: clamp(3.5rem, 10vw, 8rem);
  color: var(--black);
  display: block;
}

.hero-title-line2 {
  font-size: clamp(3.5rem, 10vw, 8rem);
  color: var(--pink);
  display: block;
}

.hero-divider {
  width: 80px;
  height: 2px;
  background: var(--yellow);
  margin: 24px 0;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}

/* Pink CTA Button */
.btn-gold {
  display: inline-block;
  background: var(--pink);
  color: #fff;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.1em;
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
  border-radius: 0;
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
}

.btn-gold:hover {
  background: #e0246e;
  transform: translateY(-2px);
}

/* ─── SECTION COMMON ─────────────────────────────────────────────────────── */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--pink);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(2.2rem, 6vw, 4rem);
  margin-bottom: 40px;
  position: relative;
}

.section-title::before {
  content: '';
  display: block;
  width: 40px;
  height: 4px;
  background: var(--yellow);
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
}

.section-header .section-title::before {
  margin: 0 auto 12px;
}

/* ─── COLLECTION SECTION ─────────────────────────────────────────────────── */
.collection-section {
  background: var(--cream);
}

/* Search */
.search-wrap {
  position: relative;
  max-width: 460px;
  margin: 0 auto 24px;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 13px 14px 13px 44px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  color: var(--black);
  outline: none;
  transition: border-color 0.2s;
}

.search-input:focus { border-color: var(--pink); }
.search-input::placeholder { color: var(--muted); }

/* Filters */
.filters-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 20px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: all 0.2s;
  border-radius: 0;
  font-family: 'Inter', sans-serif;
}

.filter-btn:hover {
  border-color: var(--pink);
  color: var(--pink);
  background: rgba(255, 62, 138, 0.06);
}

.filter-btn.active {
  background: var(--pink);
  color: #fff;
  border-color: var(--pink);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1px;
  background: var(--border);
}

.product-card {
  background: #fff;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  transition: border-color 0.25s;
}

.product-card:hover { border-color: var(--pink); }

.product-img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--cream);
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

/* Gallery arrows */
.gallery-prev,
.gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.85);
  border: none;
  color: var(--black);
  font-size: 1.6rem;
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  line-height: 1;
  transition: background 0.2s;
}

.gallery-prev { left: 6px; }
.gallery-next { right: 6px; }
.gallery-prev:hover, .gallery-next:hover { background: rgba(255,62,138,0.15); }

.gallery-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 2;
}

.gallery-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transition: background 0.2s;
}

.gallery-dot.active { background: var(--pink); }

.product-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
}

.product-category {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--yellow);
  color: var(--black);
  border-radius: 50px;
  padding: 2px 10px;
}

.product-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  color: var(--black);
  line-height: 1.1;
}

.product-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
  flex: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
}

.product-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  color: var(--pink);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.stock-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stock-ok    { background: rgba(0,180,80,0.12); color: #16a34a; }
.stock-low   { background: rgba(255,120,0,0.12); color: #ea6c00; }
.stock-order { background: rgba(255,62,138,0.12); color: var(--pink); }

/* WhatsApp button */
.btn-wa-product {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  padding: 12px 16px;
  background: #25D366;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 0;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
  letter-spacing: 0.02em;
}

.btn-wa-product:hover { opacity: 0.88; transform: translateY(-1px); }

.no-products {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 60px 0;
  font-size: 1rem;
}

/* ─── HISTORIA SECTION ───────────────────────────────────────────────────── */
.historia-section {
  background: linear-gradient(135deg, #FFE8F4 0%, #FFF8D0 100%);
}

.historia-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

.historia-text {
  max-width: 600px;
}

.historia-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.historia-body p {
  font-size: 1rem;
  color: var(--black);
  line-height: 1.8;
}

.historia-section .section-title {
  color: var(--pink);
}

.historia-img-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  max-width: 420px;
  width: 100%;
}

.historia-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 4px solid var(--pink);
  border-radius: 12px;
  display: block;
  transform: rotate(-2deg);
}

.historia-img-placeholder {
  width: 100%;
  height: 100%;
  background: var(--cream);
  border: 4px solid var(--pink);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  transform: rotate(-2deg);
}

/* ─── CONTACTO SECTION ───────────────────────────────────────────────────── */
.contacto-section {
  background: var(--cream);
  text-align: center;
}

.contacto-section .section-title::before {
  margin: 0 auto 12px;
}

.contacto-section .section-title {
  color: var(--black);
}

.contacto-sub {
  color: var(--muted);
  max-width: 500px;
  margin: -20px auto 36px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #25D366;
  color: #fff;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  padding: 1.2rem 3rem;
  border-radius: 0;
  transition: opacity 0.2s, transform 0.15s;
  margin-bottom: 56px;
}

.btn-whatsapp:hover { opacity: 0.88; transform: translateY(-2px); }

.contacto-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}

.contacto-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: #fff;
  border-left: 3px solid var(--pink);
}

.contacto-card-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  line-height: 1;
}

.contacto-card strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--pink);
  margin-bottom: 4px;
}

.contacto-card span {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
.footer {
  background: var(--black);
  border-top: none;
  padding: 32px 24px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: var(--pink);
}

.footer-social {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 12px;
}

.footer-social-link {
  color: rgba(255,250,246,0.5);
  transition: color 0.2s, transform 0.2s;
  display: flex;
}

.footer-social-link:hover {
  color: var(--pink);
  transform: scale(1.15);
}

.social-links {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.btn-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  transition: transform 0.18s, opacity 0.18s;
  text-decoration: none;
}

.btn-social:hover { transform: translateY(-2px); opacity: 0.88; }

.btn-instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: white;
}

.btn-tiktok {
  background: #010101;
  color: white;
  border: 1px solid #333;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--white);
}

.footer-admin {
  font-size: 0.72rem;
  color: rgba(255,250,246,0.2);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.footer-admin:hover { color: var(--pink); }

/* ─── RESPONSIVE 768px ───────────────────────────────────────────────────── */
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .hamburger { display: none; }

  .historia-layout {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
  }

  .historia-img-wrap {
    max-width: none;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ─── RESPONSIVE 1024px ──────────────────────────────────────────────────── */
@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }

  .hero-content {
    padding: 80px 48px;
  }

  .hero-gem {
    opacity: 0.55;
  }
}
