/* frames.html no carga styles.css, así que el token vive también aquí. */
:root{ --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; }
#bc-catalog{--bc-blue:#176caa;background:#fafbf9;color:#20313d;font:14px/1.5 Arial,sans-serif;position:relative;border-radius:8px;overflow:hidden;color-scheme:light}
#bc-catalog *{box-sizing:border-box}#bc-catalog button,#bc-catalog input,#bc-catalog select{font:inherit}#bc-catalog button{cursor:pointer}#bc-catalog button:focus-visible,#bc-catalog select:focus-visible,#bc-catalog input:focus-visible{outline:3px solid #e6a23c;outline-offset:3px}
#bc-catalog .bc-nav{padding:20px 28px;border-bottom:1px solid #dde2e4;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}#bc-catalog .bc-brand{letter-spacing:3px;font-size:13px;font-weight:700}#bc-catalog .bc-demo{color:#657480;font-size:12px}#bc-catalog .bc-main{padding:28px}#bc-catalog .bc-eyebrow{color:var(--bc-blue);font:12px monospace;letter-spacing:2px}#bc-catalog h1{font:700 clamp(28px,4vw,46px)/1.1 Georgia,serif;margin:15px 0 12px}#bc-catalog h1 em{color:#7b8588}#bc-catalog .bc-intro{color:#62717b;margin:0 0 24px}#bc-catalog .bc-toolbar{display:flex;gap:10px;align-items:end;flex-wrap:wrap;border-block:1px solid #dfe5e8;padding:16px 0;margin-bottom:20px}#bc-catalog label{display:grid;gap:5px;font-size:12px;color:#526370}#bc-catalog input,#bc-catalog select{padding:10px;border:1px solid #cbd4da;border-radius:5px;background:#fff;color:#253c4c;min-width:0;max-width:100%}#bc-catalog .bc-search{flex:1;min-width:140px}#bc-catalog .bc-count{margin-left:auto;font-size:12px;color:#62717b}
#bc-catalog .bc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}#bc-catalog .bc-card{border:1px solid #dce3e7;background:white;border-radius:8px;overflow:hidden;transition:transform .18s,box-shadow .18s}#bc-catalog .bc-card:hover{transform:translateY(-3px);box-shadow:0 7px 20px #16374b12}#bc-catalog .bc-shot{width:100%;aspect-ratio:1;background-image:var(--bc-sprite);background-size:600% 600%;background-repeat:no-repeat}#bc-catalog .bc-photo{height:164px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#fff}#bc-catalog .bc-photo .bc-shot{width:190px;max-width:100%;flex-shrink:0;transition:transform .18s}#bc-catalog .bc-card:hover .bc-photo .bc-shot{transform:scale(1.025)}#bc-catalog .bc-info{padding:14px}#bc-catalog .bc-maker{font-size:10px;letter-spacing:2px;color:#647681}#bc-catalog h2{font:700 24px/1.2 Georgia,serif;margin:5px 0 14px}#bc-catalog .bc-frame{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:12px;color:#536672;min-height:36px;margin-bottom:12px}#bc-catalog .bc-frame b{font-weight:400;color:#223a4a}#bc-catalog .bc-dot{display:inline-block;width:13px;height:13px;flex-shrink:0;border:1px solid #8e969b;border-radius:50%}#bc-catalog .bc-label{font-size:12px;margin:0 0 6px;color:#526370}#bc-catalog .bc-tints{display:flex;gap:5px}#bc-catalog .bc-tint{display:flex;justify-content:center;align-items:center;gap:5px;flex:1;padding:9px 4px;min-height:38px;background:#fff;border:1px solid #d4dde3;color:#344e60;border-radius:5px;font-size:11px;white-space:nowrap}#bc-catalog .bc-tint[aria-pressed=true]{background:#edf6fd;border-color:var(--bc-blue);box-shadow:inset 0 0 0 1px var(--bc-blue)}#bc-catalog .bc-actions{display:flex;justify-content:space-between;gap:8px;margin-top:17px}#bc-catalog .bc-link{border:0;background:transparent;padding:7px 0;color:var(--bc-blue);font-size:12px}#bc-catalog .bc-primary{background:var(--bc-blue);color:white;border:0;border-radius:5px;padding:12px 18px}#bc-catalog .bc-note{color:#6b757b;font-size:12px;margin:22px 0 0}#bc-catalog .bc-empty{padding:32px;text-align:center;grid-column:1/-1}#bc-catalog .bc-modal{position:absolute;margin:0;top:20px;left:4%;width:92%;max-width:none;max-height:none;border:1px solid #dde3e7;padding:0;border-radius:12px;background:#fff;color:#20313d;box-shadow:0 20px 80px #11273555;overflow:visible}#bc-catalog .bc-modal::backdrop{background:#1b2b3a77}#bc-catalog .bc-modal-layout{display:grid;grid-template-columns:1.1fr 1fr}#bc-catalog .bc-modal-photo{background:#f5f5f2;border-radius:12px 0 0 12px;overflow:hidden;align-self:start}#bc-catalog .bc-modal-info{padding:32px 24px}#bc-catalog .bc-modal h2{font-size:32px}#bc-catalog .bc-close{position:absolute;right:10px;top:8px;background:white;border:1px solid #d9e0e5;border-radius:50%;width:34px;height:34px;font-size:22px;color:#334c5f}#bc-catalog .bc-description{color:#667783;margin:12px 0 20px}#bc-catalog .bc-mini{width:120px;margin:18px auto 0}#bc-catalog .bc-summary{font-size:13px;color:#526370;margin:16px 0}#bc-catalog .bc-caption{padding:12px;font-size:11px;color:#64717a;background:#f4f6f5}#bc-catalog .bc-modal-actions{margin-top:22px;display:grid;gap:10px}#bc-catalog .bc-specs{padding:12px;background:#f2f7fa;border-radius:6px;font-size:13px}#bc-catalog .bc-specs div{display:flex;justify-content:space-between;gap:10px;padding:5px 0}#bc-catalog .bc-live{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){#bc-catalog .bc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#bc-catalog .bc-main{padding:20px}#bc-catalog .bc-modal-info{padding:40px 18px 22px}}
@media(max-width:480px){#bc-catalog .bc-grid{grid-template-columns:1fr}#bc-catalog .bc-photo{height:185px}#bc-catalog .bc-photo .bc-shot{width:230px}#bc-catalog .bc-modal-layout{grid-template-columns:1fr}#bc-catalog .bc-modal-photo{max-width:100%;border-radius:12px 12px 0 0}#bc-catalog .bc-modal-info{padding:22px}#bc-catalog .bc-nav{padding:16px}#bc-catalog .bc-tint{min-height:44px}#bc-catalog .bc-count{width:100%;margin:0}}
@media(prefers-reduced-motion:reduce){#bc-catalog .bc-card,#bc-catalog .bc-photo .bc-shot{transition:none;transform:none}}

html{scrollbar-gutter:stable}body{margin:0;background:#fafbf9}body.catalog-modal-open{overflow:hidden}#bc-catalog{border-radius:0;overflow:visible;font-family:var(--font-sans)}#bc-catalog .bc-main{max-width:1280px;margin:auto;padding:42px 32px}#bc-catalog .bc-nav{align-items:center;padding:15px max(24px,calc((100vw - 1216px)/2));background:#fff}#bc-catalog .bc-brand img{display:block;width:210px;height:auto}#bc-catalog .bc-nav nav{display:flex;flex-wrap:wrap;gap:22px}#bc-catalog a{color:var(--bc-blue);text-decoration:none}#bc-catalog a:hover{text-decoration:underline}#bc-catalog .bc-card h2,#bc-catalog h1,#bc-catalog .bc-modal h2{font-family:var(--font-sans)}#bc-catalog .bc-tint{font-size:13px;min-height:44px}#bc-catalog .bc-link{font-size:13px;min-height:44px}#bc-catalog .bc-photo{height:220px}#bc-catalog .bc-photo .bc-shot{width:250px}#bc-catalog .bc-shot{display:block;object-fit:contain;background:#fff}#bc-catalog .bc-modal{position:fixed;inset:0;margin:auto;width:min(940px,94vw);max-height:90dvh;overflow:auto}#bc-catalog .bc-modal-photo{border-radius:0}#bc-catalog .bc-modal-photo .bc-shot{width:100%}#bc-catalog .bc-modal-info{padding:44px 28px 24px}#bc-catalog .bc-caption:empty{display:none}#bc-catalog .bc-primary{text-align:center;display:block}#bc-catalog a.bc-primary{color:#fff}#bc-catalog .bc-mini{width:130px}#bc-catalog .bc-footer{display:flex;justify-content:space-between;gap:26px;flex-wrap:wrap;padding:32px max(24px,calc((100vw - 1216px)/2));border-top:1px solid #dfe5e8;background:#eef5f9;color:#526370;font-size:13px}#bc-catalog a.bc-whatsapp{display:inline-block;background:#128c4a;color:#fff;padding:12px 18px;border-radius:5px}#bc-catalog .bc-photo{background:#fff}#bc-catalog .bc-info{padding:20px}#bc-catalog .bc-close{z-index:2;width:40px;height:40px}#bc-catalog .bc-specs strong{text-align:right}
@media(max-width:600px){#bc-catalog .bc-nav nav{gap:15px;font-size:13px}#bc-catalog .bc-main{padding:24px 16px}#bc-catalog .bc-grid{grid-template-columns:1fr}#bc-catalog .bc-modal-layout{grid-template-columns:1fr}#bc-catalog .bc-modal-photo .bc-shot{max-height:38dvh;object-fit:contain}#bc-catalog .bc-modal-info{padding:24px}#bc-catalog .bc-photo .bc-shot{width:240px}#bc-catalog .bc-modal h2{font-size:28px}#bc-catalog .bc-mini{display:none}}

/* Match image height to its rendered width, not the HTML fallback dimensions. */
#bc-catalog .bc-modal .bc-shot {
  height: auto;
}
#bc-catalog .bc-modal[data-view="worn"] .bc-modal-photo .bc-shot {
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 1;
  object-fit: cover;
}

/* Responsive product images retain their square proportions. */
#bc-catalog .bc-shot { height: auto; }

/* Price + Buy, shown only for frames the server catalog can actually sell
   (see the productId note in js/catalog.js). */
.bc-price{margin-top:14px;font-size:22px;font-weight:700;color:var(--bc-ink,#1c2b36);line-height:1.2}
.bc-price span{display:block;margin-top:3px;font-size:12px;font-weight:500;color:#5d6e7a;letter-spacing:.01em}
.bc-buy{cursor:pointer;font-size:15px;font-weight:700;padding:14px 18px;width:100%}
.bc-buy:hover{filter:brightness(1.08)}
.bc-buy:disabled{opacity:.65;cursor:default}
.bc-card .bc-actions{flex-wrap:wrap}
.bc-card .bc-buy{flex:1 1 100%;order:-1;margin-bottom:4px}
/* When a frame is buyable, Buy is the only filled button — three identical
   blue blocks gave the purchase no more weight than "See it worn". */
#bc-catalog .bc-modal-actions:has(.bc-buy) .bc-primary:not(.bc-buy){background:transparent;color:var(--bc-blue);box-shadow:inset 0 0 0 1px var(--bc-blue)}
#bc-catalog .bc-modal-actions:has(.bc-buy) .bc-primary:not(.bc-buy):hover{background:rgba(23,92,145,.06)}
