@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700;800&family=Oswald:wght@500;600;700&display=swap');

:root {
  color-scheme: light;
  --brand-yellow: #ffcc00;
  --brand-red: #d40511;
  --ink-900: #121212;
  --ink-700: #30343d;
  --ink-500: #5e6472;
  --line: #d8dbe4;
  --surface: #ffffff;
  --surface-soft: #f5f7fb;
  --shadow: 0 12px 32px rgba(18, 18, 18, 0.09);
  --radius-lg: 1.1rem;
  --radius-md: 0.75rem;
}

* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Barlow', 'Segoe UI', sans-serif;
  color: var(--ink-900);
  background:
    radial-gradient(circle at 15% -20%, rgba(255, 204, 0, 0.2), transparent 45%),
    radial-gradient(circle at 100% 20%, rgba(212, 5, 17, 0.09), transparent 40%),
    var(--surface-soft);
  line-height: 1.6;
}

a {
  color: var(--brand-red);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

img[loading='lazy'] {
  content-visibility: auto;
}

button,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
h4 {
  font-family: 'Oswald', 'Barlow', sans-serif;
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin-top: 0;
}

p {
  margin-top: 0;
}

.container {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header,
.header-bar,
nav {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}

.site-header::before,
.header-bar::before,
nav::before {
  content: '';
  display: block;
  height: 6px;
  background: linear-gradient(90deg, var(--brand-yellow), #ffd738 40%, var(--brand-red));
}

.site-header .header-inner,
.header-bar .nav-inner,
nav .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0 1rem;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--ink-900);
  font-weight: 700;
}

.site-brand h1 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  margin: 0;
}

.site-brand p {
  margin: 0.15rem 0 0;
  color: var(--ink-500);
  font-size: 0.92rem;
}

.site-brand img,
.footer-logo img {
  width: 52px;
  height: auto;
}

.navbar,
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.navbar a,
.nav-links a {
  color: var(--ink-700);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.navbar a:hover,
.nav-links a:hover,
.navbar a.active,
.nav-links a.active {
  background: #fff3c0;
  color: var(--brand-red);
  text-decoration: none;
}

.hero {
  color: #171717;
  padding: 5rem 0;
  background:
    linear-gradient(122deg, rgba(255, 204, 0, 0.98) 0%, rgba(255, 204, 0, 0.98) 52%, rgba(212, 5, 17, 0.92) 52%),
    repeating-linear-gradient(-32deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.22) 11px, transparent 11px, transparent 24px);
}

.hero-content h1,
.track-panel h1,
.ship-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 0 0 1rem;
}

.hero-content p {
  max-width: 680px;
  font-weight: 500;
  margin-bottom: 1.35rem;
}

.primary,
.cta-btn,
.btn,
.ghost-btn {
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.primary,
.cta-btn,
.btn {
  color: #ffffff;
  background: linear-gradient(180deg, #df101d, #b1020d);
  box-shadow: 0 8px 16px rgba(180, 2, 13, 0.22);
}

.ghost-btn {
  background: #ffffff;
  color: var(--ink-900);
  border: 1px solid var(--line);
}

.primary:hover,
.cta-btn:hover,
.btn:hover,
.ghost-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(18, 18, 18, 0.12);
  text-decoration: none;
}

button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.section,
.ship-page,
.track-page {
  padding: 3rem 0;
  position: relative;
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}

.section::before,
.ship-page::before,
.track-page::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 5, 17, 0.28), transparent);
}

.about,
.tariff-section,
.cargo-section,
.updates-section,
.cards-section,
.info-section {
  scroll-margin-top: 90px;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.05rem;
}

.notice-banner {
  margin: 0.9rem 0 0;
}

.notice-banner .container {
  background: #fff7d2;
  border: 1px solid #efd98b;
  color: #3a341f;
  border-radius: var(--radius-md);
  padding: 0.7rem 0.9rem;
  font-size: 0.92rem;
}

.notice-banner strong {
  color: #8e101b;
}

.section-rule {
  width: min(140px, 40vw);
  height: 5px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-yellow));
}

.about {
  background: linear-gradient(180deg, #ffffff, #fff9e8);
}

.tariff-section {
  background: linear-gradient(180deg, #fffdf5, #fff6ce);
}

.cargo-section {
  background: linear-gradient(180deg, #ffffff, #f6f8ff);
}

.updates-section {
  background: linear-gradient(180deg, #fff4f5, #ffffff);
}

.cards-section {
  background: linear-gradient(180deg, #f4f8ff, #ffffff);
}

.info-section {
  background: #121923;
  color: #e7edf8;
}

.info-section a {
  color: #ffffff;
}

.eyebrow {
  margin-bottom: 0.4rem;
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-red);
}

.subtitle,
.subtle {
  color: var(--ink-500);
}

.info-section .subtitle,
.info-section .subtle {
  color: #ccd8eb;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.form-card,
.register-form,
.ship-card,
.track-card,
.faq-card,
.history-card,
.mini-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.ship-hero {
  margin-bottom: 1.5rem;
  border-top: 6px solid var(--brand-yellow);
}

.form-group,
.form-row {
  margin-bottom: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-group label,
.form-group input,
.form-group select,
.form-group textarea {
  display: block;
  width: 100%;
}

.form-group label {
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-700);
}

.form-group input,
.form-group select,
.form-group textarea,
.track-box input {
  padding: 0.78rem 0.9rem;
  border: 1px solid #cfd5e2;
  border-radius: var(--radius-md);
  font: inherit;
  font-size: 16px;
  background: #ffffff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.track-box input:focus {
  outline: 2px solid rgba(212, 5, 17, 0.2);
  border-color: var(--brand-red);
}

.track-box {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.track-box input {
  flex: 1 1 260px;
}

.actions-row,
.history-headline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.result-box,
.form-status {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  background: #f8faff;
  border: 1px solid #d9e2f2;
}

.form-status.success,
.result-box.success {
  background: #ecf9f0;
  border-color: #7ccf95;
  color: #146134;
}

.form-status.error,
.result-box.error {
  background: #fff2f3;
  border-color: #f4b4ba;
  color: #8e101b;
}

.form-status.info,
.result-box.info {
  background: #f7f8fa;
  border-color: #d4d7dd;
  color: var(--ink-700);
}

.dhl-result-host {
  background: #ffffff;
  border-color: #d9d9d9;
  padding: 0.6rem;
}

.mobile-track-card {
  background: #ffffff;
  border: 1px solid #dfe5ea;
  border-radius: 0.8rem;
  overflow: hidden;
  color: #1f2933;
}

.mobile-track-top {
  padding: 1rem;
  border-bottom: 1px solid #e7edf2;
}

.mobile-track-status-label {
  margin: 0;
  color: #0f8d84;
  font-size: 0.86rem;
  font-weight: 700;
}

.mobile-track-top h3 {
  margin: 0.2rem 0 0;
  color: #0f8d84;
  font-size: 1.36rem;
  line-height: 1.25;
}

.mobile-track-recipient {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid #e7edf2;
}

.mobile-track-recipient-row {
  margin-bottom: 0.7rem;
}

.mobile-track-recipient-row:last-of-type {
  margin-bottom: 0.55rem;
}

.mobile-track-recipient-row p {
  margin: 0;
  color: #4d5966;
  font-weight: 700;
  font-size: 0.92rem;
}

.mobile-track-recipient-row strong {
  display: block;
  margin-top: 0.18rem;
  color: #141a1f;
  font-size: 1rem;
}

.mobile-track-proof {
  display: inline-block;
  margin-top: 0.25rem;
  color: #0a5f9f;
  font-weight: 700;
  text-decoration: none;
}

.mobile-track-proof:hover {
  text-decoration: underline;
}

.mobile-track-timeline {
  list-style: none;
  margin: 0;
  padding: 1rem 1rem 1rem 1.85rem;
  position: relative;
}

.mobile-track-timeline::before {
  content: '';
  position: absolute;
  left: 2.55rem;
  top: 1.3rem;
  bottom: 1.3rem;
  width: 3px;
  border-radius: 999px;
  background: #0f8d84;
}

.mobile-track-item {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.mobile-track-item:last-child {
  margin-bottom: 0;
}

.mobile-track-node {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  border: 3px solid #0f8d84;
  background: #ffffff;
  position: relative;
  z-index: 1;
}

.mobile-track-item.done .mobile-track-node,
.mobile-track-item.current .mobile-track-node {
  background: #0f8d84;
}

.mobile-track-item.done .mobile-track-node::after,
.mobile-track-item.current .mobile-track-node::after {
  content: '';
  position: absolute;
  left: 0.47rem;
  top: 0.2rem;
  width: 0.33rem;
  height: 0.72rem;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(45deg);
}

.mobile-track-item.pending .mobile-track-node {
  border-color: #b7c2cc;
}

.mobile-track-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #27323c;
}

.mobile-track-location,
.mobile-track-time {
  margin: 0.12rem 0 0;
  color: #5e6a76;
}

.dhl-track-card {
  background: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 0.8rem;
  overflow: hidden;
  color: #262626;
}

.dhl-track-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.95rem 1rem 0.85rem;
  border-bottom: 1px solid #ececec;
}

.dhl-track-title h3 {
  margin: 0;
  font-size: 1.45rem;
  color: #242424;
}

.dhl-track-title p {
  margin: 0.2rem 0 0;
  color: #6e6e6e;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.dhl-live-pill {
  border: 1px solid #efefef;
  background: #fafafa;
  border-radius: 0.4rem;
  padding: 0.4rem 0.62rem;
  color: #333333;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
}

.dhl-live-pill::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #df2b2b;
}

.dhl-live-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.95rem;
  padding: 1rem;
  border-bottom: 1px solid #ececec;
}

.dhl-live-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 3px solid #4fb360;
  position: relative;
}

.dhl-live-icon::before {
  content: '';
  position: absolute;
  inset: 11px;
  border-radius: 50%;
  background: #eaf6ec;
}

.dhl-live-copy h4 {
  margin: 0;
  font-size: 1.06rem;
  color: #2e2e2e;
}

.dhl-live-copy p {
  margin: 0.25rem 0 0;
  color: #585858;
}

.dhl-delivery-window {
  color: #303030;
}

.dhl-postal-row {
  margin-top: 0.7rem;
  display: flex;
  border: 1px solid #d7d7d7;
  border-radius: 0.35rem;
  overflow: hidden;
  max-width: 420px;
}

.dhl-postal-row input {
  border: 0;
  flex: 1;
  padding: 0.6rem 0.7rem;
  font: inherit;
  font-size: 0.95rem;
}

.dhl-postal-row input:focus {
  outline: none;
}

.dhl-postal-btn {
  border: 0;
  background: #f3b6bd;
  color: #ffffff;
  font-size: 1.45rem;
  width: 52px;
  cursor: pointer;
}

.delivery-stage-line {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  padding: 0.9rem 1rem;
  border-top: 1px solid #ececec;
  border-bottom: 1px solid #ececec;
  background: #fbfdfb;
}

.stage-step {
  position: relative;
  padding-right: 0.5rem;
}

.stage-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: calc(100% - 0.25rem);
  top: 8px;
  width: calc(100% - 8px);
  height: 3px;
  border-radius: 999px;
  background: #c7d0c7;
}

.stage-step.done:not(:last-child)::after,
.stage-step.current:not(:last-child)::after {
  background: #32a852;
}

.stage-dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #b8c3b8;
  background: #ffffff;
  margin-bottom: 0.32rem;
}

.stage-step.done .stage-dot,
.stage-step.current .stage-dot {
  border-color: #2ea44f;
  background: #e9f8ee;
}

.stage-step.done .stage-dot {
  position: relative;
}

.stage-step.done .stage-dot::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 3px;
  height: 7px;
  border-right: 2px solid #2ea44f;
  border-bottom: 2px solid #2ea44f;
  transform: rotate(45deg);
}

.stage-title {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #2f583a;
}

.stage-subtitle {
  margin: 0.12rem 0 0;
  color: #4f5f53;
  font-size: 0.82rem;
  line-height: 1.3;
}

.delivery-stage-line.compact {
  margin-top: 0.55rem;
  padding: 0.65rem 0.7rem;
  border: 1px solid #dde6dd;
  border-radius: 0.55rem;
  background: #f9fcf9;
}

.delivery-stage-line.compact .stage-title {
  font-size: 0.7rem;
}

.delivery-stage-line.compact .stage-subtitle {
  font-size: 0.74rem;
}

.dhl-section-row {
  border-top: 1px solid #ececec;
  padding: 0.85rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
}

.dhl-section-row h5 {
  margin: 0;
  font-size: 1.02rem;
  color: #2b2b2b;
}

.dhl-section-row p {
  margin: 0.1rem 0 0;
  color: #666666;
}

.dhl-section-mark {
  color: #d40511;
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1;
}

.dhl-route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  padding: 0.75rem 1rem 1rem;
  border-top: 1px solid #f1f1f1;
}

.dhl-route-item {
  border: 1px solid #e5e5e5;
  border-radius: 0.5rem;
  padding: 0.62rem;
  background: #fafafa;
}

.dhl-route-item.active {
  border-color: #5cbf6b;
  background: #eef9f0;
}

.dhl-route-item span {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #5f5f5f;
  margin-bottom: 0.16rem;
  font-weight: 700;
}

.dhl-route-item strong {
  color: #232323;
  line-height: 1.3;
}

.dhl-timeline {
  list-style: none;
  margin: 0;
  padding: 0.2rem 1rem 1rem 1rem;
  position: relative;
}

.dhl-timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 0.3rem;
  bottom: 1.3rem;
  width: 2px;
  background: #41b45a;
}

.dhl-timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.dhl-timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #42b45a;
  margin-top: 0.2rem;
}

.dhl-timeline-item.current .dhl-timeline-dot {
  box-shadow: 0 0 0 3px rgba(66, 180, 90, 0.2);
  background: #e8f7eb;
}

.dhl-timeline-time {
  margin: 0;
  color: #3b3b3b;
  font-weight: 700;
}

.dhl-timeline-loc,
.dhl-timeline-message {
  margin: 0.1rem 0 0;
  color: #575757;
}

.shipment-history {
  margin-top: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px solid #eef0f4;
}

.shipment-history summary {
  color: var(--brand-red);
  cursor: pointer;
  font-weight: 700;
}

.admin-timeline {
  max-height: 240px;
  overflow-y: auto;
  padding-left: 0.25rem;
}

.delete-shipment-button {
  color: var(--brand-red);
  border-color: rgba(212, 5, 17, 0.35);
  margin-top: 0.7rem;
}

.delivery-lock {
  margin: 0.7rem 0 0;
  font-size: 0.9rem;
}

.ship-grid,
.track-grid,
.cards-container,
.cargo-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  margin: 1.5rem 0;
}

.cargo-content,
.card-content,
.info-column {
  padding: 0.2rem;
}

.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 1rem 0 1.3rem;
}

.service {
  background: #fff8d8;
  border: 1px solid #f0e2a4;
  border-radius: 0.7rem;
  padding: 0.65rem 0.8rem;
  font-weight: 600;
}

.updates-list,
.history-list,
.info-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.updates-list li,
.history-item,
.info-column li {
  border-bottom: 1px dashed #cfd5e2;
  padding-bottom: 0.6rem;
}

.history-item {
  padding: 0.75rem 0;
}

.history-item span,
.history-item small {
  display: block;
  color: var(--ink-500);
}

.history-empty {
  color: var(--ink-500);
}

.arrow {
  margin-left: 0.35rem;
  font-weight: 700;
}

.map-panel {
  margin-top: 1rem;
}

.map-frame {
  width: 100%;
  min-height: 240px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #eceff5;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  margin-top: 0.85rem;
  background: #ffffff;
  cursor: pointer;
}

.faq-heading {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  font-weight: 700;
}

.faq-contents {
  margin-top: 0.55rem;
  color: var(--ink-700);
}

.page-backlink {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--ink-700);
  font-weight: 700;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 0.75rem;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #fff5ce;
  color: #2f2f2f;
}

.footer {
  background: #121923;
  color: #edf2ff;
  padding: 2.1rem 0 1rem;
}

.footer-top,
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer a {
  color: #edf2ff;
}

.footer-links,
.footer-social .icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.footer-bottom {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-contact {
  margin: 0;
  color: #cbd7ed;
  font-size: 0.9rem;
}

@media (hover: none) {
  .primary:hover,
  .cta-btn:hover,
  .btn:hover,
  .ghost-btn:hover {
    transform: none;
    box-shadow: inherit;
  }
}

.delivery-update-panel {
  display: grid;
  gap: 0.45rem;
}

.delivery-update-advanced {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.45rem;
}

.delivery-update-panel details summary {
  cursor: pointer;
  color: var(--ink-700);
}

@media (max-width: 980px) {
  .grid-2,
  .grid-3,
  .ship-grid,
  .track-grid,
  .cards-container,
  .cargo-container {
    grid-template-columns: 1fr;
  }

  .site-header,
  .header-bar,
  nav {
    position: static;
  }

  .footer-top,
  .footer-bottom,
  .site-header .header-inner,
  .header-bar .nav-inner,
  nav .nav-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .services {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(1140px, calc(100% - 1.2rem));
  }

  body {
    background: var(--surface-soft);
  }

  .hero {
    padding: 3.4rem 0;
    background:
      linear-gradient(130deg, rgba(255, 204, 0, 0.98) 0%, rgba(255, 204, 0, 0.98) 58%, rgba(212, 5, 17, 0.88) 58%);
  }

  .section,
  .ship-page,
  .track-page {
    padding: 2rem 0;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .track-box {
    flex-direction: column;
  }

  .track-box input,
  .track-box button,
  .actions-row button,
  .primary,
  .ghost-btn,
  .btn,
  .cta-btn {
    min-height: 48px;
  }

  .navbar,
  .nav-links {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }

  .navbar a,
  .nav-links a {
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .site-brand {
    align-items: flex-start;
  }

  .site-brand img {
    width: 44px;
  }

  .history-headline,
  .actions-row {
    align-items: stretch;
  }

  .dhl-live-summary {
    grid-template-columns: 1fr;
  }

  .delivery-stage-line {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .stage-step:not(:last-child)::after {
    left: 6px;
    top: calc(100% + 1px);
    width: 3px;
    height: 20px;
  }

  .dhl-route-grid {
    grid-template-columns: 1fr;
  }

  .dhl-postal-row {
    width: 100%;
    max-width: none;
  }

  .dhl-track-title h3 {
    font-size: 1.25rem;
  }

  .notice-banner {
    margin-top: 0.4rem;
  }

  .notice-banner .container {
    padding: 0.65rem 0.75rem;
    font-size: 0.86rem;
  }

  .track-box input,
  .track-box button,
  .actions-row button,
  .primary,
  .ghost-btn,
  .btn,
  .cta-btn {
    width: 100%;
  }

  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block;
  }

  thead {
    display: none;
  }

  tr {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    margin-bottom: 0.85rem;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 6px 14px rgba(18, 18, 18, 0.07);
  }

  td {
    border: 0;
    border-bottom: 1px solid #eceff4;
    position: relative;
    padding-top: 1.8rem;
  }

  td::before {
    position: absolute;
    left: 0.75rem;
    top: 0.35rem;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-500);
  }

  td:nth-of-type(1)::before {
    content: 'Tracking';
  }

  td:nth-of-type(2)::before {
    content: 'Status';
  }

  td:nth-of-type(3)::before {
    content: 'Location';
  }

  td:nth-of-type(4)::before {
    content: 'Date';
  }

  td:nth-of-type(5)::before {
    content: 'Update';
  }

  .delivery-update-panel input,
  .delivery-update-panel select,
  .delivery-update-panel button {
    width: 100%;
  }
}
