/* =========================================================
   MINDSUTRA BUY PAGE — COMMON DYNAMIC CHECKOUT
   Fully scoped: cannot restyle navbar, footer or other pages.
========================================================= */
#mst-buy-page {
    --buy-bg: #f8f4ee;
    --buy-surface: #ffffff;
    --buy-surface-soft: #fffaf5;
    --buy-text: #251d19;
    --buy-muted: #6d625c;
    --buy-line: #e8ddd4;
    --buy-brand: #8f241d;
    --buy-brand-dark: #681712;
    --buy-gold: #b6812f;
    --buy-green: #18764c;
    --buy-green-soft: #eaf7f0;
    --buy-blue-soft: #edf6ff;
    --buy-shadow: 0 20px 55px rgba(71, 39, 26, 0.10);
    --buy-shadow-soft: 0 10px 30px rgba(71, 39, 26, 0.07);
    display: block;
    min-width: 0;
    color: var(--buy-text);
    background:
        radial-gradient(circle at 4% 4%, rgba(182, 129, 47, 0.11), transparent 26rem),
        radial-gradient(circle at 96% 14%, rgba(143, 36, 29, 0.08), transparent 29rem),
        var(--buy-bg);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    overflow: clip;
}

#mst-buy-page,
#mst-buy-page *,
#mst-buy-page *::before,
#mst-buy-page *::after {
    box-sizing: border-box;
}

#mst-buy-page a {
    color: inherit;
}

#mst-buy-page button,
#mst-buy-page a {
    -webkit-tap-highlight-color: transparent;
}

#mst-buy-page .mst-buy-container {
    width: min(1180px, calc(100% - 36px));
    margin-inline: auto;
}

#mst-buy-page .mst-buy-trust-strip {
    color: #fdf9f5;
    background: linear-gradient(100deg, #3d211b, #5d2a22 55%, #3d211b);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#mst-buy-page .mst-buy-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
}

#mst-buy-page .mst-buy-trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 72px;
    padding: 12px 22px;
    border-right: 1px solid rgba(255, 255, 255, 0.10);
}

#mst-buy-page .mst-buy-trust-item:last-child {
    border-right: 0;
}

#mst-buy-page .mst-buy-trust-item > span:last-child {
    display: grid;
    gap: 1px;
}

#mst-buy-page .mst-buy-trust-item strong {
    font-size: 14px;
    line-height: 1.3;
}

#mst-buy-page .mst-buy-trust-item small {
    color: rgba(255, 255, 255, 0.70);
    font-size: 11.5px;
}

#mst-buy-page .mst-buy-icon {
    display: inline-grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    color: #f6d28d;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
}

#mst-buy-page .mst-buy-icon svg,
#mst-buy-page .mst-buy-button-lock svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

#mst-buy-page .mst-buy-page-shell {
    padding-block: 22px 72px;
}

#mst-buy-page .mst-buy-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    color: var(--buy-muted);
    font-size: 13px;
}

#mst-buy-page .mst-buy-breadcrumb a {
    text-decoration: none;
}

#mst-buy-page .mst-buy-breadcrumb a:hover,
#mst-buy-page .mst-buy-breadcrumb a:focus-visible {
    color: var(--buy-brand);
    text-decoration: underline;
}

#mst-buy-page .mst-buy-hero {
    display: grid;
    grid-template-columns: minmax(290px, 0.78fr) minmax(0, 1.22fr);
    align-items: center;
    gap: clamp(32px, 6vw, 76px);
    padding: clamp(28px, 5vw, 58px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(255, 250, 245, 0.96));
    border: 1px solid var(--buy-line);
    border-radius: 28px;
    box-shadow: var(--buy-shadow);
    position: relative;
    overflow: hidden;
}

#mst-buy-page .mst-buy-hero::after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    right: -150px;
    bottom: -180px;
    border: 48px solid rgba(182, 129, 47, 0.07);
    border-radius: 50%;
    pointer-events: none;
}

#mst-buy-page .mst-buy-product-visual {
    min-width: 0;
    position: relative;
    z-index: 1;
}

#mst-buy-page .mst-buy-image-stage {
    min-height: 350px;
    display: grid;
    place-items: center;
    padding: 24px;
    position: relative;
    background:
        linear-gradient(145deg, rgba(143, 36, 29, 0.08), rgba(182, 129, 47, 0.12)),
        #fff;
    border: 1px solid #ead8ca;
    border-radius: 26px;
    box-shadow: inset 0 1px 0 #fff, 0 18px 38px rgba(89, 42, 27, 0.10);
}

#mst-buy-page .mst-buy-image-stage::before {
    content: "";
    position: absolute;
    inset: 16px;
    border: 1px dashed rgba(143, 36, 29, 0.16);
    border-radius: 19px;
}

#mst-buy-page .mst-buy-product-image {
    display: block;
    width: min(100%, 330px);
    max-height: 320px;
    object-fit: contain;
    filter: drop-shadow(0 22px 22px rgba(45, 25, 17, 0.20));
    position: relative;
    z-index: 2;
}

#mst-buy-page .mst-buy-image-fallback {
    display: none;
    width: 220px;
    height: 260px;
    place-content: center;
    text-align: center;
    color: #fff8ee;
    background: linear-gradient(145deg, #55261e, #9c3026 66%, #c9943d);
    border: 6px solid #f5ddae;
    border-radius: 12px 28px 28px 12px;
    box-shadow: 14px 20px 28px rgba(45, 25, 17, 0.22);
    position: relative;
    z-index: 2;
}

#mst-buy-page .mst-buy-image-fallback strong,
#mst-buy-page .mst-buy-image-fallback span {
    display: block;
}

#mst-buy-page .mst-buy-image-fallback strong {
    font-size: 27px;
}

#mst-buy-page .mst-buy-image-fallback span {
    margin-top: 8px;
    color: #f6d28d;
    font-weight: 800;
}

#mst-buy-page .mst-buy-premium-ribbon {
    position: absolute;
    top: 17px;
    left: 17px;
    z-index: 3;
    padding: 7px 11px;
    color: #fff;
    background: linear-gradient(120deg, var(--buy-brand), #b33a2f);
    border-radius: 999px;
    box-shadow: 0 8px 22px rgba(143, 36, 29, 0.20);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

#mst-buy-page .mst-buy-text-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    color: var(--buy-brand);
    font-size: 13px;
    font-weight: 750;
    text-align: center;
    text-decoration: none;
}

#mst-buy-page .mst-buy-text-link:hover,
#mst-buy-page .mst-buy-text-link:focus-visible {
    text-decoration: underline;
}

#mst-buy-page .mst-buy-product-copy {
    min-width: 0;
    position: relative;
    z-index: 1;
}

#mst-buy-page .mst-buy-eyebrow,
#mst-buy-page .mst-buy-section-kicker {
    margin: 0 0 8px;
    color: var(--buy-brand);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

#mst-buy-page h1,
#mst-buy-page h2,
#mst-buy-page h3,
#mst-buy-page p {
    margin-top: 0;
}

#mst-buy-page h1 {
    max-width: 760px;
    margin-bottom: 14px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.06;
    letter-spacing: -0.045em;
}

#mst-buy-page .mst-buy-lead {
    max-width: 710px;
    margin-bottom: 20px;
    color: var(--buy-muted);
    font-size: clamp(16px, 1.6vw, 19px);
    line-height: 1.68;
}

#mst-buy-page .mst-buy-feature-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 25px;
}

#mst-buy-page .mst-buy-feature-chips span {
    padding: 8px 11px;
    color: #4d382f;
    background: #fff;
    border: 1px solid #ead9cc;
    border-radius: 999px;
    box-shadow: 0 5px 14px rgba(83, 43, 28, 0.05);
    font-size: 12px;
    font-weight: 720;
}

#mst-buy-page .mst-buy-highlights {
    display: grid;
    gap: 11px;
}

#mst-buy-page .mst-buy-highlights > div {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
}

#mst-buy-page .mst-buy-mini-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: var(--buy-brand);
    background: #fff4ed;
    border: 1px solid #efd9cb;
    border-radius: 12px;
    font-weight: 900;
}

#mst-buy-page .mst-buy-highlights p {
    display: grid;
    gap: 2px;
    margin-bottom: 0;
}

#mst-buy-page .mst-buy-highlights strong {
    font-size: 13px;
}

#mst-buy-page .mst-buy-highlights p span {
    color: var(--buy-muted);
    font-size: 13px;
}

#mst-buy-page .mst-buy-checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.42fr) minmax(310px, 0.72fr);
    align-items: start;
    gap: 24px;
    margin-top: 28px;
}

#mst-buy-page .mst-buy-checkout-main,
#mst-buy-page .mst-buy-summary-card,
#mst-buy-page .mst-buy-assurance-section,
#mst-buy-page .mst-buy-faq-section {
    background: var(--buy-surface);
    border: 1px solid var(--buy-line);
    border-radius: 24px;
    box-shadow: var(--buy-shadow-soft);
}

#mst-buy-page .mst-buy-checkout-main {
    padding: clamp(24px, 4vw, 38px);
}

#mst-buy-page .mst-buy-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

#mst-buy-page .mst-buy-section-heading-compact {
    margin-bottom: 10px;
}

#mst-buy-page .mst-buy-section-heading h2 {
    margin-bottom: 0;
    font-size: clamp(22px, 3vw, 30px);
    line-height: 1.2;
    letter-spacing: -0.025em;
}

#mst-buy-page .mst-buy-required-note {
    color: var(--buy-muted);
    font-size: 12px;
    text-align: right;
}

#mst-buy-page .mst-buy-region-selector {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

#mst-buy-page .mst-buy-region-button {
    appearance: none;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 19px;
    align-items: center;
    gap: 12px;
    min-height: 82px;
    padding: 14px;
    color: var(--buy-text);
    background: #fff;
    border: 1px solid var(--buy-line);
    border-radius: 18px;
    cursor: pointer;
    font: inherit;
    text-align: left;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

#mst-buy-page .mst-buy-region-button:hover {
    border-color: #cfae93;
    transform: translateY(-1px);
}

#mst-buy-page .mst-buy-region-button:focus-visible {
    outline: 3px solid rgba(143, 36, 29, 0.18);
    outline-offset: 2px;
}

#mst-buy-page .mst-buy-region-button.is-selected {
    background: linear-gradient(145deg, #fffdfb, #fff7f1);
    border-color: rgba(143, 36, 29, 0.55);
    box-shadow: 0 10px 22px rgba(143, 36, 29, 0.10);
}

#mst-buy-page .mst-buy-region-button > span:nth-child(2) {
    display: grid;
    gap: 2px;
}

#mst-buy-page .mst-buy-region-button strong {
    font-size: 15px;
}

#mst-buy-page .mst-buy-region-button small {
    color: var(--buy-muted);
    font-size: 12px;
}

#mst-buy-page .mst-buy-region-flag {
    display: grid;
    place-items: center;
    width: 46px;
    height: 40px;
    color: #59372c;
    background: #f8eee6;
    border: 1px solid #ead8cb;
    border-radius: 11px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.04em;
}

#mst-buy-page .mst-buy-radio {
    width: 18px;
    height: 18px;
    border: 2px solid #c7b7ac;
    border-radius: 50%;
    position: relative;
}

#mst-buy-page .mst-buy-region-button.is-selected .mst-buy-radio {
    border-color: var(--buy-brand);
}

#mst-buy-page .mst-buy-region-button.is-selected .mst-buy-radio::after {
    content: "";
    position: absolute;
    inset: 3px;
    background: var(--buy-brand);
    border-radius: 50%;
}


#mst-buy-page .mst-buy-next-step {
    margin-top: 26px;
    padding-top: 25px;
    border-top: 1px solid var(--buy-line);
}

#mst-buy-page .mst-buy-next-copy {
    max-width: 760px;
    margin-bottom: 18px;
    color: var(--buy-muted);
    font-size: 14px;
}

#mst-buy-page .mst-buy-primary-button {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 62px;
    padding: 13px 17px;
    color: #fff;
    background: linear-gradient(115deg, var(--buy-brand-dark), var(--buy-brand) 60%, #ae3b31);
    border: 1px solid #751c16;
    border-radius: 17px;
    box-shadow: 0 16px 28px rgba(143, 36, 29, 0.22);
    font-size: 15px;
    font-weight: 850;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

#mst-buy-page .mst-buy-primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 34px rgba(143, 36, 29, 0.27);
    filter: saturate(1.05);
}

#mst-buy-page .mst-buy-primary-button:focus-visible {
    outline: 4px solid rgba(143, 36, 29, 0.20);
    outline-offset: 3px;
}

#mst-buy-page .mst-buy-primary-button > strong {
    padding-left: 13px;
    border-left: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 18px;
}

#mst-buy-page .mst-buy-button-lock {
    display: grid;
    place-items: center;
}

#mst-buy-page .mst-buy-payment-note {
    display: flex;
    gap: 9px;
    margin-top: 13px;
    color: #5f5752;
    font-size: 12px;
}

#mst-buy-page .mst-buy-payment-note p {
    margin-bottom: 0;
}

#mst-buy-page .mst-buy-policy-consent {
    margin-top: 11px;
    color: #7a6e67;
    font-size: 11.5px;
    line-height: 1.6;
}

#mst-buy-page .mst-buy-policy-consent a {
    color: var(--buy-brand);
    font-weight: 700;
}

#mst-buy-page .mst-buy-summary-card {
    padding: 24px;
    position: sticky;
    top: 84px;
}

#mst-buy-page .mst-buy-summary-head {
    display: grid;
    gap: 7px;
    padding-bottom: 17px;
    border-bottom: 1px solid var(--buy-line);
}

#mst-buy-page .mst-buy-summary-head p {
    margin-bottom: 0;
    color: var(--buy-brand);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

#mst-buy-page .mst-buy-summary-head h2 {
    margin-bottom: 0;
    font-size: 20px;
    line-height: 1.25;
}

#mst-buy-page .mst-buy-order-id {
    width: fit-content;
    padding: 4px 8px;
    color: var(--buy-muted);
    background: #f7f1ec;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 750;
}

#mst-buy-page .mst-buy-price-row,
#mst-buy-page .mst-buy-summary-line,
#mst-buy-page .mst-buy-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

#mst-buy-page .mst-buy-price-row {
    padding-block: 20px 14px;
}

#mst-buy-page .mst-buy-price-row > span,
#mst-buy-page .mst-buy-summary-line > span {
    color: var(--buy-muted);
    font-size: 13px;
}

#mst-buy-page .mst-buy-price-row > div {
    display: grid;
    justify-items: end;
    gap: 2px;
}

#mst-buy-page .mst-buy-price-row del {
    color: #9a8d85;
    font-size: 12px;
}

#mst-buy-page .mst-buy-price-row strong {
    font-size: 24px;
}

#mst-buy-page .mst-buy-summary-line {
    padding-block: 10px;
    border-top: 1px dashed #e7dcd3;
}

#mst-buy-page .mst-buy-summary-line strong {
    font-size: 12.5px;
    text-align: right;
}

#mst-buy-page .mst-buy-saving {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 13px;
    padding: 10px 12px;
    color: var(--buy-green);
    background: var(--buy-green-soft);
    border: 1px solid #c8ead7;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 750;
}

#mst-buy-page .mst-buy-total-row {
    margin-top: 17px;
    padding-top: 17px;
    border-top: 2px solid #3b2b24;
}

#mst-buy-page .mst-buy-total-row > span {
    display: grid;
}

#mst-buy-page .mst-buy-total-row small {
    color: var(--buy-muted);
    font-size: 10.5px;
    font-weight: 500;
}

#mst-buy-page .mst-buy-total-row > strong {
    color: var(--buy-brand);
    font-size: 27px;
}

#mst-buy-page .mst-buy-company-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 11px;
    margin-top: 21px;
    padding: 14px;
    background: var(--buy-surface-soft);
    border: 1px solid #eadbce;
    border-radius: 15px;
}

#mst-buy-page .mst-buy-company-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: #fff;
    background: linear-gradient(145deg, var(--buy-brand), #b98a3d);
    border-radius: 12px;
    font-weight: 900;
}

#mst-buy-page .mst-buy-company-card strong {
    display: block;
    margin-bottom: 3px;
    font-size: 12.5px;
}

#mst-buy-page .mst-buy-company-card p {
    margin-bottom: 0;
    color: var(--buy-muted);
    font-size: 10.5px;
    line-height: 1.5;
}

#mst-buy-page .mst-buy-support-actions {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

#mst-buy-page .mst-buy-support-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 12px;
    color: #4b3a32;
    background: #fff;
    border: 1px solid var(--buy-line);
    border-radius: 12px;
    font-size: 11.5px;
    font-weight: 750;
    text-align: center;
    text-decoration: none;
}

#mst-buy-page .mst-buy-support-actions a:hover,
#mst-buy-page .mst-buy-support-actions a:focus-visible {
    color: var(--buy-brand);
    border-color: #cfae93;
}

#mst-buy-page .mst-buy-assurance-section,
#mst-buy-page .mst-buy-faq-section {
    margin-top: 24px;
    padding: clamp(24px, 4vw, 38px);
}

#mst-buy-page .mst-buy-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

#mst-buy-page .mst-buy-process-grid article {
    padding: 18px;
    background: linear-gradient(145deg, #fff, #fffaf6);
    border: 1px solid var(--buy-line);
    border-radius: 17px;
}

#mst-buy-page .mst-buy-process-grid article > span {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    margin-bottom: 14px;
    color: #fff;
    background: var(--buy-brand);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 900;
}

#mst-buy-page .mst-buy-process-grid h3 {
    margin-bottom: 7px;
    font-size: 15px;
}

#mst-buy-page .mst-buy-process-grid p {
    margin-bottom: 0;
    color: var(--buy-muted);
    font-size: 12px;
}

#mst-buy-page .mst-buy-faq {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

#mst-buy-page .mst-buy-faq details {
    align-self: start;
    background: #fff;
    border: 1px solid var(--buy-line);
    border-radius: 15px;
    overflow: hidden;
}

#mst-buy-page .mst-buy-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 58px;
    padding: 14px 16px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    list-style: none;
}

#mst-buy-page .mst-buy-faq summary::-webkit-details-marker {
    display: none;
}

#mst-buy-page .mst-buy-faq summary span {
    color: var(--buy-brand);
    font-size: 21px;
    font-weight: 400;
    transition: transform 160ms ease;
}

#mst-buy-page .mst-buy-faq details[open] summary span {
    transform: rotate(45deg);
}

#mst-buy-page .mst-buy-faq details p {
    margin: 0;
    padding: 0 16px 16px;
    color: var(--buy-muted);
    font-size: 12.5px;
}

#mst-buy-page .mst-buy-mobile-bar {
    display: none;
}

@media (max-width: 980px) {
    #mst-buy-page .mst-buy-hero {
        grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1fr);
        gap: 30px;
    }

    #mst-buy-page .mst-buy-image-stage {
        min-height: 300px;
    }

    #mst-buy-page .mst-buy-checkout-layout {
        grid-template-columns: 1fr;
    }

    #mst-buy-page .mst-buy-summary-card {
        position: static;
    }

    #mst-buy-page .mst-buy-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    #mst-buy-page .mst-buy-trust-grid {
        grid-template-columns: 1fr;
        padding-block: 5px;
    }

    #mst-buy-page .mst-buy-trust-item {
        justify-content: flex-start;
        min-height: 54px;
        padding: 8px 5px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    #mst-buy-page .mst-buy-trust-item:last-child {
        border-bottom: 0;
    }

    #mst-buy-page .mst-buy-trust-item:nth-child(3) {
        display: none;
    }

    #mst-buy-page .mst-buy-hero {
        grid-template-columns: 1fr;
        padding: 24px;
        border-radius: 22px;
    }

    #mst-buy-page .mst-buy-product-visual {
        max-width: 420px;
        width: 100%;
        margin-inline: auto;
    }

    #mst-buy-page .mst-buy-image-stage {
        min-height: 285px;
    }

    #mst-buy-page .mst-buy-product-copy {
        text-align: left;
    }

    #mst-buy-page .mst-buy-region-selector {
        grid-template-columns: 1fr;
    }

    #mst-buy-page .mst-buy-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    #mst-buy-page .mst-buy-required-note {
        text-align: left;
    }

    #mst-buy-page .mst-buy-primary-button {
        grid-template-columns: 27px minmax(0, 1fr);
    }

    #mst-buy-page .mst-buy-primary-button > strong {
        display: none;
    }

    #mst-buy-page .mst-buy-faq {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    #mst-buy-page {
        padding-bottom: 76px;
    }

    #mst-buy-page .mst-buy-container {
        width: min(100% - 22px, 1180px);
    }

    #mst-buy-page .mst-buy-page-shell {
        padding-block: 15px 38px;
    }

    #mst-buy-page .mst-buy-breadcrumb {
        margin-bottom: 13px;
        font-size: 11.5px;
    }

    #mst-buy-page .mst-buy-hero,
    #mst-buy-page .mst-buy-checkout-main,
    #mst-buy-page .mst-buy-summary-card,
    #mst-buy-page .mst-buy-assurance-section,
    #mst-buy-page .mst-buy-faq-section {
        border-radius: 18px;
    }

    #mst-buy-page .mst-buy-image-stage {
        min-height: 245px;
        padding: 18px;
    }

    #mst-buy-page .mst-buy-product-image {
        max-height: 235px;
    }

    #mst-buy-page h1 {
        font-size: 34px;
    }

    #mst-buy-page .mst-buy-feature-chips {
        gap: 7px;
    }

    #mst-buy-page .mst-buy-feature-chips span {
        padding: 7px 9px;
        font-size: 11px;
    }

    #mst-buy-page .mst-buy-checkout-layout {
        margin-top: 16px;
        gap: 16px;
    }

    #mst-buy-page .mst-buy-checkout-main,
    #mst-buy-page .mst-buy-summary-card,
    #mst-buy-page .mst-buy-assurance-section,
    #mst-buy-page .mst-buy-faq-section {
        padding: 19px;
    }

    #mst-buy-page .mst-buy-process-grid {
        grid-template-columns: 1fr;
    }

    #mst-buy-page .mst-buy-mobile-bar {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: 12px;
        position: fixed;
        z-index: 9990;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 10px max(11px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(11px, env(safe-area-inset-left));
        background: rgba(255, 255, 255, 0.97);
        border-top: 1px solid #dfd2c8;
        box-shadow: 0 -10px 30px rgba(44, 26, 19, 0.14);
        backdrop-filter: blur(12px);
    }

    #mst-buy-page .mst-buy-mobile-bar > div {
        display: grid;
        min-width: 92px;
    }

    #mst-buy-page .mst-buy-mobile-bar small {
        color: var(--buy-muted);
        font-size: 9.5px;
    }

    #mst-buy-page .mst-buy-mobile-bar strong {
        color: var(--buy-brand);
        font-size: 20px;
        line-height: 1.2;
    }

    #mst-buy-page .mst-buy-mobile-bar a {
        display: grid;
        place-items: center;
        min-height: 48px;
        padding: 10px 13px;
        color: #fff;
        background: linear-gradient(115deg, var(--buy-brand-dark), var(--buy-brand));
        border-radius: 13px;
        font-size: 12.5px;
        font-weight: 850;
        text-align: center;
        text-decoration: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    #mst-buy-page *,
    #mst-buy-page *::before,
    #mst-buy-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media (max-width: 560px) {
    #mst-buy-page .mst-buy-mobile-bar {
        transition: transform 180ms ease, opacity 180ms ease;
    }

    #mst-buy-page .mst-buy-mobile-bar.is-hidden {
        opacity: 0;
        pointer-events: none;
        transform: translateY(120%);
    }
}


/* =========================================================
   INLINE CONTACT FORM — SCOPED TO BUY PAGE ONLY
========================================================= */
#mst-buy-page .mst-buy-order-form {
    margin-top: 18px;
    padding: 22px;
    border: 1px solid #ead8cb;
    border-radius: 18px;
    background: linear-gradient(180deg, #fffdfa 0%, #fff8f2 100%);
    box-shadow: 0 10px 28px rgba(89, 42, 23, 0.06);
}

#mst-buy-page .mst-buy-form-intro {
    margin: 0 0 18px;
    color: #67574c;
    font-size: 14px;
    line-height: 1.65;
}

#mst-buy-page .mst-buy-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

#mst-buy-page .mst-buy-field {
    min-width: 0;
}

#mst-buy-page .mst-buy-field-full {
    grid-column: 1 / -1;
}


#mst-buy-page .mst-buy-region-dependent[hidden] {
    display: none !important;
}

#mst-buy-page .mst-buy-field input[readonly] {
    background: #f5eee8;
    color: #4d3b31;
    cursor: default;
}

#mst-buy-page .mst-buy-field label {
    display: block;
    margin: 0 0 7px;
    color: #38271f;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.35;
}

#mst-buy-page .mst-buy-required-star {
    color: #b12820;
}

#mst-buy-page .mst-buy-field input,
#mst-buy-page .mst-buy-field select,
#mst-buy-page .mst-buy-field textarea {
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 11px 13px;
    border: 1px solid #d8c8bc;
    border-radius: 11px;
    background: #ffffff;
    color: #2f211b;
    font: 500 15px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    box-shadow: 0 1px 2px rgba(61, 31, 17, 0.03);
    outline: none;
    transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

#mst-buy-page .mst-buy-field textarea {
    min-height: 86px;
    resize: vertical;
}

#mst-buy-page .mst-buy-field input::placeholder,
#mst-buy-page .mst-buy-field textarea::placeholder {
    color: #9a8d84;
}

#mst-buy-page .mst-buy-field input:focus,
#mst-buy-page .mst-buy-field select:focus,
#mst-buy-page .mst-buy-field textarea:focus {
    border-color: #a33a2f;
    box-shadow: 0 0 0 4px rgba(163, 58, 47, 0.11);
}

#mst-buy-page .mst-buy-field input:invalid:not(:placeholder-shown),
#mst-buy-page .mst-buy-field textarea:invalid:not(:placeholder-shown),
#mst-buy-page .mst-buy-field select:invalid {
    border-color: #c7554a;
}

#mst-buy-page .mst-buy-field-help {
    display: block;
    margin-top: 6px;
    color: #806f64;
    font-size: 12px;
    line-height: 1.45;
}

#mst-buy-page .mst-buy-form-divider {
    grid-column: 1 / -1;
    height: 1px;
    margin: 3px 0;
    background: #eadbd1;
}

#mst-buy-page .mst-buy-form-subtitle {
    grid-column: 1 / -1;
    margin: 1px 0 -2px;
    color: #4b3328;
    font-size: 14px;
    font-weight: 800;
}

#mst-buy-page .mst-buy-consent {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 10px;
    align-items: start;
    margin-top: 2px;
    padding: 13px 14px;
    border: 1px solid #e8d8cd;
    border-radius: 12px;
    background: #ffffff;
    color: #66564b;
    font-size: 12px;
    line-height: 1.55;
}

#mst-buy-page .mst-buy-consent input {
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    accent-color: #8f2c24;
}

#mst-buy-page .mst-buy-consent a {
    color: #8f2c24;
    font-weight: 750;
    text-decoration: underline;
    text-underline-offset: 2px;
}

#mst-buy-page .mst-buy-submit-button {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 56px;
    margin: 2px 0 0;
    padding: 13px 17px;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(135deg, #9c2b22 0%, #721e19 100%);
    color: #ffffff;
    font: 800 15px/1.25 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    cursor: pointer;
    box-shadow: 0 12px 25px rgba(114, 30, 25, 0.23);
    transition: transform 150ms ease, box-shadow 150ms ease, filter 150ms ease;
}

#mst-buy-page .mst-buy-submit-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 15px 30px rgba(114, 30, 25, 0.28);
    filter: brightness(1.03);
}

#mst-buy-page .mst-buy-submit-button:focus-visible {
    outline: 3px solid rgba(156, 43, 34, 0.26);
    outline-offset: 3px;
}

#mst-buy-page .mst-buy-submit-button:disabled {
    cursor: wait;
    opacity: 0.72;
    transform: none;
}

#mst-buy-page .mst-buy-submit-button svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
    flex: 0 0 auto;
}

#mst-buy-page .mst-buy-submit-button strong {
    margin-left: auto;
    padding-left: 10px;
    font-size: 15px;
    white-space: nowrap;
}

#mst-buy-page .mst-buy-form-status {
    grid-column: 1 / -1;
    display: none;
    margin-top: 1px;
    padding: 12px 13px;
    border: 1px solid #b9d9c2;
    border-radius: 10px;
    background: #f0fbf3;
    color: #285b35;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
}

#mst-buy-page .mst-buy-form-status.is-visible {
    display: block;
}

#mst-buy-page .mst-buy-form-security {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #74645a;
    font-size: 12px;
    line-height: 1.55;
}

#mst-buy-page .mst-buy-form-security span {
    color: #327147;
    font-size: 16px;
    line-height: 1.2;
}

@media (max-width: 720px) {
    #mst-buy-page .mst-buy-order-form {
        padding: 17px;
        border-radius: 15px;
    }

    #mst-buy-page .mst-buy-form-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    #mst-buy-page .mst-buy-field-full,
    #mst-buy-page .mst-buy-form-divider,
    #mst-buy-page .mst-buy-form-subtitle,
    #mst-buy-page .mst-buy-consent,
    #mst-buy-page .mst-buy-submit-button,
    #mst-buy-page .mst-buy-form-status,
    #mst-buy-page .mst-buy-form-security {
        grid-column: auto;
    }

    #mst-buy-page .mst-buy-submit-button {
        flex-wrap: wrap;
    }

    #mst-buy-page .mst-buy-submit-button strong {
        width: 100%;
        margin-left: 0;
        padding-left: 0;
        font-size: 14px;
    }
}


/* Server-side validation messages */
#mst-buy-page .mst-buy-form-status.is-error {
    display: block;
    color: #7f1d1d;
    background: #fff1f1;
    border-color: #efb7b7;
}

#mst-buy-page .mst-buy-form-status ul {
    margin: 0;
    padding-left: 18px;
}

#mst-buy-page .mst-buy-region-button:disabled {
    cursor: not-allowed;
    opacity: .55;
    transform: none;
}

#mst-buy-page .mst-buy-region-button[hidden] {
    display: none !important;
}

#mst-buy-page .mst-buy-image-fallback.is-visible {
    display: grid;
}
