:root {
  --pdk-ink: #102d3d;
  --pdk-ink-soft: #496371;
  --pdk-primary: #c94f08;
  --pdk-primary-dark: #a83d00;
  --pdk-paper: #ffffff;
  --pdk-canvas: #f2f6f7;
  --pdk-line: #dbe5e8;
  --pdk-success: #168054;
  --pdk-shadow: 0 18px 48px rgba(16, 45, 61, .12);
}

body.pdk-sheet-open { overflow: hidden; }

.pdk-home, .pdk-home * { box-sizing: border-box; }
.pdk-home { width: min(1180px, calc(100% - 28px)); margin: 26px auto; padding: clamp(24px, 5vw, 56px); display: grid; gap: 28px; color: var(--pdk-ink); background: linear-gradient(135deg, #eef4f3, #f8f6f0); border: 1px solid #dce6e3; border-radius: 24px; overflow: hidden; }
.pdk-home__copy { max-width: 620px; }
.pdk-home h2 { margin: 0 0 12px; color: var(--pdk-ink); font-size: clamp(30px, 5vw, 52px); line-height: 1.02; letter-spacing: -.045em; }
.pdk-home p { margin: 0 0 20px; max-width: 590px; color: var(--pdk-ink-soft); font-size: 16px; line-height: 1.55; }
.pdk-home__cta { min-height: 54px; padding: 0 21px; display: inline-flex; align-items: center; gap: 13px; color: #fff !important; background: var(--pdk-primary); border-radius: 14px; text-decoration: none !important; font-weight: 850; box-shadow: 0 10px 24px rgba(201,79,8,.22); transition: transform .2s cubic-bezier(.22,1,.36,1), background .2s ease, box-shadow .2s ease; }
.pdk-home__cta:hover { transform: translateY(-2px); color: #fff !important; background: var(--pdk-primary-dark); box-shadow: 0 14px 30px rgba(201,79,8,.27); }
.pdk-home__cta span { font-size: 21px; transition: transform .2s ease; }
.pdk-home__cta:hover span { transform: translateX(3px); }
.pdk-home__copy > small { display: block; margin-top: 11px; color: var(--pdk-ink-soft); font-size: 11px; }
.pdk-home__projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.pdk-home__projects a { position: relative; aspect-ratio: 16 / 10; min-width: 0; overflow: hidden; border-radius: 15px; color: #fff !important; background: var(--pdk-ink); text-decoration: none !important; }
.pdk-home__projects img { width: 100%; height: 100%; display: block; object-fit: cover; opacity: .84; transition: transform .55s cubic-bezier(.22,1,.36,1), opacity .25s ease; }
.pdk-home__projects a::after { content: ''; position: absolute; inset: 30% 0 0; background: linear-gradient(transparent, rgba(6,22,29,.8)); }
.pdk-home__projects span { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 11px; color: #fff; font-size: 12px; font-weight: 850; }
.pdk-home__projects a:hover img { transform: scale(1.055); opacity: 1; }

.pdk, .pdk * { box-sizing: border-box; }
.pdk [hidden] { display: none !important; }
.pdk button, .pdk input { font: inherit; }
.pdk button { -webkit-tap-highlight-color: transparent; }
.pdk { position: relative; color: var(--pdk-ink); background: var(--pdk-canvas); font-family: inherit; width: 100%; min-height: min(780px, 100dvh); }
.pdk__shell { position: relative; min-height: min(780px, 100dvh); max-width: 860px; margin: 0 auto; background: var(--pdk-paper); overflow: clip; }
.pdk__header { height: 64px; padding: 0 16px; display: grid; grid-template-columns: 48px 1fr 70px; align-items: center; border-bottom: 1px solid var(--pdk-line); background: rgba(255,255,255,.94); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); }
.pdk__brand { display: flex; justify-content: center; align-items: center; gap: 9px; font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.pdk__brand-mark { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--pdk-ink); font-size: 11px; letter-spacing: .05em; }
.pdk__back, .pdk__restart { min-height: 44px; border: 0; background: transparent; color: var(--pdk-ink); cursor: pointer; }
.pdk__back { width: 44px; font-size: 24px; text-align: left; }
.pdk__restart { font-size: 12px; font-weight: 750; color: var(--pdk-ink-soft); text-align: right; }
.pdk__progress { height: 4px; background: #e9eff1; position: sticky; top: 64px; z-index: 21; }
.pdk__progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--pdk-primary), #f3ae37); border-radius: 0 4px 4px 0; transition: width .3s ease; }
.pdk__main { padding: 28px 18px 112px; }
.pdk__screen { max-width: 620px; margin: 0 auto; }
.pdk__screen.is-entering { animation: pdk-enter .34s cubic-bezier(.22,1,.36,1) both; }
.pdk__screen.is-entering .pdk__option { animation: pdk-option-enter .38s cubic-bezier(.22,1,.36,1) both; animation-delay: calc(var(--pdk-order, 0) * 42ms + 45ms); }
.pdk__intro { margin-bottom: 22px; }
.pdk__eyebrow { display: block; color: var(--pdk-primary-dark); font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.pdk h1, .pdk h2, .pdk p { margin-top: 0; }
.pdk h1 { font-size: clamp(28px, 8vw, 42px); line-height: 1.08; letter-spacing: -.04em; margin-bottom: 10px; color: var(--pdk-ink); }
.pdk h2 { color: var(--pdk-ink); }
.pdk__intro p, .pdk__result-head p { color: var(--pdk-ink-soft); font-size: 15px; line-height: 1.55; margin-bottom: 0; }
.pdk__options { display: grid; gap: 10px; }
.pdk__option { width: 100%; min-height: 76px; padding: 12px 14px; display: grid; grid-template-columns: 46px 1fr 28px; align-items: center; gap: 11px; text-align: left; color: var(--pdk-ink); border: 1.5px solid var(--pdk-line); border-radius: 16px; background: var(--pdk-paper); box-shadow: 0 3px 12px rgba(16,45,61,.035); cursor: pointer; transition: transform .22s cubic-bezier(.22,1,.36,1), border-color .2s ease, background .2s ease, box-shadow .22s ease; }
.pdk__option:hover { transform: translateY(-2px); border-color: #bdccd1; box-shadow: 0 10px 24px rgba(16,45,61,.08); }
.pdk__option:active { transform: scale(.985); }
.pdk__option:focus-visible { outline: 3px solid rgba(201,79,8,.28); outline-offset: 2px; }
.pdk__option.is-selected { border-color: var(--pdk-primary); background: #fff9f3; box-shadow: 0 7px 18px rgba(201,79,8,.12); }
.pdk__option-icon, .pdk__swatch { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; background: #edf3f5; color: var(--pdk-ink); font-size: 20px; font-weight: 850; }
.pdk__option-icon svg { width: 25px; height: 25px; }
.pdk__option--photo { min-height: 92px; padding: 8px 12px 8px 8px; grid-template-columns: 104px 1fr 28px; }
.pdk__option-media { width: 104px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 12px; background: #e8edef; }
.pdk__option-media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .55s cubic-bezier(.22,1,.36,1), filter .25s ease; }
.pdk__option--photo:hover .pdk__option-media img, .pdk__option--photo.is-selected .pdk__option-media img { transform: scale(1.045); }
.pdk__swatch { border: 1px solid #d9e1e4; }
.pdk__swatch--white { background: #f7f4e9; }
.pdk__swatch--bright { background: #fff; }
.pdk__swatch--signal { background: #f9f9f7; }
.pdk__swatch--grey { background: #c8ccca; }
.pdk__swatch--black { background: #191c1d; }
.pdk__option-copy { display: flex; flex-direction: column; min-width: 0; }
.pdk__option-copy strong { font-size: 15px; line-height: 1.25; }
.pdk__option-copy small { margin-top: 4px; color: var(--pdk-ink-soft); font-size: 12px; line-height: 1.35; }
.pdk__option-check { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; color: transparent; border: 1px solid var(--pdk-line); font-size: 13px; font-weight: 900; }
.pdk__option.is-selected .pdk__option-check { color: #fff; background: var(--pdk-primary); border-color: var(--pdk-primary); animation: pdk-check .28s cubic-bezier(.2,1.7,.35,1) both; }
.pdk__actions { position: fixed; z-index: 30; bottom: 0; left: 0; right: 0; min-height: 78px; padding: 10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); display: flex; gap: 10px; align-items: center; background: rgba(255,255,255,.96); border-top: 1px solid var(--pdk-line); box-shadow: 0 -12px 30px rgba(16,45,61,.08); backdrop-filter: blur(16px); }
.pdk__primary, .pdk__secondary { min-height: 52px; border-radius: 14px; border: 0; font-weight: 850; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; text-decoration: none !important; }
.pdk__primary { flex: 1; color: #fff !important; background: linear-gradient(135deg, var(--pdk-primary), #b94204); box-shadow: 0 8px 20px rgba(201,79,8,.25); padding: 0 20px; }
.pdk__primary:hover { background: linear-gradient(135deg, #b94204, #9e3500); }
.pdk__primary:disabled { cursor: not-allowed; color: #82929a !important; background: #e4eaec; box-shadow: none; }
.pdk__secondary { flex: 0 0 88px; background: #edf2f3; color: var(--pdk-ink); }
.pdk__measure { display: grid; grid-template-columns: 1fr 24px 1fr; gap: 8px; align-items: end; }
.pdk__measure label { font-weight: 800; font-size: 14px; }
.pdk__measure label span { display: block; font-weight: 500; color: var(--pdk-ink-soft); font-size: 11px; margin-top: 2px; }
.pdk__measure input { width: 100%; height: 62px; margin-top: 8px; padding: 0 13px; font-size: 22px; font-weight: 800; color: var(--pdk-ink); border: 1.5px solid var(--pdk-line); border-radius: 14px; background: #fbfcfc; outline: none; }
.pdk__measure input:focus { border-color: var(--pdk-primary); box-shadow: 0 0 0 3px rgba(201,79,8,.14); }
.pdk__measure-x { height: 62px; display: grid; place-items: center; color: #84959d; font-size: 20px; }
.pdk__measure-note { margin-top: 18px; padding: 14px; border-radius: 14px; background: #edf5f5; color: var(--pdk-ink-soft); font-size: 13px; line-height: 1.45; }
.pdk__measure-note strong { color: var(--pdk-ink); margin-right: 4px; }
.pdk__loading { text-align: center; padding: 75px 10px; }
.pdk__loading span { width: 46px; height: 46px; display: block; margin: 0 auto 24px; border: 4px solid #e4ebed; border-top-color: var(--pdk-primary); border-radius: 50%; animation: pdk-spin .75s linear infinite; }
.pdk__loading h1 { font-size: 27px; }
.pdk__loading p { color: var(--pdk-ink-soft); }
.pdk__result-head { text-align: center; margin-bottom: 26px; }
.pdk__result-check { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 16px; border-radius: 20px; color: #fff; background: var(--pdk-success); box-shadow: 0 10px 24px rgba(22,128,84,.2); font-size: 27px; font-weight: 900; }
.pdk__result-head h1 { font-size: clamp(27px, 7.5vw, 40px); }
.pdk__result-section { margin-top: 18px; padding: 18px 14px; border: 1px solid var(--pdk-line); border-radius: 18px; background: #fff; }
.pdk__section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pdk__section-title h2, .pdk__result-section > h2 { font-size: 18px; margin-bottom: 14px; letter-spacing: -.02em; }
.pdk__section-title span { font-size: 11px; color: var(--pdk-ink-soft); }
.pdk__products { display: grid; gap: 4px; }
.pdk__product { display: grid; grid-template-columns: 54px 1fr auto; gap: 11px; align-items: center; padding: 11px 0; border-bottom: 1px solid #edf1f2; }
.pdk__product:last-child { border-bottom: 0; }
.pdk__product img { width: 54px; height: 54px; object-fit: contain; border-radius: 11px; background: #f5f7f7; }
.pdk__product-copy { min-width: 0; display: flex; flex-direction: column; }
.pdk__product-copy strong { font-size: 13px; }
.pdk__product-copy span { font-size: 11px; color: var(--pdk-primary-dark); font-weight: 750; margin-top: 2px; }
.pdk__product-copy small { font-size: 10px; line-height: 1.35; color: var(--pdk-ink-soft); margin-top: 4px; }
.pdk__product > b { font-size: 12px; white-space: nowrap; }
.pdk__total { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--pdk-line); font-size: 14px; }
.pdk__total strong { font-size: 19px; }
.pdk__calculation { margin-top: 14px; border: 1px solid var(--pdk-line); border-radius: 16px; background: #f7faf9; overflow: hidden; }
.pdk__calculation summary { min-height: 50px; padding: 0 15px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; color: var(--pdk-ink); font-size: 13px; font-weight: 800; }
.pdk__calculation summary::-webkit-details-marker { display: none; }
.pdk__calculation summary::after { content: '+'; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #e7efed; font-size: 17px; transition: transform .25s ease; }
.pdk__calculation[open] summary::after { transform: rotate(45deg); }
.pdk__calculation-grid { padding: 0 15px 12px; }
.pdk__calculation-grid > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid #e5eceb; font-size: 11px; }
.pdk__calculation-grid span { color: var(--pdk-ink-soft); }
.pdk__calculation-grid strong { text-align: right; color: var(--pdk-ink); }
.pdk__steps { list-style: none; padding: 0; margin: 0; counter-reset: pdk-step; }
.pdk__steps li { counter-increment: pdk-step; display: grid; grid-template-columns: 32px 1fr; gap: 10px; position: relative; }
.pdk__steps li:not(:last-child)::after { content: ''; position: absolute; left: 15px; top: 30px; bottom: -2px; width: 2px; background: #e5ecee; }
.pdk__steps li > span { width: 32px; height: 32px; border-radius: 11px; display: grid; place-items: center; background: #edf3f4; color: var(--pdk-ink); font-weight: 900; font-size: 12px; z-index: 1; }
.pdk__steps li > span::before { content: counter(pdk-step); }
.pdk__steps p { font-size: 12px; line-height: 1.5; color: var(--pdk-ink-soft); margin: 6px 0 17px; }
.pdk__warning, .pdk__contact { margin-top: 16px; padding: 15px; border-radius: 15px; background: #fff7e9; border: 1px solid #f3d59e; }
.pdk__warning strong, .pdk__contact strong { font-size: 13px; }
.pdk__warning p, .pdk__contact p { margin: 5px 0 0; font-size: 11px; line-height: 1.5; color: #69512c; }
.pdk__contact { background: #edf5f5; border-color: #d2e4e3; }
.pdk__result-spacer { height: 84px; }
.pdk__result-bar { position: fixed; z-index: 31; left: 0; right: 0; bottom: 0; padding: 10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); display: grid; grid-template-columns: auto minmax(170px, 1fr); gap: 14px; align-items: center; background: rgba(255,255,255,.97); border-top: 1px solid var(--pdk-line); box-shadow: 0 -12px 30px rgba(16,45,61,.11); backdrop-filter: blur(16px); }
.pdk__result-bar > div { display: flex; flex-direction: column; }
.pdk__result-bar small { font-size: 10px; color: var(--pdk-ink-soft); }
.pdk__result-bar strong { font-size: 17px; }
.pdk__result-bar .pdk__primary { min-width: 0; padding: 0 12px; }
.pdk__toast { position: fixed; z-index: 100; left: 16px; right: 16px; bottom: calc(88px + env(safe-area-inset-bottom)); max-width: 520px; margin: auto; padding: 13px 15px; color: #fff; background: #9e2a20; border-radius: 13px; box-shadow: var(--pdk-shadow); font-size: 13px; font-weight: 700; }
.pdk__sheet[hidden] { display: none; }
.pdk__sheet { position: fixed; z-index: 99999; inset: 0; display: flex; align-items: flex-end; justify-content: center; }
.pdk__sheet-backdrop { position: absolute; inset: 0; border: 0; background: rgba(7,24,33,.62); backdrop-filter: blur(3px); }
.pdk__sheet-card { position: relative; width: 100%; max-width: 560px; padding: 12px 20px calc(22px + env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0; background: #fff; text-align: center; animation: pdk-sheet .28s cubic-bezier(.2,.8,.25,1) both; }
.pdk__sheet-handle { width: 44px; height: 5px; display: block; margin: 0 auto 18px; border-radius: 5px; background: #d5dfe2; }
.pdk__success-icon { width: 52px; height: 52px; display: grid; place-items: center; margin: 0 auto 12px; border-radius: 18px; color: #fff; background: var(--pdk-success); font-size: 25px; font-weight: 900; }
.pdk__sheet-card h2 { font-size: 22px; margin-bottom: 6px; }
.pdk__sheet-card p { color: var(--pdk-ink-soft); font-size: 13px; margin-bottom: 18px; }
.pdk__cart-link { width: 100%; }
.pdk__sheet-close { width: 100%; min-height: 48px; margin-top: 8px; border: 0; background: transparent; color: var(--pdk-ink-soft); font-weight: 750; cursor: pointer; }
.pdk__error { padding: 60px 0; text-align: center; }
.pdk__error strong { font-size: 24px; }
.pdk__error p { color: var(--pdk-ink-soft); margin: 8px 0 22px; }
.pdk__error .pdk__primary { width: 100%; }

@media (min-width: 720px) {
  .pdk-home { grid-template-columns: minmax(320px, .9fr) minmax(400px, 1.1fr); align-items: center; }
  .pdk { padding: 34px; }
  .pdk__shell { min-height: 760px; border-radius: 26px; box-shadow: var(--pdk-shadow); }
  .pdk__main { padding: 46px 40px 120px; }
  .pdk__header { border-radius: 26px 26px 0 0; }
  .pdk__options { grid-template-columns: 1fr 1fr; }
  .pdk__option { min-height: 88px; }
  .pdk__actions, .pdk__result-bar { position: absolute; }
  .pdk__actions { border-radius: 0 0 26px 26px; }
  .pdk__result-section { padding: 22px; }
}

@media (max-width: 370px) {
  .pdk-home { width: calc(100% - 20px); padding: 20px 16px; }
  .pdk-home__projects { grid-template-columns: 1fr; }
  .pdk-home__projects a { aspect-ratio: 16 / 7; }
  .pdk__main { padding-left: 13px; padding-right: 13px; }
  .pdk__option { grid-template-columns: 40px 1fr 24px; padding-left: 10px; padding-right: 10px; }
  .pdk__option-icon, .pdk__swatch { width: 38px; height: 38px; }
  .pdk__result-bar { grid-template-columns: 100px 1fr; gap: 8px; }
}

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

/* A transformed screen would make the fixed purchase bar follow the whole result. */
@keyframes pdk-enter { from { opacity: 0; } to { opacity: 1; } }
@keyframes pdk-option-enter { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes pdk-check { from { transform: scale(.55); } to { transform: scale(1); } }
@keyframes pdk-spin { to { transform: rotate(360deg); } }
@keyframes pdk-sheet { from { transform: translateY(100%); } to { transform: translateY(0); } }

@media (max-width: 560px) {
  .pdk__product { grid-template-columns: 48px minmax(0, 1fr); gap: 8px 12px; padding: 18px 0; }
  .pdk__product > img { grid-row: 1 / span 2; }
  .pdk__product > b { grid-column: 2; justify-self: start; font-size: 16px; }
  .pdk__product-copy { min-width: 0; }
  .pdk__product-copy strong { font-size: 16px; }
}
