/* =========================================================
   DEUTSCH GO — THANKS + TRACKING
   ONE stylesheet for both post-purchase pages
   ========================================================= */

.dg-order-page{
  --dg-navy:#081F28;
  --dg-navy-2:#0A2832;
  --dg-petrol:#123B4A;
  --dg-yellow:#F4C542;
  --dg-paper:#F7F5EF;
  --dg-white:#FFFFFF;
  --dg-ink:#20272B;
  --dg-muted:#7E8C91;
  --dg-line:rgba(18,59,74,.12);

  width:100%;
  padding:44px 16px 64px !important;
  margin-top:0 !important;
  margin-bottom:0 !important;
  background:
    radial-gradient(circle at 15% 0%,rgba(244,197,66,.11),transparent 28%),
    linear-gradient(180deg,#FBFAF7 0%,var(--dg-paper) 100%);
  color:var(--dg-ink);
}

.dg-order-page > *{
  width:100%;
  max-width:1180px;
  margin-left:auto;
  margin-right:auto;
}

.dg-order-page .dg-order-old-thanks-copy{
  display:none !important;
}

/* =========================================================
   HERO — SHARED
   ========================================================= */
.dg-order-hero{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  padding:46px 42px 38px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:32px;
  background:
    radial-gradient(circle at 15% 8%,rgba(244,197,66,.14),transparent 23%),
    linear-gradient(145deg,var(--dg-navy-2) 0%,var(--dg-navy) 74%,#06181f 100%);
  box-shadow:0 28px 80px rgba(8,31,40,.20);
  color:#fff;
  text-align:center;
}

.dg-order-hero::before{
  content:"";
  position:absolute;
  width:360px;
  height:360px;
  left:-170px;
  top:-170px;
  border:62px solid rgba(244,197,66,.045);
  border-radius:50%;
  z-index:-1;
}

.dg-order-hero::after{
  content:"GO";
  position:absolute;
  right:-16px;
  bottom:-44px;
  color:rgba(255,255,255,.025);
  font-size:180px;
  line-height:1;
  font-weight:1000;
  letter-spacing:-14px;
  z-index:-1;
  pointer-events:none;
}

.dg-order-hero__glow{
  position:absolute;
  inset:auto 50% -80px auto;
  width:300px;
  height:180px;
  transform:translateX(50%);
  background:radial-gradient(circle,rgba(244,197,66,.12),transparent 70%);
  pointer-events:none;
}

.dg-order-success{
  display:grid;
  place-items:center;
  width:76px;
  height:76px;
  margin:0 auto 18px;
  border-radius:24px;
  background:var(--dg-yellow);
  color:var(--dg-navy);
  box-shadow:
    0 16px 40px rgba(244,197,66,.22),
    0 0 0 10px rgba(244,197,66,.06);
}

.dg-order-success--track{
  border:1px solid rgba(244,197,66,.22);
  background:rgba(244,197,66,.10);
  color:var(--dg-yellow);
}

.dg-order-success svg{
  width:36px;
  height:36px;
}

.dg-order-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:10px;
  color:rgba(255,255,255,.56);
  font-size:10px;
  font-weight:900;
  letter-spacing:.14em;
}

.dg-order-eyebrow i{
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--dg-yellow);
  box-shadow:0 0 0 5px rgba(244,197,66,.08);
}

.dg-order-hero h1{
  margin:0 !important;
  color:#fff !important;
  font-size:clamp(32px,5vw,54px) !important;
  line-height:1.15 !important;
  font-weight:1000 !important;
  letter-spacing:-1.6px;
}

.dg-order-hero h1 span{
  color:var(--dg-yellow);
}

.dg-order-hero > p{
  max-width:620px;
  margin:12px auto 0 !important;
  color:rgba(255,255,255,.62);
  font-size:14px;
  line-height:1.9;
}

.dg-order-status{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin-top:18px;
  padding:8px 13px;
  border:1px solid rgba(244,197,66,.16);
  border-radius:999px;
  background:rgba(244,197,66,.07);
  color:rgba(255,255,255,.68);
  font-size:11px;
  font-weight:800;
}

.dg-order-status b{
  color:var(--dg-yellow);
}

.dg-order-status__dot{
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--dg-yellow);
  box-shadow:0 0 0 5px rgba(244,197,66,.08);
}

.dg-order-progress{
  display:grid;
  grid-template-columns:auto minmax(25px,1fr) auto minmax(25px,1fr) auto;
  align-items:center;
  max-width:680px;
  margin:30px auto 0;
}

.dg-order-progress > div{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:7px;
  min-width:115px;
  color:rgba(255,255,255,.38);
  font-size:10px;
  font-weight:800;
}

.dg-order-progress b{
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:50%;
  background:rgba(255,255,255,.055);
  color:rgba(255,255,255,.70);
  font-size:9px;
}

.dg-order-progress .is-active{
  color:#fff;
}

.dg-order-progress .is-active b{
  border-color:var(--dg-yellow);
  background:var(--dg-yellow);
  color:var(--dg-navy);
}

.dg-order-progress > i{
  height:1px;
  background:linear-gradient(90deg,rgba(244,197,66,.45),rgba(255,255,255,.09));
}

/* =========================================================
   WHAT HAPPENS NEXT — THANK YOU PAGE
   ========================================================= */
.dg-order-next{
  margin-top:34px !important;
}

.dg-order-section-head{
  margin-bottom:16px;
}

.dg-order-section-head span{
  display:block;
  margin-bottom:5px;
  color:var(--dg-petrol);
  font-size:9px;
  font-weight:950;
  letter-spacing:.14em;
}

.dg-order-section-head h2{
  margin:0 !important;
  color:var(--dg-navy) !important;
  font-size:25px !important;
  font-weight:950 !important;
}

.dg-order-next-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}

.dg-order-next-grid article{
  position:relative;
  min-height:190px;
  padding:20px;
  border:1px solid var(--dg-line);
  border-radius:22px;
  background:rgba(255,255,255,.80);
  box-shadow:0 12px 34px rgba(8,31,40,.055);
}

.dg-order-next-grid article > b{
  position:absolute;
  top:17px;
  left:18px;
  color:rgba(8,31,40,.09);
  font-size:34px;
  line-height:1;
  font-weight:1000;
}

.dg-order-next-icon{
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  margin-bottom:18px;
  border-radius:13px;
  background:var(--dg-navy);
  color:var(--dg-yellow);
}

.dg-order-next-icon svg{
  width:21px;
  height:21px;
}

.dg-order-next-grid h3{
  margin:0 0 6px !important;
  color:var(--dg-navy) !important;
  font-size:15px !important;
  font-weight:950 !important;
}

.dg-order-next-grid p{
  margin:0 !important;
  color:#748287;
  font-size:11px;
  line-height:1.8;
}

/* =========================================================
   EASYORDERS ORDER/INVOICE — SHARED
   ========================================================= */
.dg-order-page .order_invoice_container{
  margin-top:34px !important;
  border-radius:30px;
  background:transparent !important;
}

.dg-order-page .order_invoice_container > div{
  max-width:1180px !important;
  padding:24px !important;
  border:1px solid var(--dg-line);
  border-radius:28px;
  background:#fff;
  box-shadow:0 22px 60px rgba(8,31,40,.08);
}

.dg-order-page .order_invoice_container > div > .flex.items-center.justify-between{
  gap:14px;
  padding-bottom:18px;
}

.dg-order-page .order_invoice_container img{
  object-fit:contain;
}

.dg-order-track-actions{
  display:flex;
  align-items:center;
  gap:8px;
}

.dg-order-track-btn,
.dg-order-track-open{
  min-height:42px;
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:0 14px !important;
  border-radius:12px !important;
  font-size:11px !important;
  font-weight:900 !important;
  text-decoration:none !important;
  cursor:pointer;
}

.dg-order-track-btn{
  border:0 !important;
  background:var(--dg-yellow) !important;
  color:var(--dg-navy) !important;
  box-shadow:0 9px 20px rgba(244,197,66,.18);
}

.dg-order-track-btn svg{
  width:16px;
  height:16px;
}

.dg-order-track-open{
  border:1px solid rgba(18,59,74,.12);
  background:var(--dg-paper);
  color:var(--dg-petrol);
}

.dg-order-page .order_invoice_container .border.rounded-lg,
.dg-order-page .order_invoice_container .rounded-lg.border{
  border-color:rgba(18,59,74,.12) !important;
  border-radius:18px !important;
  box-shadow:none !important;
  background:#fff;
}

.dg-order-page .order_invoice_container address{
  background:linear-gradient(180deg,#fff,#FBFAF7);
}

.dg-order-page .dg-order-info-card{
  background:
    linear-gradient(145deg,rgba(244,197,66,.07),rgba(255,255,255,.82)) !important;
}

.dg-order-page .dg-order-main-card{
  position:relative;
  overflow:hidden;
  border-color:rgba(244,197,66,.18) !important;
  background:
    radial-gradient(circle at 10% 10%,rgba(244,197,66,.11),transparent 30%),
    linear-gradient(180deg,#fff,#FBFAF7) !important;
}

.dg-order-page .dg-order-main-card::after{
  content:"ORDER";
  position:absolute;
  left:12px;
  bottom:-15px;
  color:rgba(8,31,40,.025);
  font-size:52px;
  line-height:1;
  font-weight:1000;
  pointer-events:none;
}

.dg-order-page .order_invoice_container h3,
.dg-order-page .order_invoice_container h4{
  color:var(--dg-navy) !important;
  font-weight:900 !important;
}

.dg-order-page .order_invoice_container dt{
  color:var(--dg-navy);
}

.dg-order-page .order_invoice_container [class*="text-gray-500"],
.dg-order-page .order_invoice_container [class*="text-gray-600"]{
  color:#7C898E !important;
}

.dg-order-page .order_invoice_container .col-span-2.col-start-2{
  background:
    linear-gradient(145deg,rgba(8,31,40,.035),rgba(244,197,66,.045));
}

/* Tracking page starts with hero then invoice */
.dg-order-page--tracking .order_invoice_container{
  margin-top:28px !important;
}

/* =========================================================
   DRIVE CARD — SHARED
   ========================================================= */
.dg-order-drive{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:auto 1fr;
  gap:16px;
  align-items:center;
  margin-top:22px !important;
  padding:22px;
  border:1px solid rgba(244,197,66,.16);
  border-radius:24px;
  background:
    radial-gradient(circle at 10% 20%,rgba(244,197,66,.10),transparent 26%),
    linear-gradient(145deg,var(--dg-navy-2),var(--dg-navy));
  color:#fff;
  box-shadow:0 16px 42px rgba(8,31,40,.12);
}

.dg-order-drive::after{
  content:"AUDIO";
  position:absolute;
  left:-8px;
  bottom:-21px;
  color:rgba(255,255,255,.025);
  font-size:76px;
  line-height:1;
  font-weight:1000;
  letter-spacing:-5px;
}

.dg-order-drive__icon{
  position:relative;
  z-index:2;
  display:grid;
  place-items:center;
  width:56px;
  height:56px;
  border-radius:18px;
  background:var(--dg-yellow);
  color:var(--dg-navy);
  box-shadow:0 12px 30px rgba(244,197,66,.16);
}

.dg-order-drive__icon svg{
  width:27px;
  height:27px;
}

.dg-order-drive__content{
  position:relative;
  z-index:2;
}

.dg-order-drive__content > span{
  display:block;
  margin-bottom:4px;
  color:var(--dg-yellow);
  font-size:9px;
  font-weight:950;
  letter-spacing:.13em;
}

.dg-order-drive h2{
  margin:0 !important;
  color:#fff !important;
  font-size:18px !important;
  font-weight:950 !important;
}

.dg-order-drive p{
  max-width:720px;
  margin:5px 0 0 !important;
  color:rgba(255,255,255,.58);
  font-size:11px;
  line-height:1.8;
}

/* =========================================================
   CTA — SHARED
   ========================================================= */
.dg-order-page--thanks > .mb-12.mt-12.self-center,
.dg-order-tracking-footer-actions{
  width:100%;
  max-width:1180px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin:28px auto 0 !important;
}

.dg-order-home,
.dg-order-whatsapp{
  min-height:50px;
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:0 18px !important;
  border-radius:14px !important;
  font-size:12px !important;
  font-weight:950 !important;
  text-decoration:none !important;
}

.dg-order-home{
  background:var(--dg-yellow) !important;
  color:var(--dg-navy) !important;
  box-shadow:0 12px 28px rgba(244,197,66,.18);
}

.dg-order-whatsapp{
  border:1px solid rgba(18,59,74,.12);
  background:#fff;
  color:var(--dg-petrol);
}

.dg-order-home svg,
.dg-order-whatsapp svg{
  width:18px;
  height:18px;
}

/* =========================================================
   MOBILE
   ========================================================= */
@media(max-width:767px){
  .dg-order-page{
    padding:20px 12px 42px !important;
  }

  .dg-order-hero{
    padding:30px 18px 26px;
    border-radius:24px;
  }

  .dg-order-hero::before{
    width:250px;
    height:250px;
    left:-140px;
    top:-140px;
    border-width:44px;
  }

  .dg-order-hero::after{
    right:-4px;
    bottom:-20px;
    font-size:100px;
    letter-spacing:-8px;
  }

  .dg-order-success{
    width:64px;
    height:64px;
    border-radius:20px;
  }

  .dg-order-success svg{
    width:30px;
    height:30px;
  }

  .dg-order-hero h1{
    font-size:30px !important;
    letter-spacing:-.8px;
  }

  .dg-order-hero > p{
    font-size:11px;
    line-height:1.8;
  }

  .dg-order-progress{
    grid-template-columns:1fr;
    gap:8px;
    margin-top:22px;
  }

  .dg-order-progress > i{
    width:1px;
    height:16px;
    margin:auto;
    background:linear-gradient(180deg,rgba(244,197,66,.45),rgba(255,255,255,.09));
  }

  .dg-order-progress > div{
    min-width:0;
    flex-direction:row;
    justify-content:center;
  }

  .dg-order-next{
    margin-top:24px !important;
  }

  .dg-order-section-head h2{
    font-size:21px !important;
  }

  .dg-order-next-grid{
    grid-template-columns:1fr;
  }

  .dg-order-next-grid article{
    min-height:0;
    padding:17px;
  }

  .dg-order-page .order_invoice_container{
    margin-top:24px !important;
  }

  .dg-order-page .order_invoice_container > div{
    padding:15px !important;
    border-radius:22px;
  }

  .dg-order-page .order_invoice_container > div > .flex.items-center.justify-between{
    flex-direction:column;
    align-items:stretch !important;
  }

  .dg-order-track-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    width:100%;
  }

  .dg-order-track-btn,
  .dg-order-track-open{
    width:100%;
    padding:0 10px !important;
    font-size:10px !important;
  }

  .dg-order-drive{
    grid-template-columns:44px 1fr;
    gap:12px;
    padding:16px;
    border-radius:20px;
  }

  .dg-order-drive__icon{
    width:44px;
    height:44px;
    border-radius:14px;
  }

  .dg-order-drive__icon svg{
    width:21px;
    height:21px;
  }

  .dg-order-drive h2{
    font-size:15px !important;
  }

  .dg-order-drive p{
    font-size:10px;
    line-height:1.65;
  }

  .dg-order-page--thanks > .mb-12.mt-12.self-center,
  .dg-order-tracking-footer-actions{
    display:grid;
    grid-template-columns:1fr;
    gap:8px;
  }

  .dg-order-home,
  .dg-order-whatsapp{
    width:100%;
  }
}

@media(prefers-reduced-motion:reduce){
  .dg-order-page *,
  .dg-order-page *::before,
  .dg-order-page *::after{
    scroll-behavior:auto !important;
    transition:none !important;
    animation:none !important;
  }
}
