.dg-auth-modal[hidden] { display: none; }
.dg-auth-modal { position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; padding: 24px; }
.dg-auth-modal__backdrop { position: absolute; inset: 0; background: rgba(29,29,29,.42); backdrop-filter: blur(4px); opacity: 0; animation: dg-auth-modal-fade-in .22s ease forwards; }
.dg-auth-modal__dialog { position: relative; width: min(100%, 500px); max-height: min(720px, calc(100vh - 48px)); overflow-y: auto; padding: 42px 42px 36px; border: 1px solid rgba(29,29,29,.1); border-radius: 24px; background: #fff; box-shadow: 0 24px 70px rgba(29,29,29,.2); color: #1d1d1d; opacity: 0; transform: translateY(16px) scale(.98); animation: dg-auth-modal-up .28s cubic-bezier(.22,.61,.36,1) .03s forwards; }
.dg-auth-modal__close { position: absolute; top: 14px; right: 16px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: #1d1d1d; font-size: 28px; line-height: 1; cursor: pointer; transition: background-color .2s ease, transform .2s ease; }
.dg-auth-modal__close:hover { background: #F2EEEB; transform: rotate(90deg); }
.dg-auth-modal__eyebrow { margin-bottom: 12px; color: #73170f; font-size: 11px; font-weight: 700; letter-spacing: .16em; }
.dg-auth-modal__dialog h2 { margin: 0 0 10px; color: #1d1d1d; font-size: clamp(26px, 4vw, 34px); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.dg-auth-modal__intro { max-width: 390px; margin: 0 0 26px; color: #5d5d5d; font-size: 15px; line-height: 1.55; }
.dg-auth-modal__tabs { display: flex; gap: 24px; margin-bottom: 24px; border-bottom: 1px solid #e6e1dd; }
.dg-auth-modal__tab { position: relative; border: 0; padding: 0 0 12px; background: transparent; color: #777; font: inherit; font-size: 15px; cursor: pointer; }
.dg-auth-modal__tab::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: #73170f; content: ''; opacity: 0; transform: scaleX(.35); transition: opacity .2s ease, transform .2s ease; }
.dg-auth-modal__tab.is-active { color: #1d1d1d; font-weight: 600; }
.dg-auth-modal__tab.is-active::after { opacity: 1; transform: scaleX(1); }
.dg-auth-modal__panel[hidden] { display: none; }
.dg-auth-modal__form { display: grid; gap: 16px; }
.dg-auth-modal__field { display: grid; gap: 7px; color: #363636; font-size: 13px; font-weight: 600; }
.dg-auth-modal__field input { width: 100%; height: 52px; padding: 0 16px; border: 1px solid #d8d4d1; border-radius: 12px; outline: 0; background: #fff; color: #1d1d1d; font: inherit; font-size: 15px; transition: border-color .2s ease, box-shadow .2s ease; }
.dg-auth-modal__field input::placeholder { color: #98918c; }
.dg-auth-modal__field input:focus { border-color: #73170f; box-shadow: 0 0 0 3px rgba(115,23,15,.1); }
.dg-auth-modal__submit { display: flex; align-items: center; justify-content: space-between; min-height: 54px; margin-top: 4px; padding: 0 20px; border: 0; border-radius: 999px; background: #1d1d1d; color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: background-color .2s ease, transform .2s ease; }
.dg-auth-modal__submit:hover { background: #73170f; transform: translateY(-1px); }
.dg-auth-modal--account .dg-auth-modal__submit { background: #F0460E; }
.dg-auth-modal--account .dg-auth-modal__submit:hover { background: #F0460E; }
.dg-auth-modal__link { margin: 20px 0 0; padding: 0; border: 0; background: transparent; color: #1d1d1d; font: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.dg-auth-modal__note { margin: -2px 0 0; padding: 12px 14px; border-radius: 10px; background: #F2EEEB; color: #5d5d5d; font-size: 13px; line-height: 1.45; }
.dg-auth-modal__status { margin: 18px 0 0; padding: 11px 13px; border-radius: 10px; background: #f8f3f0; color: #73170f; font-size: 13px; line-height: 1.45; }
.dg-auth-modal__legal { display:flex; flex-wrap:wrap; justify-content:flex-start; gap:0; margin:22px 0 0; font-size:12px; line-height:1.5; }
.dg-auth-modal__legal a { color:#1d1d1d; text-decoration:underline; text-underline-offset:3px; }
.dg-auth-modal__legal span { color:#706a66; padding:0 8px; }
body.dg-auth-modal-open { overflow: hidden; }
.dg-delivery-accordion .checkout-billing__input.is-invalid { border-color: #9a2c20 !important; box-shadow: 0 0 0 3px rgba(154,44,32,.1); }
@keyframes dg-auth-modal-fade-in { to { opacity: 1; } }
@keyframes dg-auth-modal-up { to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 575px) {
    .dg-auth-modal { padding: 14px; }
    .dg-auth-modal__dialog { padding: 36px 24px 28px; border-radius: 20px; }
    .dg-auth-modal__tabs { gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .dg-auth-modal__backdrop, .dg-auth-modal__dialog { animation: none; opacity: 1; transform: none; }
}
.dg-payphone-modal[hidden] { display: none; }
.dg-payphone-modal { position: fixed; inset: 0; z-index: 1210; display: grid; place-items: center; padding: 16px; }
.dg-payphone-modal__backdrop { position: absolute; inset: 0; background: rgba(29,29,29,.48); backdrop-filter: blur(5px); }
.dg-payphone-modal__dialog { position: relative; width: min(100%, 620px); max-height: calc(100vh - 32px); overflow-y: auto; padding: 30px 30px 28px; border: 1px solid rgba(29,29,29,.1); border-radius: 24px; background: #fff; box-shadow: 0 24px 70px rgba(29,29,29,.22); color: #1d1d1d; animation: dg-auth-modal-up .28s cubic-bezier(.22,.61,.36,1) forwards; }
.dg-payphone-modal__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid #e9e3df; }
.dg-payphone-modal__header h2 { margin: 0; color: #1d1d1d; font-size: 28px; font-weight: 500; letter-spacing: -.03em; }
.dg-payphone-modal__close { width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: #1d1d1d; font-size: 28px; line-height: 1; cursor: pointer; }
.dg-payphone-modal__close:hover { background: #F2EEEB; }
.dg-payphone-modal__intro { margin: 18px 0; color: #5d5d5d; font-size: 14px; line-height: 1.5; }
.dg-payphone-modal__status { min-height: 20px; margin: 0 0 12px; color: #73170f; font-size: 13px; }
#truppty-payphone-box { min-height: 120px; }
#truppty-payphone-box .ppb-content,
#truppty-payphone-box .ppb-body,
#truppty-payphone-box .ppb-content.ppb-body,
#truppty-payphone-box .ppb-content .ppb-body,
#truppty-payphone-box .ppb-content .payment-box { width: 100% !important; max-width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }
#truppty-payphone-box .ppb-content,
#truppty-payphone-box .ppb-body { padding-left: 0 !important; padding-right: 0 !important; }
#truppty-payphone-box #root { width: 100% !important; max-width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; padding-top: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
#truppty-payphone-box .payment-box { box-sizing: border-box !important; flex: 1 1 auto !important; flex-basis: 100% !important; width: 100% !important; }
#truppty-payphone-box .pp-button-box, #truppty-payphone-box > div { max-width: 100%; }
@media (max-width: 575px) { .dg-payphone-modal { padding: 8px; } .dg-payphone-modal__dialog { padding: 24px 16px; border-radius: 18px; } }
