/*
 * COPHONE · estilos de la tienda.
 * Las secciones siguen el orden de la página y de la cascada.
 * Los ajustes responsive están al final; conservan la letra ampliada.
 */

/* 01. Fuente local y estilos base */
@font-face {
  font-family: Manrope;
  src: url('assets/manrope-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  font-family: Manrope, Arial, sans-serif;
  color: #12151c;
  background: #fff;
  font-synthesis: none;
  --blue: #2349e8;
  --line: #e5e7ee;
  --paper: #f4f5f8;
  --muted: #666e7d;
  font-size: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button {
  border: 0;
  background: none;
  color: inherit;
}

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

button:disabled {
  opacity: 0.55;
  cursor: wait;
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #859af9;
  outline-offset: 4px;
}

button,
input,
select,
textarea {
  border-radius: 0;
}

button,
a {
  touch-action: manipulation;
}

/* 02. Cabecera, navegación y marca */
.top-bar {
  height: 33px;
  background: #172b79;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(4vw, 20px);
  font-size: 12px;
  font-weight: 500;
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fffffff5;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.header-inner {
  height: 90px;
  max-width: 1450px;
  margin: auto;
  padding: 0 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.wordmark {
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -1.7px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.logo-mark {
  display: grid;
  place-content: center;
  width: 31px;
  height: 31px;
  background: var(--blue);
  color: #fff;
  border-radius: 9px;
  font-size: 31px;
  line-height: 1;
  letter-spacing: -1px;
  padding-bottom: 4px;
}

.logo-dot {
  color: var(--blue);
  margin-left: -6px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 19px;
}

.bag-button {
  background: #12151c;
  color: #fff;
  border-radius: 8px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 13px;
  font-weight: 650;
}

.bag-button b {
  background: #ffffff26;
  border-radius: 4px;
  padding: 2px 5px;
  font-size: 12px;
}

/* 03. Portada y presentación de equipos */
main {
  max-width: 1600px;
  margin: auto;
}

/* 04. Botones compartidos */
.button {
  min-height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 13px 21px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 750;
  transition:
    background 0.2s,
    transform 0.2s;
}

.button:hover {
  transform: translateY(-2px);
}

.button.white {
  background: white;
  color: #14223e;
}

.button.blue {
  background: var(--blue);
  color: white;
}

.button.dark {
  background: #12151c;
  color: white;
}

.button.outline {
  border: 1px solid #dfe3ed;
  background: white;
}

.button.full {
  width: 100%;
  margin-top: 12px;
}

/* 06. Catálogo, búsqueda y filtros */
.catalog-section {
  padding: 65px 4vw 70px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 29px;
}

.section-kicker {
  font-size: 13px;
  color: var(--blue);
  font-weight: 750;
  display: block;
  margin-bottom: 10px;
}

.section-heading h2,
.section-heading h1 {
  font-size: 40px;
  letter-spacing: -1.7px;
  line-height: 1.15;
  font-weight: 800;
}

.section-heading > p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.result-line {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 12px;
  color: #687082;
  margin: 21px 0;
}

/* 07. Tarjetas de producto */
.phone-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.phone-card {
  border: 1px solid #e9ebf1;
  border-radius: 12px;
  overflow: hidden;
  padding: 17px;
  background: #fff;
  min-width: 0;
  transition:
    box-shadow 0.2s,
    border 0.2s;
}

.phone-card:hover {
  border-color: #c4cef9;
  box-shadow: 0 12px 30px #192b6b0d;
}

.phone-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #747c8a;
  font-weight: 650;
}

.heart {
  padding: 5px;
  display: grid;
  place-content: center;
  color: #717b8a;
}

.heart[aria-pressed='true'] {
  color: var(--blue);
}

.heart[aria-pressed='true'] svg {
  fill: currentColor;
}

.phone-image {
  background: #f6f7fa;
  border-radius: 8px;
  width: 100%;
  height: 210px;
  margin: 9px 0 17px;
  padding: 16px;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.phone-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.3s;
}

.phone-image:hover img {
  transform: scale(1.045);
}

.phone-spec {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.phone-spec span {
  background: #f1f3f8;
  border-radius: 4px;
  padding: 4px 7px;
  font-size: 10px;
  color: #5f6879;
}

.phone-name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.3px;
  text-align: left;
  padding: 0;
  line-height: 1.5;
}

.phone-card > p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
}

.phone-bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-top: 22px;
  gap: 8px;
}

.phone-bottom small {
  font-size: 10px;
  color: #737c8b;
  display: block;
  margin-bottom: 4px;
}

.phone-bottom strong {
  font-size: 15px;
  letter-spacing: -0.3px;
  display: block;
}

.add-circle {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-content: center;
  flex-shrink: 0;
}

/* 08. Estados vacíos y avisos informativos */
.empty {
  text-align: center;
  padding: 50px 18px;
  color: #657084;
}

.empty > svg {
  display: block;
  margin: 0 auto 18px;
  color: var(--blue);
  width: 32px;
  height: 32px;
}

.empty h3 {
  color: #172038;
  font-size: 22px;
  margin-bottom: 10px;
}

.empty p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 22px;
}

/* 09. Sección editorial y pasos del pedido */

.how-section {
  padding: 75px 4vw;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}

.steps > div {
  position: relative;
  padding-left: 46px;
}

.steps > div > span {
  position: absolute;
  top: 0;
  left: 0;
  background: #eef1ff;
  color: var(--blue);
  width: 29px;
  height: 29px;
  display: grid;
  place-content: center;
  border-radius: 7px;
  font-weight: 750;
  font-size: 13px;
}

.steps h3 {
  font-size: 16px;
  letter-spacing: -0.3px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.steps p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}

/* 10. Pie de página */
footer {
  background: #f5f6f9;
  border-top: 1px solid #e5e8f0;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  max-width: 1500px;
  margin: auto;
  padding: 50px 4vw;
  gap: 30px;
}

.footer-main > div {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.footer-main strong {
  font-size: 13px;
  margin-bottom: 17px;
}

.footer-main button,
.footer-main p {
  font-size: 12px;
  line-height: 1.8;
  color: #687183;
  padding: 0;
  text-align: left;
  margin: 0 0 9px;
}

.footer-main .wordmark + p {
  margin-top: 14px;
}

.footer-bottom {
  padding: 20px 4vw;
  border-top: 1px solid #e2e5ed;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  color: #77808f;
}

/* 11. Apariencia de los diálogos nativos de HTML */
.dialog::backdrop {
  background: #10193473;
  backdrop-filter: blur(5px);
}

body:has(.dialog[open]) {
  overflow: hidden;
}

.dialog:not([open]) {
  display: none;
}

.dialog {
  position: relative;
  width: 560px;
  max-width: calc(100% - 48px);
  max-height: calc(100dvh - 50px);
  border: 0;
  overflow-y: auto;
  border-radius: 16px;
  background: white;
  padding: 39px;
  box-shadow: 0 20px 80px #0b143540;
  animation: dialog-in 0.2s ease;
}

.close-button {
  position: absolute;
  top: 18px;
  right: 18px;
  border-radius: 50%;
  background: #f4f5f8;
  width: 32px;
  height: 32px;
  display: grid;
  place-content: center;
  z-index: 2;
}

.close-button svg {
  width: 19px;
}

.dialog h2 {
  font-size: 32px;
  letter-spacing: -1.2px;
  line-height: 1.2;
  margin-top: 4px;
  padding-right: 20px;
}

.dialog-intro {
  color: #687386;
  font-size: 13px;
  line-height: 1.8;
  margin: 15px 0 23px;
}

.dialog label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #35415b;
}

.dialog label > span {
  font-weight: 400;
  color: #69748a;
}

.dialog input,
.dialog textarea,
.dialog select {
  width: 100%;
  border: 1px solid #dce1ed;
  background: #fbfcfe;
  padding: 12px;
  border-radius: 6px;
  font-size: 14px;
  color: #15203b;
  min-width: 0;
}

.fine {
  font-size: 12px;
  line-height: 1.8;
  color: #727c8d;
  margin-top: 13px;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

/* 12. Bolsa y pedido por WhatsApp */
.bag-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  height: 100dvh;
  max-width: 100%;
  max-height: none;
  border-radius: 0;
  width: 480px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
}

.bag-lines {
  flex: 1;
  overflow: auto;
}

.bag-line {
  display: grid;
  grid-template-columns: 86px 1fr 24px;
  gap: 15px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.bag-line > img {
  height: 90px;
  object-fit: contain;
  width: 86px;
  background: var(--paper);
  padding: 9px;
  border-radius: 6px;
  mix-blend-mode: multiply;
}

.bag-line strong {
  font-size: 14px;
  display: block;
}

.bag-line small,
.bag-line span {
  font-size: 12px;
  color: #6b7589;
  display: block;
  margin-top: 6px;
}

.quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 5px;
  margin-top: 12px;
  gap: 10px;
}

.quantity button {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
}

.quantity b {
  font-size: 13px;
}

.remove-line {
  color: #7e8796;
  padding: 0;
}

.bag-summary {
  padding-top: 24px;
}

.bag-summary > div {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.bag-summary > p {
  font-size: 13px;
  color: #6b768b;
  line-height: 1.8;
  margin: 15px 0 10px;
}

.text-button {
  display: block;
  font-size: 12px;
  color: var(--blue);
  margin: 17px auto 0;
}

/* 14. Ficha del producto */
.detail-dialog {
  width: 880px;
  padding: 30px;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 33px;
  align-items: center;
}

.detail-image {
  background: var(--paper);
  padding: 25px;
  border-radius: 10px;
}

.detail-image img {
  height: 370px;
  width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.detail-copy > span {
  font-size: 12px;
  color: var(--blue);
  font-weight: 750;
}

.detail-copy h2 {
  font-size: 32px;
  margin-top: 12px;
}

.detail-copy > p {
  font-size: 13px;
  color: #657087;
  line-height: 1.8;
  margin: 13px 0;
}

.detail-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  border-block: 1px solid var(--line);
  padding: 18px 0;
  margin: 20px 0;
}

.detail-facts small {
  display: block;
  font-size: 11px;
  color: #778196;
  margin-bottom: 7px;
}

.detail-facts strong {
  font-size: 13px;
  line-height: 1.6;
}

.detail-copy ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.detail-copy li {
  display: flex;
  gap: 7px;
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 8px;
  color: #5d6b82;
}

.detail-copy li::before {
  content: '';
  width: 8px;
  height: 5px;
  margin-top: 7px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
  flex-shrink: 0;
}

[data-icon] {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

.detail-price {
  font-size: 23px;
  letter-spacing: -0.6px;
  display: block;
}

/* 15. Condiciones y mensajes breves */
.policy-text {
  font-size: 14px;
  line-height: 1.9;
  color: #627086;
}

.policy-text h3 {
  font-size: 16px;
  color: #263654;
  margin: 25px 0 8px;
}

.toast {
  position: fixed;
  bottom: 23px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background: #131f3b;
  color: #fff;
  border-radius: 9px;
  box-shadow: 0 7px 25px #111c3133;
  padding: 15px 20px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 90vw;
}

.toast svg {
  flex-shrink: 0;
  color: #ddf47a;
}

/* 17. Animación de entrada de las ventanas */
@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 19. Responsive: escritorio compacto */
@media (max-width: 1150px) {
  .header-inner {
    gap: 20px;
  }

  .header-actions {
    gap: 12px;
  }

  .phone-image {
    height: 180px;
    padding: 10px;
  }

  .phone-card {
    padding: 13px;
  }

  .phone-grid {
    gap: 13px;
  }

  .phone-bottom strong {
    font-size: 14px;
  }
}

/* 20. Responsive: tabletas */
@media (max-width: 850px) {
  .top-bar {
    font-size: 11px;
  }

  .header-inner {
    height: 76px;
  }

  .phone-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .section-heading h2,
  .section-heading h1 {
    font-size: 34px;
  }

  .catalog-section {
    padding-top: 45px;
  }

  .steps {
    gap: 20px;
  }

  .steps > div {
    padding-left: 0;
  }

  .steps > div > span {
    position: static;
    margin-bottom: 15px;
  }

  .footer-main {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 30px;
  }

  .footer-main > div:last-child {
    grid-column: 2/4;
  }

  .detail-layout {
    gap: 20px;
  }

  .detail-image {
    padding: 16px;
  }

  .detail-image img {
    height: 290px;
  }
}

/* 21. Responsive: móviles */
@media (max-width: 600px) {
  .top-bar {
    justify-content: center;
    height: 29px;
    font-size: 10px;
  }

  .top-bar > span:last-child {
    display: none;
  }

  .header-inner {
    height: 68px;
    padding-inline: 18px;
    gap: 10px;
  }

  .wordmark {
    font-size: 25px;
    gap: 5px;
  }

  .logo-mark {
    width: 27px;
    height: 27px;
    font-size: 27px;
    border-radius: 7px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-actions svg {
    width: 19px;
    height: 19px;
  }

  .bag-button {
    padding: 9px 10px;
    gap: 7px;
  }

  .bag-button > span {
    display: none;
  }

  .bag-button b {
    font-size: 11px;
  }

  .catalog-section {
    padding: 37px 16px 40px;
  }

  .section-heading {
    margin-bottom: 22px;
    gap: 15px;
  }

  .section-heading > p {
    display: none;
  }

  .section-kicker {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .section-heading h2,
  .section-heading h1 {
    font-size: 33px;
    letter-spacing: -1.5px;
  }

  .result-line {
    font-size: 11px;
    line-height: 1.6;
    align-items: center;
    margin: 15px 0;
    gap: 15px;
  }

  .result-line span:last-child {
    max-width: 150px;
    text-align: right;
    font-size: 10px;
  }

  .phone-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .phone-card {
    padding: 11px;
    border-radius: 9px;
  }

  .phone-top {
    font-size: 10px;
  }

  .heart {
    padding: 2px;
  }

  .heart svg {
    width: 17px;
    height: 17px;
  }

  .phone-image {
    height: 155px;
    padding: 10px;
    margin: 8px 0 12px;
    border-radius: 6px;
  }

  .phone-spec {
    gap: 4px;
    margin-bottom: 8px;
  }

  .phone-spec span {
    font-size: 9px;
    padding: 4px 5px;
  }

  .phone-name {
    font-size: 13px;
    letter-spacing: -0.2px;
  }

  .phone-card > p {
    font-size: 10px;
    line-height: 1.5;
    min-height: 24px;
  }

  .phone-bottom {
    margin-top: 13px;
    gap: 4px;
    align-items: center;
  }

  .phone-bottom small {
    font-size: 9px;
    line-height: 1.4;
    margin-bottom: 5px;
    max-width: 90px;
  }

  .phone-bottom strong {
    font-size: 12px;
    letter-spacing: -0.25px;
    line-height: 1.5;
    max-width: 95px;
  }

  .add-circle {
    width: 28px;
    height: 29px;
    border-radius: 5px;
  }

  .add-circle svg {
    width: 17px;
  }

  .how-section {
    padding: 43px 20px;
  }

  .how-section .section-heading h2 {
    font-size: 31px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-top: 25px;
  }

  .steps > div {
    padding-left: 45px;
  }

  .steps > div > span {
    position: absolute;
    top: 0;
    left: 0;
    width: 29px;
    height: 29px;
  }

  .steps h3 {
    font-size: 14px;
    margin-bottom: 7px;
  }

  .steps p {
    font-size: 12px;
    max-width: 280px;
  }

  .footer-main {
    padding: 35px 20px;
    grid-template-columns: 1fr 1fr;
    gap: 27px 20px;
  }

  .footer-main > div:first-child {
    grid-column: 1/-1;
  }

  .footer-main > div:last-child {
    grid-column: auto;
  }

  .footer-main strong {
    font-size: 12px;
    margin-bottom: 13px;
  }

  .footer-main button,
  .footer-main p {
    font-size: 11px;
  }

  .footer-bottom {
    padding: 17px 20px;
    font-size: 10px;
    flex-direction: column;
    gap: 7px;
  }

  .dialog {
    max-width: calc(100% - 24px);
    padding: 29px 23px;
    max-height: calc(100dvh - 24px);
    border-radius: 12px;
  }

  .dialog h2 {
    font-size: 29px;
    padding-right: 15px;
  }

  .dialog .close-button {
    right: 14px;
    top: 14px;
    width: 28px;
    height: 28px;
  }

  .dialog-intro {
    font-size: 12px;
    margin-bottom: 20px;
  }

  .dialog label {
    margin-bottom: 13px;
    font-size: 12px;
  }

  .dialog input,
  .dialog textarea {
    font-size: 16px;
    padding: 11px;
  }

  .dialog .button {
    font-size: 13px;
  }

  .bag-drawer {
    padding: 35px 22px;
    max-height: none;
    max-width: 100%;
    width: 100%;
    border-radius: 0;
  }

  .bag-line {
    grid-template-columns: 74px 1fr 20px;
    gap: 11px;
  }

  .bag-line > img {
    width: 74px;
    height: 85px;
  }

  .bag-line strong {
    font-size: 13px;
  }

  .bag-summary > div {
    font-size: 13px;
  }

  .detail-dialog {
    padding: 22px;
  }

  .detail-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .detail-image {
    padding: 15px;
    margin-top: 20px;
  }

  .detail-image img {
    height: 210px;
  }

  .detail-copy h2 {
    font-size: 29px;
  }

  .detail-copy > p {
    font-size: 13px;
  }

  .detail-facts {
    gap: 15px;
    margin: 17px 0;
  }

  .detail-facts strong {
    font-size: 13px;
  }

  .detail-price {
    font-size: 22px;
  }

  .toast {
    bottom: 16px;
    font-size: 12px;
    padding: 13px 15px;
    line-height: 1.6;
  }

  .policy-text {
    font-size: 13px;
  }
}

/* 22. Responsive: móviles pequeños */
@media (max-width: 360px) {
  .header-actions {
    gap: 5px;
  }

  .wordmark {
    font-size: 23px;
  }

  .phone-image {
    height: 135px;
  }

  .phone-bottom strong {
    font-size: 11px;
  }

  .phone-bottom small {
    font-size: 8px;
  }

  .add-circle {
    width: 25px;
    height: 27px;
  }
}

/* 23. Accesibilidad: reducir animaciones */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Licencia de Manrope

Copyright 2019 The Manrope Project Authors (https://github.com/sharanda/manrope)

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL

-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

*/

/* COPHONE · escala tipográfica y distribución de catálogo comercial.
 * Texto 16px, controles 14px, fichas 16px y títulos de sección 28–32px.
 * Paleta: tinta #192139, azul #2349e8, fondo #f5f7fb y verde #117345.
 */
:root {
  font-size: 16px;
  --muted: #59647a;
  --line: #e1e5ee;
  --paper: #f5f7fb;
}
body {
  background: #f8f9fc;
  color: #192139;
  line-height: 1.5;
}
.top-bar {
  height: 34px;
  justify-content: center;
  font-size: 12px;
  background: #192d77;
}
.header {
  background: white;
  backdrop-filter: none;
}
.header-inner {
  max-width: 1320px;
  height: 90px;
  gap: 32px;
  padding: 0 32px;
}
.wordmark {
  font-size: 32px;
  letter-spacing: -1.5px;
}
.header-search {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  border: 1px solid #dce2ee;
  border-radius: 8px;
  padding: 0 16px;
  background: #f6f7fb;
}
.header-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline-offset: 4px;
  padding: 14px 0;
  background: transparent;
  font-size: 15px;
}
.header-search svg {
  color: #69758a;
  flex-shrink: 0;
}
.header-actions {
  gap: 20px;
}
.saved-button {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.saved-button b {
  font-size: 11px;
  color: var(--blue);
}
.bag-button {
  font-size: 13px;
  padding: 13px 16px;
  background: var(--blue);
}
.store-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: 1320px;
  margin: auto;
  padding: 14px 32px;
  border-top: 1px solid #eef0f5;
  font-size: 14px;
  overflow: auto;
}
.store-nav button,
.store-nav a {
  white-space: nowrap;
  padding: 0;
  font-weight: 650;
}
.store-nav [aria-pressed='true'] {
  color: var(--blue);
}
.store-nav a {
  margin-left: auto;
  color: var(--muted);
}
main {
  max-width: 1320px;
}
.shop-intro {
  padding: 28px 32px 0;
}
.hero-store {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 390px;
  border-radius: 16px;
  overflow: hidden;
  background: #eaf0ff;
}
.hero-store-copy {
  padding: 42px 0 38px 44px;
  z-index: 1;
}
.intro-tag {
  display: inline-block;
  color: #334e94;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid #bdcbed;
  padding: 5px 12px;
  border-radius: 20px;
}
.hero-store h1 {
  font-size: clamp(34px, 3.6vw, 48px);
  line-height: 1.12;
  letter-spacing: -1.9px;
  margin: 18px 0;
  color: #192c61;
}
.hero-store p {
  font-size: 15px;
  color: #495a7b;
  max-width: 390px;
  line-height: 1.8;
  margin-bottom: 22px;
}
.button {
  font-size: 14px;
  min-height: 46px;
  border-radius: 7px;
  padding: 12px 20px;
}
.button:hover {
  transform: none;
  filter: brightness(0.96);
}
.hero-trust {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 12px;
  color: #4b5d80;
  margin-top: 17px;
}
.hero-store-image {
  position: relative;
  display: grid;
  place-items: center;
  padding: 30px;
}
.hero-store-image img {
  height: 320px;
  width: 100%;
  object-fit: contain;
  z-index: 1;
  filter: drop-shadow(0 16px 14px #273f7c20);
}
.hero-orbit {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: #d7e3ff;
}
.catalog-section {
  padding: 42px 32px 48px;
  scroll-margin-top: 170px;
}
.section-kicker {
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 7px;
}
.section-heading h2,
.section-heading h1 {
  font-size: 30px;
  letter-spacing: -1px;
}
.section-heading > p {
  font-size: 13px;
  line-height: 1.7;
}
.result-line {
  font-size: 12px;
  margin: 20px 0;
}
.phone-grid {
  gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.phone-card {
  padding: 18px;
  border-radius: 10px;
  box-shadow: none;
  border-color: #e2e6ef;
}
.phone-card:hover {
  box-shadow: 0 5px 20px #192b6b0c;
}
.phone-top {
  font-size: 12px;
  color: #5d687c;
}
.phone-image {
  height: 210px;
  background: #f8f9fc;
  padding: 15px;
  margin: 12px 0 16px;
}
.phone-spec span {
  font-size: 11px;
  padding: 4px 7px;
}
.phone-name {
  font-size: 16px;
  line-height: 1.5;
}
.phone-card > p {
  font-size: 12px;
  line-height: 1.7;
  min-height: 40px;
}
.phone-bottom {
  margin-top: 16px;
}
.phone-bottom small {
  font-size: 11px;
}
.phone-bottom strong {
  font-size: 15px;
  letter-spacing: -0.2px;
}
.add-circle {
  width: 37px;
  height: 37px;
}
.how-section {
  padding: 22px 32px 52px;
}
.steps {
  background: white;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
  gap: 28px;
  margin-bottom: 28px;
}
.steps h3 {
  font-size: 16px;
}
.steps p {
  font-size: 14px;
  line-height: 1.8;
}
.steps > div > span {
  font-size: 13px;
}
.help-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 30px;
  background: #eaf0ff;
  border-radius: 10px;
}
.help-strip h3 {
  font-size: 20px;
  letter-spacing: -0.5px;
}
.help-strip p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 5px;
}
footer {
  background: white;
}
.footer-main {
  max-width: 1320px;
  padding: 40px 32px;
}
.footer-main strong {
  font-size: 14px;
}
.footer-main button,
.footer-main p,
.footer-main a:not(.wordmark) {
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 8px;
}
.footer-bottom {
  font-size: 12px;
  padding: 20px 32px;
}
.dialog {
  font-size: 15px;
}
.dialog h2 {
  font-size: 28px;
}
.dialog-intro {
  font-size: 14px;
}
.bag-line strong {
  font-size: 15px;
}
.bag-line small,
.bag-line span {
  font-size: 12px;
}
.bag-summary > div {
  font-size: 16px;
}
.bag-summary p {
  font-size: 13px;
  line-height: 1.8;
}
.text-button {
  font-size: 13px;
}
.button.whatsapp {
  background: #117345;
  color: white;
}
.fine {
  font-size: 12px;
  line-height: 1.7;
}
.detail-copy > p,
.detail-copy li {
  font-size: 14px;
}
.detail-facts small {
  font-size: 12px;
}
.detail-facts strong {
  font-size: 14px;
}
.policy-text {
  font-size: 14px;
  line-height: 1.8;
}
.toast {
  font-size: 14px;
}
@media (max-width: 1000px) {
  .header-inner {
    gap: 20px;
  }
  .saved-button .control-label {
    display: none;
  }
  .store-nav {
    gap: 24px;
  }
  .phone-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .hero-store-copy {
    padding-left: 30px;
  }
  .hero-store-image img {
    height: 280px;
  }
}
@media (max-width: 700px) {
  .top-bar {
    font-size: 11px;
    height: 30px;
  }
  .header-inner {
    height: auto;
    min-height: 116px;
    padding: 14px 18px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .wordmark {
    font-size: 27px;
  }
  .header-actions {
    margin-left: auto;
    gap: 14px;
  }
  .header-search {
    order: 3;
    flex-basis: 100%;
  }
  .header-search input {
    padding: 11px 0;
    font-size: 14px;
  }
  .bag-button {
    padding: 9px 12px;
    font-size: 12px;
  }
  .bag-button > span {
    display: inline;
  }
  .saved-button {
    gap: 4px;
  }
  .store-nav {
    padding: 12px 18px;
    gap: 22px;
    font-size: 13px;
  }
  .store-nav a {
    margin-left: 0;
  }
  .shop-intro {
    padding: 18px 16px 0;
  }
  .hero-store {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-store-copy {
    padding: 26px 24px 0;
  }
  .hero-store h1 {
    font-size: 36px;
    letter-spacing: -1.3px;
  }
  .hero-store p {
    font-size: 14px;
  }
  .hero-store-image {
    padding: 10px 20px 30px;
  }
  .hero-store-image img {
    height: 230px;
  }
  .hero-orbit {
    width: 220px;
    height: 220px;
  }
  .hero-trust {
    font-size: 11px;
  }
  .catalog-section {
    padding: 30px 16px;
    scroll-margin-top: 190px;
  }
  .section-heading h2 {
    font-size: 27px;
  }
  .section-heading > p {
    display: none;
  }
  .section-kicker {
    font-size: 12px;
  }
  .result-line,
  .result-line span:last-child {
    font-size: 11px;
  }
  .phone-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .phone-card {
    padding: 12px;
  }
  .phone-top {
    font-size: 11px;
  }
  .phone-image {
    height: 160px;
    padding: 8px;
  }
  .phone-name {
    font-size: 14px;
  }
  .phone-spec span {
    font-size: 10px;
  }
  .phone-card > p {
    font-size: 11px;
    min-height: 38px;
  }
  .phone-bottom {
    gap: 6px;
    align-items: center;
  }
  .phone-bottom strong {
    font-size: 13px;
    max-width: none;
  }
  .phone-bottom small {
    font-size: 10px;
    max-width: none;
  }
  .add-circle {
    width: 30px;
    height: 32px;
  }
  .how-section {
    padding: 15px 16px 32px;
  }
  .steps {
    padding: 22px;
    gap: 25px;
  }
  .steps > div {
    padding-left: 42px;
  }
  .steps h3 {
    font-size: 15px;
  }
  .steps p {
    font-size: 13px;
  }
  .help-strip {
    align-items: start;
    flex-direction: column;
    padding: 24px;
  }
  .help-strip .button {
    width: 100%;
  }
  .help-strip p {
    font-size: 13px;
  }
  .footer-main {
    padding: 30px 20px;
  }
  .footer-main strong {
    font-size: 14px;
  }
  .footer-main button,
  .footer-main p,
  .footer-main a:not(.wordmark) {
    font-size: 13px;
  }
  .footer-bottom {
    font-size: 11px;
    padding: 18px 20px;
  }
  .dialog {
    padding: 28px 22px;
  }
  .bag-drawer {
    padding: 32px 20px;
  }
  .bag-line strong {
    font-size: 14px;
  }
  .bag-line small {
    font-size: 12px;
  }
  .detail-copy h2 {
    font-size: 26px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Controles del catálogo definidos en index.html. */
[hidden] {
  display: none !important;
}

.control-icon,
.header-search [data-icon] {
  display: inline-flex;
  flex: none;
}

.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.catalog-toolbar label,
.catalog-toolbar select {
  font-size: 14px;
}

.catalog-toolbar label {
  font-weight: 650;
}

.catalog-toolbar select {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0 9px;
  color: inherit;
  background: var(--paper);
}

.catalog-toolbar .text-button {
  margin: 0 0 0 auto;
  min-height: 40px;
}

.phone-spec {
  flex-wrap: wrap;
}

.phone-card > p {
  min-height: 3.4em;
}

.how-section {
  scroll-margin-top: 160px;
}

@media (max-width: 700px) {
  .catalog-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    padding: 10px 12px;
  }

  .catalog-toolbar select {
    width: 100%;
  }

  .catalog-toolbar .text-button {
    grid-column: 1 / -1;
    justify-self: start;
    margin-left: 0;
  }

  .how-section {
    scroll-margin-top: 175px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .steps > div > span {
    position: absolute;
  }
}
