/* Shared title region and the approved cart summary placement. Print retains native CSS. */
@media screen {
  .ddk-header-source.ddk-header-source {
    display:block!important; padding:0!important; border:0!important;
    background:transparent!important; box-shadow:none!important;
    height:auto!important; min-height:0!important; overflow:visible!important;
  }
  .ddk-header-source > :not(ddk-series-header) { display:none!important; }
  .ddk-header-source::before,.ddk-header-source::after { display:none!important; }
  .ddk-header-source[data-ddk-header="travel"],
  .ddk-header-source[data-ddk-header="local-economy"] {width:100%!important;min-width:0!important;}
  .ddk-header-source[data-ddk-header="travel"] {grid-column:1/-1!important;}
  .ddk-header-source > ddk-series-header {
    display:block!important; width:100%; min-width:0; color:#10213b;
    font-family:Pretendard,"Noto Sans KR","Malgun Gothic",system-ui,sans-serif;
  }
  .ddk-header-source .header-summary {
    display:flex!important; gap:8px!important; align-items:center!important;
    padding:0!important; margin:0!important; height:auto!important; min-height:0!important;
  }
  .ddk-header-source .header-summary > div {
    padding:2px 8px!important; min-width:60px!important; border-radius:8px!important;
    box-shadow:none!important;
  }
  .ddk-header-source .header-summary span {font-size:11px!important;line-height:14px!important;}
  .ddk-header-source .header-summary strong {font-size:16px!important;line-height:20px!important;}
  [data-ddk-cart-layout="review"] > .card-heading {
    display:flex; flex-direction:row; align-items:center; justify-content:space-between;
    flex-wrap:wrap; gap:12px 16px; margin-bottom:0;
  }
  [data-ddk-cart-layout="review"] #sourceText {display:none!important;}
  [data-ddk-cart-layout="review"] > .toolbar {
    justify-content:flex-end; margin:10px 0 16px; width:100%;
  }
  [data-ddk-cart-layout="review"] .header-summary {
    display:flex; flex-wrap:nowrap; align-items:center; gap:8px;
    margin:0; padding:0; max-width:100%; grid-column:auto; justify-self:auto;
  }
  [data-ddk-cart-layout="review"] .header-summary > div {
    min-width:54px; padding:5px 10px; border-radius:8px; box-shadow:none;
  }
  [data-ddk-cart-layout="review"] .header-summary > div:last-child {min-width:106px;}
  [data-ddk-cart-layout="review"] .header-summary span {font-size:11px;line-height:14px;}
  [data-ddk-cart-layout="review"] .header-summary strong {font-size:16px;line-height:20px;}
}

/* The native 2.2 workspace already supplies compact card spacing. */
@media screen and (min-width: 961px) {
  .hero:has(> .ddk-header-source[data-ddk-header="local-economy"]) {padding-top:0!important;padding-bottom:0!important;margin-bottom:10px!important;}
  .app-shell:has(.ddk-header-source[data-ddk-header="local-economy"]) .sidebar {gap:5px;}
}
