.btpc {
  --btpc-blue: #075fd2;
  --btpc-blue-dark: #061c3e;
  --btpc-blue-soft: #eaf3ff;
  --btpc-green: #16834f;
  --btpc-red: #a82b2b;
  --btpc-amber: #8a5900;
  --btpc-ink: #10213d;
  --btpc-muted: #66758a;
  --btpc-line: #dbe5f1;
  --btpc-surface: #fff;
  --btpc-bg: #f4f7fb;
  color: var(--btpc-ink);
  background: var(--btpc-bg);
  margin-top: -1.5rem;
  padding-bottom: 56px;
}

.btpc *, .btpc *::before, .btpc *::after { box-sizing: border-box; }
.btpc button, .btpc input, .btpc select { font: inherit; }
.btpc button { -webkit-tap-highlight-color: transparent; }
.btpc-shell { width: min(1460px, calc(100% - 40px)); margin: 0 auto; }
.btpc-visually-hidden { position: absolute!important; width: 1px!important; height: 1px!important; padding: 0!important; margin: -1px!important; overflow: hidden!important; clip: rect(0,0,0,0)!important; white-space: nowrap!important; border: 0!important; }

.btpc-hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: linear-gradient(118deg, #061b3b 0%, #083f91 52%, #0874eb 100%); }
.btpc-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .32; background-image: linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px); background-size: 46px 46px; mask-image: linear-gradient(to right,transparent,#000 32%,#000); }
.btpc-hero-glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(5px); }
.btpc-hero-glow-one { width: 440px; height: 440px; right: 5%; top: -260px; background: rgba(73,164,255,.58); }
.btpc-hero-glow-two { width: 260px; height: 260px; right: 30%; bottom: -220px; background: rgba(46,128,255,.36); }
.btpc-hero-inner { min-height: 310px; display: flex; align-items: center; justify-content: space-between; gap: 38px; padding-top: 58px; padding-bottom: 58px; }
.btpc-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #9acbff; font-size: 12px; font-weight: 900; letter-spacing: 2.2px; }
.btpc-eyebrow::before { content: ""; width: 28px; height: 2px; background: #48a3ff; }
.btpc-hero h1 { color: #fff; max-width: 780px; margin: 12px 0 12px; font-size: clamp(36px, 5vw, 64px); line-height: .98; letter-spacing: -2.3px; }
.btpc-hero p { max-width: 760px; margin: 0; color: #dceaff; font-size: 17px; line-height: 1.6; }
.btpc-hero-pills { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 23px; }
.btpc-hero-pills span { padding: 8px 12px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; background: rgba(255,255,255,.09); color: #fff; font-size: 12px; font-weight: 700; backdrop-filter: blur(4px); }

.btpc-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 17px; border: 1px solid transparent; border-radius: 11px; font-weight: 800; line-height: 1.15; cursor: pointer; transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease; }
.btpc-button:hover { transform: translateY(-1px); }
.btpc-button:focus-visible, .btpc-product:focus-visible, .btpc-step:focus-visible, .btpc-qty button:focus-visible { outline: 3px solid rgba(28,123,237,.28); outline-offset: 2px; }
.btpc-button:disabled { opacity: .48; cursor: not-allowed; transform: none; box-shadow: none; }
.btpc-button-primary { color: #fff; background: var(--btpc-blue); box-shadow: 0 8px 18px rgba(7,95,210,.19); }
.btpc-button-primary:hover { color: #fff; background: #064fab; }
.btpc-button-soft { color: #174d91; border-color: #c8d9ee; background: #fff; }
.btpc-button-soft:hover { color: #0a4d9e; border-color: #82ace0; background: #f5f9ff; }
.btpc-button-ghost { min-width: 170px; flex: 0 0 auto; color: #fff; border-color: rgba(255,255,255,.38); background: rgba(255,255,255,.1); }
.btpc-button-ghost:hover { color: #fff; background: rgba(255,255,255,.18); }
.btpc-button-whatsapp { color: #fff; background: #18a75c; box-shadow: 0 8px 18px rgba(24,167,92,.18); }
.btpc-button-whatsapp:hover { color: #fff; background: #128348; }
.btpc-button-wide { width: 100%; }

.btpc-stepbar-wrap { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--btpc-line); box-shadow: 0 4px 16px rgba(28,55,93,.05); backdrop-filter: blur(12px); }
.btpc-stepbar { display: grid; grid-template-columns: repeat(8, minmax(90px,1fr)); min-width: 820px; }
.btpc-stepbar-wrap .btpc-shell { overflow-x: auto; scrollbar-width: thin; }
.btpc-step { position: relative; display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 67px; padding: 12px 8px; border: 0; background: transparent; color: #78869a; font-size: 12px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.btpc-step::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: transparent; }
.btpc-step-index { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: #edf2f8; color: #637186; font-size: 11px; }
.btpc-step.is-active { color: var(--btpc-blue); }
.btpc-step.is-active::after { background: var(--btpc-blue); }
.btpc-step.is-active .btpc-step-index { color: var(--btpc-blue); background: #dcecff; }
.btpc-step.is-done { color: var(--btpc-green); }
.btpc-step.is-done .btpc-step-index { color: var(--btpc-green); background: #dff6e9; }

.btpc-layout { display: grid; grid-template-columns: minmax(0,1fr) 390px; gap: 22px; align-items: start; padding-top: 30px; }
.btpc-main { min-width: 0; padding: 27px; border: 1px solid var(--btpc-line); border-radius: 20px; background: var(--btpc-surface); box-shadow: 0 12px 36px rgba(26,56,98,.07); }
.btpc-stage-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.btpc-stage-number { display: block; color: var(--btpc-blue); font-size: 11px; font-weight: 900; letter-spacing: 1.55px; }
.btpc-stage-head h2 { margin: 6px 0 5px; color: var(--btpc-ink); font-size: clamp(23px, 3vw, 30px); line-height: 1.15; }
.btpc-stage-head p { max-width: 760px; margin: 0; color: var(--btpc-muted); font-size: 14px; line-height: 1.5; }
.btpc-count { flex: 0 0 auto; padding: 7px 11px; border: 1px solid #c9def9; border-radius: 999px; color: #185aab; background: var(--btpc-blue-soft); font-size: 11px; font-weight: 800; white-space: nowrap; }

.btpc-toolbar { display: grid; grid-template-columns: minmax(240px,1fr) 160px auto; gap: 10px; align-items: center; margin-bottom: 16px; }
.btpc-search { position: relative; display: block; margin: 0; }
.btpc-search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: #72839a; stroke-width: 2; stroke-linecap: round; }
.btpc-search input, .btpc-toolbar select { width: 100%; height: 46px; margin: 0; border: 1px solid #cad8e9; border-radius: 11px; color: #223550; background: #fff; box-shadow: none; }
.btpc-search input { padding: 0 14px 0 43px; }
.btpc-toolbar select { padding: 0 34px 0 12px; }
.btpc-search input:focus, .btpc-toolbar select:focus { outline: 0; border-color: #6ba4e9; box-shadow: 0 0 0 3px rgba(43,126,226,.1); }
.btpc-check { display: flex; align-items: center; gap: 8px; min-height: 46px; margin: 0; padding: 0 12px; border: 1px solid #d4e0ee; border-radius: 11px; color: #53657d; background: #f8fbff; font-size: 12px; font-weight: 700; white-space: nowrap; }
.btpc-check input { width: 17px; height: 17px; margin: 0; accent-color: var(--btpc-blue); }

.btpc-special { margin-bottom: 13px; }
.btpc-special:empty { display: none; }
.btpc-special-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%; padding: 14px 16px; border: 1px solid #c9def8; border-radius: 13px; color: #21436d; background: #f5f9ff; text-align: left; }
button.btpc-special-card { cursor: pointer; }
.btpc-special-card.is-selected { border: 2px solid var(--btpc-blue); background: #eaf3ff; }
.btpc-special-card.is-warning { border-color: #efc36e; color: #805300; background: #fff8e8; }
.btpc-special-card strong { display: block; margin-bottom: 3px; font-size: 13px; }
.btpc-special-card small { display: block; color: inherit; font-size: 11px; line-height: 1.45; }
.btpc-special-card > b { flex: 0 0 auto; color: inherit; font-size: 12px; }

.btpc-products { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; min-height: 420px; align-content: start; }
.btpc-group-title { grid-column: 1/-1; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 5px; padding: 9px 12px; border-radius: 10px; color: #174b9b; background: #edf5ff; font-size: 12px; font-weight: 900; }
.btpc-group-title small { color: #6d7e95; font-weight: 600; }
.btpc-product { position: relative; display: grid; grid-template-columns: 92px minmax(0,1fr); min-height: 164px; padding: 12px; border: 1px solid #dce6f2; border-radius: 16px; color: #172640; background: #fff; text-align: left; cursor: pointer; box-shadow: 0 5px 15px rgba(25,55,100,.045); transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, opacity .16s ease; overflow: hidden; }
.btpc-product:hover { transform: translateY(-2px); border-color: #79aceb; box-shadow: 0 12px 25px rgba(24,72,135,.11); }
.btpc-product.is-selected { border: 2px solid var(--btpc-blue); background: #f5f9ff; box-shadow: 0 0 0 3px rgba(11,109,229,.08); }
.btpc-product.is-blocked { opacity: .58; cursor: not-allowed; background: #f8fafc; }
.btpc-product.is-blocked:hover { transform: none; border-color: #dce6f2; box-shadow: 0 5px 15px rgba(25,55,100,.045); }
.btpc-product-image { position: relative; display: grid; place-items: center; width: 80px; height: 80px; border: 1px solid #edf2f7; border-radius: 12px; background: #fff; overflow: hidden; }
.btpc-product-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.btpc-product-check { position: absolute; top: 7px; right: 7px; display: none; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #fff; background: var(--btpc-blue); font-size: 13px; font-weight: 900; box-shadow: 0 3px 8px rgba(7,95,210,.25); }
.btpc-product.is-selected .btpc-product-check { display: grid; }
.btpc-product-body { min-width: 0; padding: 2px 4px 0 9px; }
.btpc-product-name { display: block; min-height: 38px; padding-right: 18px; color: #172640; font-size: 13px; font-weight: 850; line-height: 1.35; }
.btpc-product-price { display: block; margin-top: 7px; color: #0b55b5; font-size: 18px; font-weight: 900; line-height: 1.1; }
.btpc-product-meta { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.btpc-badge { display: inline-flex; align-items: center; min-height: 23px; padding: 4px 7px; border-radius: 999px; color: #225b9c; background: #eaf3ff; font-size: 10px; font-weight: 800; line-height: 1.1; }
.btpc-badge.is-stock { color: #19713a; background: #e8f7ee; }
.btpc-badge.is-warning { color: #895a00; background: #fff1d8; }
.btpc-product-note { grid-column: 1/-1; margin-top: 9px; padding: 8px 3px 0; border-top: 1px solid #edf1f6; color: var(--btpc-amber); font-size: 10px; font-weight: 700; line-height: 1.35; }
.btpc-product-note.is-error { color: var(--btpc-red); }
.btpc-product-link { position: absolute; left: 13px; bottom: 12px; z-index: 2; color: #2867ad; font-size: 10px; font-weight: 800; text-decoration: none; }
.btpc-product-link:hover { color: #0a4f9f; text-decoration: underline; }

.btpc-loading, .btpc-empty { grid-column: 1/-1; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; align-content: center; gap: 7px; min-height: 360px; padding: 35px; border: 1px dashed #c4d3e5; border-radius: 16px; color: #6a7b90; background: #f9fbfe; text-align: center; }
.btpc-loading span { width: 9px; height: 9px; border-radius: 50%; background: var(--btpc-blue); animation: btpc-bounce 1s infinite ease-in-out; }
.btpc-loading span:nth-child(2) { animation-delay: .14s; }
.btpc-loading span:nth-child(3) { animation-delay: .28s; }
.btpc-loading strong { flex-basis: 100%; margin-top: 10px; color: #38506e; font-size: 13px; }
.btpc-empty strong { display: block; width: 100%; margin-bottom: 5px; color: #243852; font-size: 17px; }
.btpc-empty p { max-width: 560px; margin: 0; color: #6a7b90; font-size: 13px; line-height: 1.5; }
@keyframes btpc-bounce { 0%,70%,100%{transform:translateY(0);opacity:.45}35%{transform:translateY(-7px);opacity:1} }

.btpc-qty { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.btpc-qty button { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid #b7cae4; border-radius: 9px; color: var(--btpc-blue); background: #fff; font-size: 19px; font-weight: 900; cursor: pointer; }
.btpc-qty button:disabled { opacity: .4; cursor: not-allowed; }
.btpc-qty b { min-width: 24px; color: var(--btpc-ink); text-align: center; }
.btpc-qty.is-small { gap: 5px; margin-top: 6px; }
.btpc-qty.is-small button { width: 24px; height: 24px; font-size: 15px; }
.btpc-qty.is-small b { min-width: 17px; font-size: 11px; }

.btpc-stage-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid #edf2f7; }
.btpc-summary { position: sticky; top: 86px; overflow: hidden; border: 1px solid var(--btpc-line); border-radius: 20px; background: #fff; box-shadow: 0 14px 38px rgba(20,57,105,.1); }
.btpc-summary-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 20px 16px; border-bottom: 1px solid #e7edf5; background: linear-gradient(145deg,#fff,#f7faff); }
.btpc-summary-head span:first-child { color: #6d7d91; font-size: 10px; font-weight: 900; letter-spacing: 1.2px; }
.btpc-summary-head h2 { margin: 4px 0 0; color: var(--btpc-ink); font-size: 20px; }
.btpc-live { padding: 5px 8px; border-radius: 999px; color: #19713a!important; background: #e8f7ee; font-size: 9px!important; letter-spacing: .5px!important; }
.btpc-summary-line { display: grid; grid-template-columns: 35px minmax(0,1fr) auto; align-items: center; gap: 9px; min-height: 59px; padding: 9px 18px; border-bottom: 1px solid #eef2f7; }
.btpc-summary-line.is-missing { opacity: .54; }
.btpc-summary-line.is-extra { background: #f9fcff; }
.btpc-summary-thumb { display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid #e3ebf5; border-radius: 9px; background: #f4f8fd; overflow: hidden; font-size: 17px; }
.btpc-summary-thumb img { width: 100%; height: 100%; object-fit: contain; }
.btpc-summary-info { min-width: 0; }
.btpc-summary-info strong { display: -webkit-box; overflow: hidden; color: #253750; font-size: 11px; line-height: 1.25; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.btpc-summary-info small { display: block; margin-top: 2px; color: #8793a2; font-size: 9px; line-height: 1.3; }
.btpc-summary-info > button { padding: 0; border: 0; color: var(--btpc-blue); background: transparent; font-size: 9px; font-weight: 700; cursor: pointer; }
.btpc-summary-price { color: #23456d; font-size: 10px; font-weight: 850; white-space: nowrap; }
.btpc-status { margin: 13px 18px; padding: 11px; border-radius: 11px; color: #865800; background: #fff4dc; font-size: 10px; line-height: 1.5; }
.btpc-status.is-ready { color: #176c39; background: #e9f8ef; }
.btpc-status.is-error { color: #9d2a21; background: #fff0ef; }
.btpc-totals { padding: 0 19px 11px; }
.btpc-total-row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; color: #66758a; font-size: 11px; }
.btpc-total-row.is-total { margin-top: 4px; padding-top: 10px; border-top: 1px solid #e8eef5; color: var(--btpc-ink); font-size: 18px; font-weight: 900; }
.btpc-total-row.is-transfer { color: #157749; font-size: 12px; font-weight: 850; }
.btpc-summary-actions { display: grid; gap: 8px; padding: 0 18px 4px; }
.btpc-summary-small { margin: 10px 19px 18px; color: #8a97a8; font-size: 9px; line-height: 1.45; }
.btpc-important { display: flex; align-items: flex-start; gap: 13px; margin-top: 22px; padding: 17px 19px; border: 1px solid #cfdceb; border-radius: 15px; color: #596a80; background: #fff; box-shadow: 0 7px 22px rgba(28,55,93,.045); }
.btpc-important > span { display: grid; place-items: center; flex: 0 0 auto; width: 27px; height: 27px; border-radius: 50%; color: #fff; background: var(--btpc-blue); font-weight: 900; }
.btpc-important p { margin: 2px 0 0; font-size: 12px; line-height: 1.55; }
.btpc-important a { color: var(--btpc-blue); font-weight: 800; }
.btpc-toast { position: fixed; z-index: 2000; left: 50%; bottom: 24px; max-width: min(460px,calc(100% - 28px)); padding: 11px 16px; border-radius: 999px; color: #fff; background: #10213d; box-shadow: 0 10px 28px rgba(0,0,0,.22); font-size: 12px; font-weight: 750; opacity: 0; pointer-events: none; transform: translate(-50%,18px); transition: opacity .2s ease, transform .2s ease; }
.btpc-toast.is-visible { opacity: 1; transform: translate(-50%,0); }

@media (max-width: 1180px) {
  .btpc-layout { grid-template-columns: minmax(0,1fr) 330px; }
  .btpc-products { grid-template-columns: 1fr; }
  .btpc-toolbar { grid-template-columns: 1fr 155px; }
  .btpc-check { grid-column: 1/-1; }
}

@media (max-width: 860px) {
  .btpc { margin-top: -1rem; padding-bottom: 35px; }
  .btpc-shell { width: min(100% - 24px,1460px); }
  .btpc-hero-inner { min-height: 0; align-items: flex-start; flex-direction: column; padding-top: 42px; padding-bottom: 42px; }
  .btpc-hero h1 { letter-spacing: -1.5px; }
  .btpc-hero p { font-size: 15px; }
  .btpc-button-ghost { width: 100%; }
  .btpc-stepbar-wrap { top: 0; }
  .btpc-stepbar-wrap .btpc-shell { width: 100%; padding: 0 12px; }
  .btpc-stepbar { min-width: 760px; }
  .btpc-layout { grid-template-columns: 1fr; padding-top: 17px; }
  .btpc-main { padding: 18px 15px; border-radius: 16px; }
  .btpc-stage-head { flex-direction: column; gap: 10px; }
  .btpc-count { white-space: normal; }
  .btpc-summary { position: static; border-radius: 16px; }
  .btpc-stage-actions { position: sticky; z-index: 10; bottom: 0; margin-left: -15px; margin-right: -15px; padding: 12px 15px; border-top: 1px solid #dbe5f1; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); }
}

@media (max-width: 600px) {
  .btpc-shell { width: min(100% - 16px,1460px); }
  .btpc-hero-inner { padding-top: 34px; padding-bottom: 34px; }
  .btpc-hero h1 { font-size: 38px; }
  .btpc-hero-pills { gap: 6px; }
  .btpc-hero-pills span { padding: 6px 9px; font-size: 10px; }
  .btpc-toolbar { grid-template-columns: 1fr; }
  .btpc-check { grid-column: auto; align-items: flex-start; white-space: normal; padding-top: 11px; padding-bottom: 11px; }
  .btpc-products { min-height: 340px; }
  .btpc-product { grid-template-columns: 82px minmax(0,1fr); min-height: 158px; }
  .btpc-product-image { width: 72px; height: 72px; }
  .btpc-stage-actions .btpc-button { flex: 1; padding-left: 9px; padding-right: 9px; font-size: 12px; }
  .btpc-special-card { align-items: flex-start; flex-direction: column; }
  .btpc-special-card > b, .btpc-special-card > .btpc-qty { align-self: stretch; justify-content: center; }
  .btpc-important { margin-top: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .btpc *, .btpc *::before, .btpc *::after { scroll-behavior: auto!important; animation-duration: .01ms!important; animation-iteration-count: 1!important; transition-duration: .01ms!important; }
}
