/* Minh Tâm homepage. Copy scales from AZ Body; headings use H2 × .72, H3 × .72.
   Product titles use H3 × .60. Menu typography stays at the configured AZ value. */
.az-child-minhtam { background: var(--az-color-surface, #fff); font-size: .875em; }
.az-child-minhtam :is(h2,h3,p) { overflow-wrap: anywhere; }
.az-child-minhtam .az-child-minhtam__heading { margin: 0 0 24px; color: var(--az-color-primary); font-size: calc(var(--az-h2-size, 34px) * .72); text-align: center; }
.az-child-minhtam :is(h2,h3) { font-family: var(--az-font-heading); font-weight: var(--az-heading-weight, 600); line-height: var(--az-heading-line-height, 1.2); letter-spacing: var(--az-heading-letter-spacing, 0); }
.az-child-minhtam__button { display: inline-block; padding: 10px 22px; border: 0; border-radius: 3px; background: var(--az-color-primary); color: #fff; font: inherit; font-weight: 600; text-align: center; }
.az-child-minhtam .az-child-minhtam__button:hover { background: var(--az-color-primary-dark, #00713d); color: #fff; }
.az-child-minhtam__banner-band { padding-block: 20px; background: var(--az-color-page); }
.az-child-minhtam__banner-grid { display: grid; grid-template-columns: minmax(0, 1fr) 170px; gap: 18px; align-items: start; }
.az-child-minhtam__banner-grid--single { grid-template-columns: minmax(0, 1fr); }
.az-child-minhtam__banner-grid--products { grid-template-columns: minmax(0, 1fr); }
.az-child-minhtam .az-child-panda__banner { min-width: 0; }
.az-child-minhtam .az-child-panda__slide img { width: 100%; height: var(--az-child-banner-height, auto); object-fit: cover; }
.az-child-minhtam .az-child-panda__banner-copy .az-child-panda__container { width: 90%; }
.az-child-minhtam .az-child-panda__banner-copy h2 { font-size: calc(var(--az-h1-size, 48px) * .8); }
.az-child-minhtam__spotlight { min-width: 0; padding: 20px 12px 12px; background: var(--az-color-surface); }
.az-child-minhtam .az-child-minhtam__spotlight .az-child-minhtam__heading { margin-bottom: 16px; text-align: left; font-size: calc(var(--az-h3-size, 26px) * .6); }
.az-child-minhtam__spotlight-items { display: grid; gap: 16px; max-height: 370px; overflow-y: auto; }
.az-child-minhtam__spotlight .az-product-card { box-shadow: none; }
.az-child-minhtam__catalog { padding-block: 30px; }
.az-child-minhtam__solution { display: grid; grid-template-columns: 255px minmax(0, 1fr); gap: 28px; margin-bottom: 44px; scroll-margin-top: 100px; }
.az-child-minhtam__solution:last-child { margin-bottom: 0; }
.az-child-minhtam__solution-nav { border: 2px solid var(--az-color-primary); align-self: start; }
.az-child-minhtam .az-child-minhtam__solution-nav .az-child-minhtam__heading { margin: 0; padding: 11px 12px; background: var(--az-color-primary); color: #fff; font-size: calc(var(--az-h3-size, 26px) * .65); }
.az-child-minhtam__solution-links { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 10px; padding: 22px 12px; }
.az-child-minhtam__solution-links a { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 4px; color: var(--az-color-primary); text-align: center; font-size: .78em; line-height: 1.3; text-transform: uppercase; }
.az-child-minhtam__solution-links img { width: 58px; height: 58px; object-fit: contain; }
.az-child-minhtam__solution-content { min-width: 0; }
.az-child-minhtam__tabs { display: flex; gap: 0; margin-bottom: 16px; border-top: 1px solid var(--az-color-primary); background: var(--az-color-page); overflow-x: auto; }
.az-child-minhtam__tabs [role=tab] { flex: 1 0 auto; min-height: 44px; max-width: 100%; padding: 10px 14px; border: 0; border-top: 3px solid transparent; margin-top: -1px; background: transparent; color: var(--az-color-muted); font: inherit; font-size: .85em; text-transform: uppercase; cursor: pointer; }
.az-child-minhtam__tabs [aria-selected=true] { color: var(--az-color-primary); border-top-color: currentColor; }
.az-child-minhtam__tab-panel { min-width: 0; }
.az-child-minhtam__products { display: grid; grid-template-columns: repeat(var(--az-child-home-columns-desktop, 4), minmax(0, 1fr)); gap: 16px; }
#page.az-site .az-child-minhtam .az-product-card { min-width: 0; border: 1px solid var(--az-color-border); border-radius: 0; box-shadow: 0 2px 2px #00000008; background: var(--az-color-surface); overflow: hidden; }
#page.az-site .az-child-minhtam .az-product-card__image { margin: 0; border-radius: 0; aspect-ratio: var(--az-product-image-ratio, 1 / 1); background: var(--az-color-page); }
#page.az-site .az-child-minhtam .az-product-card__image img { width: 100%; height: 100%; aspect-ratio: inherit; object-fit: var(--az-child-product-image-fit, cover); }
#page.az-site .az-child-minhtam .az-product-card__body { padding: 12px 8px; text-align: center; }
#page.az-site .az-child-minhtam .az-product-card__title { margin-bottom: 8px; font-size: calc(var(--az-h3-size, 26px) * .60); font-weight: var(--az-heading-weight); color: var(--az-color-primary); }
#page.az-site .az-child-minhtam .az-product-card__price { font-size: .9em; }
#page.az-site .az-child-minhtam .az-product-card__actions { flex-wrap: wrap; gap: 5px; }
#page.az-site .az-child-minhtam .az-product-card__actions :is(a,button) { flex: 1 1 70px; white-space: normal; font-size: .75em; padding: 7px 4px; min-width: 0; }
.az-child-minhtam__empty { padding: 35px 20px; background: var(--az-color-page); color: var(--az-color-muted); }
.az-child-minhtam__intro { max-width: 1000px; margin: 0 auto 36px; text-align: center; }
.az-child-minhtam__reasons { position: relative; padding-block: 26px 42px; background-color: var(--az-color-primary); background-size: cover; background-position: center; color: #fff; isolation: isolate; }
.az-child-minhtam__reasons::before { content: ''; position: absolute; z-index: -1; inset: 0; background: var(--az-color-primary); opacity: .76; }
.az-child-minhtam .az-child-minhtam__reasons .az-child-minhtam__heading { color: inherit; margin-bottom: 16px; }
.az-child-minhtam__reasons .az-child-minhtam__intro { font-size: .9em; }
.az-child-minhtam__reason-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; text-align: center; }
.az-child-minhtam__reason-grid img { width: 64px; height: 64px; object-fit: contain; margin: 15px auto 24px; }
.az-child-minhtam__reason-grid h3 { margin: 0 0 16px; color: inherit; font-size: calc(var(--az-h3-size, 26px) * .72); }
.az-child-minhtam__reason-grid p { margin: 0; font-size: .95em; }
.az-child-minhtam__credentials { padding-block: 30px 55px; }
.az-child-minhtam__credentials-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 35px; text-align: center; color: var(--az-color-primary); }
.az-child-minhtam__credentials-grid img { width: auto; height: 55px; max-width: 200px; object-fit: contain; margin: auto; }
.az-child-minhtam__credentials-grid p { margin: 20px 0 0; font-weight: 600; line-height: 1.7; }
.az-child-minhtam__badge { display: inline-grid; place-items: center; min-width: 55px; height: 55px; border-radius: 9px; background: var(--az-color-primary); color: #fff; font-size: 40px; line-height: 1; }
.az-child-minhtam__projects { padding-top: 28px; background: var(--az-color-page); }
.az-child-minhtam .az-child-minhtam__projects .az-child-minhtam__heading { color: var(--az-color-accent); margin-bottom: 20px; }
.az-child-minhtam__project-track { position: relative; display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: max(var(--az-mobile-gutter, 24px), calc((100% - var(--az-container, 1110px)) / 2)); }
.az-child-minhtam__project-track::-webkit-scrollbar { display: none; }
.az-child-minhtam__project { position: relative; flex: 0 0 min(100%, var(--az-container, 1110px)); min-width: 0; min-height: 380px; scroll-snap-align: center; overflow: hidden; background: var(--az-color-border); }
.az-child-minhtam__project > img { width: 100%; height: 480px; object-fit: cover; }
.az-child-minhtam__project-card { position: absolute; left: 5%; top: 50%; transform: translateY(-50%); width: min(400px, 80%); padding: 30px; background: var(--az-color-surface); box-shadow: 0 6px 16px #0003; text-align: center; }
.az-child-minhtam__project-card h3 { margin: 0 0 16px; color: var(--az-color-primary); font-size: calc(var(--az-h2-size, 34px) * .85); }
.az-child-minhtam__project-card p { margin: 0 0 18px; }
.az-child-minhtam__project-card .az-child-minhtam__button { display: block; border-radius: 0; }
.az-child-minhtam__project-controls { display: flex; justify-content: center; align-items: center; gap: 20px; padding: 12px; }
.az-child-minhtam__project-controls button { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--az-color-border); border-radius: 50%; background: var(--az-color-surface); color: var(--az-color-primary); font-size: 25px; cursor: pointer; }
.az-child-minhtam__project-controls button:disabled { opacity: .4; cursor: default; }
.az-child-minhtam__news { padding-block: 35px 42px; text-align: center; }
.az-child-minhtam .az-child-minhtam__news .az-child-minhtam__heading { padding-bottom: 18px; border-bottom: 1px solid var(--az-color-border); color: var(--az-color-accent); }
.az-child-minhtam__news-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; margin-bottom: 38px; }
.az-child-minhtam__news-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.az-child-minhtam__news-grid h3 { margin: 12px 0 5px; color: var(--az-color-primary); font-size: calc(var(--az-h3-size, 26px) * .62); }
.az-child-minhtam__news-grid small { color: var(--az-color-muted); font-size: .8em; }
.az-child-minhtam__services { border-top: 1px solid var(--az-color-border); padding-block: 25px; }
.az-child-minhtam__service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.az-child-minhtam__service-grid article { display: flex; align-items: flex-start; gap: 16px; }
.az-child-minhtam__service-grid img { flex: 0 0 58px; width: 58px; height: 65px; object-fit: contain; }
.az-child-minhtam__service-grid h3 { margin: 0 0 6px; font-size: calc(var(--az-h3-size, 26px) * .62); }
.az-child-minhtam__service-grid p { margin: 0; font-size: .85em; line-height: 1.7; }
.az-child-minhtam__dealer { background: var(--az-color-primary); color: #fff; }
.az-child-minhtam__dealer > div { display: flex; align-items: center; gap: 28px; padding-block: 25px; min-height: 125px; }
.az-child-minhtam__dealer > div > img { width: 150px; height: 110px; object-fit: cover; object-position: left; }
.az-child-minhtam__dealer-copy { flex: 1 1 auto; }
.az-child-minhtam .az-child-minhtam__dealer .az-child-minhtam__heading { margin: 0; color: inherit; font-size: calc(var(--az-h2-size, 34px) * .85); text-align: left; }
.az-child-minhtam__dealer-copy p { margin: 2px 0 0; color: #ffdf00; font-size: 1.6em; font-weight: 800; font-style: italic; }
.az-child-minhtam__dealer-action { flex: 1 1 380px; min-width: 0; }
.az-child-minhtam__dealer-action .az-child-minhtam__button { background: #ffcc00; color: #18352a; }
.az-child-minhtam__dealer-action .az9s-lead-form-block { margin: 0; padding: 0; background: transparent; color: inherit; border: 0; }
.az-child-minhtam__dealer-action .az9s-dynamic-lead-form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.az-child-minhtam__dealer-action .az9s-dynamic-lead-form > p { flex: 1 1 200px; margin: 0; }
.az-child-minhtam__dealer-action :is(input:not([type=checkbox],[type=radio],[type=hidden]),textarea,select) { max-width: 100%; color: var(--az-color-text); background: var(--az-color-surface); font: inherit; }
.az-child-minhtam__dealer-action .az9s-form-submit { background: #ffcc00; color: #18352a; font: inherit; }
.az-child-minhtam__dealer-action .az9s-form-response { flex: 1 1 100%; }
@media (max-width: 960px) {
  .az-child-minhtam__banner-grid { grid-template-columns: minmax(0, 1fr) 150px; }
  .az-child-minhtam__solution { grid-template-columns: 200px minmax(0, 1fr); gap: 18px; }
  .az-child-minhtam__products { grid-template-columns: repeat(var(--az-child-home-columns-tablet, 3), minmax(0, 1fr)); gap: 12px; }
  .az-child-minhtam__tabs [role=tab] { padding-inline: 10px; }
  .az-child-minhtam__reason-grid { gap: 20px; }
  .az-child-minhtam__dealer > div { flex-wrap: wrap; }
  .az-child-minhtam__dealer-action { flex-basis: 100%; padding-left: 178px; }
}
@media (max-width: 782px) {
  .az-child-minhtam__products { grid-template-columns: repeat(var(--az-child-home-columns-mobile, 2), minmax(0, 1fr)); }
  .az-child-minhtam .az-child-panda__slide img { height: var(--az-child-banner-mobile-height, auto); }
  .az-child-minhtam__reason-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .az-child-minhtam__news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
  .az-child-minhtam__service-grid { grid-template-columns: 1fr; gap: 22px; }
  .az-child-minhtam__project > img { height: 400px; }
}
@media (max-width: 640px) {
  .az-child-minhtam__banner-grid { grid-template-columns: minmax(0, 1fr); }
  .az-child-minhtam__spotlight { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; align-items: center; }
  .az-child-minhtam__spotlight-items { max-height: 230px; }
  .az-child-minhtam__catalog { padding-block: 22px; }
  .az-child-minhtam__solution { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 28px; }
  .az-child-minhtam__solution-links { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 12px 8px; gap: 8px; }
  .az-child-minhtam__solution-links img { width: 44px; height: 44px; }
  .az-child-minhtam__solution-links a { font-size: .68em; }
  .az-child-minhtam__credentials-grid { grid-template-columns: 1fr; gap: 30px; }
  .az-child-minhtam__credentials-grid p { max-width: 330px; margin-inline: auto; }
  .az-child-minhtam__project { flex-basis: 100%; }
  .az-child-minhtam__project-card { left: 8%; width: 84%; padding: 20px; }
  .az-child-minhtam__dealer > div { gap: 15px; }
  .az-child-minhtam__dealer > div > img { display: none; }
  .az-child-minhtam__dealer-action { padding-left: 0; }
  .az-child-minhtam__reasons { padding-block: 28px; }
}
@media (prefers-reduced-motion: reduce) { .az-child-minhtam__project-track { scroll-behavior: auto; } }
.az-child-minhtam .az-child-minhtam__button { color: #fff; }
.az-child-minhtam .az-child-minhtam__dealer-action .az-child-minhtam__button { color: #18352a; }
/* The home collection displays both existing Woo actions; their policy/URLs remain untouched. */
#page.az-site .az-child-minhtam .az-product-card .az-product-card__actions:has(> .az-child-catalog-details) { grid-template-columns: minmax(0, 1fr); }
#page.az-site .az-child-minhtam .az-product-card .az-child-catalog-details { display: block; grid-row: 2; min-width: 0; padding: 7px 4px; border: 1px solid var(--az-color-primary); color: var(--az-color-primary); font-size: .8em; text-align: center; }
#page.az-site .az-child-minhtam .az-product-card__title { text-align: center; }
@media(min-width:783px) {
  .az-child-minhtam--overlay .az-child-panda__slide img { min-height: max(320px, calc(var(--az-child-overlay-header-height, 200px) + 88px)); }
}
.az-child-minhtam__dealer-action .az9s-dynamic-lead-form > input[type=email] { flex: 1 1 200px; width: auto; min-width: 0; }
.az-child-minhtam__dealer-action .az9s-dynamic-lead-form > button[type=submit] { flex: 0 0 auto; }
.az-child-minhtam__dealer-action .az9s-form-response.is-success { color: #fff; }
.az-child-minhtam__dealer-action .az9s-form-response.is-error { color: #fff0cc; }
/* Parent form styles include element selectors; this local scope keeps the compact signup appearance. */
.az-child-minhtam .az-child-minhtam__dealer-action .az9s-form-submit { border-radius: 3px; padding: 10px 20px; background: #ffcc00; color: #18352a; box-shadow: none; font: inherit; font-weight: 600; text-transform: none; }
.az-child-minhtam .az-child-minhtam__dealer-action .az9s-form-submit:hover { background: #ffe15b; color: #18352a; box-shadow: none; transform: none; }
