:root {
    --ineko-navy: #071b33;
    --ineko-navy-2: #0d2949;
    --ineko-blue: #09a9e4;
    --ineko-blue-dark: #078bc0;
    --ineko-yellow: #f6c928;
    --ineko-ink: #172235;
    --ineko-muted: #65758b;
    --ineko-line: #dce5ee;
    --ineko-soft: #f3f7fa;
    --ineko-success: #159f76;
    --ineko-warning: #c88308;
    --ineko-danger: #d94a4a;
}

body.ineko-deck-finder-page .entry-header,
body.ineko-deck-finder-page .entry-title { display: none !important; }
body.ineko-deck-finder-page #primary { margin: 0 !important; padding: 0 !important; width: 100% !important; max-width: none !important; }
body.ineko-deck-finder-page .ast-container { max-width: none !important; padding: 0 !important; }
body.ineko-deck-finder-page article.ast-article-single { padding: 0 !important; background: var(--ineko-soft) !important; }
body.ineko-deck-finder-page .entry-content { margin: 0 !important; }
body.ineko-deck-finder-page.ineko-deck-cart-active #ineko-whatsapp-trigger { bottom: 112px !important; }

.ineko-deck { background: var(--ineko-soft); color: var(--ineko-ink); min-height: 70vh; padding-bottom: 80px; }
.ineko-deck * { box-sizing: border-box; }
.ineko-deck button, .ineko-deck textarea, .ineko-deck input { font: inherit; }
.ineko-deck-hero { min-height: 345px; padding: 64px max(24px, calc((100vw - 1180px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 48px; background: radial-gradient(circle at 76% 16%, rgba(9,169,228,.24), transparent 28%), linear-gradient(125deg, #06172b 0%, #092442 62%, #0a3158 100%); color: #fff; overflow: hidden; position: relative; }
.ineko-deck-hero::after { content: ""; position: absolute; width: 360px; height: 360px; right: -170px; bottom: -240px; border: 55px solid rgba(255,255,255,.04); border-radius: 50%; }
.ineko-deck-hero-copy { position: relative; z-index: 1; max-width: 720px; }
.ineko-deck-eyebrow { display: block; color: var(--ineko-blue); font-size: 12px; font-weight: 900; letter-spacing: .16em; margin-bottom: 13px; }
.ineko-deck-hero h1 { color: #fff; font-size: clamp(38px, 5vw, 64px); line-height: 1.02; letter-spacing: -.035em; margin: 0 0 16px; max-width: 680px; }
.ineko-deck-hero p { color: #d7e4f0; font-size: 18px; line-height: 1.6; margin: 0; max-width: 680px; }
.ineko-deck-benefits { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.ineko-deck-benefits span { border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #edf7fd; padding: 7px 12px; font-size: 13px; font-weight: 700; }
.ineko-deck-benefits span::before { content: "✓"; color: var(--ineko-blue); margin-right: 7px; }
.ineko-deck-hero-mark { flex: 0 0 240px; display: flex; align-items: center; gap: 15px; position: relative; z-index: 1; }
.ineko-deck-hero-mark > span { width: 70px; height: 70px; display: grid; place-items: center; overflow: hidden; background: #e7f8ff; border: 2px solid rgba(255,255,255,.18); border-radius: 19px; box-shadow: 0 16px 35px rgba(0,0,0,.24); }
.ineko-deck-hero-mark img { display: block; width: 66px; height: 66px; object-fit: contain; }
.ineko-deck-hero-mark strong { color: #fff; font-size: 21px; line-height: 1.18; }

.ineko-deck-search-card, .ineko-deck-loader, .ineko-deck-results { width: min(1120px, calc(100% - 40px)); margin-left: auto; margin-right: auto; }
.ineko-deck-search-card { position: relative; z-index: 2; margin-top: -42px; padding: 28px; background: #fff; border: 1px solid var(--ineko-line); border-radius: 20px; box-shadow: 0 16px 40px rgba(8,31,55,.10); }
.ineko-deck-card-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; margin-bottom: 18px; }
.ineko-deck-card-heading > div, .ineko-deck-unavailable-heading > div { display: flex; align-items: center; gap: 12px; }
.ineko-deck-step { display: inline-grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; background: var(--ineko-blue); color: #fff; font-size: 13px; font-weight: 900; }
.ineko-deck-card-heading h2, .ineko-deck-unavailable-heading h2 { margin: 0; color: var(--ineko-navy); font-size: 22px; }
.ineko-deck-card-heading p { margin: 4px 0 0; color: var(--ineko-muted); font-size: 14px; }
.ineko-deck textarea { width: 100%; min-height: 190px; resize: vertical; padding: 18px; border: 1px solid #cbd8e4; border-radius: 13px; background: #fbfdff; color: var(--ineko-ink); line-height: 1.6; outline: none; transition: border-color .2s, box-shadow .2s; }
.ineko-deck textarea:focus { border-color: var(--ineko-blue); box-shadow: 0 0 0 3px rgba(9,169,228,.13); }
.ineko-deck-form-footer { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 15px; }
.ineko-deck-form-footer > span { color: var(--ineko-muted); font-size: 13px; font-weight: 700; }
.ineko-deck-primary, .ineko-deck-cart-button { border: 0; border-radius: 10px; background: var(--ineko-blue); color: #fff; font-weight: 900; text-transform: uppercase; letter-spacing: .045em; padding: 14px 24px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 14px; transition: transform .2s, background .2s; }
.ineko-deck-primary:hover, .ineko-deck-cart-button:hover { background: var(--ineko-blue-dark); transform: translateY(-1px); }
.ineko-deck-primary:disabled, .ineko-deck-cart-button:disabled { cursor: not-allowed; opacity: .56; transform: none; }
.ineko-deck-form-error { width: min(1120px, calc(100% - 40px)); margin: 14px auto 0; padding: 12px 15px; border: 1px solid #efb8b8; border-radius: 9px; background: #fff1f1; color: #9e2929; font-size: 14px; font-weight: 700; }

.ineko-deck-loader { margin-top: 26px; padding: 34px; text-align: center; background: #fff; border: 1px solid var(--ineko-line); border-radius: 20px; }
.ineko-deck-status-pill { display: inline-block; padding: 6px 10px; border-radius: 999px; background: #e8f7fd; color: var(--ineko-blue-dark); font-size: 10px; font-weight: 900; letter-spacing: .09em; }
.ineko-deck-loader img { display: block; width: min(346px, 90%); height: auto; margin: 20px auto 15px; border-radius: 13px; }
.ineko-deck-loader h2 { margin: 0 0 5px; color: var(--ineko-navy); font-size: 21px; }
.ineko-deck-loader p { margin: 0; color: var(--ineko-muted); font-size: 14px; }
.ineko-deck-loading-bar { display: block; width: min(500px, 90%); height: 7px; margin: 20px auto 0; overflow: hidden; border-radius: 9px; background: #e6edf3; }
.ineko-deck-loading-bar i { display: block; width: 35%; height: 100%; border-radius: inherit; background: var(--ineko-blue); animation: inekoDeckLoading 1.25s ease-in-out infinite alternate; }
@keyframes inekoDeckLoading { from { transform: translateX(-10%); } to { transform: translateX(190%); } }

.ineko-deck-results { margin-top: 34px; }
.ineko-deck-results-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 18px; }
.ineko-deck-results-heading h2 { margin: 0; color: var(--ineko-navy); font-size: 32px; }
.ineko-deck-link-button { border: 0; border-bottom: 1px solid currentColor; background: transparent; color: var(--ineko-blue-dark); padding: 3px 0; font-weight: 800; cursor: pointer; }
.ineko-deck-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; }
.ineko-deck-summary > div { min-height: 92px; padding: 18px; display: flex; flex-direction: column; justify-content: center; border: 1px solid var(--ineko-line); border-radius: 13px; background: #fff; }
.ineko-deck-summary strong { color: var(--ineko-navy); font-size: 27px; line-height: 1; }
.ineko-deck-summary span { margin-top: 8px; color: var(--ineko-muted); font-size: 12px; font-weight: 700; }
.ineko-deck-summary .is-warning strong { color: var(--ineko-warning); }
.ineko-deck-summary .is-missing strong { color: var(--ineko-danger); }
.ineko-deck-card-group { margin-bottom: 16px; overflow: hidden; border: 1px solid var(--ineko-line); border-radius: 16px; background: #fff; }
.ineko-deck-card-group.is-partial { border-color: #e6c77d; }
.ineko-deck-group-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 15px 18px; background: #f8fbfd; border-bottom: 1px solid var(--ineko-line); }
.ineko-deck-group-heading h3 { margin: 0 0 3px; color: var(--ineko-navy); font-size: 17px; }
.ineko-deck-group-heading div span { color: var(--ineko-muted); font-size: 12px; }
.ineko-deck-group-status { padding: 5px 9px; border-radius: 999px; background: #def6ee; color: #137858; font-size: 11px; font-weight: 900; }
.is-partial .ineko-deck-group-status { background: #fff1cf; color: #9b6200; }
.ineko-deck-item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px 18px; transition: opacity .2s; }
.ineko-deck-item + .ineko-deck-item { border-top: 1px solid #ebf0f4; }
.ineko-deck-item.is-unselected { opacity: .5; }
.ineko-deck-item-image { display: block; }
.ineko-deck-item-image img { display: block; width: 64px; height: 88px; object-fit: contain; border-radius: 6px; background: #edf2f6; }
.ineko-deck-item-copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.ineko-deck-item-request { color: var(--ineko-blue-dark); font-size: 10px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.ineko-deck-item-title { color: var(--ineko-navy) !important; font-size: 15px; font-weight: 900; line-height: 1.35; text-decoration: none !important; }
.ineko-deck-item-detail, .ineko-deck-stock { color: var(--ineko-muted); font-size: 12px; }
.ineko-deck-stock { color: var(--ineko-success); font-weight: 800; }
.ineko-deck-item-buy { min-width: 155px; display: flex; align-items: flex-end; flex-direction: column; gap: 9px; }
.ineko-deck-item-buy > strong { color: var(--ineko-navy); font-size: 16px; }
.ineko-deck-item-buy label { color: var(--ineko-muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.ineko-deck-qty { display: grid; grid-template-columns: 38px 48px 38px; height: 42px; margin-top: 5px; overflow: hidden; border: 1px solid #cad7e2; border-radius: 8px; background: #fff; }
.ineko-deck-qty button { position: relative; width: 38px !important; min-width: 38px !important; height: 40px !important; min-height: 40px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: #edf5f9 !important; color: var(--ineko-navy) !important; cursor: pointer; font-size: 0 !important; line-height: 1 !important; box-shadow: none !important; }
.ineko-deck-qty button::before, .ineko-deck-qty button[data-step="1"]::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; border-radius: 2px; background: var(--ineko-navy); transform: translate(-50%, -50%); }
.ineko-deck-qty button[data-step="1"]::after { transform: translate(-50%, -50%) rotate(90deg); }
.ineko-deck-qty button:hover { background: #dcecf4 !important; }
.ineko-deck-qty input { min-width: 0 !important; width: 48px !important; height: 40px !important; min-height: 40px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-left: 1px solid #cad7e2 !important; border-right: 1px solid #cad7e2 !important; border-radius: 0 !important; background: #fff !important; color: var(--ineko-navy) !important; text-align: center !important; font-size: 14px !important; line-height: 40px !important; font-weight: 900 !important; box-shadow: none !important; -moz-appearance: textfield; }
.ineko-deck-qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.ineko-deck-cart-bar { position: sticky; bottom: 14px; z-index: 5; margin: 24px 0; padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border: 1px solid #10365c; border-radius: 14px; background: var(--ineko-navy); color: #fff; box-shadow: 0 14px 32px rgba(4,22,42,.24); }
.ineko-deck-cart-bar > div { display: flex; flex-direction: column; }
.ineko-deck-cart-bar > div span { color: #9eb6ca; font-size: 11px; text-transform: uppercase; font-weight: 800; letter-spacing: .07em; }
.ineko-deck-cart-bar > div strong { color: #fff; margin-top: 3px; font-size: 18px; }
.ineko-deck-cart-bar.is-success { background: #0b634c; border-color: #0b634c; }
.ineko-deck-unavailable { margin-top: 36px; padding: 24px; border: 1px solid var(--ineko-line); border-radius: 16px; background: #fff; }
.ineko-deck-unavailable-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 15px; }
.ineko-deck-step-muted { background: #8090a0; }
.ineko-deck-unavailable-heading p { margin: 0; color: var(--ineko-muted); font-size: 13px; }
.ineko-deck-missing-item { display: grid; grid-template-columns: 36px minmax(0,1fr) auto; align-items: center; gap: 13px; padding: 13px 0; border-top: 1px solid #e8edf2; }
.ineko-deck-missing-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #fdeaea; color: var(--ineko-danger); font-weight: 900; }
.ineko-deck-missing-item div { display: flex; flex-direction: column; }
.ineko-deck-missing-item strong { color: var(--ineko-navy); font-size: 14px; }
.ineko-deck-missing-item div span { color: var(--ineko-muted); font-size: 12px; }
.ineko-deck-missing-item b { color: var(--ineko-danger); font-size: 12px; }

@media (max-width: 800px) {
    .ineko-deck-hero { min-height: 310px; padding-top: 48px; padding-bottom: 80px; }
    .ineko-deck-hero-mark { display: none; }
    .ineko-deck-hero h1 { font-size: 40px; }
    .ineko-deck-hero p { font-size: 16px; }
    .ineko-deck-search-card, .ineko-deck-loader, .ineko-deck-results { width: min(100% - 24px, 1120px); }
    .ineko-deck-search-card { margin-top: -50px; padding: 20px; }
    .ineko-deck-card-heading { display: block; }
    .ineko-deck-card-heading > p { margin-top: 10px; }
    .ineko-deck-summary { grid-template-columns: repeat(2, 1fr); }
    .ineko-deck-item { grid-template-columns: 58px minmax(0, 1fr); gap: 12px; padding: 14px; }
    .ineko-deck-item-image img { width: 54px; height: 75px; }
    .ineko-deck-item-buy { grid-column: 1 / -1; min-width: 0; width: 100%; flex-direction: row; align-items: center; justify-content: space-between; padding-top: 10px; border-top: 1px solid #edf1f4; }
    .ineko-deck-cart-bar { bottom: 8px; }
}

@media (max-width: 520px) {
    .ineko-deck { padding-bottom: 50px; }
    .ineko-deck-hero { padding-left: 18px; padding-right: 18px; }
    .ineko-deck-hero h1 { font-size: 34px; }
    .ineko-deck-benefits { gap: 7px; }
    .ineko-deck-benefits span { font-size: 11px; }
    .ineko-deck-form-footer, .ineko-deck-results-heading, .ineko-deck-unavailable-heading { align-items: stretch; flex-direction: column; }
    .ineko-deck-primary { width: 100%; }
    .ineko-deck-summary { gap: 8px; }
    .ineko-deck-summary > div { min-height: 82px; padding: 13px; }
    .ineko-deck-summary strong { font-size: 23px; }
    .ineko-deck-group-heading { align-items: flex-start; }
    .ineko-deck-cart-bar { align-items: stretch; flex-direction: column; }
    .ineko-deck-cart-button { width: 100%; }
    .ineko-deck-unavailable { padding: 18px 14px; }
    .ineko-deck-missing-item { grid-template-columns: 32px minmax(0,1fr); }
    .ineko-deck-missing-item b { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
    .ineko-deck-loading-bar i { animation: none; width: 100%; }
    .ineko-deck * { scroll-behavior: auto !important; transition: none !important; }
}

/* Buscador lateral disponible en el resto de la tienda. */
body.ineko-deck-drawer-open { overflow: hidden !important; }
.ineko-deck-drawer-trigger { position: fixed; z-index: 9996; top: var(--ineko-deck-trigger-top, 200px); right: 0; display: flex; align-items: center; gap: 8px; padding: 12px 10px; border: 0; border-radius: 12px 0 0 12px; background: var(--ineko-navy); color: #fff; box-shadow: 0 8px 24px rgba(4,22,42,.24); cursor: pointer; font-size: 12px; font-weight: 900; letter-spacing: .03em; writing-mode: vertical-rl; transform: rotate(180deg); transition: top .16s ease, background .2s; }
.ineko-deck-drawer-trigger:hover, .ineko-deck-drawer-trigger:focus-visible { background: var(--ineko-blue-dark); }
.ineko-deck-drawer-trigger-icon { width: 32px; height: 32px; display: grid; place-items: center; overflow: hidden; border-radius: 9px; background: #e7f8ff; transform: rotate(180deg); }
.ineko-deck-drawer-trigger-icon img { display: block; width: 30px; height: 30px; object-fit: contain; }
.ineko-deck-drawer-overlay { position: fixed; z-index: 9997; inset: 0; opacity: 0; background: rgba(3,16,31,.56); backdrop-filter: blur(2px); transition: opacity .22s ease; }
.ineko-deck-drawer-overlay.is-open { opacity: 1; }
.ineko-deck-drawer { position: fixed; z-index: 9998; top: 0; right: 0; width: min(540px, 100vw); height: 100dvh; display: flex; flex-direction: column; overflow: hidden; background: var(--ineko-soft); box-shadow: -18px 0 50px rgba(4,22,42,.24); transform: translateX(105%); visibility: hidden; transition: transform .26s ease, visibility 0s linear .26s; }
.ineko-deck-drawer.is-open { transform: translateX(0); visibility: visible; transition: transform .26s ease; }
.ineko-deck-drawer-header { flex: 0 0 auto; min-height: 76px; padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 1px solid var(--ineko-line); background: #fff; }
.ineko-deck-drawer-header > div { display: flex; align-items: center; gap: 11px; }
.ineko-deck-drawer-logo { width: 46px; height: 46px; display: grid; place-items: center; overflow: hidden; border-radius: 13px; background: #e7f8ff; border: 1px solid #c7eefd; }
.ineko-deck-drawer-logo img { display: block; width: 44px; height: 44px; object-fit: contain; }
.ineko-deck-drawer-header div div { display: flex; flex-direction: column; }
.ineko-deck-drawer-header strong { color: var(--ineko-navy); font-size: 16px; }
.ineko-deck-drawer-header div div span { color: var(--ineko-muted); font-size: 11px; }
.ineko-deck-drawer-header > button { position: relative; flex: 0 0 42px; width: 42px !important; height: 42px !important; min-height: 42px !important; margin: 0 !important; padding: 0 !important; border: 1px solid var(--ineko-line) !important; border-radius: 11px !important; background: #fff !important; color: var(--ineko-navy) !important; cursor: pointer; font-size: 0 !important; line-height: 1 !important; box-shadow: none !important; }
.ineko-deck-drawer-header > button::before, .ineko-deck-drawer-header > button::after { content: ""; position: absolute; top: 50%; left: 50%; width: 16px; height: 2px; border-radius: 2px; background: var(--ineko-navy); transform: translate(-50%, -50%) rotate(45deg); }
.ineko-deck-drawer-header > button::after { transform: translate(-50%, -50%) rotate(-45deg); }
.ineko-deck-drawer-header > button:hover { border-color: #b9c9d7 !important; background: #f4f8fb !important; }
.ineko-deck-drawer-scroll { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; }
.ineko-deck-drawer .ineko-deck { min-height: 0; padding: 16px 14px 70px; background: var(--ineko-soft); }
.ineko-deck-drawer .ineko-deck-hero { display: none; }
.ineko-deck-drawer .ineko-deck-search-card,
.ineko-deck-drawer .ineko-deck-loader,
.ineko-deck-drawer .ineko-deck-results { width: 100%; margin-left: 0; margin-right: 0; }
.ineko-deck-drawer .ineko-deck-search-card { margin-top: 0; padding: 18px; border-radius: 15px; box-shadow: 0 8px 24px rgba(8,31,55,.07); }
.ineko-deck-drawer .ineko-deck-card-heading { display: block; margin-bottom: 14px; }
.ineko-deck-drawer .ineko-deck-card-heading > p { margin-top: 9px; }
.ineko-deck-drawer .ineko-deck textarea { min-height: 155px; }
.ineko-deck-drawer .ineko-deck-form-footer { align-items: stretch; flex-direction: column; }
.ineko-deck-drawer .ineko-deck-primary { width: 100%; }
.ineko-deck-drawer .ineko-deck-loader { margin-top: 14px; padding: 22px 14px; }
.ineko-deck-drawer .ineko-deck-results { margin-top: 18px; }
.ineko-deck-drawer .ineko-deck-results-heading { align-items: flex-start; }
.ineko-deck-drawer .ineko-deck-results-heading h2 { font-size: 26px; }
.ineko-deck-drawer .ineko-deck-summary { grid-template-columns: repeat(2, 1fr); gap: 8px; }
.ineko-deck-drawer .ineko-deck-summary > div { min-height: 78px; padding: 12px; }
.ineko-deck-drawer .ineko-deck-summary strong { font-size: 22px; }
.ineko-deck-drawer .ineko-deck-item { grid-template-columns: 58px minmax(0, 1fr); gap: 11px; padding: 13px; }
.ineko-deck-drawer .ineko-deck-item-image img { width: 54px; height: 75px; }
.ineko-deck-drawer .ineko-deck-item-buy { grid-column: 1 / -1; min-width: 0; width: 100%; flex-direction: row; align-items: center; justify-content: space-between; padding-top: 9px; border-top: 1px solid #edf1f4; }
.ineko-deck-drawer .ineko-deck-cart-bar { bottom: 8px; align-items: stretch; flex-direction: column; }
.ineko-deck-drawer .ineko-deck-cart-button { width: 100%; }
.ineko-deck-drawer .ineko-deck-unavailable { padding: 18px 14px; }
.ineko-deck-drawer .ineko-deck-unavailable-heading { align-items: flex-start; flex-direction: column; }
.ineko-deck-drawer .ineko-deck-missing-item { grid-template-columns: 32px minmax(0,1fr); }
.ineko-deck-drawer .ineko-deck-missing-item b { grid-column: 2; }

@media (max-width: 700px) {
    .ineko-deck-drawer-trigger { top: auto; right: auto; left: 14px; bottom: 18px; padding: 9px 12px 9px 9px; border-radius: 999px; writing-mode: horizontal-tb; transform: none; }
    .ineko-deck-drawer-trigger-icon { transform: none; }
    .ineko-deck-drawer { width: 100vw; }
}
body.ineko-deck-drawer-open #ineko-whatsapp-trigger,
body.ineko-deck-drawer-open .ineko-whatsapp-float { display: none !important; visibility: hidden !important; pointer-events: none !important; }
