      .checkout-card, .summary-card, .support-card { transition: box-shadow var(--md-duration-short) var(--md-easing), transform var(--md-duration-short) var(--md-easing); }
      .checkout-card:hover, .summary-card:hover, .support-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.06); transform: translateY(-2px); }
      .delivery-strip {
        background: var(--md-surface-2);
        border-radius: var(--md-shape-xl);
        margin: 8px 16px 14px;
        padding: 10px 12px;
        display: flex;
        align-items: center;
        gap: 10px;
        border: 1px solid var(--md-outline-var);
      }
      .delivery-icon {
        width: 36px;
        height: 36px;
        border-radius: var(--md-shape-md);
        background: var(--md-primary-container);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        flex-shrink: 0;
      }
      .delivery-info {
        flex: 1;
      }
      .checkout-address-picker {
        display: grid;
        gap: 6px;
        margin-top: 16px;
        color: var(--md-on-surface-var);
        font-size: 12px;
        font-weight: 600;
      }
      .checkout-address-picker select {
        width: 100%;
        min-height: 44px;
        padding: 0 12px;
        border: 1px solid var(--md-outline-var);
        border-radius: 10px;
        background: var(--md-surface);
        color: var(--md-on-surface);
        font: inherit;
      }
      .delivery-title {
        font-size: 12px;
        font-weight: 500;
        color: var(--md-on-surface);
      }
      .delivery-title strong {
        font-weight: 600;
      }
      .delivery-sub {
        font-size: 12px;
        color: var(--md-on-surface-var);
        margin-top: 1px;
      }
      .delivery-badge {
        font-family: var(--font-display);
        font-size: 11px;
        font-weight: 700;
        color: var(--md-primary);
        background: var(--md-primary-container);
        padding: 6px 10px;
        border-radius: 8px;
        white-space: nowrap;
        flex-shrink: 0;
      }
      .checkout-card{



        background:var(--md-surface-1);



        border-radius:var(--md-shape-xl);



        margin:12px 16px 0;



        padding:20px;



        box-shadow:0 1px 3px rgba(0,0,0,.08);



      }
      .checkout-card-title{font-size:13px;font-weight:600;color:#111111;text-transform:uppercase;letter-spacing:.8px;margin-bottom:16px;}
      .checkout-trust-banner{
        display:flex;flex-wrap:wrap;gap:8px;
        margin-top:12px;padding:12px 14px;
        border:1px solid var(--md-outline-var);border-radius:var(--md-shape-md);
        background:var(--md-surface-2);
      }
      .checkout-trust-pill{
        display:inline-flex;align-items:center;gap:6px;
        padding:6px 10px;border-radius:999px;
        background:var(--md-surface-4);color:#111111;
        font-size:12px;font-weight:700;letter-spacing:.2px;
      }
      .checkout-trust-pill svg{width:14px;height:14px;flex-shrink:0;color:var(--md-primary);}
      .checkout-summary-card{

        background:var(--md-surface-4);

        color:#111111;

        border-radius:var(--md-shape-lg);

        padding:20px;

        margin-bottom:24px;

        position:relative;

        z-index:10;

        box-shadow:0 2px 8px rgba(0,0,0,0.08);

        border-left:4px solid var(--md-primary);

      }
      .checkout-summary-card .sum-row{

        display:flex;

        justify-content:space-between;

        align-items:center;

        margin-bottom:12px;

        font-size:14px;

      }
      .checkout-summary-card .sum-row:last-child{

        margin-bottom:0;

        padding-top:12px;

        border-top:1px solid var(--md-outline-var);

        font-size:16px;

        font-weight:700;

        color:#111111;

      }
      .delivery-info{

        padding:12px;

        background:var(--md-surface-2);

        border-radius:var(--md-shape-md);

      }
      .delivery-name{

        font-weight:600;

        font-size:15px;

        color:#111111;

        margin-bottom:4px;

      }
      .delivery-address{

        font-size:13px;

        color:#111111;

        margin-bottom:4px;

      }
      .delivery-phone{

        font-size:13px;

        color:#111111;

      }
      .checkout-btn {



        width:100%;



        padding:14px 20px;



        background:linear-gradient(135deg, var(--md-primary) 0%, var(--md-primary-dark) 100%);



        color:var(--md-on-primary);



        border:none;



        border-radius:10px;



        font-weight:700;



        font-size:15px;



        cursor:pointer;



        transition:all 0.3s ease;



      }
      .checkout-btn:hover {



        transform:translateY(-2px);



        box-shadow:0 8px 20px rgba(255, 77, 0, 0.28);



      }
      .checkout-btn:active {



        transform:translateY(0);



        box-shadow:0 4px 12px rgba(255, 77, 0, 0.2);



      }
      .checkout-bar {



        display:flex;



        flex-direction:column;



        gap:12px;



        padding:16px 20px;



        background:var(--md-surface);



        border-top:1px solid var(--border);



        flex-shrink:0;



        position:sticky;



        bottom:0;



        box-shadow:0 -4px 12px rgba(0,0,0,0.08);



        z-index:10;



        animation:slideUpIn 0.3s ease-out;



      }
      .checkout-row {







        display:flex; flex-direction:column; align-items:flex-start; gap:6px;







        margin-bottom:8px;







      }
      .checkout-label {







        font-size:13px; color:#111111;







      }
      .checkout-val {







        font-size:13px; font-weight:600; color:#111111;







      }
      .checkout-total-label {







        font-family:'Google Sans Display', sans-serif;







        font-size:16px; font-weight:700; color:#111111;







      }
      .checkout-total-val {







        font-family:'Google Sans Display', sans-serif;







        font-size:20px; font-weight:700; color:#111111;







      }
      .checkout-card{



        background:var(--md-surface-1);



        border-radius:var(--md-shape-xl);



        margin:12px 16px 0;



        padding:20px;



        box-shadow:0 1px 3px rgba(0,0,0,.08);



      }
      .checkout-card-title{font-size:13px;font-weight:600;color:#111111;text-transform:uppercase;letter-spacing:.8px;margin-bottom:16px;}
      .checkout-trust-banner{
        display:flex;flex-wrap:wrap;gap:8px;
        margin-top:12px;padding:12px 14px;
        border:1px solid var(--md-outline-var);border-radius:var(--md-shape-md);
        background:var(--md-surface-2);
      }
      .checkout-trust-pill{
        display:inline-flex;align-items:center;gap:6px;
        padding:6px 10px;border-radius:999px;
        background:var(--md-surface);color:#111111;
        font-size:12px;font-weight:700;letter-spacing:.2px;
      }
      .checkout-trust-pill svg{width:14px;height:14px;flex-shrink:0;color:var(--md-primary);}
      #screen-checkout .coupon-row {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 10px;
        width: 100%;
      }
      #screen-checkout .coupon-row .field {
        width: auto !important;
        min-width: 0 !important;
        height: 48px !important;
        min-height: 48px !important;
        padding: 0 14px !important;
        border-radius: 12px !important;
        box-sizing: border-box;
      }
      #screen-checkout .coupon-row .btn-filled {
        width: auto !important;
        min-width: 92px !important;
        height: 48px !important;
        min-height: 48px !important;
        padding: 0 18px !important;
        border-radius: 12px !important;
        border: none !important;
        background: var(--md-primary) !important;
        color: var(--md-on-primary) !important;
        box-shadow: 0 8px 18px rgba(255, 77, 0, 0.22) !important;
        white-space: nowrap;
      }
      #screen-checkout #checkout-sum-card .account-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 10px;
        margin-top: 14px;
      }
      #screen-checkout #checkout-sum-card .account-actions button {
        width: 100% !important;
        height: 48px !important;
        min-height: 48px !important;
        min-width: 0 !important;
        padding: 0 14px !important;
        border-radius: 12px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-family: var(--font-body) !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        cursor: pointer;
        box-sizing: border-box !important;
      }
      #screen-checkout #checkout-sum-card .account-actions .btn-filled {
        border: 1px solid var(--md-primary) !important;
        background: var(--md-primary) !important;
        color: var(--md-on-primary) !important;
        box-shadow: 0 8px 18px rgba(255, 77, 0, 0.22) !important;
      }
      #screen-checkout #checkout-sum-card .account-actions .btn-outlined {
        border: 1px solid var(--md-primary) !important;
        background: transparent !important;
        color: var(--md-primary) !important;
        box-shadow: none !important;
      }
      #screen-checkout #checkout-sum-card .account-actions button:hover {
        transform: translateY(-1px);
      }
      #screen-checkout #checkout-auth-card .account-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        width: 100%;
      }
      #screen-checkout #checkout-auth-card .account-actions button {
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
      }
      #screen-checkout .checkout-card {
        position: relative;
        background: rgba(255,255,255,0.96) !important;
        border: 1px solid rgba(120,75,40,0.08);
        border-radius: 28px;
        margin: 18px 16px 0;
        padding: 20px 18px;
        box-shadow: 0 14px 34px rgba(44,25,14,0.045);
        overflow: hidden;
      }
      #screen-checkout .checkout-card::before {
        content: "";
        position: absolute;
        left: 28px;
        right: 28px;
        top: 0;
        height: 3px;
        border-radius: 999px;
        background: linear-gradient(90deg, rgba(255, 77, 0, 0.88), rgba(255, 77, 0, 0.16));
      }
      #screen-checkout .checkout-card-title {
        margin-bottom: 16px;
        margin-top: 4px;
        font-size: 15px;
        font-weight: 800;
        letter-spacing: 0.01em;
        color: #111827;
      }
      #screen-checkout .delivery-info {
        padding: 16px 14px;
        background: var(--md-surface-2);
        border-radius: 24px;
        border: 1px solid rgba(255,107,0,0.045);
        box-shadow: inset 0 1px 0 rgba(255,255,255,.72), 0 8px 18px rgba(44,25,14,.025);
      }
      #screen-checkout .delivery-name {
        font-size: 14px;
        font-weight: 800;
        color: #111827;
        margin-bottom: 8px;
      }
      #screen-checkout .delivery-address, #screen-checkout .delivery-phone {
        font-size: 13px;
        line-height: 1.6;
        color: rgba(17,24,39,0.74);
      }
      #screen-checkout .checkout-card-note {
        margin-top: 12px;
        font-size: 12px;
        color: #5f6a6d;
        line-height: 1.5;
      }
      #screen-checkout .checkout-summary-card {
        margin: 18px 16px 24px;
        padding: 20px 18px 18px;
        border-radius: 28px;
        background: linear-gradient(180deg, #fffdfb 0%, #fff6f0 100%);
        border: 1px solid rgba(120,75,40,0.08);
        box-shadow: 0 18px 38px rgba(44,25,14,0.06);
      }
      #screen-checkout .checkout-summary-header {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 12px;
        padding-bottom: 12px;
        border-bottom: 1px solid rgba(17,17,17,0.08);
      }
      #screen-checkout .checkout-summary-kicker {
        font-size: 11px;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        font-weight: 800;
        color: rgba(17,24,39,0.62);
      }
      #screen-checkout .checkout-summary-total {
        font-size: 24px;
        font-weight: 800;
        color: #111827;
        letter-spacing: -0.04em;
      }
      #screen-checkout .checkout-summary-list { margin-top: 6px; }
      #screen-checkout .checkout-summary-card .sum-row {
        font-size: 15px;
        padding: 12px 0;
        border-bottom: 1px solid rgba(17,17,17,0.08);
      }
      #screen-checkout .checkout-summary-card .sum-row:last-child { border-bottom: none; }
      #screen-checkout .checkout-summary-card .sum-row.total {
        font-size: 18px;
        font-weight: 700;
        color: #111111;
        margin-top: 8px;
        padding-top: 16px;
      }
      #screen-checkout .checkout-summary-card .sum-row.promo-row { color: var(--md-primary); }
      #screen-checkout .checkout-summary-card .sum-note {
        font-size: 12px;
        color: #5b4d3f;
        line-height: 1.5;
        margin-top: 12px;
      }
      #screen-checkout .checkout-summary-card .btn-filled { width: 100%; min-height: 54px; margin-top: 16px; }

      #screen-checkout {
        background: var(--md-surface-1) !important;
        background-image: radial-gradient(circle at 92% 4%, rgba(255, 137, 70, 0.12), transparent 34%), linear-gradient(180deg, var(--md-surface-1) 0%, #fff8f4 100%) !important;
      }

      #screen-checkout > .top-app-bar {
        min-height: 68px !important;
        height: 68px !important;
        background: #fffaf7 !important;
        border-bottom: 1px solid rgba(28, 14, 6, 0.08) !important;
      }

      #screen-checkout > .top-app-bar .bar-title {
        font-size: 22px !important;
        font-weight: 700 !important;
        color: #1c0e06 !important;
      }

      #screen-checkout .scroll-body {
        background: transparent !important;
        padding: 14px 0 32px !important;
      }

      #screen-checkout .checkout-hero {
        margin: 0 14px 14px !important;
        padding: 22px 20px !important;
        border-radius: 18px !important;
        background: linear-gradient(135deg, #2a160d 0%, #59220d 100%) !important;
        box-shadow: 0 12px 26px rgba(28, 14, 6, 0.15) !important;
      }

      #screen-checkout .checkout-hero-title {
        font-size: 25px !important;
        line-height: 1.1 !important;
        letter-spacing: 0 !important;
      }

      #screen-checkout .checkout-hero-note {
        max-width: 310px !important;
        line-height: 1.5 !important;
      }

      #screen-checkout .checkout-card,
      #screen-checkout .support-card,
      #screen-checkout .checkout-summary-card {
        margin: 0 14px 12px !important;
        border-radius: 16px !important;
        border: 1px solid rgba(28, 14, 6, 0.09) !important;
        background: var(--md-surface-4) !important;
        box-shadow: 0 5px 16px rgba(28, 14, 6, 0.06) !important;
      }

      #screen-checkout .checkout-card {
        padding: 18px !important;
      }

      #screen-checkout .checkout-card-title,
      #screen-checkout .support-card-title {
        color: #1c0e06 !important;
        font-size: 14px !important;
        letter-spacing: 0.04em !important;
      }

      #screen-checkout .delivery-info {
        padding: 14px !important;
        border-radius: 12px !important;
        background: var(--md-surface-2) !important;
      }

      #screen-checkout .delivery-name {
        font-size: 16px !important;
        font-weight: 700 !important;
      }

      #screen-checkout .delivery-address,
      #screen-checkout .delivery-phone {
        line-height: 1.45 !important;
      }

      #screen-checkout .pay-row {
        min-height: 72px !important;
        margin-bottom: 10px !important;
        padding: 14px !important;
        border-radius: 14px !important;
        background: var(--md-surface-2) !important;
        box-shadow: 0 3px 10px rgba(28, 14, 6, 0.05) !important;
      }

      #screen-checkout .pay-row.sel {
        border-color: #ff4d00 !important;
        background: var(--md-surface-2) !important;
        box-shadow: 0 6px 16px rgba(255, 77, 0, 0.12) !important;
      }

      #screen-checkout .pay-row .pay-check {
        border-radius: 50% !important;
        background: #f4e9e3 !important;
      }

      #screen-checkout .pay-row.sel .pay-check {
        background: #ff4d00 !important;
        color: #ffffff !important;
      }

      #screen-checkout .checkout-trust-banner {
        gap: 8px !important;
        padding: 10px !important;
        background: var(--md-surface-1) !important;
        border-radius: 12px !important;
      }

      #screen-checkout .checkout-trust-pill {
        flex: 1 1 130px !important;
        min-height: 38px !important;
        border-radius: 10px !important;
        background: #ffffff !important;
      }

      #screen-checkout .coupon-row {
        gap: 8px !important;
      }

      #screen-checkout .coupon-row .field {
        min-height: 48px !important;
        border-radius: 12px !important;
      }

      #screen-checkout .coupon-row .btn-filled {
        min-width: 92px !important;
        height: 48px !important;
        border-radius: 12px !important;
      }

      #screen-checkout .checkout-summary-card {
        padding: 18px !important;
        background: var(--md-surface-1) !important;
      }

      #screen-checkout .checkout-summary-card .checkout-summary-kicker {
        color: #d14500 !important;
      }

      #screen-checkout .checkout-summary-card .sum-row.total {
        font-size: 20px !important;
        border-top-color: rgba(28, 14, 6, 0.12) !important;
      }

      #screen-checkout .checkout-summary-card .btn-filled {
        min-height: 56px !important;
        margin-top: 18px !important;
        border-radius: 14px !important;
        font-size: 15px !important;
        box-shadow: 0 10px 22px rgba(209, 69, 0, 0.22) !important;
      }

      #screen-checkout .checkout-summary-card .btn-filled,
      #screen-checkout .checkout-summary-card .btn-filled span,
      #screen-checkout .checkout-summary-card .btn-filled .price-currency,
      #screen-checkout .checkout-summary-card .btn-filled .price-num {
        color: #ffffff !important;
      }

      @media (max-width: 360px) {
        #screen-checkout .checkout-card,
        #screen-checkout .support-card,
        #screen-checkout .checkout-summary-card,
        #screen-checkout .checkout-hero {
          margin-left: 10px !important;
          margin-right: 10px !important;
        }
      }

      /* Final checkout hierarchy: keep the decision path calm and scannable. */
      #screen-checkout .checkout-hero {
        padding: 22px 20px 18px !important;
        background: linear-gradient(135deg, #24130c 0%, #6d2a0e 100%) !important;
      }
      #screen-checkout .checkout-hero-badge {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        padding: 6px 10px;
        border: 1px solid rgba(255,255,255,.22);
        border-radius: 999px;
        background: rgba(255,255,255,.1);
      }
      #screen-checkout .checkout-hero-dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #f6c56d;
        box-shadow: 0 0 0 4px rgba(246,197,109,.14);
      }
      #screen-checkout .checkout-steps {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-top: 18px;
        color: rgba(255,255,255,.62);
        font-size: 11px;
        font-weight: 700;
      }
      #screen-checkout .checkout-step { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
      #screen-checkout .checkout-step b {
        display: grid;
        place-items: center;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: rgba(255,255,255,.14);
        color: rgba(255,255,255,.76);
        font-size: 10px;
      }
      #screen-checkout .checkout-step.is-current { color: #fff; }
      #screen-checkout .checkout-step.is-current b { background: #ff6b1a; color: #fff; }
      #screen-checkout .checkout-step-line { flex: 1; height: 1px; background: rgba(255,255,255,.2); }
      #screen-checkout .checkout-card-heading {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 16px;
      }
      #screen-checkout .checkout-card-heading .checkout-card-title { margin: 0 !important; }
      #screen-checkout .checkout-status {
        flex: 0 0 auto;
        padding: 5px 8px;
        border-radius: 999px;
        background: #fff0e8;
        color: #c84b0b;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: .04em;
        text-transform: uppercase;
      }
      #screen-checkout .delivery-info { position: relative; padding-left: 16px !important; }
      #screen-checkout .delivery-info::before {
        content: "";
        position: absolute;
        left: 0;
        top: 16px;
        bottom: 16px;
        width: 3px;
        border-radius: 3px;
        background: #ff6b1a;
      }
      #screen-checkout .pay-row { transition: border-color .16s ease, background .16s ease, transform .16s ease, box-shadow .16s ease; }
      #screen-checkout .pay-row:hover { transform: translateY(-1px); }
      #screen-checkout .checkout-summary-card .btn-filled { box-shadow: 0 12px 24px rgba(209,69,0,.26) !important; }
      @media (max-width: 420px) {
        #screen-checkout .checkout-steps { gap: 5px; font-size: 10px; }
        #screen-checkout .checkout-step { gap: 3px; }
        #screen-checkout .checkout-step b { width: 18px; height: 18px; }
      }