.mdm-pct {
    --pct-blue: #32558c;
    --pct-ink: #18283b;
    --pct-muted: #586577;
    --pct-border: #dce3eb;
    --pct-soft: #f5f7fa;
    box-sizing: border-box;
    max-width: 1080px;
    margin: 32px auto;
    padding: 32px;
    color: var(--pct-ink);
    background: #f7f8fa;
    border: 1px solid #e5e9ef;
    border-radius: 18px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    text-align: left;
    overflow-wrap: break-word;
    -webkit-font-smoothing: antialiased;
}

.mdm-pct *, .mdm-pct *::before, .mdm-pct *::after { box-sizing: border-box; }
.mdm-pct [hidden] { display: none !important; }
.mdm-pct p, .mdm-pct h2, .mdm-pct h3 { padding: 0; }
.mdm-pct__eyebrow {
    margin: 0 0 9px;
    color: var(--pct-blue);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .15em;
    text-transform: uppercase;
    text-align: center;
}
.mdm-pct .mdm-pct__headline {
    margin: 0;
    color: var(--pct-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(26px, 2.6vw, 36px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.035em;
    text-align: center;
}
.mdm-pct__intro {
    max-width: 620px;
    margin: 12px auto 26px;
    color: var(--pct-muted);
    font-size: 16px;
    text-align: center;
}
.mdm-pct__availability {
    margin: 24px 0 0;
    padding: 22px;
    background: #fff;
    border: 1px dashed #bac7d8;
    border-radius: 12px;
    color: var(--pct-muted);
    text-align: center;
}
.mdm-pct__cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 315px), 1fr));
    align-items: stretch;
    gap: 20px;
}
.mdm-pct__card {
    min-width: 0;
    padding: 25px 25px 21px;
    background: #fff;
    border: 1px solid var(--pct-border);
    border-top: 4px solid #c4ceda;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgb(24 40 59 / 4%);
}
.mdm-pct__card--ours { border-top-color: var(--pct-blue); }
.mdm-pct__card--competitor { background: #fcfcfd; }
.mdm-pct__card-header {
    min-height: 94px;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px dashed #ccd5e0;
}
.mdm-pct__badge {
    display: inline-block;
    margin: 0 0 9px;
    padding: 3px 8px;
    border-radius: 4px;
    background: #eaf0f8;
    color: #2b4c7f;
    font-size: 10px;
    font-weight: 750;
    line-height: 1.5;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.mdm-pct__card--competitor .mdm-pct__badge { color: #566275; background: #edf0f3; }
.mdm-pct .mdm-pct__store {
    margin: 0;
    color: var(--pct-ink);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.02em;
}
.mdm-pct__caption { margin: 6px 0 0; color: var(--pct-muted); font-size: 12px; }
.mdm-pct__rows { margin: 0; }
.mdm-pct__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 14px;
    align-items: baseline;
    margin: 0;
    padding: 10px 0;
}
.mdm-pct__row--price { padding-top: 0; padding-bottom: 2px; }
.mdm-pct__row--discount { padding-top: 1px; padding-bottom: 15px; font-size: 12px; color: var(--pct-muted); }
.mdm-pct__label { margin: 0; min-width: 0; font-weight: 400; }
.mdm-pct__value { margin: 0; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.mdm-pct__row--price .mdm-pct__value { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: flex-end; gap: 3px 9px; }
.mdm-pct__regular { color: #697586; font-size: 13px; font-weight: 400; text-decoration: line-through; }
.mdm-pct__price { color: var(--pct-ink); font-size: 21px; font-weight: 750; letter-spacing: -.03em; }
.mdm-pct__card--ours [data-pct="our-delivery"] { color: #245c45; }
.mdm-pct__total {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 8px 14px;
    margin-top: 18px;
    padding-top: 19px;
    border-top: 1px dashed #ccd5e0;
}
.mdm-pct__total-label { color: var(--pct-ink); font-size: 13px; font-weight: 750; letter-spacing: .045em; text-transform: uppercase; }
.mdm-pct__total-label small { display: block; margin-top: 5px; color: var(--pct-muted); font-size: 10px; font-weight: 400; line-height: 1.4; letter-spacing: 0; text-transform: none; }
.mdm-pct__total-value { color: var(--pct-ink); font-size: 26px; font-weight: 750; line-height: 1.2; font-variant-numeric: tabular-nums; letter-spacing: -.045em; text-align: right; }
.mdm-pct__card-note { margin: 7px 0 0; color: var(--pct-muted); font-size: 11px; text-align: right; }
.mdm-pct__exchange-note { margin: 17px 5px; color: var(--pct-muted); font-size: 12px; text-align: center; }
.mdm-pct__savings {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 22px;
    align-items: center;
    margin: 0;
    padding: 22px 26px;
    border-radius: 12px;
    background: var(--pct-blue);
    color: #fff;
}
.mdm-pct .mdm-pct__savings-label { margin: 0 0 7px; color: #fff; font-size: 17px; font-weight: 700; line-height: 1.3; }
.mdm-pct__savings-amount { color: #fff; font-size: clamp(30px, 3vw, 39px); font-weight: 750; line-height: 1.1; letter-spacing: -.04em; text-align: right; font-variant-numeric: tabular-nums; }
.mdm-pct__savings-detail { grid-column: 1 / -1; margin: 0; color: #edf2fa; font-size: 12px; line-height: 1.55; }
.mdm-pct__disclosures { margin: 18px 2px 0; color: var(--pct-muted); font-size: 11px; line-height: 1.6; }
.mdm-pct__disclosures p { margin: 0 0 7px; }
.mdm-pct__disclosures p:last-child { margin-bottom: 0; }
.mdm-pct__disclosures a { color: #2b4c7f; text-decoration: underline; text-underline-offset: 2px; }
.mdm-pct a:focus-visible { outline: 2px solid var(--pct-blue); outline-offset: 3px; }
.mdm-pct__variable-note { margin: 14px 0 0; color: var(--pct-muted); font-size: 12px; text-align: center; }

@media (max-width: 600px) {
    .mdm-pct { margin: 22px auto; padding: 22px 16px; border-radius: 14px; font-size: 14px; }
    .mdm-pct .mdm-pct__headline { font-size: 27px; }
    .mdm-pct__intro { margin-bottom: 22px; font-size: 14px; }
    .mdm-pct__cards { gap: 15px; }
    .mdm-pct__card { padding: 20px 18px 17px; }
    .mdm-pct__card-header { min-height: 0; margin-bottom: 17px; padding-bottom: 16px; }
    .mdm-pct__total-value { font-size: 24px; }
    .mdm-pct__exchange-note { margin: 15px 0; font-size: 11px; }
    .mdm-pct__savings { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 20px; }
    .mdm-pct .mdm-pct__savings-label { font-size: 16px; }
    .mdm-pct__savings-amount { font-size: 36px; text-align: left; }
    .mdm-pct__savings-detail { font-size: 11px; }
}

@media print {
    .mdm-pct { padding: 18px; background: #fff; break-inside: avoid; }
    .mdm-pct__card { box-shadow: none; }
    .mdm-pct__savings { border: 2px solid #32558c; background: #fff; }
    .mdm-pct .mdm-pct__savings-label, .mdm-pct__savings-amount, .mdm-pct__savings-detail { color: #18283b; }
}
