/* Blueegraf · Catálogo de timbres 2026, compatible con navegación pública */
:root{--stamp-primary:#312682;--stamp-accent:#842a80;--stamp-ink:#24243b;--stamp-muted:#696b7d;--stamp-surface:#f7f7fb;--stamp-line:#e3e2ed}
*{box-sizing:border-box}html{scroll-behavior:smooth}
body{margin:0;font:16px/1.6 Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--stamp-ink);background:#fff}
a{color:inherit}img{max-width:100%;height:auto}button,input,textarea,select{font:inherit}
.stamp-wrap{width:min(1130px,calc(100% - 36px));margin-inline:auto}
.stamp-kicker{font-weight:850;text-transform:uppercase;letter-spacing:.13em;color:#792681;font-size:.75rem}
.stamp-hero{background:radial-gradient(circle at 84% 24%,#e8e3fa 0,transparent 42%),linear-gradient(145deg,#fff,#f4f1fb);padding:60px 0 66px}
.stamp-hero-layout{display:grid;grid-template-columns:1.12fr .88fr;gap:55px;align-items:center}
.stamp-hero h1{font-size:clamp(2.5rem,5vw,4.6rem);letter-spacing:-.058em;line-height:1.07;color:var(--stamp-primary);margin:12px 0 18px}
.stamp-hero p{font-size:1.08rem;line-height:1.75;color:#55576a;max-width:700px}
.stamp-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.stamp-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;text-align:center;font-size:.94rem;font-weight:850;text-decoration:none;border-radius:11px;min-height:48px;padding:13px 18px;transition:transform .15s,background .15s}
.stamp-button:hover{transform:translateY(-2px)}.stamp-button.primary{color:#fff;background:var(--stamp-primary)}
.stamp-button.secondary{background:white;border:1px solid #cbc6e3;color:var(--stamp-primary)}
.stamp-product-visual{position:relative;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid var(--stamp-line);border-radius:24px;overflow:hidden;min-height:320px;padding:21px;box-shadow:0 16px 40px #281d6215}
.stamp-product-visual img{width:100%;height:325px;object-fit:contain;display:block}
.stamp-product-visual .stamp-visual-label{position:absolute;left:14px;bottom:14px;font-size:.7rem;color:#47445c;background:#fffe;border:1px solid #e9e6ed;padding:5px 9px;border-radius:99px;font-weight:750}
.stamp-price-floating{display:inline-flex;background:#fff;color:var(--stamp-primary);padding:10px 17px;border:1px solid #ddd7ef;border-radius:13px;font-size:1.12rem;font-weight:900;margin-top:15px}
.stamp-section{padding:64px 0}.stamp-section.muted{background:#f7f6fa}
.stamp-section-header{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:23px}
.stamp-section h2{font-size:clamp(1.85rem,3.7vw,2.9rem);letter-spacing:-.043em;color:var(--stamp-primary);line-height:1.17;margin:7px 0 12px}
.stamp-section p.stamp-intro{font-size:1.05rem;max-width:790px;color:var(--stamp-muted)}
.stamp-toolbar{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:25px 0}
.stamp-search{padding:12px 15px;min-height:45px;max-width:310px;flex:1 1 225px;border:1px solid #cfcce0;border-radius:11px;background:#fff}
.stamp-filters{display:flex;gap:8px;flex-wrap:wrap}
.stamp-filters button{min-height:44px;border:1px solid #d5d2e3;border-radius:99px;color:var(--stamp-primary);background:#fff;padding:9px 16px;font-weight:750;cursor:pointer}
.stamp-filters button[aria-pressed=true]{background:var(--stamp-primary);color:#fff}
.stamp-catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}
.stamp-catalog-card{border:1px solid #e4e2ed;background:#fff;box-shadow:0 10px 28px #2317460b;border-radius:18px;overflow:hidden;display:flex;flex-direction:column}
.stamp-catalog-card[hidden]{display:none}
.stamp-card-image{position:relative;display:flex;height:235px;justify-content:center;align-items:center;padding:16px;background:#f7f7fa;text-decoration:none}
.stamp-card-image img{height:100%;width:100%;object-fit:contain}
.stamp-card-image[data-family="rect"]{background:#f3f5fb}
.stamp-card-image[data-family="special"]{background:#f8f7fb}
.stamp-card-flag{position:absolute;top:11px;left:11px;font-weight:750;letter-spacing:.03em;font-size:.7rem;background:#fff;border:1px solid #ebe7ee;padding:4px 8px;border-radius:99px;color:#54536c}
.stamp-card-content{padding:20px 23px 23px;display:flex;flex-direction:column;flex:1}
.stamp-card-content h3{font-size:1.35rem;color:var(--stamp-primary);margin:0 0 6px;line-height:1.2}
.stamp-card-meta{color:var(--stamp-muted);font-size:.87rem;margin:0 0 10px}
.stamp-card-price{font-size:1.48rem;color:#251f61;font-weight:900;line-height:1.2;margin-top:auto}
.stamp-card-cta{display:block;margin-top:13px;border:1px solid #d9d4e8;text-align:center;border-radius:10px;padding:10px;font-weight:820;color:var(--stamp-primary);text-decoration:none}
.stamp-card-cta:hover{background:#f0edf9}.stamp-empty{padding:22px;color:#57566e;background:#f2effa;border-radius:13px}
.stamp-note{font-size:.87rem;color:#636476;max-width:860px;line-height:1.65}
.stamp-value{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.stamp-value article{border:1px solid #dedbe8;border-radius:16px;padding:25px;background:#fff}
.stamp-value h3{color:var(--stamp-primary);font-size:1.17rem;margin:8px 0}.stamp-value p{color:#6a687a}
.stamp-step{font-size:.81rem;color:var(--stamp-accent);font-weight:900}
.stamp-crumb{font-size:.83rem;padding:17px 0;color:#696777}.stamp-crumb a{text-decoration:underline}
.stamp-detail-hero{padding:38px 0 58px;background:linear-gradient(140deg,#fff,#f1eff9)}
.stamp-detail-layout{display:grid;grid-template-columns:.95fr 1.05fr;gap:52px;align-items:center}
.stamp-detail-hero h1{font-size:clamp(2.3rem,4.3vw,4rem);letter-spacing:-.05em;line-height:1.12;color:var(--stamp-primary);margin:14px 0}
.stamp-detail-price{font-weight:900;color:#261d62;font-size:2.1rem;line-height:1.2;margin-top:13px}
.stamp-technical{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}
.stamp-technical span{display:inline-block;background:#fff;border:1px solid #ded9ee;border-radius:99px;padding:7px 13px;font-size:.86rem;font-weight:800;color:#52457a}
.stamp-detail-hero .stamp-desc{color:#58586c;font-size:1.08rem;max-width:650px}
.stamp-order-layout{display:grid;grid-template-columns:1.1fr .9fr;gap:32px;align-items:start}
.stamp-form{padding:27px 30px;background:white;border:1px solid #dcd9e8;border-radius:20px;box-shadow:0 12px 32px #2116470a}
.stamp-form h2{font-size:1.75rem;margin:0 0 8px;color:#2e266b}.stamp-form p{color:#5e5b70;font-size:.94rem;margin:0 0 19px}
.stamp-field{display:flex;flex-direction:column;gap:7px;margin:0 0 18px}
.stamp-field label{font-weight:820;color:#332e59;font-size:.9rem}.stamp-field label .optional{color:#777688;font-weight:600}
.stamp-field input,.stamp-field select,.stamp-field textarea{width:100%;border:1px solid #bfc0d1;border-radius:11px;background:#fff;color:#2a2a39;min-height:47px;padding:12px}
.stamp-field textarea{min-height:125px;resize:vertical;line-height:1.45}.stamp-field[hidden],.stamp-empty[hidden],[data-stamp-backup][hidden]{display:none!important}.stamp-field textarea#stamp-notes{min-height:80px}
.stamp-field :is(input,select,textarea):focus{outline:3px solid #dcd1fa;outline-offset:0;border-color:#61509d}
.stamp-fieldset{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.stamp-form button[type=submit]{width:100%;border:0;color:#fff;background:#2b947b;cursor:pointer;padding:16px 20px;border-radius:11px;font-weight:850;min-height:52px;font-size:1rem}
.stamp-form button[type=submit]:hover{background:#247e69}
.stamp-consent{padding:14px;border-radius:10px;background:#f0edf8;color:#514b66;font-size:.83rem;line-height:1.5;margin:15px 0}
.stamp-form-status{color:#315c4b;min-height:1.3em;font-size:.82rem;margin-top:11px}
.stamp-preview-pane{border:1px solid #e5e3ed;border-radius:20px;background:#f7f6fb;padding:28px;position:sticky;top:96px}
.stamp-preview-pane h3{color:#30286c;font-size:1.2rem;margin:0 0 16px}
.stamp-preview-text{display:flex;align-items:center;justify-content:center;max-width:100%;min-height:120px;border:3px solid #312682;color:#312682;background:#fff;border-radius:10px;padding:18px 20px;font-size:1.15rem;font-weight:800;text-align:center;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5}
.stamp-preview-text.round{border-radius:50%;width:190px;height:190px;min-height:0;margin:auto;font-size:1rem}
.stamp-preview-text.square{width:190px;height:190px;min-height:0;margin:auto}
.stamp-preview-pane p{color:#5d5b6d;font-size:.87rem}
.stamp-preview-summary{padding-top:18px;margin-top:18px;border-top:1px solid #dcdbe7}
.stamp-preview-summary strong{color:#312682}
.stamp-faq{display:grid;grid-template-columns:1fr 1fr;gap:17px}
.stamp-faq details{padding:19px 22px;background:white;border:1px solid #dfdce7;border-radius:13px}
.stamp-faq summary{cursor:pointer;font-weight:800;color:#312682}.stamp-faq p{color:#666273;margin:12px 0 0}
.stamp-footer{background:#221b4f;color:#fff;padding:33px 0;font-size:.9rem}.stamp-footer a{color:#fff}
.stamp-mini-ribbon{display:flex;flex-wrap:wrap;gap:13px;color:#625a72;font-size:.86rem;margin:15px 0}
.stamp-mini-ribbon span{background:#eeebf6;padding:7px 12px;border-radius:99px}
@media(max-width:900px){.stamp-hero-layout,.stamp-detail-layout,.stamp-order-layout{grid-template-columns:1fr;gap:25px}.stamp-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stamp-preview-pane{position:static}.stamp-detail-layout .stamp-product-visual{order:-1}.stamp-hero{padding:40px 0}}
@media(max-width:580px){.stamp-section{padding:43px 0}.stamp-wrap{width:calc(100% - 30px)}.stamp-catalog-grid,.stamp-value,.stamp-faq,.stamp-fieldset{grid-template-columns:1fr}.stamp-hero h1{font-size:2.5rem}.stamp-detail-hero{padding:20px 0 38px}.stamp-hero-layout{gap:15px}.stamp-product-visual img{height:270px}.stamp-card-image{height:210px}.stamp-form,.stamp-preview-pane{padding:21px}.stamp-toolbar{align-items:stretch;flex-direction:column}.stamp-search{max-width:none;flex:auto;width:100%}.stamp-filters button{font-size:.86rem;padding:8px 13px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.stamp-button{transition:none}}

.stamp-featured-photo {
  text-decoration: none;
}

.stamp-featured-photo img {
  height: clamp(270px, 34vw, 380px);
}

.stamp-featured-photo:focus-visible,
.stamp-gallery-options button:focus-visible {
  outline: 3px solid var(--stamp-primary);
  outline-offset: 3px;
}

.stamp-gallery {
  min-width: 0;
}

.stamp-gallery-options {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  margin-top: 10px;
}

.stamp-gallery-options button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 6px 3px;
  border: 2px solid var(--stamp-line);
  border-radius: 10px;
  background: #fff;
  color: var(--stamp-primary);
  cursor: pointer;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.stamp-gallery-options button:hover,
.stamp-gallery-options button[aria-pressed="true"] {
  border-color: var(--stamp-primary);
}

.stamp-gallery-options img {
  display: block;
  width: 42px;
  height: 46px;
  object-fit: contain;
}

.stamp-detail-price small {
  color: var(--stamp-muted);
  font-size: 1rem;
  font-weight: 650;
}

.stamp-spec-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 32px;
  align-items: start;
}

.stamp-spec-layout h3 {
  color: var(--stamp-primary);
}

.stamp-specs {
  padding: 4px 16px;
  border: 1px solid var(--stamp-line);
  border-radius: 13px;
  background: #fff;
}

.stamp-specs div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
}

.stamp-specs div + div {
  border-top: 1px solid var(--stamp-line);
}

.stamp-specs dt {
  font-weight: 700;
}

.stamp-specs dd {
  flex-shrink: 0;
  margin: 0;
  text-align: right;
}

.stamp-reference-photo {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--stamp-line);
  border-radius: 18px;
  background: #fff;
  text-align: center;
}

.stamp-reference-photo img {
  display: block;
  width: 100%;
  height: min(330px, 78vw);
  object-fit: contain;
}

.stamp-reference-photo figcaption {
  color: var(--stamp-muted);
  font-size: .9rem;
}

.stamp-related {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

#catalogo, #personalizar, #caracteristicas {
  scroll-margin-top: 68px;
}

@media (max-width: 700px) {
  .stamp-gallery-options {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .stamp-spec-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.stamp-stock-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-bottom: 18px;
}

.stamp-stock-toolbar label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 750;
}

.stamp-stock-toolbar input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--stamp-primary);
}

.stamp-stock-toolbar p {
  margin: 0;
}

.stamp-card-stock {
  color: #265b49;
  font-size: .9rem;
  font-weight: 650;
  margin: 0 0 10px;
}

[data-stamp-state="unavailable"] .stamp-card-stock {
  color: var(--stamp-muted);
}

.stamp-stock-summary {
  margin: 12px 0 16px;
}

.stamp-stock-status {
  font-weight: 750;
  margin: 0;
}

.stamp-stock-contact {
  color: var(--stamp-primary);
}

.stamp-inventory-form {
  max-width: 680px;
}

.stamp-form button[type="submit"]:disabled,
.stamp-form button[type="submit"]:disabled:hover {
  background: #e4e4ed;
  color: #54536b;
  cursor: default;
}

.stamp-gallery-options[hidden],
.stamp-card-stock[hidden],
.stamp-stock-contact[hidden] {
  display: none;
}

@media (max-width: 700px) {
  .stamp-detail-layout .stamp-gallery {
    order: 1;
  }
}
