/* ══════════════════════════════════════════════
   Brazalete de Repuesto Omron — style.css
   Palette: cool grey bg + slate-blue ink + steel accent + cobalt CTA
   Fonts: IBM Plex Sans (clinical, technical) + Inter (body)
   Persona: Clinical medical accessories — clean, trustworthy, precise
   Dominant idea: Spacing & rhythm — wide white info panel, systematic
                  feature layout, clinical precision typography.
   Signature: Connector pill strip showing all 6 connector sizes
              as a unique product spec component.
   Layout: Grey gallery panel left (sticky), white info right.
══════════════════════════════════════════════ */

:root {
  /* Cool clinical palette */
  --bg:          #F4F7FA;
  --bg2:         #EBF0F6;
  --surface:     #FFFFFF;
  --gallery-bg:  #EEF2F8;
  --ink:         #1C2E48;
  --ink2:        #223550;
  --muted:       #546880;
  --border:      #C0CED E;
  --rule:        #D4DEE8;

  /* Steel blue accent */
  --steel:       #2E6898;
  --steel-lt:    #4A88B8;
  --steel-bg:    #E2EEF8;
  --steel-bdr:   #90B8D8;

  /* Cobalt CTA */
  --cobalt:      #1A5CBD;
  --cobalt-h:    #134A9E;

  /* Connector pill */
  --pill-bg:     #1C2E48;
  --pill-text:   #FFFFFF;

  /* Star */
  --star:        #C89808;

  /* Warning */
  --warn:        #A05020;
  --warn-bg:     #FDF3EC;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink2);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.75;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: 'IBM Plex Sans', sans-serif; }

/* ════════════════════════
   HEADER
════════════════════════ */
.site-header {
  background: var(--ink);
  padding: 1rem 5vw;
  border-bottom: 3px solid var(--steel-lt);
}
.hdr-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.hdr-left {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.hdr-accent-bar {
  width: 4px; height: 36px;
  background: var(--steel-lt);
  border-radius: 2px;
  flex-shrink: 0;
}
.hdr-titles {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.hdr-brand {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.45rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.hdr-sub {
  font-size: 0.67rem;
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hdr-compat-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(74,136,184,0.2);
  border: 1px solid rgba(74,136,184,0.4);
  color: var(--steel-lt);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.28rem 0.8rem;
  border-radius: 3px;
  flex-shrink: 0;
}
.hdr-compat-tag i { font-size: 0.72rem; }
@media(max-width:500px){ .hdr-compat-tag { display:none; } }

/* ════════════════════════
   PRODUCT SECTION
════════════════════════ */
.product-section {
  padding: 0;
}
.product-layout {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 5fr 6fr;
  align-items: start;
  padding: 3.5rem 5vw;
  gap: 4.5rem;
}

/* ── GALLERY COL (left) ── */
.gallery-col {
  position: sticky;
  top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.gallery-frame {
  background: var(--gallery-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
}
.gallery-slide img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  padding: 2rem 1.5rem;
  background: var(--gallery-bg);
}

.gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.65rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.gallery-thumbs::-webkit-scrollbar { display: none; }
.g-thumb {
  flex: 0 0 62px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  background: var(--surface);
  transition: border-color 0.15s;
}
.g-thumb:hover, .g-thumb:focus { border-color: var(--steel); outline: none; }
.g-thumb img { width: 62px; height: 62px; object-fit: cover; }

/* Size panel */
.size-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 1rem 1.2rem;
  margin-top: 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.sp-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
}
.sp-range {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.sp-from, .sp-to {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  flex-shrink: 0;
  min-width: 28px;
}
.sp-to { text-align: right; }
.sp-bar {
  flex: 1;
  height: 6px;
  background: var(--bg2);
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.sp-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(to right, var(--steel-lt), var(--cobalt));
  border-radius: 3px;
}
.sp-cm {
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* ── INFO COL (right) ── */
.info-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2.2rem 2rem 2.5rem;
  box-shadow: 0 3px 18px rgba(28,46,72,0.06);
}

.product-tag {
  display: inline-block;
  background: var(--steel-bg);
  border: 1px solid var(--steel-bdr);
  color: var(--steel);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.22rem 0.75rem;
  border-radius: 2px;
  margin-bottom: 1rem;
}

.product-title {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}
.product-subtitle {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 0.8rem;
  font-family: 'Inter', sans-serif;
}
.star-row { display: flex; align-items: center; gap: 0.5rem; }
.stars { color: var(--star); font-size: 1rem; letter-spacing: 0.05em; }
.star-label { font-size: 0.79rem; color: var(--steel); text-decoration: underline; cursor: default; }

.hr { height: 1px; background: var(--rule); margin: 1.3rem 0; }

/* CONNECTOR STRIP — signature element */
.connector-strip {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 1rem 1.2rem;
}
.cs-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.7rem;
}
.cs-label i { font-size: 0.72rem; }
.cs-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}
.cs-pill {
  display: inline-block;
  background: var(--pill-bg);
  color: var(--pill-text);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.22rem 0.65rem;
  border-radius: 3px;
}
.cs-pill-wide { background: var(--steel); }
.cs-note {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.55;
  font-style: italic;
}

/* ABOUT LIST */
.about-h {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.77rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.95rem;
}
.about-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.about-list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  font-size: 0.91rem;
  color: var(--ink2);
  line-height: 1.72;
}
.al-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  margin-top: 2px;
}
.al-icon.blue { background: var(--steel-bg); border: 1px solid var(--steel-bdr); color: var(--steel); }
.about-list li strong { color: var(--ink); font-weight: 600; }

/* DISCLAIMER */
.disclaimer-box {
  background: var(--warn-bg);
  border-left: 3px solid #D08040;
  padding: 0.9rem 1.1rem;
  border-radius: 0 4px 4px 0;
}
.disc-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warn);
  margin-bottom: 0.45rem;
}
.disclaimer-box p { font-size: 0.79rem; color: #6A5040; line-height: 1.65; }

/* CTA INLINE */
.cta-block {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  background: var(--cobalt);
  color: #fff;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 1rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(26,92,189,0.3);
  transition: background 0.2s, transform 0.15s;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--cobalt-h);
  transform: translateY(-1px);
  outline: none;
}
.cta-btn:active { transform: translateY(0); }
.cta-btn i { font-size: 1.1rem; }
.cta-meta {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.cta-meta span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.73rem;
  color: var(--muted);
}
.cta-meta i { font-size: 0.62rem; color: var(--steel); }

/* ════════════════════════
   REVIEWS
════════════════════════ */
.reviews-section {
  background: var(--bg);
  padding: 3.5rem 5vw 5rem;
}
.reviews-wrap { max-width: 760px; margin: 0 auto; }

.reviews-hdr {
  margin-bottom: 2rem;
  padding-bottom: 1.2rem;
  border-bottom: 2px solid var(--steel);
}
.reviews-title {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}
.reviews-meta { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.rev-avg { font-size: 0.87rem; font-weight: 600; color: var(--ink2); }
.rev-n { font-size: 0.8rem; color: var(--muted); }

.review { padding: 1.8rem 0; border-bottom: 1px solid var(--rule); }
.review:last-child { border-bottom: none; }
.review-head { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 0.65rem; }
.rev-avatar img {
  width: 44px; height: 44px;
  border-radius: 50%; object-fit: cover;
  border: 2px solid var(--border);
  background: var(--gallery-bg);
  flex-shrink: 0;
}
.rev-meta { display: flex; flex-direction: column; gap: 0.05rem; }
.rev-name { font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.rev-stars { color: var(--star); font-size: 0.88rem; letter-spacing: 0.04em; }
.rev-headline {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 700; font-size: 0.95rem;
  color: var(--ink); line-height: 1.3;
}
.rev-date { font-size: 0.77rem; color: var(--muted); margin-bottom: 0.2rem; }
.rev-attrs { font-size: 0.77rem; color: var(--muted); margin-bottom: 0.7rem; }
.rev-body { font-size: 0.91rem; color: var(--ink2); line-height: 1.8; margin-bottom: 0.6rem; }
.rev-photos { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.4rem; }
.rev-photos img {
  width: 90px; height: 90px;
  object-fit: cover; border-radius: 4px;
  border: 1px solid var(--border);
}

/* ════════════════════════
   FOOTER
════════════════════════ */
.site-footer {
  background: var(--ink);
  border-top: 3px solid var(--steel-lt);
  padding: 2rem 5vw;
  text-align: center;
}
.footer-inner {
  max-width: 860px; margin: 0 auto;
  display: flex; flex-direction: column;
  align-items: center; gap: 0.7rem;
}
.footer-brand {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.88rem; font-weight: 600;
  color: rgba(255,255,255,0.42);
  letter-spacing: 0.04em;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; justify-content: center; }
.footer-links a { font-size: 0.76rem; color: rgba(255,255,255,0.28); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--steel-lt); }
.fsep { color: rgba(255,255,255,0.14); font-size: 0.76rem; }
.footer-copy { font-size: 0.7rem; color: rgba(255,255,255,0.18); }

/* ════════════════════════
   RESPONSIVE
════════════════════════ */
@media (max-width: 900px) {
  .product-layout { grid-template-columns: 1fr; gap: 2rem; padding: 2rem 4vw; }
  .gallery-col { position: static; order: 1; }
  .info-col { order: 2; padding: 2rem 1.5rem; }
  .gallery-slide img { height: 260px; }
}

@media (max-width: 580px) {
  .product-title { font-size: 1.5rem; }
  .gallery-slide img { height: 220px; }
  .g-thumb { flex: 0 0 54px; }
  .g-thumb img { width: 54px; height: 54px; }
  .cta-btn { font-size: 0.96rem; padding: 1rem 1.2rem; }
  .reviews-section { padding: 2.5rem 4vw 4rem; }
  .cs-pills { gap: 0.35rem; }
  .cs-pill { font-size: 0.68rem; padding: 0.2rem 0.55rem; }
}

@media (max-width: 380px) {
  .info-col { padding: 1.5rem 1rem; }
}