/* Misma tipografía y paleta de la portada, con una tienda más abierta y ligera. */
.catalog { padding-top: 88px; padding-bottom: 88px; background: #fff; }
.catalog .section-intro { gap: 32px; align-items: flex-end; margin-bottom: 34px; }
.catalog .section-intro h2 { font-size: clamp(32px, 3.6vw, 52px); font-weight: 650; letter-spacing: -.055em; line-height: 1.1; margin: 0; }
.catalog .section-intro p:not(.eyebrow) { font-size: 14px; font-weight: 400; line-height: 1.7; max-width: 520px; margin: 17px 0 0; color: #727987; }
.catalog .eyebrow, .shop-eyebrow { font-size: 10px; font-weight: 550; letter-spacing: .17em; color: #3376cc; margin: 0 0 17px; }
.shop-link { display: inline-flex; gap: 18px; align-items: center; color: #153963; font-size: 12px; font-weight: 550; white-space: nowrap; min-height: 44px; }
.shop-link span { color: #2585ee; font-size: 20px; transition: transform .2s; }
.shop-link:hover span { transform: translate(2px, -2px); }
.catalog-tools { gap: 24px; margin-bottom: 28px; }
.filters { display: flex; flex-wrap: nowrap; gap: 8px; max-width: 100%; overflow-x: auto; padding: 2px 0 4px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filter { flex: 0 0 auto; border: 1px solid transparent; border-radius: 999px; background: transparent; min-height: 42px; padding: 0 22px; color: #747c89; font-size: 12px; font-weight: 500; transition: color .2s, background .2s; }
.filter:hover { color: #13294c; background: #f1f5fa; }
.filter.active { background: #07132f; color: #fff; border-color: #07132f; }
#catalog-count { color: #7a818e; font-size: 11px; font-weight: 400; white-space: nowrap; }
.featured-tools { display: flex; align-items: center; justify-content: space-between; }
.product-grid { gap: 22px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.featured-row { grid-auto-flow: column; grid-auto-columns: calc((100% - 66px) / 4); grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #d5dce5 transparent; padding: 2px 0 15px; }
.product-card { border: 0; border-radius: 0; box-shadow: none; background: transparent; min-width: 0; scroll-snap-align: start; }
.product-card:hover { transform: none; box-shadow: none; }
.product-card .product-image { position: relative; border: 0; border-radius: 12px; width: 100%; height: auto; aspect-ratio: 1 / 1.06; background: #f3f5f8; padding: 22px; display: grid; place-items: center; overflow: hidden; }
.product-card:nth-child(n) .product-image { background: #f3f5f8; }
.product-image img { width: 100%; height: 100%; object-fit: contain; filter: none; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.product-image:hover img, .product-image:focus-visible img { transform: scale(1.035); }
.product-image[data-open="ipad"] img { width: 72%; }
.product-image[data-open="iphone-pro-max"] img { width: 80%; }
.product-image[data-open="airpods"] { padding: 0; }
.product-image[data-open="airpods"] img { object-fit: cover; mix-blend-mode: multiply; }
.product-body { padding: 21px 1px 0; }
.product-body small { font-size: 10px; font-weight: 450; letter-spacing: .025em; color: #808691; margin: 0 0 7px; text-transform: none; }
.product-card h3 { color: #14223b; font-size: 20px; font-weight: 550; line-height: 1.25; letter-spacing: -.035em; margin: 0 0 10px; }
.product-price { border: 0; padding: 0; margin: 0; font-size: 12px; color: #727c8b; font-weight: 400; }
.product-actions { margin-top: 18px; align-items: center; justify-content: space-between; flex-direction: row; }
.product-actions .product-open { border: 0; border-radius: 0; background: transparent; padding: 0; color: #174c8a; text-align: left; min-height: 44px; font-weight: 500; font-size: 12px; flex: 0 1 auto; }
.product-open span { margin-left: 9px; }
.product-actions .product-open:hover { color: #2585ee; background: transparent; }
.product-actions .product-add { width: 44px; height: 44px; min-height: 44px; flex: 0 0 44px; display: grid; place-items: center; border-radius: 50%; background: #edf3fc; border: 0; color: #2861a6; padding: 12px; }
.product-add svg { width: 21px; height: 21px; }
.product-actions .product-add:hover { background: #07132f; color: #fff; }
.product-card { animation: shop-enter .35s both; }
.product-card:nth-child(2) { animation-delay: .035s; }
.product-card:nth-child(3) { animation-delay: .07s; }
.product-card:nth-child(4) { animation-delay: .105s; }
.empty { border: 0; background: #f3f5f8; border-radius: 12px; font-size: 14px; }
.shop-page { background: #fff; }
.nav a[aria-current="page"] { color: #175ba6; }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.shop-hero { background: linear-gradient(115deg, #f5f8ff, #e7effd 64%, #e4e5f7); min-height: 475px; position: relative; overflow: clip; }
.shop-hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; min-height: 475px; gap: 30px; }
.shop-hero-copy { position: relative; z-index: 1; padding: 45px 0; }
.shop-hero h1 { font-size: clamp(46px, 5vw, 72px); font-weight: 650; letter-spacing: -.065em; line-height: 1.06; margin: 0; max-width: 600px; color: #07132f; }
.shop-hero h1 span { display: block; color: #337cdb; }
.shop-hero-copy > p:not(.shop-eyebrow) { font-size: 14px; line-height: 1.7; font-weight: 400; color: #64748c; max-width: 355px; margin: 22px 0 26px; }
.shop-hero .button { border-radius: 999px; background: #07132f; border: 0; font-weight: 500; padding: 15px 25px; font-size: 12px; box-shadow: none; }
.shop-hero .button:hover { background: #194578; }
.shop-hero-art { position: relative; height: 475px; display: grid; place-items: center; }
.shop-hero-art::before { content: ''; position: absolute; width: 330px; height: 330px; border-radius: 50%; background: #ffffff60; }
.shop-hero-art img { position: relative; width: 100%; height: 430px; object-fit: contain; transform: rotate(-8deg); }
.shop-hero-word { position: absolute; bottom: -33px; right: 4%; font-size: clamp(150px, 22vw, 300px); font-weight: 750; color: #ffffff55; line-height: 1; letter-spacing: -.075em; pointer-events: none; }
.shop-categories { padding-top: 52px; padding-bottom: 10px; }
.shop-categories h2 { font-size: 19px; font-weight: 550; letter-spacing: -.025em; margin: 0 0 22px; }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.category-tile { display: flex; align-items: center; justify-content: space-between; min-width: 0; min-height: 122px; background: #f5f7fa; border: 1px solid transparent; border-radius: 12px; padding: 15px 20px; gap: 15px; transition: border-color .2s, background .2s; }
.category-tile:hover { background: #eef3fb; border-color: #d6e3f6; }
.category-tile img { width: 78px; height: 90px; object-fit: contain; flex: 0 0 78px; }
.category-tile[data-category="ipad"] img { width: 60px; flex-basis: 60px; }
.category-tile[data-category="accesorios"] img { border-radius: 8px; object-fit: cover; mix-blend-mode: multiply; }
.category-tile strong { display: block; font-size: 15px; font-weight: 550; letter-spacing: -.03em; margin-bottom: 12px; }
.category-tile span { color: #5480b8; font-size: 10px; font-weight: 450; white-space: nowrap; }
.shop-page .catalog { padding-top: 62px; padding-bottom: 62px; }
.shop-page .catalog .section-intro h2 { font-size: 34px; }
.store-tools { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; margin-bottom: 22px; }
.store-tools .search { display: flex; align-items: center; max-width: 390px; width: 100%; gap: 12px; height: 46px; border: 1px solid #e0e5ed; border-radius: 999px; padding: 0 17px; background: #fff; color: #6d7f96; }
.search svg { width: 18px; height: 18px; flex-shrink: 0; }
.store-tools .search input { border: 0; height: 42px; background: transparent; width: 100%; min-width: 0; padding: 0; font-size: 12px; color: #14233f; outline: none; }
.search:focus-within { outline: 2px solid #2585ee; outline-offset: 3px; }
.sort-label { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 400; color: #7a8493; }
.sort-label select { background: #fff; border: 0; color: #243b5c; font-size: 12px; font-weight: 500; padding: 12px 20px 12px 5px; max-width: 180px; }
.store-grid { row-gap: 44px; }
.shop-editorial { padding-bottom: 76px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.editorial-card { border-radius: 14px; background: #eaf1fb; padding: 35px; min-height: 245px; position: relative; overflow: hidden; }
.editorial-card:last-child { background: #eeeaf8; }
.editorial-card h2 { font-size: 30px; line-height: 1.15; letter-spacing: -.04em; font-weight: 600; max-width: 330px; margin: 0 0 16px; }
.editorial-card p { font-size: 13px; line-height: 1.65; color: #728099; max-width: 270px; font-weight: 400; }
.editorial-card .shop-link { margin-top: 7px; }
.photo-credits { margin: 25px 0 0; font-size: 10px; line-height: 1.7; color: #9badc8; }
.photo-credits summary { cursor: pointer; display: inline-block; padding: 6px 0; font-weight: 400; }
.photo-credits p { margin: 7px 0 0; max-width: 900px; }
.photo-credits a { text-decoration: underline; text-underline-offset: 3px; }
.detail-copy h2, .panel-head h2, .checkout-inner h2 { font-weight: 650; }
.detail-copy small, .detail-copy label, .checkout-form label, .panel-head small, .checkout-inner small { font-weight: 500; }
.detail-image { background: #f3f5f8; }
.detail-copy .button, .panel-footer .button, .checkout-form .button, .checkout-complete .button { font-weight: 550; border-radius: 999px; }
.toast { font-weight: 500; border-radius: 999px; }
@keyframes shop-enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1100px) {
  .category-tile { padding: 14px; gap: 10px; }
  .category-tile img { width: 62px; flex-basis: 62px; }
  .category-tile strong { font-size: 13px; }
  .product-grid { gap: 18px; }
  .featured-row { grid-auto-columns: calc((100% - 54px) / 4); }
}
@media (max-width: 900px) {
  .featured-row { grid-auto-columns: calc((100% - 36px) / 3); }
  .store-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-tile { padding: 17px 24px; }
  .category-tile img { width: 78px; flex-basis: 78px; }
  .shop-hero h1 { font-size: 51px; }
  .shop-hero-art img { height: 355px; }
  .shop-hero-art::before { width: 265px; height: 265px; }
}
@media (max-width: 760px) {
  .catalog { padding-top: 62px; padding-bottom: 62px; }
  .catalog .section-intro { display: flex; }
  .featured-row { grid-auto-columns: calc((100% - 18px) / 2); }
  .featured-tools { flex-direction: row; align-items: center; gap: 14px; }
  .filter { padding: 0 17px; font-size: 11px; }
  .store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .store-tools { grid-template-columns: 1fr; gap: 10px; }
  .store-tools .search { max-width: none; }
  .sort-label { justify-content: flex-end; }
  .shop-hero-inner { grid-template-columns: 1fr 1fr; gap: 0; min-height: 420px; }
  .shop-hero h1 { font-size: 43px; }
  .shop-hero-art { height: 420px; }
  .shop-hero-art img { height: 310px; }
  .shop-hero-art::before { width: 210px; height: 210px; }
  .shop-editorial { gap: 16px; }
  .editorial-card { padding: 25px; }
  .editorial-card h2 { font-size: 26px; }
}
@media (max-width: 540px) {
  .catalog .section-intro { display: block; margin-bottom: 24px; }
  .catalog .section-intro h2 { font-size: 34px; }
  .catalog .section-intro p:not(.eyebrow) { font-size: 13px; margin-top: 14px; }
  .catalog .section-intro .shop-link { margin-top: 12px; }
  .featured-tools { display: block; margin-bottom: 20px; }
  .featured-tools #catalog-count { display: block; margin-top: 13px; }
  .filters { gap: 4px; }
  .filter { padding: 0 7px; min-width: 44px; min-height: 40px; }
  .featured-row { grid-auto-columns: 79%; gap: 16px; }
  .product-card .product-image { border-radius: 10px; padding: 18px; }
  .product-card .product-image[data-open="airpods"] { padding: 0; }
  .product-body { padding-top: 17px; }
  .product-card h3 { font-size: 20px; }
  .shop-hero-inner { grid-template-columns: 1fr; min-height: 650px; }
  .shop-hero-copy { padding: 42px 0 0; }
  .shop-hero h1 { font-size: 48px; max-width: 400px; }
  .shop-hero-copy > p:not(.shop-eyebrow) { margin: 19px 0 21px; font-size: 13px; max-width: 310px; }
  .shop-hero-art { height: 320px; }
  .shop-hero-art img { height: 315px; }
  .shop-hero-art::before { width: 250px; height: 250px; }
  .shop-hero-word { font-size: 170px; bottom: -17px; }
  .shop-categories { padding-top: 38px; }
  .category-grid { gap: 10px; }
  .category-tile { padding: 13px; min-height: 115px; gap: 6px; }
  .category-tile img { width: 52px; flex-basis: 52px; height: 78px; }
  .category-tile[data-category="ipad"] img { width: 42px; flex-basis: 42px; }
  .category-tile strong { font-size: 12px; }
  .category-tile span { font-size: 9px; }
  .shop-page .catalog { padding-top: 44px; padding-bottom: 48px; }
  .shop-page .catalog .section-intro { display: flex; align-items: baseline; gap: 20px; }
  .shop-page .catalog .section-intro h2 { font-size: 28px; }
  .store-grid { column-gap: 13px; row-gap: 32px; }
  .store-grid .product-image { padding: 12px; }
  .store-grid .product-card h3 { font-size: 16px; }
  .store-grid .product-price, .store-grid .product-open { font-size: 10px; }
  .store-grid .product-actions { margin-top: 12px; gap: 4px; }
  .store-grid .product-open span { margin-left: 4px; }
  .store-grid .product-add { width: 40px; height: 40px; min-height: 40px; flex-basis: 40px; padding: 10px; }
  .shop-editorial { grid-template-columns: 1fr; padding-bottom: 48px; }
  .editorial-card { min-height: 230px; padding: 28px; }
  .shop-page .footer-bottom span { display: block; }
}
@media (max-width: 360px) {
  .shop-hero h1 { font-size: 42px; }
  .category-tile { flex-direction: column; justify-content: center; gap: 8px; text-align: center; padding: 12px 8px; }
  .category-tile img, .category-tile[data-category="ipad"] img { flex-basis: auto; height: 65px; }
  .category-tile strong { margin-bottom: 5px; }
  .store-grid .product-open span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .product-card { animation: none; }
  .product-image img, .filter, .shop-link span, .category-tile { transition: none; }
  .product-image:hover img, .product-image:focus-visible img { transform: none; }
}
