/* DDG FLOW V4 Customer Step 2: 1500px middle layout */
:root{
  --ddg-customer-width:1500px;
  --ddg-page-bg:#fff;
  --ddg-card-bg:#fff;
  --ddg-line:#e5e7eb;
  --ddg-text:#111827;
  --ddg-muted:#6b7280;
}

html,body,
button,input,select,textarea{
  font-family:Pretendard,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}
body.has-ddg-shell{
  background:var(--ddg-page-bg)!important;
  color:var(--ddg-text)!important;
}

/* 공통 가운데 영역 */
body.has-ddg-shell #portalMain{
  width:min(calc(100% - 48px),var(--ddg-customer-width));
  max-width:none;
  margin:0 auto;
  padding:28px 0 56px;
}
body.has-ddg-shell .portal-view,
body.has-ddg-shell .portal-cases-view{
  width:100%;
  max-width:none;
  margin:0;
  padding:0;
}

/* 공지 */
body.has-ddg-shell .portal-notice-strip{
  min-height:54px;
  margin:0 0 18px;
  padding:0 22px;
  border:1px solid var(--ddg-line);
  border-radius:12px;
  background:var(--ddg-card-bg);
  box-shadow:none;
}

/* 홈 카드 */
body.has-ddg-shell .board-section,
body.has-ddg-shell .voice-section,
body.has-ddg-shell .portal-page-card{
  margin:0 0 18px;
  padding:24px 26px;
  border:1px solid var(--ddg-line);
  border-radius:14px;
  background:var(--ddg-card-bg);
  box-shadow:none;
}
body.has-ddg-shell .portal-page-card{
  padding:0;
  overflow:hidden;
}
body.has-ddg-shell .section-title{
  min-height:70px;
  margin:0 0 14px;
  padding:0 0 16px;
  align-items:center;
  border-bottom:1px solid var(--ddg-line);
}
body.has-ddg-shell .section-title>div>span{
  color:#ef4444;
  font-size:10px;
  letter-spacing:.14em;
}
body.has-ddg-shell .section-title h2{
  margin:5px 0 4px;
  color:var(--ddg-text);
  font-size:22px;
  line-height:1.25;
  letter-spacing:-.035em;
}
body.has-ddg-shell .section-title p{
  color:var(--ddg-muted);
  font-size:13px;
}
body.has-ddg-shell .section-title button{
  min-width:92px;
  height:44px;
  border-color:#d1d5db;
  border-radius:10px;
  background:#fff;
  color:#374151;
}

/* 시안접수 목록 밀도 및 폭 */
body.has-ddg-shell .board-head,
body.has-ddg-shell .board-item__row{
  grid-template-columns:70px minmax(0,1fr) 150px 180px 112px;
  gap:18px;
}
body.has-ddg-shell .board-head{
  padding:10px 14px;
  color:#7b8491;
}
body.has-ddg-shell .board-item__row{
  min-height:72px;
  padding:12px 14px;
}
body.has-ddg-shell .board-item__title{
  font-size:14px;
  letter-spacing:-.02em;
}
body.has-ddg-shell .board-item__receipt,
body.has-ddg-shell .board-item time,
body.has-ddg-shell .board-item__status{
  font-size:12px;
}
body.has-ddg-shell .board-item__view{
  width:100%;
  min-width:100px;
  height:44px;
  border-color:#f09a9a;
  border-radius:10px;
  color:#e53935;
  background:#fff;
}

/* 페이지별 공통 */
body.has-ddg-shell .embedded-toolbar{
  height:70px;
  padding:0 24px;
  border-color:var(--ddg-line);
  border-radius:14px 14px 0 0;
}
body.has-ddg-shell .embedded-toolbar strong{font-size:19px;letter-spacing:-.03em}
body.has-ddg-shell .embedded-toolbar span{font-size:12px;color:var(--ddg-muted)}
body.has-ddg-shell .portal-coming,
body.has-ddg-shell .portal-frame{
  border-color:var(--ddg-line);
}

/* 하단도 같은 기준선 */
body.has-ddg-shell .portal-footer{
  width:min(calc(100% - 48px),var(--ddg-customer-width));
  max-width:none;
  margin:0 auto 34px;
  padding:24px 0;
  border-top:1px solid var(--ddg-line);
  color:var(--ddg-muted);
}

@media(max-width:1200px){
  body.has-ddg-shell #portalMain,
  body.has-ddg-shell .portal-footer{width:min(calc(100% - 32px),var(--ddg-customer-width))}
}
@media(max-width:800px){
  body.has-ddg-shell #portalMain{width:calc(100% - 24px);padding:16px 0 36px}
  body.has-ddg-shell .portal-notice-strip{margin-bottom:12px;padding:0 14px}
  body.has-ddg-shell .board-section,
  body.has-ddg-shell .voice-section{margin-bottom:12px;padding:18px 14px;border-radius:12px}
  body.has-ddg-shell .section-title{min-height:0;align-items:flex-start;padding-bottom:14px}
  body.has-ddg-shell .section-title h2{font-size:20px}
  body.has-ddg-shell .board-head{display:none}
  body.has-ddg-shell .board-item__row{grid-template-columns:34px minmax(0,1fr) 82px;gap:8px;padding:11px 4px}
  body.has-ddg-shell .board-item__status,body.has-ddg-shell .board-item time{grid-column:2}
  body.has-ddg-shell .board-item__view{grid-column:3;grid-row:1/4;min-width:82px;width:82px;padding:0 8px;font-size:13px}
  body.has-ddg-shell .portal-footer{width:calc(100% - 24px);margin-bottom:20px}
}

/* DDG FLOW V4 Customer Step 3: Hero + benefit cards */
body.has-ddg-shell .customer-hero{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr);
  min-height:360px;
  margin:0 0 18px;
  overflow:hidden;
  border:1px solid var(--ddg-line);
  border-radius:18px;
  background:#fff;
}
body.has-ddg-shell .customer-hero__copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:48px 56px;
}
body.has-ddg-shell .customer-hero__eyebrow{
  margin-bottom:15px;
  color:#6b7280;
  font-size:11px;
  font-weight:800;
  letter-spacing:.18em;
}
body.has-ddg-shell .customer-hero h1{
  margin:0;
  color:#111827;
  font-size:42px;
  font-weight:800;
  line-height:1.16;
  letter-spacing:-.055em;
}
body.has-ddg-shell .customer-hero__copy>p{
  max-width:540px;
  margin:19px 0 0;
  color:#6b7280;
  font-size:16px;
  line-height:1.7;
  letter-spacing:-.02em;
}
body.has-ddg-shell .customer-hero__points{
  display:flex;
  flex-wrap:wrap;
  gap:10px 20px;
  margin:24px 0 0;
  padding:0;
  list-style:none;
}
body.has-ddg-shell .customer-hero__points li{
  position:relative;
  padding-left:17px;
  color:#374151;
  font-size:13px;
  font-weight:650;
}
body.has-ddg-shell .customer-hero__points li::before{
  content:"";
  position:absolute;
  left:0;
  top:6px;
  width:7px;
  height:7px;
  border-radius:50%;
  background:#4b5563;
}
body.has-ddg-shell .customer-hero__actions{
  display:flex;
  gap:10px;
  margin-top:30px;
}
body.has-ddg-shell .customer-hero__actions button{
  min-width:150px;
  height:48px;
  padding:0 22px;
  border-radius:11px;
  font-size:14px;
  font-weight:750;
  cursor:pointer;
}
body.has-ddg-shell .customer-hero__primary{
  border:1px solid #374151;
  background:#374151;
  color:#fff;
}
body.has-ddg-shell .customer-hero__secondary{
  border:1px solid #d1d5db;
  background:#fff;
  color:#374151;
}
body.has-ddg-shell .customer-hero__actions button:hover{transform:translateY(-1px)}
body.has-ddg-shell .customer-hero__visual{
  position:relative;
  min-height:360px;
  overflow:hidden;
  background:#eceeef;
}
body.has-ddg-shell .customer-hero__visual::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(255,255,255,.22),transparent 34%);
  pointer-events:none;
}
body.has-ddg-shell .customer-hero__visual img{
  width:100%;
  height:100%;
  min-height:360px;
  object-fit:cover;
  display:block;
}
body.has-ddg-shell .customer-hero__mockup{
  position:absolute;
  inset:36px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  border:1px solid #d1d5db;
  border-radius:24px;
  background:linear-gradient(145deg,#fff,#e5e7eb);
  color:#374151;
}
body.has-ddg-shell .customer-hero__mockup span{
  width:104px;height:104px;margin-bottom:18px;border-radius:28px;
  background:linear-gradient(145deg,#d1d5db,#f9fafb);
  transform:rotate(-12deg);
}
body.has-ddg-shell .customer-hero__mockup strong{font-size:24px;letter-spacing:.04em}
body.has-ddg-shell .customer-hero__mockup em{margin-top:5px;color:#9ca3af;font-size:12px;font-style:normal}

body.has-ddg-shell .customer-benefits{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin:0 0 18px;
}
body.has-ddg-shell .customer-benefits article{
  display:flex;
  align-items:center;
  gap:16px;
  min-height:104px;
  padding:22px 24px;
  border:1px solid var(--ddg-line);
  border-radius:14px;
  background:#fff;
  transition:transform .18s ease,border-color .18s ease;
}
body.has-ddg-shell .customer-benefits article:hover{
  transform:translateY(-2px);
  border-color:#cfd4dc;
}
body.has-ddg-shell .customer-benefits article>span{
  display:grid;
  place-items:center;
  flex:0 0 42px;
  width:42px;height:42px;
  border-radius:12px;
  background:#f3f4f6;
  color:#4b5563;
  font-size:12px;
  font-weight:800;
}
body.has-ddg-shell .customer-benefits strong{
  display:block;
  color:#111827;
  font-size:15px;
  letter-spacing:-.025em;
}
body.has-ddg-shell .customer-benefits p{
  margin:5px 0 0;
  color:#6b7280;
  font-size:12px;
  line-height:1.55;
}

@media(max-width:1000px){
  body.has-ddg-shell .customer-hero{grid-template-columns:1fr}
  body.has-ddg-shell .customer-hero__visual{min-height:270px;order:-1}
  body.has-ddg-shell .customer-hero__visual img{min-height:270px}
  body.has-ddg-shell .customer-hero__copy{padding:36px 34px}
  body.has-ddg-shell .customer-hero h1{font-size:36px}
}
@media(max-width:800px){
  body.has-ddg-shell .customer-hero{min-height:0;border-radius:14px}
  body.has-ddg-shell .customer-hero__visual{min-height:210px}
  body.has-ddg-shell .customer-hero__visual img{min-height:210px}
  body.has-ddg-shell .customer-hero__copy{padding:28px 22px 30px}
  body.has-ddg-shell .customer-hero h1{font-size:31px}
  body.has-ddg-shell .customer-hero__copy>p{font-size:14px}
  body.has-ddg-shell .customer-hero__points{display:grid;gap:8px}
  body.has-ddg-shell .customer-hero__actions{display:grid}
  body.has-ddg-shell .customer-hero__actions button{width:100%}
  body.has-ddg-shell .customer-benefits{grid-template-columns:1fr;gap:10px}
  body.has-ddg-shell .customer-benefits article{min-height:90px;padding:18px}
}

/* DDG FLOW V4 Customer Step 4: Hero image slider */
body.has-ddg-shell .customer-hero__visual{
  isolation:isolate;
}
body.has-ddg-shell .customer-hero-slider__track,
body.has-ddg-shell .customer-hero-slide{
  position:absolute;
  inset:0;
}
body.has-ddg-shell .customer-hero-slide{
  margin:0;
  opacity:0;
  visibility:hidden;
  transition:opacity .65s ease,visibility .65s ease;
}
body.has-ddg-shell .customer-hero-slide.is-active{
  opacity:1;
  visibility:visible;
}
body.has-ddg-shell .customer-hero-slide img{
  width:100%;
  height:100%;
  min-height:360px;
  object-fit:cover;
  object-position:center;
  display:block;
}
body.has-ddg-shell .customer-hero-slider__fallback{
  position:absolute;
  inset:0;
}
body.has-ddg-shell .customer-hero-slider__arrow{
  position:absolute;
  z-index:3;
  top:50%;
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  padding:0;
  transform:translateY(-50%);
  border:1px solid rgba(255,255,255,.58);
  border-radius:50%;
  background:rgba(17,24,39,.38);
  color:#fff;
  font-family:Arial,sans-serif!important;
  font-size:28px;
  line-height:1;
  cursor:pointer;
  backdrop-filter:blur(7px);
  transition:background .18s ease,transform .18s ease;
}
body.has-ddg-shell .customer-hero-slider__arrow:hover{
  background:rgba(17,24,39,.65);
  transform:translateY(-50%) scale(1.04);
}
body.has-ddg-shell .customer-hero-slider__arrow.is-prev{left:18px}
body.has-ddg-shell .customer-hero-slider__arrow.is-next{right:18px}
body.has-ddg-shell .customer-hero-slider__dots{
  position:absolute;
  z-index:3;
  left:50%;
  bottom:18px;
  display:flex;
  gap:8px;
  transform:translateX(-50%);
}
body.has-ddg-shell .customer-hero-slider__dot{
  width:9px;
  height:9px;
  padding:0;
  border:1px solid rgba(255,255,255,.88);
  border-radius:50%;
  background:rgba(17,24,39,.35);
  cursor:pointer;
  transition:width .18s ease,background .18s ease,border-radius .18s ease;
}
body.has-ddg-shell .customer-hero-slider__dot.is-active{
  width:26px;
  border-radius:999px;
  background:#fff;
}
body.has-ddg-shell .customer-hero__visual.is-empty .customer-hero-slider__arrow,
body.has-ddg-shell .customer-hero__visual.is-empty .customer-hero-slider__dots{
  display:none;
}
@media(max-width:1000px){
  body.has-ddg-shell .customer-hero-slide img{min-height:270px}
}
@media(max-width:800px){
  body.has-ddg-shell .customer-hero-slide img{min-height:210px}
  body.has-ddg-shell .customer-hero-slider__arrow{width:36px;height:36px;font-size:24px}
  body.has-ddg-shell .customer-hero-slider__arrow.is-prev{left:10px}
  body.has-ddg-shell .customer-hero-slider__arrow.is-next{right:10px}
  body.has-ddg-shell .customer-hero-slider__dots{bottom:12px}
}
@media(prefers-reduced-motion:reduce){
  body.has-ddg-shell .customer-hero-slide{transition:none}
}

/* DDG FLOW V4 Customer Step 6: Integrated compact footer */
body.has-ddg-shell .portal-footer.customer-legal-footer{
  display:block;
  width:min(calc(100% - 64px),var(--ddg-customer-width));
  max-width:var(--ddg-customer-width);
  margin:24px auto 32px;
  padding:0;
  border:1px solid #e2e5e9;
  border-radius:16px;
  background:#fff;
  color:#4b5563;
  box-shadow:0 6px 24px rgba(15,23,42,.025);
  overflow:hidden;
}
body.has-ddg-shell .customer-legal-footer__inner{
  width:100%;
  margin:0;
  padding:0 28px;
}
body.has-ddg-shell .customer-legal-footer__links{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  min-height:58px;
  border-bottom:1px solid #e7e9ed;
  font-size:13px;
  font-weight:680;
}
body.has-ddg-shell .customer-legal-footer__links a{color:#252b34;text-decoration:none}
body.has-ddg-shell .customer-legal-footer__links a:hover{color:#111827;text-decoration:underline;text-underline-offset:4px}
body.has-ddg-shell .customer-legal-footer__links span{color:#c6cbd2;font-weight:400}
body.has-ddg-shell .customer-legal-footer__columns{
  display:grid;
  grid-template-columns:minmax(0,1.65fr) minmax(230px,.75fr) minmax(230px,.75fr);
  gap:42px;
  padding:30px 0 28px;
}
body.has-ddg-shell .customer-legal-footer__section h2{
  margin:0 0 15px;
  color:#111827;
  font-size:14px;
  font-weight:760;
  letter-spacing:-.02em;
}
body.has-ddg-shell .customer-legal-footer__section dl{display:grid;gap:7px;margin:0}
body.has-ddg-shell .customer-legal-footer__company dl{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px}
body.has-ddg-shell .customer-legal-footer__section dl>div{display:grid;grid-template-columns:104px minmax(0,1fr);gap:8px;font-size:12px;line-height:1.55}
body.has-ddg-shell .customer-legal-footer__section dl>div.is-wide{grid-column:1/-1}
body.has-ddg-shell .customer-legal-footer__section dt{color:#8a929e}
body.has-ddg-shell .customer-legal-footer__section dd{margin:0;color:#3d4551;overflow-wrap:anywhere}
body.has-ddg-shell .customer-legal-footer__section a{color:inherit;text-decoration:none}
body.has-ddg-shell .customer-legal-footer__phone{margin:0 0 12px;color:#111827;font-size:21px;font-weight:780;letter-spacing:-.025em}
body.has-ddg-shell .customer-legal-footer__bottom{
  display:flex;
  justify-content:space-between;
  gap:24px;
  padding:18px 0 20px;
  border-top:1px solid #e7e9ed;
  color:#929aa5;
  font-size:11px;
}
body.has-ddg-shell .customer-legal-footer__bottom p{margin:0}
body.has-ddg-shell .customer-legal-footer__bottom strong{color:#737c88}
@media(max-width:1100px){
  body.has-ddg-shell .customer-legal-footer__columns{grid-template-columns:1.3fr 1fr;gap:30px}
  body.has-ddg-shell .customer-legal-footer__columns .customer-legal-footer__section:last-child{grid-column:1/-1}
}
@media(max-width:760px){
  body.has-ddg-shell .portal-footer.customer-legal-footer{width:calc(100% - 24px);margin:18px auto 24px;border-radius:14px}
  body.has-ddg-shell .customer-legal-footer__inner{padding:0 18px}
  body.has-ddg-shell .customer-legal-footer__links{gap:8px;min-height:54px;font-size:12px}
  body.has-ddg-shell .customer-legal-footer__columns{grid-template-columns:1fr;gap:26px;padding:26px 0}
  body.has-ddg-shell .customer-legal-footer__columns .customer-legal-footer__section:last-child{grid-column:auto}
  body.has-ddg-shell .customer-legal-footer__company dl{grid-template-columns:1fr}
  body.has-ddg-shell .customer-legal-footer__section dl>div.is-wide{grid-column:auto}
  body.has-ddg-shell .customer-legal-footer__bottom{display:grid;gap:6px;padding:16px 0 18px}
}

/* DDG FLOW V4 Customer Step 7: final compact integrated footer */
body.has-ddg-shell #portalMain{
  padding-bottom:20px;
}
body.has-ddg-shell .voice-section{
  margin-bottom:0;
  padding-bottom:20px;
}
body.has-ddg-shell .voice-section .section-title{
  min-height:0;
  margin-bottom:0;
}
body.has-ddg-shell .voice-grid{
  margin-top:10px;
}
body.has-ddg-shell .voice-grid>.loading,
body.has-ddg-shell .voice-grid>.empty{
  min-height:52px;
  padding:16px 18px;
  border:1px dashed #d9dde3;
  border-radius:10px;
  background:#fafafa;
  color:#7b8490;
  text-align:left;
}
body.has-ddg-shell .portal-footer.customer-legal-footer{
  width:min(calc(100% - 48px),var(--ddg-customer-width));
  margin:18px auto 28px;
  border:1px solid #e1e4e8;
  border-radius:14px;
  background:#f3f4f6;
  box-shadow:none;
}
body.has-ddg-shell .customer-legal-footer__inner{
  padding:0 24px;
}
body.has-ddg-shell .customer-legal-footer__links{
  justify-content:flex-start;
  min-height:46px;
  gap:8px;
  font-size:12px;
}
body.has-ddg-shell .customer-legal-footer__columns{
  grid-template-columns:minmax(0,1.55fr) minmax(220px,1fr) minmax(210px,.8fr);
  gap:34px;
  padding:20px 0 18px;
}
body.has-ddg-shell .customer-legal-footer__section h2{
  margin-bottom:10px;
  font-size:13px;
}
body.has-ddg-shell .customer-legal-footer__section dl{
  gap:4px;
}
body.has-ddg-shell .customer-legal-footer__section dl>div{
  grid-template-columns:96px minmax(0,1fr);
  gap:6px;
  font-size:11px;
  line-height:1.45;
}
body.has-ddg-shell .customer-legal-footer__phone{
  margin-bottom:8px;
  font-size:19px;
}
body.has-ddg-shell .customer-legal-footer__bottom{
  padding:12px 0 14px;
  font-size:10px;
}
@media(max-width:1100px){
  body.has-ddg-shell .customer-legal-footer__columns{
    grid-template-columns:1.25fr 1fr;
    gap:22px 30px;
  }
}
@media(max-width:760px){
  body.has-ddg-shell #portalMain{padding-bottom:8px}
  body.has-ddg-shell .portal-footer.customer-legal-footer{margin-top:12px}
  body.has-ddg-shell .customer-legal-footer__inner{padding:0 16px}
  body.has-ddg-shell .customer-legal-footer__links{min-height:48px}
  body.has-ddg-shell .customer-legal-footer__columns{gap:20px;padding:20px 0}
}


/* DDG FLOW V4 Customer Step 8: review empty-state + refined footer */
body.has-ddg-shell .voice-section{
  padding:22px 24px 18px;
}
body.has-ddg-shell .voice-grid{
  margin-top:10px;
}
body.has-ddg-shell .voice-grid>.portal-empty-inline,
body.has-ddg-shell .voice-grid>.loading,
body.has-ddg-shell .voice-grid>.empty{
  min-height:64px;
  padding:13px 16px;
  align-items:flex-start;
  justify-content:center;
  border:1px dashed #d8dde4;
  border-radius:10px;
  background:#fafbfc;
  text-align:left;
}
body.has-ddg-shell .voice-grid>.portal-empty-inline strong{
  color:#4b5563;
  font-size:13px;
  font-weight:700;
}
body.has-ddg-shell .voice-grid>.portal-empty-inline span{
  margin-top:3px;
  color:#8a929e;
  font-size:11px;
}
body.has-ddg-shell .portal-footer.customer-legal-footer{
  margin-top:14px;
  background:#f7f8fa;
  border-color:#e2e5e9;
}
body.has-ddg-shell .customer-legal-footer__links{
  justify-content:center;
  gap:9px;
  min-height:44px;
  font-size:12px;
}
body.has-ddg-shell .customer-legal-footer__columns{
  grid-template-columns:minmax(0,1.45fr) minmax(220px,.9fr) minmax(200px,.72fr);
  gap:28px;
  padding:18px 0 16px;
}
body.has-ddg-shell .customer-legal-footer__section h2{
  margin-bottom:9px;
  font-size:12px;
}
body.has-ddg-shell .customer-legal-footer__section dl>div{
  grid-template-columns:88px minmax(0,1fr);
  font-size:11px;
  line-height:1.42;
}
body.has-ddg-shell .customer-legal-footer__phone{
  margin-bottom:7px;
  font-size:17px;
  font-weight:750;
}
body.has-ddg-shell .customer-legal-footer__bottom{
  padding:10px 0 12px;
}
@media(max-width:760px){
  body.has-ddg-shell .customer-legal-footer__links{
    justify-content:flex-start;
    overflow-x:auto;
    white-space:nowrap;
  }
  body.has-ddg-shell .voice-section{padding:18px 16px 14px}
}

/* CanvasD mobile footer fix 2026-08-06
   Mobile-only overrides. Desktop footer remains unchanged. */
@media (max-width: 760px) {
  body.has-ddg-shell .portal-footer.customer-legal-footer {
    width: calc(100% - 20px);
    margin: 12px auto 76px;
    border-radius: 12px;
    overflow: hidden;
  }

  body.has-ddg-shell .customer-legal-footer__inner {
    padding: 0 14px;
  }

  body.has-ddg-shell .customer-legal-footer__links {
    min-height: auto;
    padding: 13px 0;
    gap: 7px 9px;
    overflow-x: visible;
    white-space: normal;
    line-height: 1.4;
  }

  body.has-ddg-shell .customer-legal-footer__links span {
    display: none;
  }

  body.has-ddg-shell .customer-legal-footer__links a {
    flex: 0 0 calc(50% - 5px);
    padding: 8px 9px;
    border: 1px solid #e2e6eb;
    border-radius: 8px;
    background: #fff;
    text-align: center;
    font-size: 12px;
  }

  body.has-ddg-shell .customer-legal-footer__columns {
    display: block;
    padding: 0;
  }

  body.has-ddg-shell .customer-legal-footer__section {
    min-width: 0;
    padding: 18px 0;
    border-top: 1px solid #e3e7ec;
  }

  body.has-ddg-shell .customer-legal-footer__section h2 {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.4;
  }

  body.has-ddg-shell .customer-legal-footer__company dl,
  body.has-ddg-shell .customer-legal-footer__section dl {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    min-width: 0;
  }

  body.has-ddg-shell .customer-legal-footer__section dl > div,
  body.has-ddg-shell .customer-legal-footer__section dl > div.is-wide {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    grid-column: auto;
    gap: 10px;
    min-width: 0;
    font-size: 12px;
    line-height: 1.55;
  }

  body.has-ddg-shell .customer-legal-footer__section dt,
  body.has-ddg-shell .customer-legal-footer__section dd,
  body.has-ddg-shell .customer-legal-footer__section a {
    min-width: 0;
    writing-mode: horizontal-tb;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  body.has-ddg-shell .customer-legal-footer__section dt {
    white-space: nowrap;
  }

  body.has-ddg-shell .customer-legal-footer__phone {
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 1.2;
  }

  body.has-ddg-shell .customer-legal-footer__bottom {
    display: grid;
    gap: 5px;
    padding: 14px 0 18px;
    text-align: center;
    font-size: 10px;
    line-height: 1.5;
  }
}

@media (max-width: 390px) {
  body.has-ddg-shell .customer-legal-footer__section dl > div,
  body.has-ddg-shell .customer-legal-footer__section dl > div.is-wide {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 8px;
    font-size: 11px;
  }
}
