/* COLKO · Imanes acrílicos (tienda y panel) */
.im { --im-ink: var(--dark, #403d39); --im-soft: rgb(64 61 57 / .68); --im-wall: var(--paper, #f3f1ec); --im-line: #cfc9bd; background: var(--im-wall); color: var(--im-ink); padding-bottom: clamp(2rem, 5vw, 4rem); }
.im-preview { background: var(--im-ink); color: #eae8e1; font-size: 13px; text-align: center; padding: .6rem 1rem; }
.im-preview a { color: inherit; text-decoration: underline; margin-left: .4rem; }
.im-head { text-align: center; padding-top: clamp(1rem, 2.4vw, 1.8rem); }
.im-kick { font-family: var(--font-display, sans-serif); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--im-soft); margin: 0 0 .4rem; }
.im-title { font-family: var(--font-display, sans-serif); font-weight: 500; font-size: clamp(1.7rem, 3.4vw, 2.6rem); letter-spacing: -.01em; margin: 0; line-height: 1.1; }
.im-title em { font-family: var(--font-serif, Georgia, serif); font-weight: 400; }
.im-chips { display: flex; gap: .4rem; justify-content: center; margin-top: 1.1rem; flex-wrap: wrap; }
.im-chips button { background: transparent; border: 1px solid transparent; color: var(--im-soft); border-radius: 999px; padding: .3rem .9rem; font: 500 13px/1.4 var(--font-body, sans-serif); cursor: pointer; }
.im-chips button[aria-pressed="true"] { border-color: #b9b3a8; color: var(--im-ink); }
.im-chips button:focus-visible { outline: 2px solid var(--im-ink); outline-offset: 2px; }
.im-chip-soon, .im-chip-on { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .9rem; border-radius: 999px; font: 500 13px/1.4 var(--font-body, sans-serif); }
.im-chip-on { color: var(--im-ink); border: 1px solid #b9b3a8; }
.im-chip-soon { color: #9a958c; background: #e4e1da; cursor: default; }
.im-chip-shape { display: inline-block; border: 1.5px solid currentColor; border-radius: 2px; }
.im-sizes button.is-soon, .im-sizes button.is-soon:disabled { opacity: 1; text-decoration: none; color: #9a958c; background: #e4e1da; border-color: #e4e1da; }
.im-empty { text-align: center; color: var(--im-soft); padding: 4rem 0; }
.im-wrap { max-width: 64rem; }
.im.is-det .im-head .im-chips, .im.is-det .im-fridge, .im.is-det .im-hint, .im.is-det .im-floor { display: none; }

/* El refrigerador */
.im-wrap { position: relative; }
.im-fridge { --fr: #f6f4ef; position: relative; max-width: 58rem; margin: 1rem auto 0; height: clamp(360px, calc(100svh - 300px), 680px); display: flex; flex-direction: column; border-radius: 28px 28px 16px 16px; background: linear-gradient(90deg, #ebe8e2 0%, #f8f7f3 9%, #fbfaf7 30%, #f3f1ec 70%, #e6e3dc 100%); box-shadow: inset 0 0 0 1px rgb(64 61 57 / .06), inset 0 2px 0 #fff, 0 50px 60px -48px rgb(64 61 57 / .6), 0 18px 30px -24px rgb(64 61 57 / .35); overflow: hidden; }
.im-fridge::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgb(255 255 255 / 0) 30%, rgb(255 255 255 / .45) 42%, rgb(255 255 255 / 0) 55%); pointer-events: none; }
/* Congelador */
.im-freezer { position: relative; flex: 0 0 clamp(66px, 19%, 120px); border-bottom: 3px solid #dcd8cf; box-shadow: 0 1px 0 #fff; }
.im-brand { position: absolute; left: clamp(18px, 3vw, 34px); top: clamp(16px, 2.4vw, 24px); font: 600 11px/1 var(--font-display, sans-serif); letter-spacing: .5em; color: #b6b1a7; text-shadow: 0 1px 0 #fff; }
.im-handle { position: absolute; z-index: 2; border-radius: 8px; background: linear-gradient(90deg, #bdb9b1, #f7f6f2 42%, #d8d5ce 70%, #a8a49c); box-shadow: -3px 8px 14px -6px rgb(0 0 0 / .3), inset 0 0 0 1px rgb(255 255 255 / .4); }
.im-handle--top { right: clamp(20px, 4vw, 40px); bottom: 16px; width: 12px; height: 46%; }
.im-door .im-handle { right: clamp(20px, 4vw, 40px); top: 18px; width: 12px; height: 42%; }
/* Nota adhesiva con la instrucción */
.im-note { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -46%) rotate(-2.5deg); padding: .65rem 1.4rem .7rem 1rem; background: #f4e9b8; color: #4b4436; font-family: var(--font-serif, Georgia, serif); font-style: italic; font-size: clamp(13px, 1.4vw, 17px); line-height: 1.2; box-shadow: 0 10px 16px -10px rgb(64 61 57 / .5), inset 0 -18px 18px -18px rgb(140 120 60 / .25); border-radius: 1px 1px 10px 1px; }
.im-note::after { content: ""; position: absolute; right: 0; bottom: 0; width: 14px; height: 14px; background: linear-gradient(135deg, #e3d397 50%, transparent 50%); border-radius: 0 0 10px 0; box-shadow: -2px -2px 3px rgb(0 0 0 / .06); }
.im-note .im-pin { z-index: 1; }
.im-note svg { position: absolute; right: -34px; bottom: -14px; width: 40px; height: 24px; color: #8b8172; transform: rotate(20deg); }
.im-pin { position: absolute; left: 50%; top: -7px; width: 22px; height: 12px; margin-left: -11px; border-radius: 4px; background: #403d39; box-shadow: 0 3px 5px rgb(0 0 0 / .25), inset 0 1px 0 rgb(255 255 255 / .2); }
.im-pin--round { width: 18px; height: 18px; margin-left: -9px; top: -6px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #c9a67a, #8a6a44 70%); }
/* Puerta */
.im-door { position: relative; flex: 1 1 auto; min-height: 0; padding: clamp(14px, 3vh, 36px) clamp(60px, 8vw, 104px) clamp(14px, 3vh, 36px) clamp(22px, 5vw, 60px); display: flex; flex-direction: column; justify-content: center; }
.im-grid { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: clamp(16px, 2.6vw, 34px) clamp(16px, 2.8vw, 40px); align-items: center; justify-content: center; perspective: 900px; }
.im-door.has-postal { padding-left: clamp(96px, 11vw, 150px); }
.im-floor { height: 26px; max-width: 64rem; margin: -6px auto 0; background: radial-gradient(50% 100% at 50% 0, rgb(64 61 57 / .22), rgb(64 61 57 / 0)); }
/* Postal pegada con un imán */
.im-postal { position: absolute; left: clamp(18px, 4vw, 44px); bottom: clamp(18px, 3vw, 34px); width: min(clamp(60px, 8vw, 100px), calc(var(--door-h, 420px) * .24)); transform: rotate(-5deg); transition: transform .35s cubic-bezier(.2, .8, .2, 1); text-decoration: none; color: var(--im-soft); z-index: 1; }
.im-postal img { display: block; width: 100%; aspect-ratio: 105 / 155; object-fit: cover; border-radius: 2px; box-shadow: 0 12px 18px -10px rgb(40 36 32 / .45), 0 1px 3px rgb(0 0 0 / .15); }
.im-postal span { position: absolute; left: 0; top: calc(100% + 6px); white-space: nowrap; font: italic 13px var(--font-serif, Georgia, serif); opacity: 0; transition: opacity .3s; }
.im-postal:hover { transform: rotate(-1deg) translateY(-4px); }
.im-postal:hover span, .im-postal:focus-visible span { opacity: 1; }
.im-postal:focus-visible { outline: 2px solid var(--im-ink); outline-offset: 4px; }
@media (max-width: 760px) {
  .im-fridge { border-radius: 20px 20px 12px 12px; }
  .im-door, .im-door.has-postal { padding: 18px 46px 18px 14px; }
  .im-door.has-postal { padding-bottom: 92px; }
  .im-door .im-handle { right: 16px; width: 9px; }
  .im-handle--top { right: 16px; width: 9px; }
  .im-brand { letter-spacing: .4em; font-size: 10px; }
  .im-note { left: 46%; font-size: 13px; padding: .45rem 1rem .5rem .75rem; }
  .im-note svg { display: none; }
  .im-postal { width: 50px; bottom: 16px; left: 14px; }
  .im-postal span { display: none; }
}
/* En reposo sin rotación ni 3D: así el navegador escala la ilustración con máxima nitidez */
.im-mag { position: relative; border: 0; padding: 0; background: none; cursor: pointer; transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.im-mag.is-h { transform-style: preserve-3d; }
.im-mag:focus-visible { outline: 2px solid var(--im-ink); outline-offset: 6px; border-radius: 8px; }
.im-mag.is-h { transform: translateY(-6px) scale(1.07) rotateX(var(--ty, 0deg)) rotateY(var(--tx, 0deg)); z-index: 5; }
.im-fx { display: block; position: relative; border-radius: 8px; overflow: hidden; transition: width .55s cubic-bezier(.2, .8, .2, 1), height .55s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .75), 1px 1px 0 #dfe8e6, 2px 2px 0 #d3dfdc, 3px 3px 0 #c8d6d3, 5px 9px 14px rgb(40 36 32 / .22); }
.im-mag.is-h .im-fx { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .85), 1px 1px 0 #dfe8e6, 2px 2px 0 #d3dfdc, 3px 3px 0 #c8d6d3, 10px 20px 26px rgb(40 36 32 / .26); }
.im-art { position: absolute; inset: 3px; border-radius: 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: rgb(64 61 57 / .75); background-size: cover; background-position: center; transition: opacity .3s; }
.im-art em { font-family: var(--font-serif, Georgia, serif); font-size: 14px; line-height: 1.1; }
.im-art.dk { color: rgb(234 232 225 / .85); }
.im-gl { position: absolute; inset: 0; border-radius: 8px; background: linear-gradient(115deg, rgb(255 255 255 / 0) 32%, rgb(255 255 255 / .5) 46%, rgb(255 255 255 / 0) 58%); background-size: 260% 100%; background-position: var(--gx, 80%) 0; pointer-events: none; mix-blend-mode: screen; }
.im-tag { position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%); font-size: 11px; color: var(--im-soft); white-space: nowrap; opacity: 0; transition: opacity .3s; }
.im-mag.is-h .im-tag, .im-mag:focus-visible .im-tag { opacity: 1; }
.im-hint { text-align: center; font-size: 12px; color: var(--im-soft); margin: 0; }

/* Detalle */
.im-det { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 1rem clamp(1rem, 4vw, 3rem); align-items: center; padding-top: 1.4rem; animation: imIn .4s ease both; }
.im-det[hidden] { display: none; }
@keyframes imIn { from { opacity: 0; } to { opacity: 1; } }
.im-stage { position: relative; min-height: 470px; perspective: 1100px; display: flex; flex-direction: column; gap: 44px; align-items: center; justify-content: center; touch-action: pan-y pinch-zoom; cursor: grab; user-select: none; padding: 1rem 0; }
.im-float { position: relative; animation: imFloat 4.5s ease-in-out infinite; }
@keyframes imFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.im-fly { transform-style: preserve-3d; }
.im-block { position: relative; width: var(--w); height: var(--h); transform-style: preserve-3d; transition: width .6s cubic-bezier(.2, .8, .2, 1), height .6s cubic-bezier(.2, .8, .2, 1); }
.im-sl { position: absolute; inset: 0; border-radius: .32cm; transform: translateZ(var(--z)); background: rgb(222 234 232 / .34); border: 1px solid rgb(255 255 255 / .5); }
.im-back { background: #3a3835; border-color: #2c2a28; }
.im-back::after { content: "imán"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotateY(180deg); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: rgb(234 232 225 / .35); }
.im-front { background: rgb(255 255 255 / .08); border-color: rgb(255 255 255 / .8); overflow: hidden; box-shadow: inset 0 0 0 2px rgb(255 255 255 / .35), inset 0 0 18px rgb(255 255 255 / .25); }
.im-front .im-art { inset: .18cm; border-radius: .2cm; }
.im-front .im-art em { font-size: 22px; }
.im-front .im-gl { border-radius: .32cm; }
.im-shadow { position: absolute; left: 50%; top: calc(100% + 18px); width: 80%; height: 18px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgb(40 36 32 / .22), rgb(40 36 32 / 0)); filter: blur(2px); }
.im-card { position: absolute; left: 50%; top: 50%; width: 8.56cm; height: 5.4cm; margin: -2.7cm 0 0 -4.28cm; border: 1.5px dashed rgb(64 61 57 / .45); border-radius: .32cm; opacity: 0; transition: opacity .35s; pointer-events: none; }
.im-card span { position: absolute; left: 8px; bottom: 6px; font-size: 10px; color: var(--im-soft); letter-spacing: .06em; }
.im-stage.cmp .im-card { opacity: 1; }
.im-dim { text-align: center; font-size: 12px; color: var(--im-soft); }
.im-dim button { background: none; border: 0; color: var(--im-ink); text-decoration: underline; font-size: 12px; cursor: pointer; padding: 0 4px; }
.im-ty { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--im-soft); margin: 0 0 .3rem; }
.im-na { font-family: var(--font-display, sans-serif); font-weight: 500; font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: .1em; text-transform: uppercase; margin: 0; }
.im-sp { font-family: var(--font-serif, Georgia, serif); font-style: italic; font-size: 1.05rem; color: var(--im-soft); margin: .15rem 0 .4rem; }
.im-sp:empty { display: none; }
.im-pr { font-family: var(--font-display, sans-serif); font-weight: 500; font-size: clamp(1.9rem, 3.2vw, 2.4rem); margin: .2rem 0 1rem; }
.im-lab { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--im-soft); margin: 0 0 .55rem; }
.im-lab span { letter-spacing: .03em; text-transform: none; color: var(--im-ink); }
.im-sizes { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.1rem; }
.im-sizes button { display: flex; align-items: center; gap: .55rem; padding: .55rem .8rem; border-radius: 10px; border: 1px solid var(--im-line); background: transparent; color: var(--im-ink); font: 500 13px/1 var(--font-body, sans-serif); cursor: pointer; white-space: nowrap; }
.im-sizes button[aria-pressed="true"] { background: var(--im-ink); color: #eae8e1; border-color: var(--im-ink); }
.im-sizes button:disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.im-sizes button:focus-visible { outline: 2px solid var(--im-ink); outline-offset: 2px; }
.im-sizes i { display: inline-block; border: 1.5px solid currentColor; border-radius: 3px; }
.im-sizes small { opacity: .7; font-size: 12px; }
.im-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; margin-bottom: 1.1rem; max-width: 320px; }
.im-thumbs button { position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; padding: 0; border: 1px solid rgb(0 0 0 / .12); cursor: pointer; background-size: cover; background-position: center; transition: transform .2s; }
.im-thumbs button:hover { transform: translateY(-2px); }
.im-thumbs button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--im-wall), 0 0 0 3.5px var(--im-ink); }
.im-thumbs button:focus-visible { outline: 2px solid var(--im-ink); outline-offset: 3px; }
.im-thumbs em { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-serif, Georgia, serif); font-size: 11px; line-height: 1.1; padding: 2px; color: rgb(64 61 57 / .75); }
.im-row { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; margin-bottom: .6rem; }
.im-qty { display: inline-flex; align-items: center; border: 1px solid var(--im-line); border-radius: 999px; height: 44px; }
.im-qty button { background: none; border: 0; width: 38px; height: 42px; font-size: 18px; cursor: pointer; color: var(--im-ink); }
.im-qty span { min-width: 24px; text-align: center; font-size: 15px; }
.im-buy { display: inline-flex; align-items: center; gap: .5rem; }
.im-buy svg { width: 18px; height: 18px; }
.im-buy[disabled] { opacity: .5; cursor: not-allowed; }
.im-gh { display: inline-flex; align-items: center; gap: .35rem; background: transparent; border: 1px solid var(--im-line); color: var(--im-ink); border-radius: 999px; padding: .55rem 1rem; font: 500 13px/1 var(--font-body, sans-serif); cursor: pointer; }
.im-gh svg { width: 16px; height: 16px; }
.im-gh:focus-visible, .im-qty button:focus-visible, .im-dim button:focus-visible { outline: 2px solid var(--im-ink); outline-offset: 2px; }
.im-left { font-size: 12.5px; color: #8a5a00; min-height: 1.2em; margin: -.2rem 0 .6rem; }
.im-left:empty { margin: 0; min-height: 0; }
.im-qty button:disabled { opacity: .3; cursor: not-allowed; }
.im-msg { font-size: 13px; color: var(--im-soft); min-height: 1.2em; margin: .6rem 0 0; }
.im-clone { position: fixed; z-index: 300; border-radius: 6px; pointer-events: none; background-size: cover; background-position: center; }
.im-fallback { list-style: none; padding: 0; }

@media (max-width: 860px) {
  .im-det { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .im-stage { min-height: 0; gap: 38px; padding: .5rem 0; }
  .im-sizes, .im-row { justify-content: center; }
  .im-thumbs { margin-left: auto; margin-right: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .im *, .im *::before, .im *::after { transition: none !important; animation: none !important; }
}

/* Galería de fotos reales */
.im-gal { display: flex; flex-direction: column; align-items: center; gap: .45rem; width: 100%; }
.im-gal[hidden] { display: none; }
.im-gal__t { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--im-soft); margin: 0; }
.im-gal__row { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; }
.im-gal__row button { width: 64px; height: 64px; padding: 0; border: 0; border-radius: 8px; overflow: hidden; cursor: zoom-in; background: #e4e1da; box-shadow: 0 0 0 1px rgb(0 0 0 / .08); transition: transform .2s, box-shadow .2s; }
.im-gal__row button:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgb(0 0 0 / .12), 0 8px 16px -8px rgb(40 36 32 / .4); }
.im-gal__row button:focus-visible { outline: 2px solid var(--im-ink); outline-offset: 2px; }
.im-gal__row img { width: 100%; height: 100%; object-fit: cover; display: block; }
.im-lb { position: fixed; inset: 0; z-index: 400; background: rgb(20 19 18 / .82); display: flex; align-items: center; justify-content: center; gap: clamp(.5rem, 2vw, 1.5rem); padding: 1.5rem; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; touch-action: pan-y; }
.im-lb.is-open { opacity: 1; visibility: visible; }
.im-lb figure { position: relative; margin: 0; padding: 10px; background: #f3f1ec; border-radius: 14px; box-shadow: 0 30px 60px -20px rgb(0 0 0 / .6); line-height: 0; overflow: hidden; }
.im-lb img { display: block; width: auto; height: auto; max-width: min(78vw, 820px); max-height: min(72vh, 680px); object-fit: contain; border-radius: 8px; animation: imIn .3s ease both; cursor: zoom-in; transition: transform .3s cubic-bezier(.2, .8, .2, 1); transform-origin: 50% 50%; user-select: none; -webkit-user-drag: none; }
.im-lb.is-zoom img { transform: scale(2.5); cursor: zoom-out; transition: transform .3s cubic-bezier(.2, .8, .2, 1), transform-origin .08s linear; }
.im-lb.is-zoom figure { touch-action: none; }
.im-lb__tools { position: absolute; top: 1rem; right: 1rem; display: flex; gap: .5rem; }
.im-lb [data-im-lb-zoom][aria-pressed="true"] { background: #f3f1ec; color: #1d1b19; }
.im-lb button { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .3); background: rgb(20 19 18 / .35); color: #fff; display: grid; place-items: center; cursor: pointer; }
.im-lb button svg { width: 22px; height: 22px; }
.im-lb button:hover { background: rgb(255 255 255 / .12); }
.im-lb button[hidden] { visibility: hidden; display: grid; }
.im-lb__n { position: absolute; bottom: 1.1rem; left: 50%; transform: translateX(-50%); color: rgb(255 255 255 / .8); font-size: 13px; }
@media (max-width: 600px) { .im-lb { padding: 3.5rem .8rem 4.5rem; } .im-lb img { max-width: 86vw; max-height: 64vh; } .im-lb__p, .im-lb__nx { position: absolute; bottom: 1rem; } .im-lb__p { left: 1rem; } .im-lb__nx { right: 1rem; } .im-lb__n { bottom: 1.8rem; } }

/* ---------- Panel ---------- */
.im-adm-status { display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.im-adm-status.is-on { border-color: #b8c79a; }
.im-check { margin: 0; padding-left: 1.1rem; font-size: 13px; line-height: 1.7; }
.im-check .is-warn { color: #9a3412; }
.im-adm-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1.2rem; align-items: start; margin-top: 1.2rem; }
.im-swatch { display: inline-block; width: 44px; height: 44px; border-radius: 6px; border: 1px solid rgb(0 0 0 / .1); }
.im-adm-prev { display: flex; gap: 1.6rem; align-items: flex-end; flex-wrap: wrap; }
.im-adm-prev figure { margin: 0; text-align: center; font-size: 12px; color: #6b665e; }
.im-adm-mag { display: block; border-radius: .32cm; box-shadow: inset 0 0 0 2px rgb(255 255 255 / .7), 1px 1px 0 #dfe8e6, 2px 2px 0 #d3dfdc, 3px 3px 0 #c8d6d3, 6px 12px 18px rgb(40 36 32 / .2); margin-bottom: .5rem; }
@media (max-width: 1000px) { .im-adm-grid { grid-template-columns: minmax(0, 1fr); } }
.im-adm-size .card__title { display: flex; align-items: center; gap: .55rem; }
.im-adm-shape { display: inline-block; border: 1.5px solid currentColor; border-radius: 2px; vertical-align: middle; }
.im-adm-shape--a { width: 10px; height: 15px; }
.im-adm-shape--b { width: 12px; height: 12px; }
.table .thumb.im-adm-thumb--a, .im-swatch.im-adm-thumb--a { width: 34px; height: 50px; }
.table .thumb.im-adm-thumb--b, .im-swatch.im-adm-thumb--b { width: 44px; height: 44px; }
.im-adm-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 3px; background: #f1efe9; border-radius: 10px; }
.im-adm-seg label { position: relative; cursor: pointer; }
.im-adm-seg input { position: absolute; opacity: 0; inset: 0; }
.im-adm-seg label > span { display: flex; align-items: center; justify-content: center; gap: .45rem; padding: .5rem; border-radius: 8px; font-size: 13px; font-weight: 600; color: #75716b; }
.im-adm-seg input:checked + span { background: #fff; color: #1d1b19; box-shadow: 0 1px 3px rgb(0 0 0 / .12); }
.im-adm-seg input:focus-visible + span { outline: 2px solid #403d39; outline-offset: 1px; }
.im-adm-drop { display: grid; justify-items: center; gap: .6rem; }
.im-adm-drop__frame { position: relative; width: 84px; aspect-ratio: 6 / 9; border-radius: 6px; background: #ece9e2; overflow: hidden; transition: aspect-ratio .3s, width .3s; }
.im-adm-drop.is-b .im-adm-drop__frame { width: 96px; aspect-ratio: 1; }
.im-adm-drop__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; margin: 0; }
.im-adm-drop svg { width: 18px; height: 18px; vertical-align: -4px; }

.im-adm-gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: .7rem; }
.im-adm-ph { position: relative; border-radius: 8px; overflow: hidden; background: #ece9e2; aspect-ratio: 1; }
.im-adm-ph img { width: 100%; height: 100%; object-fit: cover; }
.im-adm-ph__bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: .3rem; justify-content: center; padding: .4rem; background: linear-gradient(transparent, rgb(0 0 0 / .45)); }
.im-adm-ph__bar .btn { min-height: 28px; padding: .2rem .45rem; }
.im-adm-ph__bar .btn[disabled] { opacity: .45; }

/* Promo */
.im-promo { display: inline-block; margin: .9rem 0 0; padding: .4rem 1rem; border-radius: 999px; background: #403d39; color: #f3f1ec; font-size: 13.5px; letter-spacing: .01em; }
.im-promo strong { font-weight: 600; color: #f4e9b8; }
.im-pr s { font-size: .55em; color: #9a958c; margin-left: .4rem; font-weight: 400; }
.im-promo-tag { display: inline-block; margin: -.4rem 0 1rem; padding: .3rem .75rem; border-radius: 8px; background: #fbf3d6; color: #6b5317; font-size: 13px; }
.im-promo-tag[hidden] { display: none; }

/* Panel · venta por tamaño (precio, promo y colección) */
.im-adm-sale { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: flex-end; }
.im-adm-sale__f { display: flex; flex-direction: column; gap: .35rem; min-width: 150px; }
.im-adm-sale__f .input-prefix { max-width: 150px; }
.im-adm-sale__promo { padding: .55rem .75rem; border-radius: 12px; background: color-mix(in srgb, currentColor 5%, transparent); }
.im-adm-size.is-stamp .card__title small { font-size: 12px; font-weight: 500; letter-spacing: .02em; padding: .15rem .55rem; border-radius: 999px; border: 1px dashed currentColor; opacity: .7; }
.im-adm-num { width: 54px; text-align: center; font-variant-numeric: tabular-nums; }
.im-adm-add { display: inline-flex; align-items: center; gap: .4rem; align-self: flex-start; font-size: 13px; font-weight: 600; padding: .4rem .8rem; border-radius: 999px; border: 1px dashed currentColor; opacity: .75; text-decoration: none; color: inherit; }
.im-adm-add:hover { opacity: 1; border-style: solid; }
.im-adm-add svg { width: 14px; height: 14px; }
.table .thumb.im-adm-thumb--b { object-fit: cover; }

/* ===== Promo por tamaño (cabecera) ===== */
.im-promo { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .35rem .9rem; border-radius: 18px; }
.im-promo__i { display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; }
.im-promo__i .im-chip-shape { border-color: #f4e9b8; opacity: .8; }
.im-promo__n { opacity: .7; font-size: 12.5px; }

/* ===== Estampillas en el refri y en el detalle ===== */
.im-mag.is-stamp .im-fx { border-radius: 3px; }
.im-mag.is-stamp .im-art { inset: 2px; border-radius: 2px; }
.im-thumbs:has([data-num]) { grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 340px; }
.im-thumbs button[data-num] { border-radius: 3px; }
.im-thumbs button[data-num]::after { content: attr(data-num); position: absolute; right: 2px; bottom: 2px; min-width: 18px; padding: 1px 3px; border-radius: 4px; background: rgb(64 61 57 / .82); color: #f3f1ec; font: 600 9.5px/1.2 var(--font-body, sans-serif); text-align: center; }

/* ===== Álbum de colección (clasificador filatélico) ===== */
.im-album { --pg: #34302c; --pg2: #2b2825; --cream: #eae8e1; max-width: 64rem; margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.im-album__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.1rem; }
.im-album__t { font-family: var(--font-display, sans-serif); font-weight: 500; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.1; margin: 0; letter-spacing: -.01em; }
.im-album__t em { font-family: var(--font-serif, Georgia, serif); font-weight: 400; }
.im-album__sub { margin: .35rem 0 0; color: var(--im-soft); font-size: 14px; }
.im-album__price { display: flex; align-items: center; gap: 1rem; }
.im-album__unit { font-family: var(--font-display, sans-serif); font-size: 1.5rem; font-weight: 500; }
.im-album__unit small { font-size: 13px; color: var(--im-soft); font-weight: 400; }
/* Matasellos con la promo */
.im-postmark { --ink: #8a3b2e; position: relative; display: inline-grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; color: var(--ink); border: 2px solid var(--ink); box-shadow: inset 0 0 0 4px var(--im-wall), inset 0 0 0 5.5px var(--ink); transform: rotate(-10deg); text-align: center; line-height: 1; font-family: var(--font-display, sans-serif); text-transform: uppercase; }
.im-postmark b:first-child { font-size: 26px; font-weight: 700; }
.im-postmark span { font-size: 9px; letter-spacing: .3em; margin: 2px 0; }
.im-postmark b:last-child { font-size: 15px; font-weight: 700; letter-spacing: .02em; }
.im-postmark { grid-template-rows: auto auto auto; align-content: center; }
/* Barra de progreso de la colección */
.im-album__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1.5rem; padding: .9rem 1.1rem; border-radius: 16px 16px 0 0; background: var(--pg2); color: var(--cream); }
.im-album__prog { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.im-album__count { margin: 0; font-size: 14px; }
.im-album__count strong { font-weight: 700; color: #f4e9b8; }
.im-album__dots { display: flex; gap: 5px; }
.im-album__dots i { width: 14px; height: 14px; border-radius: 2px; background: rgb(234 232 225 / .12); outline: 1.5px dotted rgb(234 232 225 / .35); outline-offset: 1px; transition: background-color .3s; }
.im-album__cta { background: #f4e9b8; color: #403d39; border-color: #f4e9b8; }
.im-album__cta:hover:not(:disabled) { background: #fff3c4; }
.im-album__cta:disabled { background: transparent; color: var(--cream); border-color: rgb(234 232 225 / .35); opacity: 1; }
.im-album__cta[hidden] { display: none; }
/* Página del clasificador: fondo oscuro con tiras transparentes */
.im-album__page { --cols: 5; overflow: hidden; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: clamp(1.2rem, 3vw, 2.2rem) 0; padding: clamp(1.4rem, 3.5vw, 2.4rem) clamp(.6rem, 2vw, 1.4rem) clamp(1.6rem, 3.5vw, 2.6rem); border-radius: 0 0 16px 16px; background: radial-gradient(120% 80% at 50% 0, #3b3632, var(--pg) 70%), var(--pg); box-shadow: inset 0 1px 0 rgb(255 255 255 / .04), 0 30px 50px -36px rgb(40 36 32 / .7); }
.im-slot { position: relative; display: flex; flex-direction: column; align-items: center; padding: 0 clamp(.5rem, 1.4vw, 1rem); }
/* Caja de la estampilla: el matasellos y el botón + se ubican respecto de ella */
.im-slot__box { position: relative; width: 100%; max-width: 168px; }
.im-slot__stamp { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 0; background: none; cursor: pointer; transform: rotate(var(--r, 0deg)); transition: transform .3s cubic-bezier(.2, .8, .2, 1), filter .3s; filter: drop-shadow(0 6px 8px rgb(0 0 0 / .35)); }
.im-slot__stamp img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 1px; }
.im-slot:nth-child(3n + 1) { --r: -1.2deg; } .im-slot:nth-child(3n + 2) { --r: .8deg; } .im-slot:nth-child(3n) { --r: -.4deg; }
.im-slot__stamp:hover { transform: translateY(-6px) rotate(0deg) scale(1.03); filter: drop-shadow(0 14px 14px rgb(0 0 0 / .45)); }
.im-slot__stamp:focus-visible { outline: 2px solid #f4e9b8; outline-offset: 4px; }
.im-slot__stamp::after { content: ""; position: absolute; left: -18%; right: -18%; top: 52%; bottom: -4%; background: linear-gradient(180deg, rgb(255 255 255 / .16), rgb(255 255 255 / .06) 30%, rgb(255 255 255 / .04)); border-top: 1px solid rgb(255 255 255 / .28); box-shadow: 0 -1px 0 rgb(0 0 0 / .2); pointer-events: none; }
.im-slot__meta { display: flex; flex-direction: column; align-items: center; gap: .1rem; margin-top: .65rem; text-align: center; color: var(--cream); }
.im-slot__n { font: 700 10.5px/1 var(--font-body, sans-serif); letter-spacing: .18em; color: var(--tone, #f4e9b8); filter: brightness(1.25) saturate(.8); }
.im-slot__name { font-family: var(--font-serif, Georgia, serif); font-style: italic; font-size: 13.5px; line-height: 1.2; opacity: .85; }
/* Agregar */
.im-slot__add { position: absolute; z-index: 3; right: -10px; bottom: -10px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #f4e9b8; color: #403d39; font: 600 20px/1 var(--font-body, sans-serif); cursor: pointer; box-shadow: 0 6px 12px -4px rgb(0 0 0 / .5); transition: transform .2s, background-color .2s; }
.im-slot__add:hover:not(:disabled) { transform: scale(1.1); background: #fff3c4; }
.im-slot__add:disabled { opacity: .35; cursor: default; }
.im-slot__add.is-busy { animation: im-spin .8s linear infinite; }
@keyframes im-spin { to { transform: rotate(360deg); } }
/* Matasellos «en tu carro» */
.im-slot__pm { position: absolute; z-index: 2; top: -14px; left: -14px; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; color: #f4e9b8; border: 2px solid currentColor; box-shadow: inset 0 0 0 3px rgb(0 0 0 / .0), inset 0 0 0 4px currentColor; background: rgb(43 40 37 / .55); backdrop-filter: blur(1px); transform: rotate(-14deg); text-align: center; line-height: 1; pointer-events: none; animation: im-stamp .35s cubic-bezier(.3, 1.6, .5, 1); }
.im-slot__pm b { font-size: 16px; font-weight: 700; }
.im-slot__pm i { font-style: normal; font-size: 7.5px; letter-spacing: .14em; text-transform: uppercase; margin-top: -6px; }
@keyframes im-stamp { from { transform: rotate(-14deg) scale(1.6); opacity: 0; } to { transform: rotate(-14deg) scale(1); opacity: 1; } }
.im-slot.is-out .im-slot__stamp img { filter: grayscale(1) brightness(.75); opacity: .55; }
.im-slot__out { position: absolute; z-index: 2; top: 38%; left: 50%; transform: translate(-50%, -50%) rotate(-8deg); padding: .2rem .6rem; border: 1.5px solid #e4b4a8; color: #f1cfc6; font: 700 11px/1 var(--font-body, sans-serif); letter-spacing: .2em; text-transform: uppercase; background: rgb(43 40 37 / .7); pointer-events: none; }
.im-album__msg { min-height: 1.4em; margin: .8rem 0 0; text-align: center; font-size: 14px; color: var(--im-ink); }
.im-album__note { margin: .2rem 0 0; text-align: center; font-size: 13px; color: var(--im-soft); }
@media (max-width: 760px) {
  .im-album__page { --cols: 2 !important; }
  .im-album__head { align-items: center; }
  .im-postmark { width: 78px; height: 78px; }
  .im-postmark b:first-child { font-size: 22px; } .im-postmark b:last-child { font-size: 13px; }
  .im-album__bar { padding: .8rem; }
  .im-album__cta { width: 100%; justify-content: center; }
}
@media (min-width: 761px) and (max-width: 980px) { .im-slot__box { max-width: 130px; } }
@media (prefers-reduced-motion: reduce) { .im-slot__pm, .im-slot__add.is-busy { animation: none; } .im-slot__stamp { transition: none; } }

/* Salto de fila calculado (filas parejas según el ancho real de cada imán) */
.im-br { flex-basis: 100%; height: 0; margin: 0; }
.im-br.is-gap { height: var(--sec-gap, 10px); }
.im-grid .im-mag { margin-block: var(--mg, 10px); }
.im-grid.im-measure .im-fx { transition: none; }

/* ===== Sin stock: gris + huincha «Sin stock · pronto nuevo stock» ===== */
.im-mag.is-out .im-art, .im-slot.is-out .im-slot__stamp img, .im-art.is-out { filter: grayscale(1) contrast(.9); opacity: .55; }
.im-mag.is-out .im-gl { opacity: .3; }
.im-tape { position: absolute; z-index: 4; left: -14%; right: -14%; top: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: .32em .4em .36em; transform: translateY(-50%) rotate(-14deg); background: rgb(244 233 184 / .94); color: #5b4a1e; font-family: var(--font-body, sans-serif); text-align: center; line-height: 1.05; box-shadow: 0 2px 5px rgb(40 36 32 / .2); pointer-events: none;
  /* bordes cortados a mano, como cinta de papel */
  clip-path: polygon(0 8%, 3% 0, 6% 10%, 9% 2%, 12% 9%, 100% 0, 97% 12%, 100% 22%, 98% 40%, 100% 58%, 97% 78%, 100% 92%, 96% 100%, 92% 92%, 88% 100%, 0 100%, 3% 86%, 0 70%, 2% 50%, 0 30%); }
.im-tape b { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.im-tape i { font-style: normal; font-size: 9px; letter-spacing: .02em; opacity: .85; }
/* estampillas chicas en el refri: huincha más compacta */
.im-mag.is-stamp .im-tape b { font-size: 9px; letter-spacing: .08em; }
.im-mag.is-stamp .im-tape i { font-size: 7.5px; }
/* detalle 3D */
.im-tape--lg { left: -8%; right: -8%; padding: .6em .5em .65em; }
.im-tape--lg b { font-size: clamp(14px, 2.2vw, 20px); }
.im-tape--lg i { font-size: clamp(11px, 1.5vw, 14px); }
.im-tape[hidden] { display: none; }
/* álbum */
.im-slot .im-tape { left: -10%; right: -10%; }
.im-slot .im-tape b { font-size: 10.5px; }
.im-slot .im-tape i { font-size: 8.5px; }
/* miniaturas del detalle */
.im-thumbs button.is-out { filter: grayscale(1); opacity: .5; }
