@font-face {
  font-family: Open Sans;
  src: url("recursos/tipos/OpenSans%5Bwdth%2Cwght%5D.ttf") format("truetype");
  font-weight: 300 800;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url("recursos/tipos/Poppins-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --navy: #122637;
  --muted: #4d6576;
  --accent: #006a89;
  --sky: #00ccff;
  --light: #edf5f8;
  --line: #ccdae2;
  --title: Poppins, sans-serif;
  --body: "Open Sans", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--navy); background: #f9fcfd; font-family: var(--body); line-height: 1.55; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid #0088b3;
  outline-offset: 3px;
}
a { color: var(--accent); }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--title); line-height: 1.1; }
[hidden] { display: none !important; }
.shell { width: min(1232px, calc(100% - 84px)); margin-inline: auto; }
.top { background: var(--navy); color: white; border-bottom: 4px solid var(--sky); }
.top-bar, .top nav, .identity { display: flex; align-items: center; }
.top-bar { min-height: 75px; justify-content: space-between; }
.identity { gap: 12px; color: white; text-decoration: none; }
.identity > span { display: flex; flex-direction: column; line-height: 1.16; }
.identity strong { font-family: var(--title); font-size: 1.24rem; }
.identity span span { font-size: .82rem; color: #cbdde6; }
.top nav { gap: 30px; }
.top nav a { color: white; text-decoration: none; font-weight: 700; font-size: .94rem; }
.top nav a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.top-download { border: 1px solid #627d90; border-radius: 8px; padding: .5rem .95rem; }
.intro { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; gap: clamp(30px, 6vw, 92px); padding-block: 61px 58px; }
.intro:has(.featured[hidden]) { grid-template-columns: 1fr; }
h1 { font-size: clamp(3rem, 6.2vw, 6.15rem); letter-spacing: -.063em; line-height: .98; }
.deck { max-width: 37ch; color: var(--muted); font-size: clamp(1rem,1.55vw,1.2rem); margin-top: 23px; }
.intro-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 21px; margin-top: 28px; }
.primary, .text-link { display: inline-flex; align-items: center; justify-content: center; color: var(--navy); font-weight: 750; text-decoration: none; font-size: .95rem; }
.primary { background: #35c5ed; padding: .78rem 1.2rem; border-radius: 8px; }
.primary:hover { background: #8adef3; }
.text-link { text-decoration: underline; text-underline-offset: 4px; }
.featured { min-width: 0; }
.feature { display: block; width: 100%; padding: 0; border: 0; text-align: left; background: transparent; color: var(--navy); }
.feature img { width: 100%; height: clamp(255px,34vw,425px); object-fit: cover; background: #d9e3ea; }
.feature span { display: block; border-bottom: 1px solid var(--line); padding: .57rem 0 .56rem; font-weight: 730; }
.feature:hover span { text-decoration: underline; text-underline-offset: 4px; }
.library { background: var(--light); border-block: 1px solid #deebf0; padding-block: 34px 54px; scroll-margin-top: 12px; }
.lib-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.lib-head h2 { font-size: clamp(1.65rem,3vw,2.45rem); letter-spacing: -.045em; }
#count { color: var(--muted); font-size: .9rem; margin-top: 5px; min-height: 1.4rem; }
.search { display: flex; align-items: center; gap: .55rem; border: 1px solid var(--line); background: white; border-radius: 9px; padding-inline: .72rem; min-width: 252px; }
.search svg { width: 22px; height: 22px; color: var(--accent); stroke: currentColor; stroke-width: 1.65; }
.search input { appearance: none; width: 100%; padding: .61rem .12rem; border: 0; background: none; color: var(--navy); }
.search:focus-within { outline: 3px solid #0088b3; outline-offset: 2px; }
.search input:focus { outline: 0; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 17px 0 22px; }
.approval-nav { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 15px; border-bottom: 1px solid var(--line); }
.approval-nav a { padding: .45rem .12rem; text-decoration: none; color: var(--muted); font-weight: 700; }
.approval-nav a[aria-current="page"] { color: var(--navy); border-bottom: 3px solid var(--accent); }
.review-links { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 12px; font-size: .92rem; }
.filters button { border: 1px solid var(--line); background: white; color: var(--navy); border-radius: 7px; font-size: .9rem; font-weight: 680; padding: .43rem .71rem; }
.filters button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.products { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.card { border: 0; border-bottom: 1px solid var(--line); padding: 0; border-radius: 0; background: transparent; color: var(--navy); overflow: hidden; text-align: start; display: flex; flex-direction: column; height: 100%; }
.card:hover { border-color: #009fc7; }
.card:hover .name { text-decoration: underline; text-underline-offset: 4px; }
.card img { width: 100%; aspect-ratio: 1.35; object-fit: cover; background: #d6e2e8; }
.card--text { background: var(--light); padding-inline: .75rem; }
.card-info { display: flex; flex-direction: column; gap: 5px; padding: .72rem 0 .92rem; }
.card .group { color: var(--muted); font-size: .8rem; font-weight: 650; }
.card .name { font: 700 1.02rem/1.34 var(--title); }
.status { font-size: .85rem; font-weight: 700; color: #075771; width: fit-content; }
.status.pending { color: #775015; }
.status.hold { color: #79513c; }
.none { padding: 26px 0; color: var(--muted); }
.references { padding-block: 43px; }
.references p { color: var(--muted); margin-top: 10px; max-width: 55ch; }
.references ul { padding-left: 1.16rem; margin-bottom: 0; }
.references li + li { margin-top: .42rem; }
.footer { color: #d7e8ef; background: var(--navy); font-size: .88rem; padding: 23px 0; }
.footer .shell { display: flex; justify-content: space-between; gap: 12px; }
.footer strong { color: white; }
dialog { width: min(1130px,calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 0; border: 0; border-radius: 14px; color: var(--navy); box-shadow: 0 30px 60px #0b22384d; }
dialog::backdrop { background: #102537b9; }
.detail-head { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 21px 26px; background: var(--navy); color: white; border-bottom: 3px solid var(--sky); }
.detail-group { color: #b5dbe9; font-size: .85rem; margin-bottom: 5px; }
.detail-head h2 { font-size: clamp(1.25rem,3.5vw,2rem); }
.close { background: #223b4d; color: white; font-size: 1.65rem; line-height: 1; border: 1px solid #6d8594; border-radius: 6px; padding: .35rem .61rem; }
.detail-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 25px; padding: 25px 26px; }
.detail-grid--text { grid-template-columns: minmax(0, 46rem); }
.detail-media { align-self: start; position: sticky; top: 7px; }
.media-tabs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 10px; }
.media-tabs button { color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: .42rem .68rem; font-weight: 750; }
.media-tabs button[aria-selected="true"] { color: #fff; background: var(--navy); border-color: var(--navy); }
.image-frame { background: #e2dfd9; aspect-ratio: 1.22; position: relative; border-radius: 9px; overflow: hidden; }
.image-frame:focus-within { outline: 3px solid var(--navy); outline-offset: 3px; }
#mockup { display: block; width: 100%; height: 100%; object-fit: contain; }
#viewer { width: 100%; height: 100%; position: absolute; inset: 0; }
#viewer { touch-action: none; }
#viewer canvas { display: block; width: 100%; height: 100%; }
.viewer-state { position: absolute; bottom: 12px; left: 12px; right: 12px; background: #fff; padding: .55rem .7rem; border-radius: 6px; font-size: .89rem; }
.viewer-controls { display: flex; flex-wrap: wrap; gap: .45rem; }
.viewer-controls button { margin-bottom: 10px; color: var(--navy); background: #e0f1f6; border: 1px solid #a9cedb; border-radius: 6px; padding: .42rem .68rem; font-weight: 750; }
#viewer-demo-label { margin: .42rem 0 0; font-size: .83rem; color: var(--muted); }
#orbit-help { font-size: .83rem; color: var(--muted); margin-top: 10px; }
.supplier-price { font-weight: 700; }
.change { margin: 9px 0 14px; }
.card-price { display: block; margin-top: .3rem; color: var(--accent); font-size: .83rem; font-weight: 700; }
.printed-price { background: var(--light); border: 1px solid var(--line); border-radius: 7px; padding: .62rem .75rem; margin-bottom: 16px; }
.printed-price p, .printed-price a { font-size: .86rem; }
.printed-price .price-label { color: var(--accent); font-weight: 750; }
.original-mockups, .mockup-images { display: grid; gap: 12px; }
.original-mockups figure { margin: 0; min-width: 0; }
.original-mockups figcaption { margin-bottom: .4rem; color: var(--accent); font-size: .88rem; font-weight: 750; }
.original-mockups img { display: block; width: 100%; aspect-ratio: 1.22; padding: 4px; object-fit: contain; background: var(--light); border: 1px solid var(--line); border-radius: 7px; }
dl { margin: 0; border-top: 1px solid var(--line); display: grid; gap: 12px; padding-top: 13px; }
dl div { display: grid; gap: 1px; }
dt { color: var(--accent); font-size: .86rem; font-weight: 750; }
dd { margin: 0; font-size: .93rem; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 17px 0 10px; }
.detail-actions a { border: 1px solid var(--line); padding: .38rem .66rem; border-radius: 6px; font-size: .85rem; font-weight: 750; text-decoration: none; }
.detail-actions a:first-child { background: #d9f5fd; border-color: #b4e1ec; }
.detail-actions a:hover { text-decoration: underline; }
#base-arts { font-size: .85rem; color: var(--muted); }
.detail-grid--text #base-arts a { display: block; margin-top: .4rem; }
#base-arts p { margin-bottom: 4px; }
#base-arts a { margin-right: 10px; overflow-wrap: anywhere; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 1050px) {
  .shell { width: calc(100% - 50px); }
  .intro { gap: 28px; padding-block: 45px; }
  .feature img { height: min(350px, 44vw); }
  .products { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 710px) {
  .shell { width: calc(100% - 32px); }
  .top-bar { min-height: 65px; }
  .top nav { gap: 13px; }
  .top nav .catalog-nav { display: none; }
  .intro { grid-template-columns: 1fr; gap: 28px; padding-block: 34px; }
  .feature img { height: clamp(215px, 60vw, 375px); }
  .lib-head { flex-wrap: wrap; gap: 12px; }
  .search { flex-grow: 1; min-width: unset; }
  .products { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .card-info { padding: .65rem 0; }
  .card .name { font-size: .95rem; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-head, .detail-grid { padding: 15px; }
  .detail-media { position: static; }
  .footer .shell { flex-direction: column; gap: 2px; }
  dialog { max-height: calc(100dvh - 16px); width: calc(100% - 16px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
.decision { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; padding-bottom: 13px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.decision button { border: 1px solid var(--line); border-radius: 5px; color: var(--navy); background: #fff; font-weight: 750; font-size: .9rem; padding: .42rem .68rem; }
.decision button[data-decision="aprobado"][aria-pressed="true"] { background: #e1f3e7; border-color: #287343; color: #1b5831; }
.decision button[data-decision="rechazado"][aria-pressed="true"] { background: #faeae9; border-color: #a65750; color: #803b32; }
.decision p { width: 100%; color: var(--muted); font-size: .87rem; }
.aprobado, .decision p.aprobado { color: #205e37; }
.rechazado, .decision p.rechazado { color: #803e37; }
.card-decision { font-size: .87rem; font-weight: 750; }
.supplier-options { margin: 19px 0; border-top: 1px solid var(--line); padding-top: 14px; }
.supplier-options h3 { font-size: 1.02rem; margin-bottom: 6px; }
.purchase-status { font-weight: 700; color: var(--accent); font-size: .88rem; }
.supplier-options ul, .supplier-row ul { list-style: none; padding-left: 0; margin-block: .65rem 0; }
.supplier-options li + li, .supplier-row li + li { margin-top: 11px; }
.supplier-options p, .supplier-row p { font-size: .9rem; margin: 3px 0 0; }
.supplier-options li a, .supplier-row li a { font-weight: 700; }
.supplier-meta { color: var(--muted); }
.supplier-directory { padding-block: 40px; }
.supplier-directory h1 { font-size: clamp(2.1rem,5vw,4.6rem); }
.supplier-directory > p { max-width: 75ch; margin: 15px 0; }
.supplier-search { width: min(100%,370px); }
.supplier-row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 28px; padding: 16px 0; border-top: 1px solid var(--line); }
.supplier-row h2 { font-size: 1.14rem; }
.supplier-row h2 a { color: var(--navy); }
.supplier-row ul { margin: 0; }
@media (max-width: 650px) {
  .supplier-row { grid-template-columns: 1fr; gap: 10px; }
  .top nav { gap: 10px; }
  .top nav a { font-size: .82rem; }
}
