
/* =========================================================
   COTO VIET NAM THEME OVERRIDES
   Global theme tokens, header, footer, shared components, responsive polish.
   Load this file after assets/css/style.css.
   ========================================================= */

:root {
  --primary-color: #07442f;
  --primary-light: #0f6045;
  --accent-color: #d9b96f;
  --accent-hover: #c7a55d;
  --bg-soft: #f7f4eb;
  --bg-green-soft: #eef6ee;
  --text-dark: #17231f;
  --text-muted: #66736d;
  --border-color: #e6e2d7;
  --font-family: 'Be Vietnam Pro', sans-serif;
  --font-heading: 'Be Vietnam Pro', sans-serif;
  --shadow-sm: 0 8px 24px rgba(7, 68, 47, 0.06);
  --shadow-md: 0 14px 34px rgba(7, 68, 47, 0.1);
  --shadow-lg: 0 24px 60px rgba(7, 68, 47, 0.14);
}

body {
  background: #f6faf7;
  color: var(--text-dark);
}

.container {
  max-width: 1180px;
}

.site-main-content {
  background:
    radial-gradient(circle at 8% 24%, rgba(217, 185, 111, 0.12), transparent 24%),
    linear-gradient(180deg, #fbfaf6 0%, #fffdf8 55%, #f6f2e8 100%);
}

.japano-header {
  background: rgba(255, 253, 248, 0.96);
  border-bottom: 1px solid rgba(7, 68, 47, 0.08);
  box-shadow: 0 10px 30px rgba(7, 68, 47, 0.06);
}

.japano-header .navbar {
  padding: 14px 0;
}

.japano-brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--primary-color);
}

.brand-logo-box {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(7, 68, 47, .12);
  box-shadow: 0 12px 28px rgba(7, 68, 47, .1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  object-position: center;
}

.brand-copy {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
}

.brand-copy strong {
  color: var(--primary-color);
  font-family: var(--font-family);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: .2px;
}

.brand-copy small {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  margin-top: 4px;
}

.footer-logo-box {
  background: rgba(255,255,255,.96);
  box-shadow: 0 10px 22px rgba(0,0,0,.16);
}

.japano-brand:hover {
  color: var(--primary-color);
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #bb3b2f;
  border: 1px solid rgba(7, 68, 47, 0.12);
  box-shadow: var(--shadow-sm);
  font-weight: 800;
  font-family: var(--font-heading);
}

.japano-brand strong,
.footer-brand strong {
  display: block;
  font-size: 15px;
  line-height: 1.1;
  letter-spacing: 0;
  font-weight: 800;
}

.japano-brand small,
.footer-brand small {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.35;
  margin-top: 2px;
}

.japano-header .navbar-nav {
  gap: 8px;
}

.japano-header .nav-link {
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 10px 14px !important;
  position: relative;
}

.japano-header .nav-link::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  width: auto;
  background: var(--primary-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.japano-header .nav-link:hover,
.japano-header .nav-link.active {
  color: var(--primary-color);
}

.japano-header .nav-link:hover::after,
.japano-header .nav-link.active::after {
  transform: scaleX(1);
}

.hotline-btn {
  background: var(--primary-color);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(7, 68, 47, .18);
}

.hotline-btn:hover {
  background: var(--primary-light);
  color: #fff;
  transform: translateY(-1px);
}

.icon-action {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid rgba(7, 68, 47, .1);
}

.icon-action .badge {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-color);
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.japano-footer {
  background:
    linear-gradient(180deg, #092f23, #041e17);
  color: rgba(255,255,255,.78);
  padding: 48px 0 18px;
  position: relative;
  overflow: visible;
  isolation: isolate;
}

.japano-footer .container {
  position: relative;
  z-index: 4;
}

.japano-footer .row {
  align-items: flex-start;
  --bs-gutter-x: 3rem;
}

.japano-footer .footer-col-brand {
  padding-right: clamp(18px, 3vw, 52px);
}

.footer-tree {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 20px 26px rgba(0,0,0,.26));
}

.footer-tree-left {
  left: clamp(18px, 3.8vw, 70px);
  top: -92px;
  width: clamp(122px, 11vw, 178px);
  opacity: .9;
}

.footer-tree-right {
  right: clamp(24px, 4vw, 78px);
  bottom: 28px;
  width: clamp(150px, 14vw, 230px);
}

.japano-footer .brand-mark {
  background: rgba(255,255,255,.94);
}

.japano-footer .footer-brand {
  color: #fff;
  margin-bottom: 14px;
}

.japano-footer .footer-brand small {
  color: rgba(255,255,255,.7);
}

.japano-footer .brand-copy strong {
  color: #fff;
}

.japano-footer .brand-copy small {
  color: rgba(255,255,255,.72);
}

.japano-footer .footer-title {
  color: #fff;
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 14px;
  padding-bottom: 9px;
}

.japano-footer .footer-title::after {
  background: var(--accent-color);
}

.japano-footer .footer-links a {
  color: rgba(255,255,255,.72);
  font-size: 13px;
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
}

.japano-footer .footer-text,
.japano-footer .footer-contact {
  color: rgba(255,255,255,.72);
  font-size: 13px;
}

.japano-footer .footer-text {
  max-width: 390px;
  line-height: 1.72;
  margin-bottom: 0;
}

.japano-footer .footer-links {
  padding: 0;
  margin: 0;
  list-style: none;
}

.japano-footer .footer-links li {
  margin-bottom: 10px;
}

.japano-footer .footer-links a:hover {
  color: #fff !important;
  padding-left: 0 !important;
  transform: translateX(6px);
}

.japano-footer .footer-contact {
  padding: 0;
  margin: 0;
  list-style: none;
}

.japano-footer .footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.japano-footer .footer-contact i {
  color: var(--accent-color);
  margin-top: 5px;
  width: 16px;
  flex: 0 0 16px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.1);
  color: #fff;
}

.footer-socials a:hover {
  background: var(--accent-color);
  color: var(--primary-color);
}

.floating-zalo {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1200;
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(145deg, #0a8dff, #0068d9);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -.02em;
  box-shadow: 0 14px 34px rgba(0, 104, 217, .36);
  isolation: isolate;
  transition: transform .22s ease, box-shadow .22s ease;
}

.floating-zalo:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 20px 44px rgba(0, 104, 217, .44);
}

.floating-zalo::before,
.floating-zalo::after,
.floating-zalo-pulse {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  border: 2px solid rgba(10, 141, 255, .42);
  animation: zaloPulse 1.8s ease-out infinite;
  z-index: -1;
}

.floating-zalo::after {
  animation-delay: .55s;
}

.floating-zalo-pulse {
  inset: -15px;
  border-color: rgba(10, 141, 255, .22);
  animation-delay: 1.1s;
}

.floating-zalo-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: inherit;
  background: radial-gradient(circle at 30% 22%, rgba(255,255,255,.36), rgba(255,255,255,0) 38%), #0a8dff;
  border: 2px solid rgba(255,255,255,.78);
  box-shadow: inset 0 -8px 16px rgba(0, 65, 148, .25);
  animation: zaloWiggle 2.6s ease-in-out infinite;
}

@keyframes zaloPulse {
  0% {
    opacity: .78;
    transform: scale(.82);
  }
  80%,
  100% {
    opacity: 0;
    transform: scale(1.34);
  }
}

@keyframes zaloWiggle {
  0%,
  55%,
  100% {
    transform: rotate(0deg);
  }
  62% {
    transform: rotate(-8deg);
  }
  69% {
    transform: rotate(8deg);
  }
  76% {
    transform: rotate(-5deg);
  }
  83% {
    transform: rotate(5deg);
  }
}

@media (max-width: 576px) {
  .floating-zalo {
    right: 16px;
    bottom: 16px;
    width: 58px;
    height: 58px;
    font-size: 13px;
  }

  .floating-zalo-icon {
    width: 49px;
    height: 49px;
  }
}

.japano-footer .footer-bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
  text-align: center;
}

.japano-footer .footer-bottom p {
  margin: 0;
  color: rgba(255,255,255,.62);
  font-size: 12px;
}

.modal-content-inner {
  background: #fff;
  padding: 30px 24px 20px;
  text-align: center;
}

.modal-content-inner h3 {
  font-family: var(--font-family);
  color: var(--primary-color);
  font-size: 18px;
  font-weight: 900;
}

.modal-content-inner p {
  color: var(--text-muted);
  font-size: 14px;
}

.modal-alert-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(239, 68, 68, .08);
  color: var(--danger);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 14px;
}

.modal-actions {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  background: var(--bg-soft);
  border-top: 1px solid var(--border-color);
}

.modal-actions .btn {
  flex: 1;
  border-radius: 8px;
  background: #fff;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}

.modal-actions #confirm-ok-btn {
  background: var(--danger);
  border-color: var(--danger);
  color: #fff;
}

@media (min-width: 1200px) {
  .japano-home .container {
    max-width: min(1400px, calc(100% - 144px));
  }
}

@media (max-width: 1199.98px) {
  .japano-footer {
    padding-bottom: 18px;
  }

  .footer-tree-left {
    width: 148px;
    top: -84px;
    left: 18px;
  }

  .footer-tree-right {
    width: 150px;
    right: 14px;
    bottom: 34px;
    opacity: .58;
  }
}

@media (max-width: 991.98px) {
  .japano-header .navbar-collapse {
    padding-top: 16px;
  }

  .japano-header .nav-link::after {
    display: none;
  }

  .header-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero-main {
    padding: 34px 24px 22px;
  }

  .hero-side {
    padding: 20px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-product-wrap {
    height: 320px;
    min-height: 320px;
  }

  .hero-product {
    height: 100%;
  }

  .about-title {
    font-size: clamp(32px, 7vw, 46px);
  }

  .store-visual {
    min-height: 360px;
  }
}

@media (max-width: 767.98px) {
  .japano-header .navbar {
    padding: 10px 0;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .japano-brand strong {
    font-size: 13px;
  }

  .japano-brand small {
    font-size: 10px;
  }

  .brand-logo-img {
    width: 38px;
    height: 38px;
  }

  .brand-logo-box {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }

  .brand-copy strong {
    font-size: 15px;
  }

  .brand-copy small {
    font-size: 10px;
  }

  .japano-hero {
    padding-top: 14px;
  }

  .home-banner-section {
    padding: 10px 0 0;
  }

  .home-banner-slider {
    aspect-ratio: 1920 / 720;
    height: auto;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .home-banner-control {
    top: 50%;
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  .home-banner-dots {
    bottom: 12px;
  }

  .home-banner-carousel {
    border-radius: 0;
  }

  .home-banner-carousel .carousel-inner,
  .home-banner-carousel .carousel-item,
  .home-banner-link {
    height: clamp(220px, 58vw, 390px);
  }

  .home-banner-carousel .carousel-control-prev,
  .home-banner-carousel .carousel-control-next {
    width: 48px;
  }

  .home-banner-arrow {
    width: 34px;
    height: 34px;
    font-size: 12px;
  }

  .home-banner-carousel .carousel-indicators {
    margin-bottom: 12px;
  }

  .hero-main {
    min-height: auto;
    padding: 28px 18px 18px;
  }

  .hero-title {
    font-size: 33px;
  }

  .hero-product-wrap {
    height: 240px;
    min-height: 240px;
  }

  .hero-product {
    height: 100%;
    object-position: center 58%;
  }

  .hero-trust .trust-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 10px;
    gap: 6px;
  }

  .hero-side {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section-pad {
    padding: 38px 0;
  }

  .product-categories {
    padding-top: 34px;
    padding-bottom: 40px;
  }

  .about-section,
  .map-section {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .footer-tree-left {
    width: 78px;
    top: -42px;
    left: 8px;
  }

  .footer-tree-right {
    display: none;
  }

  .section-title {
    margin-bottom: 18px;
  }

  .category-dynamic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .category-image {
    height: 130px;
  }

  .category-image img {
    height: 122px;
  }

  .category-bs-card .card-body {
    padding: 16px 12px;
    min-height: 130px;
  }

  .category-bs-card .card-title {
    font-size: 13px;
  }

  .category-bs-card .card-text {
    font-size: 11px;
  }

  .store-visual {
    min-height: 280px;
    border-radius: 16px;
  }

  .store-visual.has-image::before {
    inset: 8px;
    border-radius: 12px;
  }

  .about-title {
    font-size: 32px;
  }

  .about-desc {
    font-size: 15px;
    line-height: 1.7;
  }

  .stats-row {
    padding: 16px 8px;
    border-radius: 14px;
  }

  .stats-row > div:nth-child(2)::after {
    display: none;
  }

  .stats-row strong {
    font-size: 22px;
  }

  .stats-row span {
    font-size: 11px;
  }

  .store-building {
    left: 7%;
    right: 7%;
    height: 128px;
    padding: 34px 22px;
    font-size: 19px;
  }

  .why-item {
    border-right: 0;
    min-height: 154px;
    background: rgba(255,255,255,.58);
    border-radius: 8px;
  }

  .map-panel {
    grid-template-columns: 1fr;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 320px;
  }

}

@media (max-width: 420px) {
  .hotline-btn {
    width: 100%;
  }

  .icon-action {
    width: 40px;
    height: 40px;
  }

  .hero-title {
    font-size: 29px;
  }

  .trust-item i {
    width: 26px;
    height: 26px;
  }
}

/* Readability pass: remove decorative serif feel across catalog pages. */
body,
h1,
h2,
h3,
h4,
h5,
h6,
.slide-title,
.hero-title,
.section-title,
.product-name,
.price-current,
.news-title,
.footer-title {
  font-family: 'Be Vietnam Pro', sans-serif !important;
  letter-spacing: 0 !important;
}

h1,
h2,
h3,
.hero-title,
.section-title {
  font-weight: 800 !important;
}

.product-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.price-current {
  font-weight: 800;
}

.section,
.product-card,
.category-bs-card,
.review-card {
  text-rendering: optimizeLegibility;
}

/* Modern full-width navbar polish. */
.japano-header {
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(250,248,241,.94));
  border-bottom: 1px solid rgba(7,68,47,.08);
  box-shadow: 0 18px 46px rgba(7,68,47,.08);
  backdrop-filter: blur(18px);
}

.japano-header .navbar {
  min-height: 92px;
  padding: 14px 0;
}

.japano-header .container {
  width: 100%;
  max-width: none;
  padding-left: clamp(18px, 5vw, 76px);
  padding-right: clamp(18px, 5vw, 76px);
}

.japano-brand {
  min-width: 310px;
  margin-right: 28px;
  padding: 8px 12px 8px 8px;
  border-radius: 999px;
  transition: background .2s ease, transform .2s ease;
}

.japano-brand:hover {
  background: rgba(7,68,47,.045);
  transform: translateY(-1px);
}

.japano-brand .brand-logo-box {
  width: 64px;
  height: 64px;
  flex-basis: 64px;
  border: 1px solid rgba(7,68,47,.1);
  box-shadow: 0 16px 34px rgba(7,68,47,.12);
}

.japano-brand .brand-logo-img {
  width: 50px;
  height: 50px;
}

.japano-brand .brand-copy strong {
  font-size: 20px;
  line-height: 1;
}

.japano-brand .brand-copy small {
  font-size: 12px;
  color: #6a756f;
}

.japano-header .navbar-collapse {
  align-items: center;
}

.japano-header .navbar-nav {
  gap: 6px;
  padding: 8px;
  border: 1px solid rgba(7,68,47,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 12px 32px rgba(7,68,47,.055);
}

.japano-header .nav-link {
  min-width: 104px;
  text-align: center;
  border-radius: 999px;
  padding: 12px 18px !important;
  color: #1d2d27;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .2px !important;
  line-height: 1;
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.japano-header .nav-link::after {
  display: none;
}

.japano-header .nav-link:hover {
  background: rgba(7,68,47,.07);
  color: var(--primary-color);
  transform: translateY(-1px);
}

.japano-header .nav-link.active {
  background: var(--primary-color);
  color: #fff;
  box-shadow: 0 12px 24px rgba(7,68,47,.18);
}

.japano-header .header-actions {
  gap: 10px !important;
  margin-left: 28px;
  padding: 7px;
  border: 1px solid rgba(7,68,47,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 12px 32px rgba(7,68,47,.055);
}

.japano-header .hotline-btn {
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  box-shadow: 0 16px 34px rgba(7,68,47,.2);
}

.japano-header .icon-action {
  width: 48px;
  height: 48px;
  background: #fff;
  border-color: rgba(7,68,47,.1);
  box-shadow: 0 8px 22px rgba(7,68,47,.08);
}

.japano-header .icon-action:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-2px);
}

.japano-header .icon-action .badge {
  top: -4px;
  right: -2px;
  background: #e0b953;
  color: #063b2a;
}

@media (max-width: 1199.98px) {
  .japano-brand {
    min-width: 260px;
  }

  .japano-header .nav-link {
    min-width: auto;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .japano-header .navbar-nav {
    gap: clamp(14px, 2vw, 26px);
  }
}

@media (max-width: 991.98px) {
  .japano-header .navbar {
    min-height: 78px;
  }

  .japano-header .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .japano-brand {
    min-width: 0;
    margin-right: 0;
  }

  .japano-header .navbar-toggler {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(7,68,47,.12);
    background: #fff;
    box-shadow: 0 10px 26px rgba(7,68,47,.1);
  }

  .japano-header .navbar-collapse {
    margin-top: 14px;
    padding: 16px;
    border: 1px solid rgba(7,68,47,.08);
    border-radius: 22px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 18px 42px rgba(7,68,47,.1);
  }

  .japano-header .navbar-nav {
    border-radius: 18px;
    align-items: stretch;
    width: 100%;
    margin-bottom: 14px !important;
  }

  .japano-header .nav-link {
    width: 100%;
    text-align: left;
    padding: 14px 16px !important;
  }

  .japano-header .header-actions {
    margin-left: 0;
    border-radius: 18px;
    justify-content: stretch;
  }

  .japano-header .hotline-btn {
    flex: 1;
  }
}

/* Clean bright navbar: no segmented button zones. */
.japano-header {
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid rgba(7, 68, 47, .07);
  box-shadow: 0 10px 34px rgba(7, 68, 47, .055);
}

.japano-header .navbar {
  min-height: 86px;
  padding: 10px 0;
}

.japano-header .container {
  max-width: none;
  padding-left: clamp(18px, 4.8vw, 96px);
  padding-right: clamp(18px, 4.8vw, 96px);
}

.japano-brand {
  min-width: 300px;
  padding: 0;
  margin-right: 0;
  border-radius: 0;
}

.japano-brand:hover {
  background: transparent;
  transform: none;
}

.japano-brand .brand-logo-box {
  width: 62px;
  height: 62px;
  flex-basis: 62px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(7,68,47,.1);
  box-shadow: 0 12px 30px rgba(7,68,47,.1);
}

.japano-brand .brand-logo-img {
  width: 48px;
  height: 48px;
}

.japano-brand .brand-copy strong {
  font-size: 20px;
  color: #064c37;
}

.japano-brand .brand-copy small {
  color: #66746e;
  font-size: 12px;
}

.japano-header .navbar-collapse {
  align-items: center;
  display: flex;
}

.japano-header .navbar-nav {
  gap: clamp(18px, 3vw, 44px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.japano-header .nav-link {
  min-width: 0;
  padding: 12px 0 !important;
  border-radius: 0;
  background: transparent;
  color: #1d2d27;
  font-size: 14px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: .15px !important;
  position: relative;
}

.japano-header .nav-link::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: #064c37;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .24s ease;
}

.japano-header .nav-link:hover {
  background: transparent;
  color: #064c37;
  transform: none;
}

.japano-header .nav-link:hover::after,
.japano-header .nav-link.active::after {
  transform: scaleX(1);
}

.japano-header .nav-link.active {
  background: transparent;
  color: #064c37;
  box-shadow: none;
}

.japano-header .product-nav-dropdown {
  position: relative;
}

.japano-header .dropdown-toggle::after {
  margin-left: 7px;
  vertical-align: .12em;
  border-top-color: currentColor;
}

.japano-header .product-dropdown-menu {
  min-width: 280px;
  padding: 10px;
  border: 1px solid rgba(15, 35, 28, .08);
  border-radius: 16px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 50px rgba(15, 35, 28, .13);
  backdrop-filter: blur(18px);
  margin-top: 0 !important;
  overflow: hidden;
}

.japano-header .product-dropdown-menu::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, #064c37, #d9b96f);
}

.japano-header .product-dropdown-menu .dropdown-item {
  border-radius: 10px;
  padding: 11px 36px 11px 16px;
  color: #1d2d27;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0 !important;
  position: relative;
  transition: background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.japano-header .product-dropdown-menu .dropdown-item::after {
  content: '\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(7, 68, 47, .28);
  font-size: 11px;
  transition: color .18s ease, transform .18s ease;
}

.japano-header .product-dropdown-menu .dropdown-item:hover,
.japano-header .product-dropdown-menu .dropdown-item:focus {
  background: #f5faf7;
  color: #064c37;
  transform: translateX(3px);
  box-shadow: inset 3px 0 0 #064c37;
}

.japano-header .product-dropdown-menu .dropdown-item:hover::after,
.japano-header .product-dropdown-menu .dropdown-item:focus::after {
  color: #064c37;
  transform: translateY(-50%) translateX(2px);
}

.japano-header .product-dropdown-all {
  background: #f5faf7;
  color: #064c37 !important;
  font-weight: 850 !important;
  margin-bottom: 6px;
  box-shadow: inset 0 0 0 1px rgba(7, 68, 47, .08);
}

.japano-header .product-dropdown-all:hover,
.japano-header .product-dropdown-all:focus {
  background: #064c37 !important;
  color: #fff !important;
  box-shadow: none;
}

.japano-header .product-dropdown-all:hover::after,
.japano-header .product-dropdown-all:focus::after {
  color: #fff;
}

.japano-header .dropdown-subitem {
  padding-left: 28px !important;
  color: #52625c !important;
  font-size: 12.5px !important;
}

.japano-header .dropdown-divider {
  margin: 8px 6px;
  border-color: rgba(15,35,28,.08);
}

@media (min-width: 992px) {
  .japano-header .product-dropdown-menu {
    top: calc(100% + 10px) !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
  }

  .japano-header .product-nav-dropdown:hover .product-dropdown-menu {
    display: block;
    margin-top: 0;
    animation: navDropdownIn .12s ease both;
  }
}

@keyframes navDropdownIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.japano-header .header-actions {
  gap: 12px !important;
  margin-left: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.japano-header .hotline-btn {
  height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  background: #064c37;
  color: #fff;
  font-size: 14px;
  font-weight: 850;
  box-shadow: 0 14px 28px rgba(6, 76, 55, .18);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}

.japano-header .hotline-btn:hover {
  background: #086044;
  transform: translateY(-1px);
}

.japano-header .icon-action {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(7,68,47,.11);
  box-shadow: 0 10px 24px rgba(7,68,47,.075);
}

.japano-header .icon-action:hover {
  background: #f3faf6;
  color: #064c37;
  transform: translateY(-1px);
}

.japano-header .icon-action .badge {
  top: -7px;
  right: -7px;
  background: #e3bd50;
  color: #064c37;
  box-shadow: 0 6px 14px rgba(227, 189, 80, .3);
}

/* Final responsive pass for shared layout */
@media (max-width: 1399.98px) {
  .japano-header .container {
    padding-left: clamp(18px, 3vw, 52px);
    padding-right: clamp(18px, 3vw, 52px);
  }

  .japano-brand {
    min-width: 280px;
  }

  .japano-header .navbar-nav {
    gap: clamp(16px, 2.1vw, 30px);
  }
}

@media (max-width: 1199.98px) {
  .japano-header .navbar {
    min-height: 78px;
  }

  .japano-brand {
    min-width: 238px;
  }

  .japano-brand .brand-logo-box {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
    border-radius: 16px;
  }

  .japano-brand .brand-logo-img {
    width: 43px;
    height: 43px;
  }

  .japano-brand .brand-copy strong {
    font-size: 17px;
  }

  .japano-brand .brand-copy small {
    font-size: 11px;
  }

  .japano-header .nav-link {
    font-size: 13px;
  }

  .japano-header .hotline-btn {
    height: 42px;
    padding: 0 18px;
    font-size: 13px;
  }
}

@media (max-width: 991.98px) {
  .japano-header .navbar {
    min-height: 72px;
    padding: 8px 0;
  }

  .japano-header .navbar-collapse.show {
    display: block;
  }

  .japano-header .navbar-nav {
    gap: 2px;
  }

  .japano-header .header-actions {
    width: 100%;
    margin-top: 12px;
  }

  .japano-header .hotline-btn {
    width: 100%;
    justify-content: center;
  }

  .japano-footer {
    padding-top: 42px;
  }

  .japano-footer .row {
    row-gap: 28px;
    --bs-gutter-x: 1.5rem;
  }

  .footer-tree-right {
    opacity: .28;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .footer-tree-left {
    width: 88px;
    top: -26px;
    left: 12px;
    opacity: .75;
  }

  .footer-tree-right {
    width: 104px;
    right: 18px;
    bottom: 26px;
    opacity: .24;
  }
}

@media (max-width: 767.98px) {
  .japano-brand {
    gap: 10px;
  }

  .japano-brand .brand-logo-box {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }

  .japano-brand .brand-logo-img {
    width: 38px;
    height: 38px;
  }

  .japano-brand .brand-copy strong {
    font-size: 15px;
  }

  .japano-brand .brand-copy small {
    font-size: 10px;
  }

  .japano-footer {
    text-align: left;
  }

  .japano-footer .footer-col-brand {
    padding-right: 0;
  }

  .footer-tree-left {
    width: 112px;
    top: -56px;
  }
}

@media (max-width: 575.98px) {
  .japano-header .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .brand-copy small {
    display: block;
    max-width: 210px;
    white-space: normal;
    overflow-wrap: normal;
    line-height: 1.25;
  }

  .japano-brand .brand-copy strong {
    font-size: 14px;
    max-width: 210px;
    white-space: normal;
  }

  .japano-header .navbar-toggler {
    width: 36px;
    height: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(7, 68, 47, 0.12);
    background: #fff;
    box-shadow: 0 4px 10px rgba(7, 68, 47, 0.06);
  }

  .japano-header .navbar-toggler-icon {
    width: 16px;
    height: 16px;
    background-size: contain;
    display: block;
  }

  .japano-footer {
    padding: 24px 0 12px;
  }

  .japano-footer .row {
    row-gap: 16px !important;
  }

  .japano-footer .footer-brand {
    align-items: center;
    margin-bottom: 12px !important;
  }

  .japano-footer .footer-title {
    font-size: 13.5px !important;
    margin-bottom: 6px !important;
    padding-bottom: 4px !important;
  }

  .japano-footer .footer-links li,
  .japano-footer .footer-contact li {
    margin-bottom: 4px !important;
  }

  .japano-footer .footer-links a,
  .japano-footer .footer-text,
  .japano-footer .footer-contact li {
    font-size: 12.5px !important;
    line-height: 1.35 !important;
  }

  .footer-tree-left,
  .footer-tree-right {
    display: none;
  }

  .floating-zalo {
    right: 14px;
    bottom: 14px;
  }
}

/* Mobile navbar hardening: keep Bootstrap collapse compact and predictable. */
@media (max-width: 991.98px) {
  .japano-header .navbar {
    min-height: 76px;
    padding: 8px 0;
  }

  .japano-header .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
  }

  .japano-header .navbar-collapse:not(.show) {
    display: none !important;
  }

  .japano-header .navbar-collapse.show {
    display: block !important;
    flex-basis: 100%;
    width: 100%;
    max-height: calc(100vh - 104px);
    overflow-y: auto;
    margin-top: 12px;
    padding: 10px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(7, 68, 47, .1);
    box-shadow: 0 18px 38px rgba(7, 68, 47, .12);
  }

  .japano-header .navbar-nav {
    width: 100%;
    gap: 4px;
    margin: 0 !important;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .japano-header .nav-link {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px !important;
    border-radius: 12px;
    line-height: 1.2;
  }

  .japano-header .nav-link::after {
    left: 12px;
    right: auto;
    bottom: 7px;
    width: 42px;
  }

  .japano-header .nav-link.active,
  .japano-header .nav-link:hover {
    background: #f3faf6;
  }

  .japano-header .product-dropdown-menu {
    position: static !important;
    width: 100%;
    max-height: 280px;
    overflow-y: auto;
    margin: 4px 0 6px !important;
    transform: none !important;
    border-radius: 14px;
    box-shadow: none;
    background: #f7fbf8;
  }

  .japano-header .product-dropdown-menu:not(.show) {
    display: none !important;
    opacity: 0;
    visibility: hidden;
  }

  .japano-header .product-dropdown-menu.show {
    display: block !important;
    opacity: 1;
    visibility: visible;
  }

  .japano-header .header-actions {
    width: 100%;
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid rgba(7, 68, 47, .08);
  }

  .japano-header .hotline-btn {
    width: 100%;
    height: 46px;
    justify-content: center;
  }

  .footer-tree-right {
    right: max(-18px, 1vw);
    bottom: 6px;
    width: clamp(132px, 20vw, 190px);
    opacity: .5;
  }
}

@media (max-width: 575.98px) {
  .japano-brand {
    min-width: 0;
    max-width: calc(100% - 58px);
  }

  .japano-brand .brand-logo-box {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }

  .japano-brand .brand-copy {
    min-width: 0;
  }

  .japano-brand .brand-copy strong {
    max-width: min(210px, calc(100vw - 132px));
    overflow-wrap: normal;
  }

  .japano-brand .brand-copy small {
    display: block;
    max-width: min(220px, calc(100vw - 132px));
    white-space: normal;
    overflow-wrap: normal;
    line-height: 1.25;
  }

  .floating-zalo {
    width: 58px;
    height: 58px;
    right: 10px;
    bottom: 10px;
  }
}

/* Ultrawide polish: keep the page composed on very horizontal screens. */
@media (min-width: 1600px) {
  .japano-home .container {
    max-width: min(1760px, calc(100% - 176px));
  }
}

@media (min-width: 2000px) {
  .japano-header .container {
    padding-left: clamp(96px, 8vw, 180px);
    padding-right: clamp(96px, 8vw, 180px);
  }

  .japano-home .container {
    max-width: min(1880px, calc(100% - 220px));
  }
}

/* Mobile brand: keep the legal company name visible beside the logo. */
@media (max-width: 575.98px) {
  .japano-header .container {
    flex-wrap: wrap;
  }

  .japano-brand {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 54px);
    gap: 9px;
  }

  .japano-brand .brand-logo-box {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
  }

  .japano-brand .brand-logo-img {
    width: 38px;
    height: 38px;
  }

  .japano-brand .brand-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.12;
  }

  .japano-brand .brand-copy strong {
    display: block;
    max-width: none;
    font-size: clamp(18px, 6.4vw, 28px);
    line-height: 1.05;
    white-space: nowrap;
  }

  .japano-brand .brand-copy small {
    display: block !important;
    max-width: none;
    margin-top: 3px;
    font-size: clamp(9px, 3.2vw, 13px);
    line-height: 1.18;
    white-space: normal;
    overflow: visible;
  }

  .japano-header .navbar-toggler {
    order: 2;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border-radius: 18px;
  }

  .japano-header .navbar-collapse {
    order: 3;
    flex: 0 0 100%;
    width: 100%;
    margin-top: 12px;
  }

  .japano-header .navbar-toggler-icon {
    width: 1.35em;
    height: 1.35em;
  }
}

@media (max-width: 340px) {
  .japano-brand .brand-logo-box {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .japano-brand .brand-logo-img {
    width: 34px;
    height: 34px;
  }

  .japano-brand .brand-copy strong {
    font-size: 17px;
  }

  .japano-brand .brand-copy small {
    font-size: 9px;
  }
}

/* Cleaner mobile menu: softer contrast, no long animated underlines. */
@media (max-width: 991.98px) {
  .japano-header .navbar-collapse.show {
    padding: 8px !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, .97) !important;
    border: 1px solid rgba(7, 68, 47, .08) !important;
    box-shadow: 0 16px 34px rgba(7, 68, 47, .09) !important;
    backdrop-filter: blur(12px);
  }

  .japano-header .navbar-nav {
    gap: 2px !important;
  }

  .japano-header .nav-link {
    min-height: 42px !important;
    padding: 11px 13px !important;
    border-radius: 10px !important;
    color: #21332d !important;
    font-size: 12.5px !important;
    font-weight: 850 !important;
    letter-spacing: .02em !important;
    background: transparent !important;
    box-shadow: none !important;
    transition: background-color .18s ease, color .18s ease;
  }

  .japano-header .nav-link::after {
    display: none !important;
  }

  .japano-header .nav-link.active {
    color: #064c37 !important;
    background: rgba(7, 68, 47, .065) !important;
  }

  .japano-header .nav-link:hover {
    color: #064c37 !important;
    background: rgba(7, 68, 47, .045) !important;
  }

  .japano-header .product-dropdown-menu {
    background: #fbfdfb !important;
    border: 1px solid rgba(7, 68, 47, .07) !important;
    border-radius: 12px !important;
    padding: 6px !important;
  }

  .japano-header .product-dropdown-menu::before {
    display: none !important;
  }

  .japano-header .header-actions {
    margin-top: 6px !important;
    padding-top: 8px !important;
    border-top: 1px solid rgba(7, 68, 47, .07) !important;
  }

  .japano-header .hotline-btn {
    height: 44px !important;
    border-radius: 14px !important;
    background: #064c37 !important;
    box-shadow: 0 10px 24px rgba(7, 68, 47, .14) !important;
  }
}

@media (max-width: 575.98px) {
  .japano-header .navbar {
    min-height: 72px !important;
  }

  .japano-brand .brand-copy strong {
    font-size: clamp(19px, 6vw, 25px) !important;
    letter-spacing: 0 !important;
  }

  .japano-brand .brand-copy small {
    font-size: clamp(9px, 2.8vw, 11px) !important;
    color: #6c7a74 !important;
    line-height: 1.18 !important;
  }

  .japano-header .navbar-toggler {
    width: 48px !important;
    height: 48px !important;
    flex-basis: 48px !important;
    border-radius: 15px !important;
    box-shadow: 0 8px 18px rgba(7, 68, 47, .08) !important;
  }

  .japano-header .navbar-toggler-icon {
    width: 1.15em !important;
    height: 1.15em !important;
  }
}

