/* Tienda Kit Micronegocio: edición de la casa (premium). Solo se carga en /negocio-kit-micronegocio. */
body.casa { --casa-oro: #e9b75a; --casa-oro-cl: #f6dca0; --casa-marfil: #f6efe0; --casa-menta: #8fe3bd; --casa-noche: #070807; --casa-carbon: #0e100f; background: var(--casa-noche); }
.casa-hero { position: relative; isolation: isolate; overflow: hidden; text-align: center; color: #f7f4ec; padding: 36px 0 76px;
  background: radial-gradient(70% 60% at 50% 0%, rgb(233 183 90 / .16) 0%, transparent 60%), radial-gradient(90% 80% at 50% 10%, #0f2a22 0%, #0a120f 45%, var(--casa-noche) 100%); }
.casa-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgb(242 179 61 / .22) 1px, transparent 1.4px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(60% 70% at 50% 40%, #000 25%, transparent 75%); mask-image: radial-gradient(60% 70% at 50% 40%, #000 25%, transparent 75%); }
.casa-hero .detail-breadcrumb { justify-content: center; display: flex; flex-wrap: wrap; margin-bottom: 26px; }
.casa-hero .detail-breadcrumb a, .casa-hero .detail-breadcrumb span { color: rgb(230 241 237 / .78); }
.casa-orbe { position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); pointer-events: none; animation: casa-flota 16s ease-in-out infinite alternate; }
.casa-orbe.o1 { width: 420px; height: 420px; left: -140px; top: -40px; background: rgb(31 138 112 / .22); }
.casa-orbe.o2 { width: 380px; height: 380px; right: -120px; top: 140px; background: rgb(233 183 90 / .2); animation-delay: -7s; }
@keyframes casa-flota { from { transform: translate(0,0) scale(1); } to { transform: translate(36px,26px) scale(1.12); } }

.casa-logo-wrap { position: relative; width: 170px; height: 170px; margin: 0 auto 8px; display: grid; place-items: center; }
.casa-logo { width: 96px; height: 96px; border-radius: 26px; display: block; box-shadow: 0 0 0 1px rgb(255 255 255 / .25), 0 18px 50px rgb(242 179 61 / .35);
  animation: casa-entra .9s cubic-bezier(.34,1.56,.64,1) both, casa-pulso 4s ease-in-out 1s infinite; }
.casa-logo svg { width: 100%; height: 100%; display: block; }
.casa-sello { position: absolute; inset: 0; width: 100%; height: 100%; animation: casa-gira 30s linear infinite; opacity: .9; }
@keyframes casa-gira { to { rotate: 360deg; } }
@keyframes casa-pulso { 0%,100% { box-shadow: 0 0 0 1px rgb(255 255 255 / .25), 0 18px 50px rgb(242 179 61 / .3); } 50% { box-shadow: 0 0 0 1px rgb(255 255 255 / .35), 0 22px 70px rgb(242 179 61 / .55); } }
@keyframes casa-entra { from { opacity: 0; transform: scale(.6) rotate(-12deg); } to { opacity: 1; transform: none; } }
@keyframes casa-sube { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.casa-edicion { margin: 6px 0 0; font-size: .8rem; font-weight: 800; letter-spacing: .32em; text-transform: uppercase; color: var(--casa-oro); animation: casa-sube .7s cubic-bezier(.16,1,.3,1) .1s both; }
.casa-edicion::before, .casa-edicion::after { content: ""; display: inline-block; width: 34px; height: 1px; margin: 0 14px; vertical-align: middle; background: currentColor; opacity: .6; }
.casa-titulo { margin: 14px 0 10px; font-size: clamp(2.2rem, 10.5vw, 6.2rem); line-height: 1.02; font-weight: 800; letter-spacing: -.045em; white-space: nowrap; padding-bottom: .06em; }
.casa-titulo > span { position: relative; display: inline-block; }
.casa-titulo > span::after { content: ""; position: absolute; left: 3%; right: 3%; bottom: -.04em; height: .06em; border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--casa-oro) 18%, var(--casa-oro-cl) 50%, var(--casa-oro) 82%, transparent);
  transform-origin: left; animation: casa-raya 1.1s cubic-bezier(.16,1,.3,1) .85s both; }
@keyframes casa-raya { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.casa-titulo > span span { display: inline-block; color: var(--casa-marfil); text-shadow: 0 12px 48px rgb(233 183 90 / .28); animation: casa-letra .9s cubic-bezier(.16,1,.3,1) both; }
@keyframes casa-letra { from { opacity: 0; transform: translateY(.45em) rotate(5deg); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }
.casa-titulo > span span:nth-child(1) { animation-delay: 0.12s; }
.casa-titulo > span span:nth-child(2) { animation-delay: 0.16s; }
.casa-titulo > span span:nth-child(3) { animation-delay: 0.20s; }
.casa-titulo > span span:nth-child(4) { animation-delay: 0.24s; }
.casa-titulo > span span:nth-child(5) { animation-delay: 0.28s; }
.casa-titulo > span span:nth-child(6) { animation-delay: 0.32s; }
.casa-titulo > span span:nth-child(7) { animation-delay: 0.36s; }
.casa-titulo > span span:nth-child(8) { animation-delay: 0.40s; }
.casa-titulo > span span:nth-child(9) { animation-delay: 0.44s; }
.casa-titulo > span span:nth-child(10) { animation-delay: 0.48s; }
.casa-titulo > span span:nth-child(11) { animation-delay: 0.52s; }
.casa-titulo > span span:nth-child(12) { animation-delay: 0.56s; }
.casa-titulo > span span:nth-child(13) { animation-delay: 0.60s; }
.casa-titulo > span span:nth-child(14) { animation-delay: 0.64s; }
.casa-titulo > span span:nth-child(15) { animation-delay: 0.68s; }
.casa-titulo > span span:nth-child(16) { animation-delay: 0.72s; }
.casa-sub { max-width: 38rem; margin: 0 auto 22px; font-size: clamp(1.05rem, 2.3vw, 1.3rem); color: rgb(230 241 237 / .85); animation: casa-sube .8s cubic-bezier(.16,1,.3,1) .7s both; }
.casa-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; animation: casa-sube .8s cubic-bezier(.16,1,.3,1) .85s both; }
.casa-chips li { padding: 8px 16px; border-radius: 999px; font-size: .9rem; font-weight: 600; color: #f7f4ec;
  background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .18); box-shadow: inset 0 1px 0 rgb(255 255 255 / .2);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); }
.casa-chips li:last-child { border-color: rgb(242 179 61 / .55); color: var(--casa-oro-cl); }

/* Productos de la casa: negro carbón con filo dorado */
body.casa .casa-productos { position: relative; background: radial-gradient(60% 40% at 50% 0%, rgb(233 183 90 / .07), transparent 70%), var(--casa-noche); border-top: 0; padding-top: 24px; }
.casa-filo { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 auto 28px; max-width: 520px; color: var(--casa-oro); }
.casa-filo::before, .casa-filo::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgb(233 183 90 / .6)); }
.casa-filo::after { background: linear-gradient(90deg, rgb(233 183 90 / .6), transparent); }
.casa-filo span { width: 8px; height: 8px; transform: rotate(45deg); background: var(--casa-oro); box-shadow: 0 0 14px rgb(233 183 90 / .7); }
.casa-pilares { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin: 0 0 40px; padding: 0; list-style: none; color: rgb(246 239 224 / .72); font-size: .95rem; }
.casa-pilares li { display: inline-flex; align-items: center; gap: 10px; }
.casa-pilares li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--casa-oro); }
body.casa .casa-productos .market-card { border-radius: 22px; border: 1px solid rgb(233 183 90 / .22); color: var(--casa-marfil);
  background: linear-gradient(165deg, #131614 0%, var(--casa-carbon) 55%, #0a0b0a 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .06), 0 24px 60px rgb(0 0 0 / .55);
  transition: transform .4s cubic-bezier(.16,1,.3,1), border-color .4s ease, box-shadow .4s ease; }
@media (hover: hover) { body.casa .casa-productos .market-card:hover { transform: translateY(-6px); border-color: rgb(233 183 90 / .65); box-shadow: inset 0 1px 0 rgb(255 255 255 / .1), 0 30px 70px rgb(0 0 0 / .6), 0 0 0 1px rgb(233 183 90 / .15); } }
body.casa .casa-productos .market-product-image { margin: 12px 12px 0; border-radius: 14px; overflow: hidden; background: #151816; }
body.casa .casa-productos .market-card h3 a { color: var(--casa-marfil); }
body.casa .casa-productos .catalog-format { color: var(--casa-oro); letter-spacing: .04em; }
body.casa .casa-productos .catalog-requirement, body.casa .casa-productos .market-availability, body.casa .casa-productos .market-card-body > p { color: rgb(246 239 224 / .7); }
body.casa .casa-productos .market-card-bottom strong { color: #fff; font-size: 1.6rem; letter-spacing: -.02em; }
body.casa .casa-productos .btn-primary { background: linear-gradient(180deg, #f2c46c, var(--casa-oro)); border-color: var(--casa-oro); color: #1d1405; box-shadow: inset 0 1px 0 rgb(255 255 255 / .45), 0 10px 24px rgb(233 183 90 / .25); }
body.casa .casa-productos .btn-primary:hover { background: linear-gradient(180deg, #f6d08a, #efc06a); color: #1d1405; }
body.casa .casa-productos .btn-secondary { border-color: rgb(233 183 90 / .55); color: var(--casa-oro-cl); background: transparent; }
body.casa .casa-productos .btn-secondary:hover { background: rgb(233 183 90 / .1); color: var(--casa-oro-cl); }
body.casa .casa-productos .estado { color: var(--casa-oro-cl); }
body.casa .casa-productos .btn-cart { background: transparent; border: 1px solid rgb(233 183 90 / .45); color: var(--casa-oro-cl); }
body.casa .casa-productos .btn-cart:hover { background: rgb(233 183 90 / .1); color: var(--casa-oro-cl); }
body.casa .casa-productos .btn-ghost { background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .16); color: var(--casa-marfil); }
body.casa .casa-productos .btn-ghost:hover { background: rgb(255 255 255 / .12); color: #fff; }
body.casa .site-footer { background: #050605; }

@media (max-width: 700px) {
  .casa-hero { padding: 28px 0 56px; }
  .casa-logo-wrap { width: 140px; height: 140px; } .casa-logo { width: 78px; height: 78px; border-radius: 22px; }
  .casa-edicion { font-size: .7rem; letter-spacing: .24em; } .casa-edicion::before, .casa-edicion::after { width: 18px; margin: 0 8px; }
}
@media (prefers-reduced-transparency: reduce) { .casa-chips li { -webkit-backdrop-filter: none; backdrop-filter: none; background: #0f2b23; } }
@media (prefers-reduced-motion: reduce) {
  body.casa .casa-productos .market-card { transition: none; }
  body.casa .casa-productos .market-card:hover { transform: none; }
  .casa-orbe, .casa-logo, .casa-sello, .casa-edicion, .casa-titulo > span::after, .casa-titulo > span span, .casa-sub, .casa-chips { animation: none; }
}
