:root {
  --opa-bg-primary: #F3ECE8;
  --opa-bg-secondary: #F2EAE5;
  --opa-surface: #FAF6F3;
  --opa-brand: #233851;
  --opa-brand-hover: #19293D;
  --opa-accent: #C88A55;
  --opa-accent-soft: #EFE2D6;
  --opa-text-main: #233851;
  --opa-text-muted: #5E6C7E;
  --opa-border: #E2D6CE;
  --opa-success: #2A6F4E;
  --opa-warning: #B7791F;
  --opa-info: #2C5282;
  --opa-danger: #9B2C2C;
  --opa-radius-lg: 18px;
  --opa-radius-md: 12px;
  --opa-radius-sm: 8px;
  --opa-shadow: 0 8px 24px rgba(35, 56, 81, 0.07);
}

* {
  box-sizing: border-box;
}

body.theme-light {
  background-color: var(--opa-bg-primary);
  color: var(--opa-text-main);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.opa-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--opa-brand);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Navbar */
.opa-navbar {
  background-color: var(--opa-bg-secondary);
  border-bottom: 1px solid var(--opa-border);
  position: sticky;
  top: 0;
  z-index: 1020;
}

.opa-logo-sm {
  height: 34px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  display: block;
}

.opa-brand-logo {
  height: 36px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  display: block;
}

.opa-brand-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--opa-brand);
  line-height: 1.2;
}

.opa-brand-subtitle {
  font-size: 0.75rem;
  color: var(--opa-text-muted);
}

/* Buttons */
.btn-opa-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  border-radius: 999px;
  white-space: nowrap;
  line-height: 1;
  border: none;
  outline: none;
  cursor: pointer;
  text-decoration: none;
  color: #FFFFFF;
  background: linear-gradient(180deg, #F7892B 0%, #E8600A 100%);
  box-shadow: 0 10px 24px -8px rgba(232, 96, 10, .55), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  padding: 0.75rem 1.4rem;
}

.btn-opa-primary:hover,
.btn-opa-primary:focus {
  background: linear-gradient(180deg, #F7892B 0%, #E8600A 100%);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -8px rgba(232, 96, 10, .6);
}

.btn-opa-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  border-radius: 999px;
  white-space: nowrap;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  color: var(--opa-brand);
  background: #FFFFFF;
  border: 1.5px solid #E3E6EC;
  box-shadow: 0 2px 6px rgba(11, 26, 53, .04);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, color .18s ease;
  padding: 0.5rem 1.15rem;
}

.btn-opa-outline:hover {
  background-color: #FFFFFF;
  border-color: #CBD3E0;
  color: var(--opa-brand);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(11, 26, 53, .08);
}

.btn-opa-soft {
  background-color: var(--opa-accent-soft);
  color: var(--opa-brand);
  border: 1px solid var(--opa-border);
  border-radius: var(--opa-radius-sm);
  font-weight: 600;
}

/* Mobile App Shell Layout */
.mobile-app-shell {
  max-width: 440px;
  margin: 0 auto;
  min-height: 100vh;
  background-color: var(--opa-bg-primary);
  box-shadow: 0 0 40px rgba(35, 56, 81, 0.08);
  display: flex;
  flex-direction: column;
  position: relative;
  border-left: 1px solid var(--opa-border);
  border-right: 1px solid var(--opa-border);
}

.mobile-app-header {
  background-color: var(--opa-bg-secondary);
  padding: 16px 20px;
  border-bottom: 1px solid var(--opa-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.mobile-app-body {
  padding: 20px;
  flex: 1;
}

.mobile-bottom-nav {
  background-color: var(--opa-surface);
  border-top: 1px solid var(--opa-border);
  padding: 10px 16px;
  position: sticky;
  bottom: 0;
  z-index: 100;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.mobile-nav-item {
  color: var(--opa-text-muted);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
  color: var(--opa-brand);
  font-weight: 600;
}

/* Cards & Surfaces */
.opa-card {
  background-color: var(--opa-bg-secondary);
  border: 1px solid var(--opa-border);
  border-radius: var(--opa-radius-md);
  box-shadow: var(--opa-shadow);
  padding: 18px;
}

.opa-card-white {
  background-color: var(--opa-surface);
  border: 1px solid var(--opa-border);
  border-radius: var(--opa-radius-md);
  padding: 18px;
}

/* Form Controls */
.opa-input {
  background-color: #ffffff;
  border: 1.5px solid var(--opa-border);
  border-radius: var(--opa-radius-sm);
  padding: 11px 14px;
  color: var(--opa-text-main);
  font-size: 0.95rem;
}

.opa-input:focus {
  border-color: var(--opa-brand);
  box-shadow: 0 0 0 3px rgba(35, 56, 81, 0.12);
  outline: none;
}

/* Status Badges */
.opa-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
}

.badge-pending {
  background-color: #FCECC9;
  color: #8C580A;
}

.badge-accepted {
  background-color: #DCEBFB;
  color: #1E4E8C;
}

.badge-processing {
  background-color: #E6DEFA;
  color: #4D2C91;
}

.badge-delivered {
  background-color: #D6F0E0;
  color: #1D633E;
}

/* Thin SVG Icons (iconstack style) */
.icon-thin {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex-shrink: 0;
}

.icon-thin-lg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* =========================================================
   COOKIE CONSENT BANNER (Global for Public Pages)
   ========================================================= */
.dh-cookie-banner {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  max-width: calc(100vw - 32px);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid #E2D6CE;
  border-radius: 999px;
  box-shadow: 0 14px 40px rgba(11, 26, 53, 0.14);
  padding: 8px 10px 8px 24px;
  align-items: center;
  gap: 16px;
  font-size: 13.5px;
  color: #0B1A35;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.dh-cookie-banner.show {
  display: flex;
}

.dh-cookie-text {
  line-height: 1.4;
  font-weight: 500;
}

.dh-cookie-link {
  color: #E8600A;
  font-weight: 700;
  text-decoration: underline;
  margin-left: 3px;
}

.dh-cookie-btn {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  padding: 10px 22px !important;
  border-radius: 999px !important;
  white-space: nowrap !important;
  border: none !important;
  outline: none !important;
  cursor: pointer !important;
  color: #fff !important;
  background: linear-gradient(180deg, #F7892B 0%, #E8600A 100%) !important;
  box-shadow: 0 10px 24px -8px rgba(232, 96, 10, .55), inset 0 1px 0 rgba(255, 255, 255, .25) !important;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

.dh-cookie-btn:hover {
  color: #fff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 28px -8px rgba(232, 96, 10, .6) !important;
}

@media (max-width: 576px) {
  .dh-cookie-banner {
    display: none;
    box-sizing: border-box;
    position: fixed;
    bottom: 14px;
    left: 14px;
    right: 14px;
    transform: none;
    width: auto;
    max-width: none;
    border-radius: 18px;
    padding: 14px 18px;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 12px;
    box-shadow: 0 12px 36px rgba(11, 26, 53, 0.18);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid #E2D6CE;
    z-index: 2000;
  }

  .dh-cookie-banner.show {
    display: flex;
  }

  .dh-cookie-text {
    font-size: 13px;
    line-height: 1.45;
    color: #1E293B;
  }

  .dh-cookie-link {
    color: #E8600A;
    font-weight: 700;
    text-decoration: underline;
    margin-left: 4px;
  }

  .dh-cookie-btn {
    width: 100%;
    padding: 11px 18px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

/* =========================================================
   POLICY & LEGAL CONTENT LINKS
   Follow brand orange conventions matching primary button
   ========================================================= */
.dh-legal-card a:not(.dh-btn),
.dh-contact-item a:not(.dh-btn),
.dh-page-section a:not(.dh-btn) {
  color: #E8600A !important;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.dh-legal-card a:not(.dh-btn):hover,
.dh-contact-item a:not(.dh-btn):hover,
.dh-page-section a:not(.dh-btn):hover {
  color: #F7892B !important;
  text-decoration: underline;
}


/* ---------- Multi-Column Footer ---------- */
.dh-footer {
  border-top: 1px solid var(--line);
  padding: 68px 0 34px;
  background: #FFFCFA;
  margin-top: auto;
}

.dh-footer-grid {
  display: grid;
  grid-template-columns: 1.65fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}

.dh-footer-logo {
  display: inline-block;
  margin-bottom: 20px;
}

.dh-footer-logo img {
  height: 38px;
  width: auto;
  display: block;
}

.dh-footer-desc {
  font-size: 14.5px;
  color: #64748B;
  line-height: 1.75;
  margin: 0 0 24px 0;
  max-width: 380px;
}

.dh-footer-contact-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dh-footer-contact-line {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13.5px;
  color: var(--navy);
  line-height: 1.6;
}

.dh-footer-contact-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.dh-footer-contact-action {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
}

.dh-footer-phone,
.dh-footer-wa {
  font-weight: 700;
  color: var(--orange-2);
  text-decoration: none;
  transition: color 0.15s ease;
}

.dh-footer-phone:hover,
.dh-footer-wa:hover {
  color: var(--orange-1);
  text-decoration: underline;
}

.dh-footer-sep {
  color: var(--line);
}

.dh-footer-email {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}

.dh-footer-email a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.15s ease;
}

.dh-footer-email a:hover {
  color: var(--orange-2);
}

.dh-footer-heading {
  font-size: 13.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  margin-top: 4px;
  margin-bottom: 24px !important;
}

.dh-footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.dh-footer-list a {
  font-size: 14.5px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
  display: inline-block;
}

.dh-footer-list a:hover {
  color: var(--orange-2);
  transform: translateX(2px);
}

.dh-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-size: 13.5px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 14px;
}