@charset "UTF-8";
/*
    Site footer (Views/Shared/_PartialFooter.cshtml, _PartialNewsletter.cshtml). Compiled to wwwroot/css/footer.css.
    Background uses --theme-footer from Admin > Cấu hình giao diện.
*/
.site-footer {
  margin-top: 0;
  color: var(--theme-on-dark, #fff);
}
.site-footer__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.site-footer a {
  color: inherit;
  text-decoration: none;
}

/* Partners strip */
.footer-partners {
  padding: 36px 0;
  border-top: 1px solid #e6ece1;
  background: #fff;
  color: #17301a;
}
.footer-partners__title {
  margin: 0 0 20px;
  color: #6b7766;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}
.footer-partners__marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.footer-partners__marquee:hover .footer-partners__track, .footer-partners__marquee:focus-within .footer-partners__track {
  animation-play-state: paused;
}
.footer-partners__track {
  display: flex;
  width: max-content;
  animation: partners-scroll var(--partners-duration, 30s) linear infinite;
}
.footer-partners__list {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 56px;
  margin: 0;
  padding: 0 28px;
  list-style: none;
}
.footer-partners__list a {
  display: block;
  padding: 6px;
  border-radius: 8px;
}
.footer-partners__list a:focus-visible {
  outline: 2px solid var(--theme-primary, #5FAE1E);
}
.footer-partners__list img {
  display: block;
  width: auto;
  max-width: 170px;
  height: 64px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}
.footer-partners__list a:hover img,
.footer-partners__list a:focus-visible img {
  filter: none;
  opacity: 1;
  transform: scale(1.04);
}

@keyframes partners-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
/* Main footer */
.footer-main {
  position: relative;
  padding: 56px 0 40px;
  background: radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--theme-primary, #5FAE1E) 22%, transparent), transparent 40%), var(--theme-footer, #0F3D1F);
}
.footer-main__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1.1fr 1.1fr;
  gap: 40px;
}

.footer-brand__logo {
  display: inline-block;
  margin-bottom: 16px;
}
.footer-brand__logo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 72px;
}
.footer-brand__text {
  max-width: 320px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14.5px;
  line-height: 1.65;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  font-size: 16px;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.footer-social a:hover, .footer-social a:focus-visible {
  border-color: var(--theme-accent, #F2B705);
  background: var(--theme-accent, #F2B705);
  color: #1f2a1a;
  transform: translateY(-2px);
}

.footer-col__title {
  position: relative;
  margin: 0 0 18px;
  padding-bottom: 10px;
  color: var(--theme-on-dark, #fff);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer-col__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  border-radius: 2px;
  background: var(--theme-accent, #F2B705);
}
.footer-col__title--small {
  margin-top: 26px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14.5px;
  transition: color 0.15s ease, transform 0.15s ease;
}
.footer-links a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: background-color 0.15s ease;
}
.footer-links a:hover, .footer-links a:focus-visible {
  color: var(--theme-on-dark, #fff);
  transform: translateX(3px);
}
.footer-links a:hover::before, .footer-links a:focus-visible::before {
  background: var(--theme-accent, #F2B705);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14.5px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.footer-contact i {
  flex: 0 0 18px;
  margin-top: 3px;
  color: var(--theme-accent, #F2B705);
  text-align: center;
}
.footer-contact a:hover {
  color: var(--theme-on-dark, #fff);
  text-decoration: underline;
}
.footer-contact em {
  color: rgba(255, 255, 255, 0.6);
  font-style: normal;
}

/* Newsletter */
.footer-news {
  display: flex;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.footer-news:focus-within {
  border-color: var(--theme-accent, #F2B705);
  background: rgba(255, 255, 255, 0.12);
}
.footer-news__text {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  line-height: 1.55;
}
.footer-news input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 8px 14px;
  border: 0;
  background: transparent;
  color: var(--theme-on-dark, #fff);
  font-size: 14.5px;
  outline: none;
}
.footer-news input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}
.footer-news button {
  display: grid;
  flex: 0 0 40px;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--theme-accent, #F2B705);
  color: #1f2a1a;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.footer-news button:hover {
  filter: brightness(1.08);
  transform: scale(1.05);
}
.footer-news__msg {
  display: block;
  min-height: 18px;
  margin-top: 6px;
  color: var(--theme-accent, #F2B705);
  font-size: 13px;
}

/* Visitor counters */
.footer-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  text-align: center;
}
.footer-stats span {
  color: var(--theme-on-dark, #fff);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
}
.footer-stats small {
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
}

/* Bottom bar */
.footer-bottom {
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--theme-footer, #0F3D1F);
  background: color-mix(in srgb, var(--theme-footer, #0F3D1F) 85%, #000);
  color: rgba(255, 255, 255, 0.7);
  font-size: 13.5px;
}
.footer-bottom__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.footer-bottom__top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.footer-bottom__top:hover {
  color: var(--theme-on-dark, #fff);
}

@media (max-width: 991.98px) {
  .footer-main__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 28px;
  }
}
@media (max-width: 575.98px) {
  .site-footer__inner {
    padding: 0 16px;
  }
  .footer-partners {
    padding: 28px 0;
  }
  .footer-partners__list {
    gap: 32px;
    padding: 0 16px;
  }
  .footer-partners__list img {
    max-width: 120px;
    height: 48px;
  }
  .footer-main {
    padding: 40px 0 28px;
  }
  .footer-main__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom__row {
    flex-direction: column;
    text-align: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .footer-partners__track {
    animation-duration: calc(var(--partners-duration, 30s) * 2);
  }
  .footer-partners__list img,
  .footer-social a,
  .footer-links a,
  .footer-news button {
    transition: none;
  }
}
/* Floating buttons: Messenger and back to top (_PartialFloatingActions.cshtml) */
.float-actions {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1040;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  pointer-events: none;
}
.float-actions > * {
  pointer-events: auto;
}

.float-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.25s ease, visibility 0.25s ease;
}
.float-btn:hover, .float-btn:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}
.float-btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
.float-btn--messenger, .float-btn--whatsapp {
  color: #fff;
  font-size: 24px;
}
.float-btn--messenger:hover, .float-btn--messenger:focus-visible, .float-btn--whatsapp:hover, .float-btn--whatsapp:focus-visible {
  color: #fff;
}
.float-btn--messenger i, .float-btn--whatsapp i {
  display: inline-block;
  transform-origin: 50% 60%;
  animation: float-wiggle 3.6s ease-in-out infinite;
}
.float-btn--messenger::before, .float-btn--messenger::after, .float-btn--whatsapp::before, .float-btn--whatsapp::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  border: 2px solid var(--float-ring);
  background: var(--float-glow);
  animation: float-ripple 2.4s ease-out infinite;
}
.float-btn--messenger::after, .float-btn--whatsapp::after {
  animation-delay: 1.2s;
}
.float-btn--messenger:hover i, .float-btn--messenger:focus-visible i, .float-btn--messenger:hover::before, .float-btn--messenger:hover::after, .float-btn--whatsapp:hover i, .float-btn--whatsapp:focus-visible i, .float-btn--whatsapp:hover::before, .float-btn--whatsapp:hover::after {
  animation-play-state: paused;
}
.float-btn--messenger {
  --float-ring: rgba(0, 132, 255, .55);
  --float-glow: rgba(0, 132, 255, .12);
  background: linear-gradient(135deg, #00c6ff 0%, #0078ff 55%, #a033ff 100%);
}
.float-btn--whatsapp {
  --float-ring: rgba(37, 211, 102, .6);
  --float-glow: rgba(37, 211, 102, .14);
  background: linear-gradient(135deg, #5af27f 0%, #25d366 45%, #128c3e 100%);
  font-size: 27px;
}
.float-btn--whatsapp i {
  animation-delay: 1.8s;
}
.float-btn--whatsapp::before {
  animation-delay: 0.6s;
}
.float-btn--whatsapp::after {
  animation-delay: 1.8s;
}
.float-btn--top {
  background: #fff;
  color: var(--theme-primary-dark, #1E6B34);
  font-size: 17px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}
.float-btn--top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.float-btn--top.is-visible:hover, .float-btn--top.is-visible:focus-visible {
  transform: translateY(-3px);
  background: var(--theme-primary-dark, #1E6B34);
  color: #fff;
}
.float-btn__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  pointer-events: none;
}
.float-btn__ring-track, .float-btn__ring-bar {
  fill: none;
  stroke-width: 3;
}
.float-btn__ring-track {
  stroke: color-mix(in srgb, var(--theme-primary, #5FAE1E) 18%, transparent);
}
.float-btn__ring-bar {
  stroke: var(--theme-primary, #5FAE1E);
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.1s linear;
}
.float-btn--top:hover .float-btn__ring-bar {
  stroke: var(--theme-accent, #F2B705);
}

@keyframes float-ripple {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }
  80%, 100% {
    transform: scale(1.75);
    opacity: 0;
  }
}
@keyframes float-wiggle {
  0%, 62%, 100% {
    transform: rotate(0) scale(1);
  }
  66% {
    transform: rotate(-14deg) scale(1.08);
  }
  70% {
    transform: rotate(12deg) scale(1.1);
  }
  74% {
    transform: rotate(-9deg) scale(1.08);
  }
  78% {
    transform: rotate(6deg) scale(1.04);
  }
  82% {
    transform: rotate(-3deg) scale(1.02);
  }
  86% {
    transform: rotate(0) scale(1);
  }
}
@keyframes float-wiggle-soft {
  0%, 70%, 100% {
    transform: rotate(0);
  }
  76% {
    transform: rotate(-7deg);
  }
  82% {
    transform: rotate(6deg);
  }
  88% {
    transform: rotate(-3deg);
  }
  94% {
    transform: rotate(0);
  }
}
@media (max-width: 575.98px) {
  .float-actions {
    right: 14px;
    bottom: 14px;
    gap: 16px;
  }
  .float-btn {
    width: 46px;
    height: 46px;
  }
  .float-btn--messenger {
    font-size: 21px;
  }
  .float-btn--whatsapp {
    font-size: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .float-btn,
  .float-btn__ring-bar {
    transition: none;
  }
  .float-btn--messenger::before,
  .float-btn--messenger::after,
  .float-btn--whatsapp::before,
  .float-btn--whatsapp::after {
    animation-duration: 3.6s;
  }
  .float-btn--messenger i,
  .float-btn--whatsapp i {
    animation: float-wiggle-soft 4.5s ease-in-out infinite;
  }
}
/* "Added to cart" toast (_PartialFloatingActions.cshtml) */
.yd-toast {
  position: fixed;
  top: 24px;
  left: 50%;
  z-index: 1060;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(520px, 100vw - 32px);
  padding: 14px 16px;
  border-left: 4px solid var(--theme-primary, #5FAE1E);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translate(-50%, -16px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.yd-toast[hidden] {
  display: none;
}
.yd-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.yd-toast__icon {
  display: grid;
  flex: 0 0 38px;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--theme-primary, #5FAE1E);
  color: #fff;
  font-size: 17px;
}
.yd-toast__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}
.yd-toast__body strong {
  color: #17301a;
  font-size: 15.5px;
}
.yd-toast__body span {
  color: #56634f;
  font-size: 13.5px;
}
.yd-toast__btn {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--theme-primary-dark, #1E6B34);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.yd-toast__btn:hover {
  color: #fff;
  filter: brightness(1.12);
}
.yd-toast__close {
  flex: 0 0 auto;
  padding: 4px 6px;
  border: 0;
  background: transparent;
  color: #8a9784;
  cursor: pointer;
}
.yd-toast__close:hover {
  color: #17301a;
}

@media (max-width: 575.98px) {
  .yd-toast {
    top: 12px;
    flex-wrap: wrap;
  }
  .yd-toast__body {
    flex-basis: calc(100% - 100px);
  }
  .yd-toast__btn {
    order: 4;
    width: 100%;
    text-align: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .yd-toast {
    transition: none;
  }
}
