/* Static home banner and responsive recipe search. */
.home-slideshow { position: relative; overflow: hidden; background: var(--bg-body); }
.home-slide-track { display: flex; width: 100%; }
.home-page .home-slide-track { transition: transform .6s ease-in-out !important; }
.home-page .home-slide-track.is-resetting { transition: none !important; }
.home-slide { display: block; flex: 0 0 100%; min-width: 0; width: 100%; height: auto; aspect-ratio: 1900 / 800; object-fit: cover; }
.home-product-ticker { overflow: hidden; padding: 16px 0; background: #06432a; color: #fff; }
.home-product-ticker-track { display: flex; width: max-content; }
.home-page .home-product-ticker-track { animation: homeTickerScroll 80s linear infinite !important; }
.home-product-ticker-group { display: flex; align-items: center; gap: 32px; padding-right: 32px; flex-shrink: 0; }
.home-product-ticker .marquee-product-chip { color: #fff; }
.home-page .home-product-ticker:hover .home-product-ticker-track { animation-play-state: paused !important; }
@keyframes homeTickerScroll { to { transform: translateX(-50%); } }
.home-slide[hidden] { display: none; }
.home-page *, .home-page *::before, .home-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
.recipes-toolbar { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; margin-bottom: 32px; }
.recipes-toolbar .culinary-section-heading { flex: 1; min-width: 0; }
.recipes-toolbar .recipe-search { flex: 0 1 380px; width: 100%; margin: 0 0 0 auto; }
.contact-view { background: #f5f5f3; color: #40505b; }
.contact-breadcrumb { padding: 16px 0; background: #eee; font-size: 12px; }
.contact-breadcrumb .container { display: flex; gap: 12px; align-items: center; }
.contact-breadcrumb [aria-current] { color: #427c38; }
.contact-page { max-width: 1120px; padding-top: 45px; padding-bottom: 72px; }
.contact-heading { text-align: center; margin-bottom: 54px; }
.contact-heading h1 { color: #b51e20; font-size: clamp(26px, 3.3vw, 40px); line-height: 1.3; font-weight: 800; }
.contact-heading p { font-size: 14px; line-height: 1.7; }
.contact-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 7vw, 100px); align-items: start; }
.contact-info { border: 1px solid #ccd2d6; border-radius: 16px; padding: 22px 20px; background: #ffffff55; }
.contact-info h2 { font-size: 18px; font-weight: 700; margin-bottom: 18px; }
.contact-info-row { display: flex; align-items: center; gap: 14px; margin-top: 16px; font-size: 14px; }
.contact-info-row > div { min-width: 0; }
.contact-info-row p { margin: 0 0 6px; }
.contact-info-row a { color: #bd1e22; overflow-wrap: anywhere; }
.contact-info-row address { font-style: normal; line-height: 1.7; }
.contact-info-icon { display: grid; place-items: center; flex: 0 0 32px; height: 32px; border: 1px solid #9ba7ad; border-radius: 50%; }
.contact-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
.contact-form label { display: block; font-size: 14px; font-weight: 600; }
.contact-required { color: #c41920; }
.contact-form input, .contact-form textarea { display: block; width: 100%; min-width: 0; margin-top: 10px; border: 1px solid #c4c8cb; border-radius: 3px; padding: 10px 12px; background: #fff; color: #34424c; font: inherit; font-size: 14px; font-weight: 400; }
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid #23733e; outline-offset: 2px; }
.contact-wide { grid-column: 1 / -1; }
.contact-form-note { font-size: 14px; margin: 24px 0 10px; }
.contact-email-note { font-size: 12px; line-height: 1.6; margin-bottom: 16px; }
.contact-submit { padding: 9px 18px; border-radius: 3px; background: #307db5; color: white; font-size: 14px; font-weight: 700; }
.contact-submit:hover { background: #24618e; }
.contact-submit:focus-visible { outline: 3px solid #23733e; outline-offset: 3px; }
.contact-form-status { font-size: 13px; line-height: 1.6; margin-top: 14px; }
.contact-form-status:empty { display: none; }
html.dark .contact-view { background: var(--bg-body); color: var(--text-main); }
html.dark .contact-breadcrumb, html.dark .contact-info { background: var(--bg-surface); }
html.dark .contact-heading h1, html.dark .contact-info-row a, html.dark .contact-required { color: #ff9b92; }
html.dark .contact-breadcrumb [aria-current] { color: #b1d7b7; }
html.dark .contact-form input, html.dark .contact-form textarea { background: var(--bg-surface); color: var(--text-main); border-color: #65776c; }
.nav-left { gap: clamp(14px, 2vw, 32px); }
@media (max-width: 767px) {
  .recipes-toolbar { flex-direction: column; gap: 20px; }
  .recipes-toolbar .recipe-search { flex-basis: auto; max-width: none; }
  .contact-layout { grid-template-columns: 1fr; gap: 30px; }
  .contact-heading { margin-bottom: 32px; }
  .contact-page { padding-top: 32px; }
}
@media (max-width: 420px) { .contact-form-grid { grid-template-columns: 1fr; } }

/* Editorial headings for the product, recipe and news sections. */
.culinary-section-heading { text-align: left; }
.section-title.culinary-title {
  font-family: 'Montserrat', sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(2.35rem, 4.2vw, 4rem);
  line-height: 1.3;
  letter-spacing: -.025em;
  text-align: left;
  text-wrap: balance;
  color: #245b3d;
}
html.dark .section-title.culinary-title { color: #b1d7b7; }

/* Restored pre-video home presentation. */
.dh-hero-gourmet { min-height: 600px; height: min(760px, calc(100svh - 90px)); align-items: flex-start; }
.hero-visual { position: absolute; inset: 0; }
.hero-food-base { opacity: 1; transform: none !important; animation: none !important; transition: none; }
.hero-text-container { padding-top: 55px; padding-bottom: 40px; }
.hero-gourmet-card { max-width: min(480px, 38vw); }
.hero-gourmet-title { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: clamp(2.5rem, 4.1vw, 4.4rem); line-height: 1.16; letter-spacing: -.025em; text-shadow: 0 2px 18px #fff7; }
.hero-title-line { display: block; }
.hero-title-line:last-child { font-style: italic; color: #126b43; }
.hero-gourmet-desc { font-size: clamp(.95rem, 1.2vw, 1.15rem); max-width: min(300px, 26vw); margin: 18px 0 0; }
.hero-steam { position: absolute; z-index: 4; pointer-events: none; }
.hero-steam span {
  position: absolute; bottom: 0; left: 8%; width: 19%; height: 70%;
  border-radius: 48% 60% 35% 65%;
  background: radial-gradient(ellipse, #ffffffe0 0%, #ffffff80 32%, transparent 70%);
  filter: blur(9px); opacity: 0; transform-origin: center bottom;
  animation: restored-steam 5.6s ease-in-out infinite;
}
.hero-steam span::after {
  content: ''; position: absolute; inset: 12% 28% 8% 16%; border-radius: 50%;
  border-left: 9px solid #ffffffb0; transform: rotate(14deg); filter: blur(5px);
}
.hero-steam span:nth-child(2) { left: 26%; height: 84%; animation-delay: -1.1s; animation-duration: 6.2s; }
.hero-steam span:nth-child(3) { left: 44%; height: 76%; animation-delay: -2.8s; }
.hero-steam span:nth-child(4) { left: 62%; height: 90%; animation-delay: -4.2s; animation-duration: 6.6s; }
.hero-steam span:nth-child(5) { left: 78%; height: 65%; animation-delay: -3.5s; }
@keyframes restored-steam {
  0% { opacity: 0; transform: translate(0, 25px) scale(.55, .65) rotate(-8deg); }
  22% { opacity: .72; }
  55% { opacity: .55; transform: translate(-12px, -45px) scale(.95, 1.1) rotate(8deg); }
  100% { opacity: 0; transform: translate(24px, -125px) scale(1.4, 1.3) rotate(-6deg); }
}
.hero-sunlight { position: absolute; inset: 0; z-index: 2; background: radial-gradient(ellipse at 75% 15%, #fff2c628, transparent 55%); transform: translate(var(--hero-x, 0px), var(--hero-y, 0px)); }
.hero-motion-paused .hero-steam span { animation-play-state: paused; }
.site-footer { position: relative; isolation: isolate; overflow: hidden; padding: 120px 0 28px; background: transparent; color: #fff; text-align: center; }
.footer-landscape { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.footer-content { position: relative; z-index: 1; }
.footer-socials { display: flex; align-items: center; justify-content: center; gap: 25px; margin-bottom: 14px; }
.footer-socials svg { width: 44px; height: 44px; }
.footer-socials a, .footer-social-pending { color: #fff; display: inline-flex; }
.footer-social-pending { opacity: .55; }
.footer-content h2 { color: #fff; font: 700 clamp(1.2rem, 2vw, 1.7rem)/1.4 var(--font-body); margin: 0 0 14px; }
.footer-content address { font-style: normal; font-size: 1rem; line-height: 1.6; }
.footer-contact-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 28px; }
.footer-contact-row a { display: inline-flex; align-items: center; gap: 8px; color: #fff; }
.footer-contact-row svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.footer-content address p { margin: 10px 0 0; }
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; list-style: none; padding: 0; margin: 20px 0; gap: 0; }
.footer-nav li { padding: 0 18px; }
.footer-nav li + li { border-left: 1px solid #ffffff60; }
.footer-nav a { color: #fff; text-transform: uppercase; font-weight: 600; font-size: .9rem; }
.footer-content a:hover { color: #fff2b5; }
.footer-copyright { color: #ffffffdc; font-size: .9rem; margin: 24px 0 0; }
@media (max-width: 767px) {
  .header-inner { gap: 10px; padding-inline: 14px; }
  .nav-right { gap: 6px; }
  .origine-logo { width: 112px; }
  .dh-hero-gourmet { min-height: 580px; height: 78svh; max-height: 720px; }
  .hero-text-container { padding: 38px 22px; }
  .hero-gourmet-card { max-width: 75%; }
  .hero-gourmet-title { font-size: clamp(2rem, 7vw, 3.2rem); }
  .hero-label-viet { font-size: .65rem; letter-spacing: .1em; }
  .hero-gourmet-desc { font-size: .9rem; max-width: 230px; }
  /* A continuous veil over the photo keeps mobile copy legible, without a card. */
  .dh-hero-gourmet::after {
    content: ''; position: absolute; inset: 0; z-index: 5; pointer-events: none;
    background: linear-gradient(180deg, rgba(250,246,239,.96) 0%, rgba(250,246,239,.92) 38%, rgba(250,246,239,.65) 53%, transparent 76%);
  }
  .hero-gourmet-card { max-width: 100%; }
  .hero-gourmet-title, html.dark .hero-gourmet-title { color: #0d241a; text-shadow: none; }
  .hero-title-line:last-child { color: #126b43; }
  .hero-gourmet-desc, html.dark .hero-gourmet-desc { color: #263b30; text-shadow: none; max-width: 29ch; font-weight: 600; }
  html.dark .hero-label-viet { color: #065f46; background: rgba(6,95,70,.08); border-color: rgba(6,95,70,.18); }
  .site-footer { padding-top: 105px; }
  .footer-content h2 { max-width: 90%; margin: 0 auto 12px; }
  .footer-contact-row { flex-direction: column; align-items: center; gap: 6px; }
  .footer-nav { gap: 12px 0; }
  .footer-nav li { padding: 0 10px; }
}
@media (prefers-reduced-motion: reduce) { .hero-steam span { animation-duration: 12s; } .hero-sunlight { transform: none; } }

/* Consistent main headings across pages and home sections. */
#app-main .section-title,
#app-main h1 {
  font-family: 'Montserrat', sans-serif;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
  color: #245b3d;
}
html.dark #app-main .section-title,
html.dark #app-main h1 {
  color: #b1d7b7;
}

/* Keep banner framing and main typography consistent on every screen. */
#app-main .section-title,
#app-main h1 {
  font-size: clamp(1.6rem, 3.5vw, 3.5rem);
  line-height: 1.3;
  overflow-wrap: break-word;
}
@media (max-width: 1023px) {
  .site-header.dh-green-header, .header-inner { height: 68px; }
  .header-inner { gap: 12px; }
}
@media (max-width: 767px) {
  .header-inner { padding-inline: 16px; }
  .nav-right { gap: 8px; }
  .contact-form input, .contact-form textarea { font-size: 16px; }
  .mobile-bottom-nav { padding-bottom: max(8px, env(safe-area-inset-bottom)); }
  body { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  .footer-contact-row a { overflow-wrap: anywhere; max-width: 100%; }
}
