/*
 * GK-ODOO-WEB01 / header-footer refinement 19.0.0.6.16.
 * Loaded ONLY if website.is_medici_clone; other Odoo websites unaffected.
 * Type stack mirrors the existing DaisanTiles theme (--ds-sans).
 */
#wrapwrap .ref-header,
#wrapwrap .ref-footer,
#wrapwrap .ref-home,
#wrapwrap .mdc-main {
  font-family: var(--ds-sans, "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif) !important;
  font-synthesis: weight;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
#wrapwrap .ref-header *,
#wrapwrap .ref-footer * {
  font-family: inherit;
}
#wrapwrap .ref-home h1,
#wrapwrap .ref-home h2,
#wrapwrap .ref-home h3,
#wrapwrap .mdc-main h1,
#wrapwrap .mdc-main h2,
#wrapwrap .mdc-main h3 {
  font-family: var(--ds-sans, "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif) !important;
  letter-spacing: -.018em;
}
#wrapwrap .ref-header .ref-header-inner {
  position: relative;
  box-sizing: border-box;
  min-height: 133px;
  padding-top: 36px;
  padding-bottom: 9px;
  gap: clamp(14px,1.7vw,30px);
  align-items: flex-end;
}
#wrapwrap .ref-header-tagline {
  position: absolute;
  left: 0;
  top: 18px;
  display: block;
  max-width: 58%;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .045em;
  line-height: 1.45;
  text-transform: uppercase;
  color: rgba(255,255,255,.91);
  white-space: nowrap;
}
#wrapwrap .ref-header .ref-logo {
  flex: 0 0 auto;
  margin-bottom: 10px;
  font-size: 27px !important;
  line-height: 1.18;
  letter-spacing: .025em;
  font-weight: 700;
}
#wrapwrap .ref-header .ref-header-content {
  min-width: 0;
}
#wrapwrap .ref-header .ref-header-top {
  justify-content: flex-end;
  height: 45px;
  gap: 0;
  margin-bottom: 0;
}
#wrapwrap .ref-header .ref-nav {
  height: 57px;
  min-height: 57px;
  gap: clamp(9px, .92vw, 18px);
  justify-content: flex-end;
  min-width: 0;
}
#wrapwrap .ref-header .ref-nav > a,
#wrapwrap .ref-header .ref-nav-products > a {
  font-family: var(--ds-sans, "Be Vietnam Pro", system-ui, sans-serif) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.45;
  letter-spacing: -.012em;
}
#wrapwrap .ref-header .ref-subnav a {
  font-size: 13px !important;
  font-weight: 500;
  line-height: 1.5;
  white-space: normal;
}
#wrapwrap .ref-header-search {
  width: min(405px, 55%);
  max-width: 100%;
  height: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(255,255,255,.34);
  background: rgba(255,255,255,.085);
  border-radius: 9px;
  padding: 4px 4px 4px 13px;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  transition: border-color .22s, background-color .22s, box-shadow .22s;
}
#wrapwrap .ref-header-search:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.55);
}
#wrapwrap .ref-header-search:focus-within {
  background: rgba(255,255,255,.12);
  border-color: #d6ae87;
  box-shadow: 0 0 0 3px rgba(181,145,117,.18);
}
#wrapwrap .ref-header-search .ref-search-magnifier {
  flex: 0 0 18px;
  color: rgba(255,255,255,.78);
}
#wrapwrap .ref-header-search input[type="search"] {
  flex: 1 1 auto;
  width: 0;
  min-width: 0;
  height: 100%;
  padding: 0 11px;
  margin: 0;
  color: #fff;
  font-size: 13px !important;
  font-weight: 400;
  font-family: inherit;
  background: transparent;
  outline: none;
  border: 0;
  box-shadow: none;
}
#wrapwrap .ref-header-search input[type="search"]::placeholder {
  color: rgba(255,255,255,.74);
  opacity: 1;
}
#wrapwrap .ref-header-search button[type="submit"] {
  flex: 0 0 auto;
  height: 35px;
  min-width: 90px;
  padding: 0 14px;
  border: 0;
  border-radius: 6px;
  background: #b59175;
  color: #fff;
  font-family: inherit;
  font-size: 12.5px !important;
  font-weight: 600;
  letter-spacing: .01em;
  text-transform: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background .22s ease, transform .22s ease;
}
#wrapwrap .ref-header-search button[type="submit"]:hover,
#wrapwrap .ref-header-search button[type="submit"]:focus-visible {
  background: #9e775d;
}
#wrapwrap .ref-header-search button[type="submit"]:active { transform: scale(.97); }

/* A tighter four-column footer, with Vietnamese text easier to scan. */
#wrapwrap .ref-footer {
  padding-top: 61px;
  padding-bottom: 17px;
}
#wrapwrap .ref-footer-grid {
  grid-template-columns: minmax(0,1.7fr) minmax(0,.94fr) minmax(0,1.0fr) minmax(0,1.48fr);
  gap: clamp(17px, 2.25vw, 34px);
}
#wrapwrap .ref-footer-grid > div {
  gap: 10px;
  align-items: flex-start;
  min-width: 0;
}
#wrapwrap .ref-footer h2 {
  font-size: 29px !important;
  font-weight: 700;
  line-height: 1.26;
  letter-spacing: .01em;
  margin: 0 0 8px;
}
#wrapwrap .ref-footer h3 {
  color: #f3f0ec;
  font-size: 14px !important;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: .015em;
  margin: 0 0 7px;
}
#wrapwrap .ref-footer p,
#wrapwrap .ref-footer a,
#wrapwrap .ref-footer .ref-footer-cta {
  font-size: 13px !important;
  line-height: 1.66;
  font-weight: 400;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
#wrapwrap .ref-footer-about p { max-width: 345px; }
#wrapwrap .ref-footer .ref-footer-cta {
  margin-top: 12px;
  padding-bottom: 5px;
  color: #e4ba93;
  font-weight: 600;
}
#wrapwrap .ref-footer-contact p { margin: 0; }
#wrapwrap .ref-footer-bottom {
  margin-top: 36px;
  padding-top: 17px;
  gap: 12px;
  font-size: 12px !important;
}
#wrapwrap .ref-footer-bottom span,
#wrapwrap .ref-footer-bottom a {
  font-size: 12px !important;
  line-height: 1.5;
}
#wrapwrap .ref-copyright {
  margin-top: 16px;
  padding-top: 12px;
  font-size: 11.5px !important;
  line-height: 1.5;
}

@media (max-width: 1440px) and (min-width: 1001px) {
  #wrapwrap .ref-header .ref-logo { font-size: 23px !important; }
  #wrapwrap .ref-header .ref-header-inner { gap: 13px; }
  #wrapwrap .ref-header .ref-nav { gap: 8px; }
  #wrapwrap .ref-header .ref-nav > a,
  #wrapwrap .ref-header .ref-nav-products > a { font-size: 12px !important; }
  #wrapwrap .ref-header-tagline { font-size: 12px; }
  #wrapwrap .ref-header-search { width: min(365px, 55%); }
}
@media (max-width: 1000px) {
  #wrapwrap .ref-header .ref-header-inner {
    padding-top: 0;
    padding-bottom: 0;
    min-height: 76px;
    align-items: center;
  }
  #wrapwrap .ref-header-tagline { display: none; }
  #wrapwrap .ref-header .ref-logo {
    font-size: 24px !important;
    margin: 0;
  }
  #wrapwrap .ref-header .ref-header-content {
    min-width: auto;
  }
  #wrapwrap .ref-header .ref-header-top {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: auto;
    margin: 0;
    padding-bottom: 18px;
  }
  #wrapwrap .ref-header-search {
    width: 100%;
    max-width: none;
    height: 46px;
    min-height: 46px;
  }
  #wrapwrap .ref-header .ref-nav {
    height: auto;
    min-height: 0;
    align-items: stretch;
    gap: 0;
  }
  #wrapwrap .ref-header .ref-nav > a,
  #wrapwrap .ref-header .ref-nav-products > a {
    font-size: 16px !important;
    padding-block: 13px;
    line-height: 1.5;
  }
  #wrapwrap .ref-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  #wrapwrap .ref-footer h2 { font-size: 27px !important; }
}
@media (max-width: 600px) {
  #wrapwrap .ref-header .ref-header-inner { min-height: 66px; }
  #wrapwrap .ref-header .ref-logo { font-size: 21px !important; }
  #wrapwrap .ref-header-search button[type="submit"] {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 82px;
    font-size: 12px !important;
  }
  #wrapwrap .ref-header-search input[type="search"] { font-size: 12px !important; padding-inline: 9px; }
  #wrapwrap .ref-header .ref-nav > a,
  #wrapwrap .ref-header .ref-nav-products > a { font-size: 16px !important; }
  #wrapwrap .ref-footer { padding-top: 46px; }
  #wrapwrap .ref-footer-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 24px 18px;
  }
  #wrapwrap .ref-footer-grid > div:first-child,
  #wrapwrap .ref-footer-grid > div:last-child { grid-column: 1/-1; }
  #wrapwrap .ref-footer h2 { font-size: 26px !important; }
  #wrapwrap .ref-footer h3 { font-size: 13px !important; margin-bottom: 5px; }
  #wrapwrap .ref-footer p,
  #wrapwrap .ref-footer a { font-size: 12.5px !important; line-height: 1.6; }
  #wrapwrap .ref-footer-bottom { margin-top: 29px; flex-wrap: wrap; }
  #wrapwrap .ref-footer-bottom span,
  #wrapwrap .ref-footer-bottom a { font-size: 11px !important; }
  #wrapwrap .ref-copyright { font-size: 10.5px !important; }
}
