:root {
  --od-ink: #201326;
  --od-heading: #530d7d;
  --od-accent: #a000b8;
  --od-soft: #f7f3f9;
  --od-line: rgba(45, 29, 53, .12);
  --od-muted: #6f6874;
}

html { scroll-behavior: smooth; }
.tm-icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.tm-icon { width: 1.25rem; height: 1.25rem; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tm-on-demand-page { margin: 0; background: #fff; color: var(--od-ink); }
.tm-on-demand-page .tm-store-header { background: rgba(255, 255, 255, .94); backdrop-filter: blur(18px); }
.tm-on-demand-page .tm-header-inner { width: min(1380px, calc(100% - 48px)); min-height: 78px; margin: 0 auto; display: flex; align-items: center; gap: 28px; }
.tm-on-demand-page .tm-header-brand { display: flex; align-items: center; width: auto; min-width: 100px; }
.tm-on-demand-page .tm-header-brand img { display: block; width: auto; height: 54px; max-width: 150px; object-fit: contain; }
.tm-on-demand-page .tm-desktop-links { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.tm-on-demand-page .tm-desktop-links a { position: relative; color: #343038; font-size: 14px; font-weight: 750; text-decoration: none; white-space: nowrap; }
.tm-on-demand-page .tm-desktop-links a[aria-current="page"] { color: var(--od-accent); }
.tm-on-demand-page .tm-desktop-links a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 2px; border-radius: 2px; background: var(--od-accent); }
.tm-header-contact { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 12px; background: var(--od-heading); color: #fff; font-size: 13px; font-weight: 850; text-decoration: none; }
.tm-header-contact .tm-icon { width: 19px; height: 19px; }

.tm-on-demand-main { width: min(1380px, calc(100% - 48px)); margin: 0 auto; padding: 28px 0 88px; }
.tm-pidelo-hero { position: relative; min-height: 570px; overflow: hidden; border: 1px solid var(--od-line); border-radius: 32px; background: #edf4ff; box-shadow: 0 34px 90px -62px rgba(41, 22, 51, .78); }
.tm-pidelo-hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.tm-pidelo-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.96) 34%, rgba(255,255,255,.64) 52%, rgba(255,255,255,.04) 78%); }
.tm-pidelo-hero-content { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; min-height: 570px; width: min(610px, 56%); padding: clamp(42px, 6vw, 82px); }
.tm-pidelo-eyebrow { margin: 0; color: var(--od-accent); font-size: 13px; font-weight: 900; letter-spacing: .16em; line-height: 1.2; text-transform: uppercase; }
.tm-pidelo-hero h1 { max-width: 590px; margin: 18px 0 0; color: var(--od-heading); font-size: clamp(44px, 5.3vw, 76px); font-weight: 900; letter-spacing: -.065em; line-height: .96; }
.tm-pidelo-lead { max-width: 560px; margin: 24px 0 0; color: #5e5763; font-size: 17px; line-height: 1.65; }
.tm-on-demand-hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 28px; }
.tm-on-demand-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 20px; border: 1px solid transparent; border-radius: 13px; font-family: inherit; font-size: 14px; font-weight: 850; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.tm-on-demand-btn:hover { transform: translateY(-1px); }
.tm-on-demand-btn.is-primary { background: var(--od-heading); color: #fff; box-shadow: 0 15px 30px -20px rgba(83, 13, 125, .9); }
.tm-on-demand-btn.is-primary:hover { background: #68008a; }
.tm-on-demand-btn.is-light { border-color: rgba(55, 42, 63, .15); background: rgba(255,255,255,.78); color: #37303c; backdrop-filter: blur(9px); }
.tm-on-demand-btn.is-dark { background: #201326; color: #fff; }
.tm-on-demand-btn:disabled { opacity: .55; cursor: wait; }
.tm-on-demand-btn .tm-icon { width: 19px; height: 19px; }
.tm-pidelo-benefits { display: flex; flex-wrap: wrap; gap: 12px 18px; margin-top: 27px; }
.tm-pidelo-benefits > span { display: inline-flex; align-items: center; gap: 6px; color: #504851; font-size: 12px; font-weight: 800; }
.tm-pidelo-benefits .tm-icon { width: 18px; height: 18px; color: var(--od-accent); }
.tm-pidelo-image-note { position: absolute; z-index: 3; right: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 15px; border: 1px solid rgba(255,255,255,.7); border-radius: 999px; background: rgba(255,255,255,.9); box-shadow: 0 12px 30px -20px rgba(24, 33, 52, .75); color: var(--od-heading); font-size: 13px; font-weight: 850; backdrop-filter: blur(12px); }
.tm-pidelo-image-note .tm-icon { width: 20px; height: 20px; color: var(--od-accent); }

.tm-pidelo-ideas { padding: clamp(64px, 8vw, 104px) 0; }
.tm-pidelo-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 42px; margin-bottom: 28px; }
.tm-pidelo-section-heading h2, .tm-pidelo-process h2, .tm-pidelo-conversation h2 { margin: 10px 0 0; color: var(--od-ink); font-size: clamp(32px, 4vw, 52px); font-weight: 900; letter-spacing: -.05em; line-height: 1.02; }
.tm-pidelo-section-heading > p { max-width: 460px; margin: 0; color: var(--od-muted); font-size: 16px; line-height: 1.55; }
.tm-pidelo-idea-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.tm-pidelo-idea-grid a { display: flex; min-height: 190px; flex-direction: column; padding: 23px; border: 1px solid var(--od-line); border-radius: 21px; background: #fff; color: var(--od-ink); text-decoration: none; box-shadow: 0 20px 45px -40px rgba(38, 20, 47, .7); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.tm-pidelo-idea-grid a:hover { transform: translateY(-4px); border-color: rgba(160, 0, 184, .26); box-shadow: 0 27px 50px -38px rgba(83, 13, 125, .55); }
.tm-pidelo-idea-grid .tm-icon { width: 48px; height: 48px; margin-bottom: auto; padding: 12px; border-radius: 14px; background: var(--od-soft); color: var(--od-accent); }
.tm-pidelo-idea-grid strong { margin-top: 26px; font-size: 17px; font-weight: 900; }
.tm-pidelo-idea-grid small { margin-top: 6px; color: var(--od-muted); font-size: 13px; line-height: 1.45; }

.tm-pidelo-process { display: grid; grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr); gap: clamp(42px, 7vw, 100px); padding: clamp(42px, 6vw, 76px); overflow: hidden; border-radius: 30px; background: #211128; color: #fff; }
.tm-pidelo-process-intro > p:last-child { max-width: 480px; margin: 20px 0 0; color: rgba(255,255,255,.66); font-size: 16px; line-height: 1.65; }
.tm-pidelo-process h2 { color: #fff; }
.tm-pidelo-process-list { display: grid; gap: 0; }
.tm-pidelo-process-list article { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.11); }
.tm-pidelo-process-list article:first-child { padding-top: 0; }
.tm-pidelo-process-list article:last-child { padding-bottom: 0; border-bottom: 0; }
.tm-pidelo-process-list article > .tm-icon { width: 50px; height: 50px; padding: 12px; border: 1px solid rgba(255,255,255,.13); border-radius: 15px; background: rgba(255,255,255,.07); color: #ee9cff; }
.tm-pidelo-process-list h3 { margin: 2px 0 0; font-size: 17px; font-weight: 850; }
.tm-pidelo-process-list p { margin: 7px 0 0; color: rgba(255,255,255,.64); font-size: 14px; line-height: 1.55; }

.tm-pidelo-conversation { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px; margin-top: clamp(64px, 8vw, 104px); padding: clamp(30px, 4vw, 52px); border: 1px solid rgba(83, 13, 125, .13); border-radius: 28px; background: linear-gradient(135deg, #fbf7fc, #f4f7ff); }
.tm-pidelo-conversation-mark { display: grid; width: 78px; height: 78px; place-items: center; border-radius: 23px; background: #fff; box-shadow: 0 18px 40px -30px rgba(83, 13, 125, .65); color: var(--od-accent); }
.tm-pidelo-conversation-mark .tm-icon { width: 34px; height: 34px; }
.tm-pidelo-conversation h2 { max-width: 780px; font-size: clamp(27px, 3vw, 42px); }
.tm-pidelo-conversation div > p:last-child { max-width: 760px; margin: 14px 0 0; color: var(--od-muted); font-size: 15px; line-height: 1.6; }

.tm-pidelo-catalog h1 { color: var(--od-heading); font-size: clamp(26px, 4vw, 42px); font-weight: 900; line-height: 1.15; }
.tm-on-demand-toolbar { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 26px; padding: 12px; border: 1px solid var(--od-line); border-radius: 18px; background: var(--od-soft); }
.tm-on-demand-toolbar input, .tm-on-demand-toolbar select, .tm-request-form input, .tm-request-form textarea { width: 100%; min-height: 50px; border: 1px solid #ddd5e1; border-radius: 12px; padding: 12px 14px; background: #fff; color: var(--od-ink); font: inherit; }
.tm-on-demand-toolbar input { flex: 1 1 300px; }
.tm-on-demand-toolbar select { flex: 0 1 240px; }
.tm-pidelo-empty { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; padding: 28px; border: 1px dashed rgba(83, 13, 125, .2); border-radius: 22px; background: #fcfafd; }
.tm-pidelo-empty > .tm-icon { width: 58px; height: 58px; padding: 14px; border-radius: 17px; background: var(--od-soft); color: var(--od-accent); }
.tm-pidelo-empty h3 { margin: 0; font-size: 18px; font-weight: 900; }
.tm-pidelo-empty p { margin: 6px 0 0; color: var(--od-muted); font-size: 14px; }

.tm-on-demand-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tm-on-demand-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #e7dced; border-radius: 22px; background: #fff; box-shadow: 0 14px 35px rgba(48,18,64,.07); color: var(--od-ink); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.tm-on-demand-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(76,14,106,.13); }
.tm-on-demand-media { position: relative; aspect-ratio: 1.08; background: #f5eff8; }
.tm-on-demand-media img { width: 100%; height: 100%; object-fit: contain; }
.tm-on-demand-chip { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 5px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.7); border-radius: 999px; background: rgba(64,8,91,.9); color: #fff; font-size: 12px; font-weight: 900; box-shadow: 0 6px 18px rgba(45,4,68,.2); }
.tm-on-demand-card-body { display: flex; flex: 1; min-width: 0; flex-direction: column; padding: 16px; }
.tm-on-demand-card-body h3 { font-size: 16px; font-weight: 900; line-height: 1.25; color: #8b00a5; overflow-wrap: anywhere; }
.tm-on-demand-meta { margin-top: 7px; color: #736878; font-size: 13px; }
.tm-on-demand-status { display: flex; align-items: center; gap: 6px; margin-top: 13px; color: #405a4a; font-size: 13px; font-weight: 800; }
.tm-on-demand-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #36a84a; }
.tm-on-demand-price { margin-top: auto; padding-top: 16px; font-size: 24px; font-weight: 900; }
.tm-on-demand-link { margin-top: 13px; padding: 12px; border-radius: 12px; background: #9900ad; color: #fff; text-align: center; font-weight: 900; }

.tm-request-form { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.tm-request-form .full { grid-column: 1 / -1; }
.tm-request-result { min-height: 24px; margin-top: 10px; font-weight: 800; }
.tm-request-result.ok { color: #17752c; }
.tm-request-result.error { color: #b42318; }
.tm-on-demand-detail { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(320px,.95fr); gap: 32px; align-items: start; }
.tm-on-demand-detail-media { overflow: hidden; border-radius: 28px; background: #f5eff8; }
.tm-on-demand-detail-media img { display: block; width: 100%; aspect-ratio: 1.1; object-fit: contain; }
.tm-on-demand-product-page .tm-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: 6px 0;
}
.tm-on-demand-product-page .tm-header-brand img { display: block; width: 48px; height: 48px; object-fit: contain; }
.tm-on-demand-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--od-line);
  border-radius: 12px;
  color: var(--od-heading);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}
.tm-on-demand-back .material-symbols-outlined { font-size: 18px; }
.tm-section.tm-on-demand-product-main { padding-top: 24px; padding-bottom: 64px; }
.tm-on-demand-product-page .tm-on-demand-detail-media { background: #fff; }
.tm-on-demand-product-info h1 {
  margin-top: 10px;
  color: var(--od-ink);
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: 1.12;
  overflow-wrap: anywhere;
}
.tm-on-demand-product-info .tm-on-demand-price { display: block; padding-top: 8px; font-size: clamp(25px, 4vw, 34px); }
.tm-on-demand-whatsapp { width: 100%; }
.tm-on-demand-product-specs { margin-top: 16px; overflow-wrap: anywhere; }
.tm-on-demand-product-specs h2, .tm-on-demand-product-request h2 { margin-bottom: 12px; font-size: 19px; font-weight: 900; }
.tm-on-demand-product-request { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--od-line); }
.tm-on-demand-panel { padding: 22px; border: 1px solid #eadff0; border-radius: 24px; background: #fff; box-shadow: 0 20px 50px rgba(57,17,76,.08); }
.tm-on-demand-panel h1 { overflow-wrap: anywhere; }
.tm-on-demand-notice { margin: 16px 0; padding: 16px; border-radius: 16px; background: #f5eafb; color: #5c286f; line-height: 1.55; }

.tm-pidelo-footer { width: min(1380px, calc(100% - 48px)); margin: 0 auto; padding: 32px 0 42px; border-top: 1px solid var(--od-line); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.tm-pidelo-footer > div { display: flex; align-items: center; gap: 15px; }
.tm-pidelo-footer img { width: 56px; height: 56px; object-fit: contain; }
.tm-pidelo-footer p { margin: 0; color: var(--od-muted); font-size: 13px; }
.tm-pidelo-footer nav { display: flex; gap: 22px; }
.tm-pidelo-footer a { color: #514a55; font-size: 13px; font-weight: 750; text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 1080px) {
  .tm-pidelo-hero-content { width: min(630px, 68%); }
  .tm-pidelo-hero-shade { background: linear-gradient(90deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.95) 45%, rgba(255,255,255,.45) 72%, rgba(255,255,255,.05)); }
  .tm-pidelo-idea-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tm-on-demand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .tm-on-demand-page .tm-header-inner, .tm-on-demand-main, .tm-pidelo-footer { width: min(100% - 32px, 1380px); }
  .tm-on-demand-page .tm-desktop-links { display: none; }
  .tm-header-contact { margin-left: auto; }
  .tm-pidelo-hero { display: flex; min-height: 0; flex-direction: column; }
  .tm-pidelo-hero-media { position: relative; height: auto; aspect-ratio: 1.65; object-position: 55% center; order: 0; }
  .tm-pidelo-hero-shade { display: none; }
  .tm-pidelo-hero-content { width: auto; min-height: 0; padding: 34px 28px 31px; order: 1; background: linear-gradient(145deg, #fff, #fbf8fc); }
  .tm-pidelo-hero h1 { font-size: clamp(38px, 8vw, 58px); }
  .tm-pidelo-image-note { top: 18px; right: 18px; bottom: auto; }
  .tm-pidelo-section-heading { display: block; }
  .tm-pidelo-section-heading > p { margin-top: 16px; }
  .tm-pidelo-process { grid-template-columns: 1fr; }
  .tm-pidelo-conversation { grid-template-columns: auto 1fr; }
  .tm-pidelo-conversation > .tm-on-demand-btn { grid-column: 1 / -1; justify-self: start; }
  .tm-pidelo-empty { grid-template-columns: auto 1fr; }
  .tm-pidelo-empty > .tm-on-demand-btn { grid-column: 1 / -1; justify-self: start; }
  .tm-on-demand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tm-on-demand-detail { grid-template-columns: 1fr; }
  .tm-on-demand-product-page .tm-on-demand-detail { gap: 12px; }
  .tm-on-demand-product-visual { display: contents; }
  .tm-on-demand-product-page .tm-on-demand-detail-media { border-radius: 18px; }
  .tm-on-demand-product-page .tm-on-demand-detail-media img { height: clamp(180px, 50vw, 280px); aspect-ratio: auto; }
  .tm-on-demand-product-specs { order: 1; margin-top: 0; }
}

@media (max-width: 560px) {
  .tm-on-demand-page .tm-header-inner { min-height: 68px; gap: 12px; }
  .tm-on-demand-page .tm-header-brand { min-width: 64px; }
  .tm-on-demand-page .tm-header-brand img { height: 43px; }
  .tm-header-contact { min-height: 42px; padding: 0 13px; }
  .tm-header-contact span:last-child { display: none; }
  .tm-on-demand-main { padding-top: 16px; padding-bottom: 64px; }
  .tm-pidelo-hero { border-radius: 23px; }
  .tm-pidelo-hero-media { aspect-ratio: 1.3; object-position: 57% center; }
  .tm-pidelo-hero-content { padding: 30px 22px 27px; }
  .tm-pidelo-hero h1 { font-size: 39px; }
  .tm-pidelo-lead { margin-top: 18px; font-size: 16px; }
  .tm-on-demand-hero-actions { display: grid; }
  .tm-on-demand-hero-actions .tm-on-demand-btn { width: 100%; }
  .tm-pidelo-benefits { display: grid; grid-template-columns: 1fr 1fr; }
  .tm-pidelo-image-note { top: 12px; right: 12px; min-height: 39px; font-size: 12px; }
  .tm-pidelo-ideas { padding: 62px 0; }
  .tm-pidelo-idea-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(220px, 78vw); margin-right: -16px; padding-right: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .tm-pidelo-idea-grid::-webkit-scrollbar { display: none; }
  .tm-pidelo-idea-grid a { min-height: 180px; scroll-snap-align: start; }
  .tm-pidelo-process { gap: 34px; padding: 34px 22px; border-radius: 23px; }
  .tm-pidelo-process-list article { grid-template-columns: 45px 1fr; gap: 14px; }
  .tm-pidelo-process-list article > .tm-icon { width: 44px; height: 44px; padding: 10px; }
  .tm-pidelo-conversation { grid-template-columns: 1fr; margin-top: 62px; padding: 28px 22px; border-radius: 23px; }
  .tm-pidelo-conversation-mark { width: 60px; height: 60px; }
  .tm-pidelo-conversation > .tm-on-demand-btn { width: 100%; }
  .tm-on-demand-toolbar { display: grid; }
  .tm-on-demand-toolbar input, .tm-on-demand-toolbar select, .tm-on-demand-toolbar .tm-on-demand-btn { width: 100%; }
  .tm-pidelo-empty { grid-template-columns: 1fr; }
  .tm-pidelo-empty > .tm-on-demand-btn { width: 100%; }
  .tm-on-demand-grid { gap: 10px; }
  .tm-on-demand-card-body { padding: 13px; }
  .tm-on-demand-card-body h3 { font-size: 14px; }
  .tm-on-demand-price { font-size: 20px; }
  .tm-request-form { grid-template-columns: 1fr; }
  .tm-on-demand-product-page .tm-header-inner { min-height: 56px; padding: 4px 0; }
  .tm-on-demand-product-page .tm-header-brand img { width: 44px; height: 44px; }
  .tm-section.tm-on-demand-product-main { padding-top: 12px; }
  .tm-on-demand-product-page .tm-on-demand-panel { padding: 16px; border-radius: 18px; }
  .tm-on-demand-product-info h1 { font-size: clamp(22px, 6.3vw, 30px); }
  .tm-on-demand-product-info .tm-on-demand-notice { margin: 10px 0; padding: 10px 12px; }
  .tm-on-demand-product-request :is(input, textarea) { min-width: 0; font-size: 16px; }
  .tm-pidelo-footer { display: block; }
  .tm-pidelo-footer nav { margin-top: 22px; flex-wrap: wrap; }
  .tm-pidelo-catalog .tm-on-demand-toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    margin: 12px 0 16px;
    padding: 8px;
  }
  .tm-pidelo-catalog .tm-on-demand-toolbar input { grid-column: 1 / -1; }
  .tm-pidelo-catalog .tm-on-demand-toolbar :is(input, select, button) { min-height: 42px; }
  .tm-pidelo-catalog .tm-on-demand-toolbar select { min-width: 0; }
  .tm-on-demand-card-body .tm-on-demand-status { font-size: 12px; }
  .tm-on-demand-card-body .tm-on-demand-link { padding: 8px 5px; font-size: 12px; line-height: 1.3; }
}
