/* ================================================================
   Innova Printing · style.css
   Apple 2026 aesthetic — compilado, sin dependencias externas
   ================================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; max-width: 100vw; width: 100%; }
img, svg, video { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; }

/* ---------- Typography ---------- */
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro", "Inter",
               "Helvetica Neue", Arial, sans-serif;
  background: #FFFFFF;
  color: #000000;
  font-weight: 400;
  letter-spacing: -0.011em;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.display { font-weight: 600; letter-spacing: -0.032em; line-height: 1.05; }
.mono { font-family: "SF Mono", ui-monospace, Menlo, monospace; }

/* ---------- Layout ---------- */
.container-safe {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 480px) { .container-safe { padding: 0 32px; } }
@media (min-width: 768px) { .container-safe { padding: 0 40px; } }
@media (min-width: 1024px){ .container-safe { padding: 0 56px; } }

.section { padding: 48px 0; }
@media (min-width: 768px) { .section { padding: 80px 0; } }
.section-sm { padding: 32px 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,0.82);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid #F5F5F7;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.brand-dot { width: 8px; height: 8px; border-radius: 50%; background: #000; }

.nav-desktop { display: none; gap: 4px; }
@media (min-width: 1024px) { .nav-desktop { display: flex; } }
.nav-link {
  font-size: 14px; padding: 8px 14px; border-radius: 980px;
  color: #1d1d1f; transition: all .15s;
}
.nav-link:hover, .nav-link.is-active { background: #F5F5F7; color: #000; }
.nav-link.is-active { font-weight: 500; }

.header-actions { display: flex; align-items: center; gap: 4px; }
.icon-btn {
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #000; transition: background .15s;
}
.icon-btn:hover { background: #F5F5F7; }

.cart-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0 12px; height: 36px; border-radius: 980px;
  color: #000; font-size: 13px; font-weight: 500;
}
.cart-btn:hover { background: #F5F5F7; }

.mobile-only { display: inline-flex; }
@media (min-width: 1024px) { .mobile-only { display: none; } }

.mobile-menu { display: none; border-top: 1px solid #F5F5F7; background: #fff; }
.mobile-menu.is-open { display: block; }
.mobile-menu .mobile-link {
  display: block; padding: 14px 0; font-size: 15px;
  border-bottom: 1px solid #F5F5F7;
}
.mobile-menu .mobile-link:last-child { border-bottom: none; }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 22px;
  border-radius: 980px;
  font-size: 15px; font-weight: 500; line-height: 1;
  min-height: 44px; white-space: nowrap;
  transition: all .25s cubic-bezier(.4,0,.2,1);
}
.btn-primary { background: #000; color: #fff; }
.btn-primary:hover { background: #1d1d1f; transform: scale(.98); }
.btn-secondary { background: #F5F5F7; color: #000; }
.btn-secondary:hover { background: #EBEBEE; }
.btn-ghost { background: transparent; color: #000; border: 1px solid #D2D2D7; }
.btn-ghost:hover { background: #F5F5F7; }
.btn-glass {
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  color: #000; border: .5px solid rgba(255,255,255,.6);
  box-shadow: 0 8px 32px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.7);
}
.btn-glass:hover { background: rgba(255,255,255,.85); transform: scale(.98); }
.btn-sm { padding: 8px 16px; font-size: 13px; min-height: 36px; }
.btn-lg { padding: 16px 30px; font-size: 17px; min-height: 54px; }

/* ---------- Cards ---------- */
.card, .card-silver { background: #F5F5F7; border-radius: 24px; padding: 24px; }
.card-white { background: #fff; border: 1px solid #D2D2D7; border-radius: 24px; padding: 24px; }
@media (min-width: 768px) {
  .card, .card-silver, .card-white { padding: 32px; }
}

/* ---------- Chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 980px;
  font-size: 12px; font-weight: 500;
  background: #F5F5F7; color: #000; white-space: nowrap;
}
.chip-dark { background: #000; color: #fff; }
.chip-magenta { background: #EC008C; color: #fff; }
.chip-cyan { background: #00AEEF; color: #fff; }

/* ---------- CMYK dots ---------- */
.cmyk-mark { display: inline-flex; gap: 4px; align-items: center; }
.cmyk-mark span, .dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.dot-cyan { background: #00AEEF; }
.dot-magenta { background: #EC008C; }
.dot-yellow { background: #FFF200; border: 1px solid #D2D2D7; }
.dot-ink { background: #000; }

/* ---------- HERO / Promo banner ---------- */
.hero-banner {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: #000; color: #fff;
  min-height: 420px;
  padding: 32px 24px;
  display: flex; align-items: center;
}
@media (min-width: 768px) {
  .hero-banner { padding: 60px; border-radius: 36px; }
}
.hero-blur-1 {
  position: absolute; top: -80px; right: -60px;
  width: 280px; height: 280px; border-radius: 50%;
  background: #EC008C; opacity: 0.4; filter: blur(60px); pointer-events: none;
}
.hero-blur-2 {
  position: absolute; bottom: 0; left: -60px;
  width: 260px; height: 260px; border-radius: 50%;
  background: #00AEEF; opacity: 0.3; filter: blur(60px); pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 640px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 980px;
  background: rgba(255,255,255,.1);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  font-size: 12px; color: rgba(255,255,255,.8);
  margin-bottom: 16px;
}
.hero-title {
  font-size: 36px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.05;
  margin-bottom: 16px;
}
@media (min-width: 640px) { .hero-title { font-size: 48px; } }
@media (min-width: 1024px){ .hero-title { font-size: 64px; } }

.hero-sub { color: rgba(255,255,255,.7); font-size: 16px; margin-bottom: 24px; max-width: 480px; }
@media (min-width: 768px) { .hero-sub { font-size: 18px; } }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Section headings ---------- */
.section-head { margin-bottom: 32px; }
.section-head h2 {
  font-size: 30px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.05;
}
@media (min-width: 768px) { .section-head h2 { font-size: 44px; } }
.section-head p { color: #86868B; margin-top: 8px; font-size: 16px; }
@media (min-width: 768px) { .section-head p { font-size: 18px; } }

/* ---------- Category grid ---------- */
.cat-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
@media (min-width: 768px) { .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1024px){ .cat-grid { grid-template-columns: repeat(4, 1fr); } }

.cat-tile {
  display: block;
  background: #F5F5F7; border-radius: 24px;
  padding: 20px; transition: all .3s;
}
.cat-tile:hover { background: #000; color: #fff; }
.cat-tile-eyebrow { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #86868B; margin-bottom: 32px; }
.cat-tile:hover .cat-tile-eyebrow { color: rgba(255,255,255,.6); }
.cat-tile-title { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
@media (min-width: 768px) { .cat-tile-title { font-size: 24px; } }
.cat-tile-meta { font-size: 11px; color: #86868B; margin-top: 6px; }
.cat-tile:hover .cat-tile-meta { color: rgba(255,255,255,.6); }

/* ---------- Product grid ---------- */
.prod-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
@media (min-width: 768px) { .prod-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1024px){ .prod-grid { grid-template-columns: repeat(4, 1fr); } }

.prod-tile {
  display: block;
  background: #F5F5F7; border-radius: 24px;
  overflow: hidden;
  transition: transform .3s;
}
.prod-tile:hover { transform: scale(1.02); }
.prod-tile-img {
  aspect-ratio: 1;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.prod-tile-img img { max-width: 80%; max-height: 80%; object-fit: contain; }
.prod-tile-body { padding: 16px; }
.prod-tile-title {
  font-size: 14px; font-weight: 600; line-height: 1.3;
  margin-bottom: 4px;
  overflow-wrap: break-word;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.prod-tile-meta { font-size: 12px; color: #86868B; margin-bottom: 12px; }
.prod-tile-price { display: flex; align-items: baseline; gap: 8px; }
.prod-tile-price .amount { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.prod-tile-price .was { font-size: 12px; color: #86868B; text-decoration: line-through; }

.prod-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
}

/* ---------- Product page ---------- */
.product-layout {
  display: grid; grid-template-columns: 1fr; gap: 32px;
}
@media (min-width: 1024px) {
  .product-layout { grid-template-columns: 1fr 1fr; gap: 64px; }
}
.prod-gallery-main {
  aspect-ratio: 1;
  background: #F5F5F7;
  border-radius: 24px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.prod-gallery-main img { max-width: 90%; max-height: 90%; object-fit: contain; }
.prod-gallery-thumbs {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  margin-top: 12px;
}
.prod-gallery-thumbs button {
  aspect-ratio: 1;
  background: #F5F5F7;
  border-radius: 12px;
  overflow: hidden;
  padding: 8px;
  transition: box-shadow .15s;
}
.prod-gallery-thumbs button.is-active { box-shadow: 0 0 0 2px #000; }
.prod-gallery-thumbs img { max-width: 100%; max-height: 100%; object-fit: contain; }

.prod-title { font-size: 32px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; margin: 12px 0; }
@media (min-width: 768px) { .prod-title { font-size: 40px; } }
.prod-sub { color: #86868B; font-size: 16px; margin-bottom: 24px; }
.prod-sku { font-size: 12px; color: #86868B; margin-bottom: 8px; }

.prod-price-row {
  display: flex; align-items: baseline; gap: 12px;
  margin-bottom: 24px;
}
.prod-price-row .amount { font-size: 40px; font-weight: 600; letter-spacing: -0.03em; }
.prod-price-row .was { font-size: 16px; color: #86868B; text-decoration: line-through; }

.prod-desc { color: #1d1d1f; margin-bottom: 24px; }
.prod-desc p { margin-bottom: 12px; }
.prod-desc ul { padding-left: 20px; margin-bottom: 12px; }

/* Variant selector */
.variant-group { margin-bottom: 20px; }
.variant-label { display: block; font-size: 13px; font-weight: 500; color: #86868B; margin-bottom: 8px; }
.variant-options { display: flex; gap: 8px; flex-wrap: wrap; }
.variant-option {
  padding: 10px 16px; border-radius: 12px;
  background: #F5F5F7; color: #000;
  font-size: 14px; font-weight: 500;
  border: 1px solid transparent;
  transition: all .15s;
}
.variant-option:hover { border-color: #D2D2D7; }
.variant-option.is-selected {
  background: #000; color: #fff;
}
.variant-option.is-unavailable {
  opacity: .35; text-decoration: line-through; cursor: not-allowed;
}

/* Buy CTA */
.buy-row {
  border-top: 1px solid #D2D2D7;
  padding-top: 24px;
  margin-top: 24px;
}
.buy-total {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.buy-total .label { color: #86868B; }
.buy-total .amount { font-size: 32px; font-weight: 600; letter-spacing: -0.03em; }
.buy-actions { display: flex; gap: 8px; flex-direction: column; }
@media (min-width: 480px) { .buy-actions { flex-direction: row; } }
.buy-actions .btn { flex: 1; }

/* ---------- Category page ---------- */
.breadcrumb { padding: 12px 0; font-size: 12px; color: #86868B; border-bottom: 1px solid #F5F5F7; }
.breadcrumb a { color: #86868B; }
.breadcrumb a:hover { color: #000; }
.breadcrumb span { color: #000; }
.breadcrumb-sep { margin: 0 6px; }

.cat-header { padding: 40px 0 24px; }
.cat-header .count { font-size: 13px; color: #86868B; margin-bottom: 8px; }
.cat-header h1 { font-size: 36px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
@media (min-width: 768px) { .cat-header h1 { font-size: 56px; } }
.cat-header .desc { color: #86868B; margin-top: 12px; font-size: 16px; max-width: 640px; }

/* Filter chips */
.filter-row {
  display: flex; gap: 8px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 0 8px;
  margin: 0 -24px;
  padding-left: 24px; padding-right: 24px;
}
.filter-row::-webkit-scrollbar { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: #F5F5F7; margin-top: 96px; padding: 48px 0 16px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 40px; } }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 768px) { .footer-brand { grid-column: auto; } }
.footer-brand .brand { font-size: 17px; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; color: #86868B; max-width: 320px; margin-bottom: 16px; }
.footer-address { font-size: 13px; color: #86868B; line-height: 1.6; }
.footer-address a { color: #000; }
.footer-col h4 { font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 13px; color: #86868B; }
.footer-col a:hover { color: #000; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; margin-top: 40px;
  border-top: 1px solid #D2D2D7;
  font-size: 12px; color: #86868B;
  flex-wrap: wrap; gap: 12px;
}

/* ---------- Utility ---------- */
.text-muted { color: #86868B; }
.text-center { text-align: center; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.hidden { display: none; }
