/* Readability floor for supporting copy. Display headings keep their existing scale. */
:root {
  --mtq-type-micro: .72rem;
  --mtq-type-meta: .76rem;
  --mtq-type-small: .8rem;
  --mtq-type-support: .84rem;
}

/* Repeated badges, card metadata and navigation aids. */
.mtq-demo-badge,
.mtq-product-card__badge,
.home .mtq-knowledge-card .mtq-demo-badge,
.blog .mtq-blog-card .mtq-demo-badge,
.category .mtq-blog-card__media .mtq-demo-badge {
  font-size: var(--mtq-type-micro);
}

.mtq-product-card__category,
.home .mtq-products .mtq-product-card__category {
  font-size: var(--mtq-type-micro);
}

.mtq-product-card__rating span,
.mtq-product-card__rating small,
.home .mtq-product-card__rating span,
.home .mtq-product-card__rating small,
.mtq-product-card__status,
.mtq-card-meta,
.blog .mtq-blog-card .mtq-card-meta,
.category .mtq-blog-card .mtq-card-meta {
  font-size: var(--mtq-type-meta);
}

.mtq-product-card h2,
.home .mtq-products .mtq-product-card h2,
.mtq-commerce-products .mtq-product-card h2 {
  font-size: var(--mtq-type-support);
}

.mtq-breadcrumb,
.mtq-catalog-breadcrumb,
.category .mtq-category-breadcrumb,
.mtq-commerce-hero__crumbs,
.mtq-article__meta {
  font-size: var(--mtq-type-small);
}

/* Product browsing and product detail. */
.mtq-filter__heading a,
.mtq-filter-categories a,
.mtq-price-shortcuts a,
.mtq-price-slider__values,
.mtq-filter__prices label,
.mtq-filter__prices input,
.mtq-filter-option,
.mtq-filter-option small,
.mtq-results-toolbar p,
.mtq-results-toolbar label,
.mtq-results-toolbar select,
.mtq-filter-actions > a,
.mtq-product-page > .mtq-category-links a,
.mtq-product-taxonomy a,
.mtq-product-taxonomy span,
.mtq-product-meta-row,
.mtq-product-purchase small,
.mtq-product-purchase .mtq-stock-status,
.mtq-product-facts dt,
.mtq-product-facts dd,
.mtq-product-service-row small,
.mtq-product-note,
.mtq-product-panel__copy dt,
.mtq-product-story-images figcaption span {
  font-size: var(--mtq-type-meta);
}

.mtq-filter .mtq-button,
.mtq-catalog-promo .mtq-button,
.mtq-product-actions .mtq-button,
.mtq-product-tabs button {
  font-size: var(--mtq-type-small);
}

.mtq-product-benefits small,
.mtq-catalog-trust small,
.mtq-catalog-promo__points small,
.mtq-catalog-why small {
  font-size: var(--mtq-type-meta);
}

/* Blog, category and article support copy. */
.blog .mtq-blog-trust small,
.category .mtq-category-trust small,
.blog .mtq-topic-nav small,
.category .mtq-category-tabs small,
.blog .mtq-blog-card p,
.category .mtq-blog-card p,
.blog .mtq-blog-search input,
.category .mtq-blog-search input,
.mtq-toc__item > a,
.mtq-related-posts > a,
.mtq-suggested-products > a,
.mtq-related-posts small,
.mtq-suggested-products small,
.mtq-same-topic__grid article > div > span,
.mtq-same-topic header > a,
.mtq-same-topic .mtq-text-link,
.mtq-author-box__label,
.mtq-author-box small,
.mtq-article__category,
.mtq-article__author small,
.mtq-sidebar-discovery p,
.mtq-sidebar-discovery .mtq-button,
.mtq-article-cta p,
.mtq-article__body table {
  font-size: var(--mtq-type-meta);
}

.blog .mtq-newsletter p,
.category .mtq-newsletter p,
.blog .mtq-newsletter__form small,
.category .mtq-newsletter__form small {
  font-size: var(--mtq-type-small);
}

/* Home and About supporting content. */
.home .mtq-trust small,
.home .mtq-section__heading > p,
.home .mtq-category-card__body small,
.home .mtq-values p,
.mtq-story__play small,
.mtq-testimonials__author > span,
.mtq-testimonials__author small,
.mtq-testimonials blockquote,
.home .mtq-knowledge-card time,
.mtq-about-trust small,
.mtq-about-values p,
.mtq-about-craft__steps p,
.mtq-about-timeline p,
.mtq-about-story__content p,
.mtq-about-story__content small,
.mtq-about-commitments p,
.mtq-about-experience p,
.mtq-about-cta p {
  font-size: var(--mtq-type-meta);
}

.home .mtq-hero__actions .mtq-button,
.mtq-about-hero__actions .mtq-button,
.mtq-contact-hero__actions .mtq-button,
.mtq-about-heritage__content .mtq-button,
.mtq-about-craft__intro .mtq-button,
.mtq-about-cta .mtq-button,
.mtq-contact-cta .mtq-button {
  font-size: var(--mtq-type-small);
}

/* Contact page: consistent text scale and a shared baseline for all four cards. */
.mtq-contact-page .mtq-contact-cards article > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.mtq-contact-page .mtq-contact-cards p {
  min-height: 2.7em;
  font-size: var(--mtq-type-small);
}

.mtq-contact-page .mtq-contact-cards a,
.mtq-contact-page .mtq-contact-cards small {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: auto;
  font-size: var(--mtq-type-meta);
  line-height: 1.4;
}

.mtq-contact-page .mtq-contact-cards a > span {
  font-size: .9rem;
  line-height: 1;
}

.mtq-contact-main__form > p,
.mtq-contact-page .mtq-contact-form label,
.mtq-contact-page .mtq-contact-form .mtq-consent,
.mtq-form-status,
.mtq-contact-page .mtq-contact-visual p,
.mtq-showroom__heading p,
.mtq-showroom__heading > a,
.mtq-showroom-card p,
.mtq-showroom-card .mtq-button,
.mtq-contact-map p,
.mtq-contact-map a,
.mtq-contact-page .mtq-faq summary,
.mtq-contact-page .mtq-faq details p,
.mtq-contact-social p,
.mtq-contact-social a,
.mtq-contact-social small,
.mtq-contact-cta p {
  font-size: var(--mtq-type-small);
}

.mtq-contact-social h3 {
  font-size: var(--mtq-type-meta);
}

.mtq-contact-page input,
.mtq-contact-page textarea,
.mtq-contact-page select {
  font-size: var(--mtq-type-small);
}

/* Commerce flows. */
.mtq-checkout-steps strong,
.mtq-checkout-steps small,
.mtq-cart-panel h2 small,
.mtq-order-summary h2 small,
.mtq-cart-panel > header button,
.mtq-cart-labels,
.mtq-cart-row__product a,
.mtq-cart-row__product small,
.mtq-stock,
.mtq-cart-row__price,
.mtq-cart-row > .mtq-price,
.mtq-cart-tools textarea,
.mtq-cart-tools input,
.mtq-coupon button,
.mtq-coupon + small,
.mtq-order-summary dl div,
.mtq-order-total,
.mtq-order-total small,
.mtq-summary-promises strong,
.mtq-summary-promises small,
.mtq-checkout-sections h2 small,
.mtq-checkout-sections label,
.mtq-choice b,
.mtq-choice small,
.mtq-choice > strong,
.mtq-payment-note,
.mtq-checkout-summary [data-checkout-items] article,
.mtq-secure-note,
.mtq-commerce-heading > a,
.mtq-commerce-assurances strong,
.mtq-commerce-assurances small,
.mtq-order-success > span,
.mtq-order-success > p,
.mtq-success-products article,
.mtq-success-products dl div,
.mtq-success-info p,
.mtq-order-lookup form p,
.mtq-lookup-fields label,
.mtq-order-lookup form > small,
.mtq-order-detail__header p,
.mtq-order-status,
.mtq-order-timeline span,
.mtq-order-timeline strong,
.mtq-order-detail__grid dl div,
.mtq-order-detail__grid p,
.mtq-order-products h3 small,
.mtq-order-products article,
.mtq-not-found__links small {
  font-size: var(--mtq-type-meta);
}

.mtq-order-summary > .mtq-button,
.mtq-lookup-fields .mtq-button,
.mtq-success-actions .mtq-button,
.mtq-not-found__hero .mtq-button {
  font-size: var(--mtq-type-small);
}

.mtq-commerce-main input,
.mtq-commerce-main textarea,
.mtq-commerce-main select {
  font-size: var(--mtq-type-small);
}

/* Newsletter and footer appear across the whole site. */
.mtq-newsletter .mtq-section__eyebrow,
.mtq-newsletter__form small,
.mtq-newsletter__form input,
.mtq-newsletter__form .mtq-button,
.mtq-footer li,
.mtq-footer__contact small,
.mtq-footer__legal,
.mtq-payment small {
  font-size: var(--mtq-type-meta);
}

.mtq-payment span {
  font-size: var(--mtq-type-micro);
}

@media (max-width: 767px) {
  :root {
    --mtq-type-micro: .7rem;
    --mtq-type-meta: .75rem;
    --mtq-type-small: .79rem;
    --mtq-type-support: .82rem;
  }

  .mtq-contact-page .mtq-contact-cards p {
    min-height: 0;
  }
}

/* Platform marks and action controls use the real brand assets. */
.mtq-brand-icon {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

@media (min-width: 900px) {
  .mtq-header__actions {
    gap: .45rem;
  }

  .mtq-header__actions a.mtq-header-hotline,
  .mtq-header__actions a.mtq-shopee-link {
    display: inline-flex;
    width: auto;
    min-width: 0;
    height: 38px;
    flex-direction: row;
    align-items: center;
    gap: .42rem;
    padding: 0 .72rem;
    border-radius: 999px;
  }

  .mtq-header-hotline span,
  .mtq-shopee-link span {
    display: inline;
    font-size: .72rem;
  }
}

.mtq-header__actions a.mtq-header-hotline {
  border-color: #9b611f;
  background: linear-gradient(135deg, #7a4318, #a96b24);
  color: #fff8ec;
  box-shadow: 0 5px 14px rgba(82, 43, 15, .16);
}

.mtq-header__actions a.mtq-header-hotline:hover {
  border-color: #6f3a14;
  background: linear-gradient(135deg, #663513, #92591d);
  color: #fff;
}

.mtq-header__actions a.mtq-shopee-link {
  border-color: #f2c3b8;
  background: #fff8f6;
  color: #71341f;
}

.mtq-header__actions a.mtq-shopee-link:hover {
  border-color: #ee4d2d;
  background: #fff0eb;
  color: #71341f;
}

.mtq-header__actions .mtq-shopee-link .mtq-brand-icon {
  width: 20px;
  height: 20px;
}

.mtq-contact-dock__zalo .mtq-brand-icon {
  width: 24px;
  height: 24px;
  padding: 3px;
  border-radius: 6px;
  background: #fff;
}

.mtq-contact-social article > .mtq-social-card__icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid #eadbc6;
  border-radius: 9px;
  background: #fff;
}

.mtq-contact-social .mtq-social-card__icon .mtq-brand-icon {
  width: 23px;
  height: 23px;
}

.mtq-contact-social h3 {
  color: #3c2a21;
}

.mtq-socials a,
.mtq-socials span {
  width: 30px;
  height: 30px;
  padding: 3px;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
  transition: opacity .18s ease, transform .18s ease;
}

.mtq-socials a:hover {
  border: 0 !important;
  background: transparent !important;
  opacity: .82;
  transform: translateY(-2px);
}

.mtq-socials a:focus-visible {
  outline: 2px solid #d9a454;
  outline-offset: 3px;
}

.mtq-socials .mtq-brand-icon {
  width: 24px;
  height: 24px;
}

/* Empty editorial categories stay useful without implying unpublished content. */
.category .mtq-category-hero--empty .mtq-page-hero {
    min-height: 300px;
    padding-bottom: 0;
}

.category .mtq-category-hero--empty .mtq-page-hero__content {
    padding-block: 1.4rem 2.5rem;
}

.category .mtq-category-toolbar {
    padding: .8rem;
    border: 1px solid rgba(154, 93, 28, .16);
    border-radius: 10px;
    background: rgba(255, 255, 255, .72);
}

.category .mtq-category-tabs .mtq-topic-nav {
    display: flex;
    flex: 1;
    gap: .45rem;
    margin: 0;
    overflow-x: auto;
    padding: 0 0 .1rem;
    scrollbar-width: thin;
}

.category .mtq-category-tabs .mtq-topic-nav__all {
    grid-column: auto;
    justify-self: auto;
}

.category .mtq-empty-state {
    max-width: 760px;
    margin: 1.4rem auto 0;
    padding: 2.4rem 2rem;
    border-style: solid;
    border-color: rgba(154, 93, 28, .18);
    background: linear-gradient(135deg, #fff 0%, #fbf5eb 100%);
    box-shadow: 0 16px 40px rgba(62, 30, 13, .06);
}

.category .mtq-empty-state > span {
    display: inline-grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 50%;
    background: #f5e6cf;
}

.category .mtq-empty-state > span .mtq-icon {
    width: 25px;
    height: 25px;
}

.category .mtq-empty-state h2 {
    margin: .8rem 0 .35rem;
    font-size: clamp(1.45rem, 2.2vw, 1.9rem);
}

.category .mtq-empty-state p {
    max-width: 570px;
    margin: 0 auto 1.2rem;
    color: #6d5b50;
    line-height: 1.65;
}

@media (max-width: 700px) {
    .category .mtq-category-hero--empty .mtq-page-hero {
        min-height: 260px;
    }

    .category .mtq-category-hero--empty .mtq-page-hero__content {
        padding-block: 1.25rem 2rem;
    }

    .category .mtq-category-toolbar {
        padding: .65rem;
    }

    .category .mtq-category-tabs {
        width: 100%;
        overflow: visible;
    }

    .mtq-topic-select {
        position: relative;
        display: grid;
        width: 100%;
        min-height: 50px;
        grid-template-columns: 44px minmax(0, 1fr) 42px;
        align-items: center;
        overflow: hidden;
        border: 1px solid #d8ba8d;
        border-radius: 10px;
        background: linear-gradient(135deg, #fffdf9 0%, #fff7ea 100%);
        box-shadow: 0 7px 20px rgba(82, 43, 18, .07), inset 0 1px 0 #fff;
        color: #6f431b;
        transition: border-color .2s ease, box-shadow .2s ease;
    }

    .mtq-topic-select:focus-within {
        border-color: #a7671f;
        box-shadow: 0 0 0 3px rgba(167, 103, 31, .14), 0 8px 22px rgba(82, 43, 18, .08);
    }

    .mtq-topic-select select {
        z-index: 1;
        width: 100%;
        height: 50px;
        grid-column: 1 / -1;
        grid-row: 1;
        padding: 0 2.8rem 0 2.75rem;
        appearance: none;
        -webkit-appearance: none;
        border: 0;
        outline: 0;
        background: transparent;
        color: #4b2e1e;
        font-family: var(--mtq-font-sans);
        font-size: .82rem;
        font-weight: 750;
        line-height: 1.2;
        cursor: pointer;
    }

    .mtq-topic-select select:focus-visible {
        outline: 0;
    }

    .mtq-topic-select option {
        background: #fffaf2;
        color: #4b2e1e;
        font-weight: 600;
    }

    .mtq-topic-select__icon,
    .mtq-topic-select__chevron {
        z-index: 2;
        display: grid;
        grid-row: 1;
        place-items: center;
        pointer-events: none;
    }

    .mtq-topic-select__icon {
        grid-column: 1;
        border-right: 1px solid rgba(167, 103, 31, .16);
    }

    .mtq-topic-select__chevron {
        grid-column: 3;
    }

    .mtq-topic-select .mtq-icon {
        width: 19px;
        height: 19px;
        color: #a6671e;
    }

    .mtq-topic-select__chevron .mtq-icon {
        width: 17px;
        height: 17px;
    }

    .blog .mtq-topic-toolbar__row,
    .category .mtq-category-toolbar {
        gap: .625rem;
    }

    .blog .mtq-blog-search,
    .category .mtq-blog-search {
        display: grid;
        width: 100%;
        grid-template-columns: minmax(0, 1fr) 50px;
        overflow: hidden;
        border: 1px solid #d8ba8d;
        border-radius: 10px;
        background: linear-gradient(135deg, #fffdf9 0%, #fff9f1 100%);
        box-shadow: 0 7px 20px rgba(82, 43, 18, .055), inset 0 1px 0 #fff;
        transition: border-color .2s ease, box-shadow .2s ease;
    }

    .blog .mtq-blog-search:focus-within,
    .category .mtq-blog-search:focus-within {
        border-color: #a7671f;
        box-shadow: 0 0 0 3px rgba(167, 103, 31, .14), 0 8px 22px rgba(82, 43, 18, .08);
    }

    .blog .mtq-blog-search input,
    .category .mtq-blog-search input {
        min-width: 0;
        height: 50px;
        padding: 0 .9rem;
        border: 0 !important;
        border-radius: 0 !important;
        outline: 0;
        background: transparent;
        color: #4b2e1e;
        font-size: .8rem;
    }

    .blog .mtq-blog-search input::placeholder,
    .category .mtq-blog-search input::placeholder {
        color: #8b796c;
        opacity: 1;
    }

    .blog .mtq-blog-search button,
    .category .mtq-blog-search button {
        display: grid;
        width: 50px;
        height: 50px;
        place-items: center;
        padding: 0;
        border: 0 !important;
        border-left: 1px solid rgba(167, 103, 31, .22) !important;
        border-radius: 0 !important;
        background: linear-gradient(135deg, #f8ead5, #efd7b4);
        color: #70441d;
        cursor: pointer;
    }

    .blog .mtq-blog-search button:active,
    .category .mtq-blog-search button:active {
        background: #e9c995;
    }

    .blog .mtq-blog-search .mtq-icon,
    .category .mtq-blog-search .mtq-icon {
        width: 18px;
        height: 18px;
    }

    .blog .mtq-topic-nav,
    .category .mtq-category-tabs .mtq-topic-nav {
        display: none;
    }

    .category .mtq-empty-state {
        margin-top: 1rem;
        padding: 2rem 1.1rem;
    }
}

.mtq-card-cart:disabled,
.mtq-product-actions .mtq-button:disabled {
  border-color: #d8cec3;
  background: #eee8e1;
  color: #786d66;
  box-shadow: none;
  cursor: not-allowed;
  opacity: .82;
}

/* Lock foreground colours where scenic backgrounds previously won the cascade. */
body:not(.blog):not(.category) .mtq-newsletter {
  background: linear-gradient(90deg, rgba(31, 14, 7, .78), rgba(48, 25, 13, .56)), url('../img/generated/newsletter-landscape-v2.png') center/cover no-repeat;
}

body:not(.blog):not(.category) .mtq-newsletter h2 {
  color: #fff5e4;
  text-shadow: 0 1px 12px rgba(31, 14, 7, .35);
}

body:not(.blog):not(.category) .mtq-newsletter .mtq-section__eyebrow {
  color: #e8b767;
}

body:not(.blog):not(.category) .mtq-newsletter p,
body:not(.blog):not(.category) .mtq-newsletter .mtq-newsletter__form small {
  color: #fff7ec;
}

.mtq-footer .mtq-footer__grid h3 {
  color: #e0ad5c;
}

.mtq-not-found__message .mtq-section__eyebrow {
  color: #9a5d1c;
}

.mtq-not-found__message h2 {
  color: #5a281c;
}

.mtq-not-found__message p {
  color: #5f4c41;
  font-size: .82rem;
  line-height: 1.6;
}

@media (max-width: 899px) {
  .mtq-header__actions a.mtq-header-hotline,
  .mtq-header__actions a.mtq-shopee-link {
    display: none;
  }
}

@media (max-width: 700px) {
  .mtq-contact-dock {
    min-height: 0;
    padding: .22rem;
  }

  .mtq-contact-dock__item {
    min-height: 46px;
    padding: .18rem .25rem;
  }

  .mtq-contact-dock__zalo .mtq-brand-icon {
    width: 22px;
    height: 22px;
  }
}

/* Keep page-level commerce and wishlist heroes on the same scale as Home. */
.mtq-commerce-page .mtq-commerce-hero h1,
.mtq-wishlist-hero h1 {
  font-size: clamp(2.7rem, 3vw, 3.35rem);
  line-height: 1.05;
}

@media (max-width: 700px) {
  .mtq-commerce-page .mtq-commerce-hero h1,
  .mtq-wishlist-hero h1 {
    font-size: 2.05rem;
  }

  .mtq-commerce-page .mtq-contact-dock {
    height: auto;
    min-height: 0;
  }

  .mtq-commerce-page .mtq-contact-dock a,
  .mtq-commerce-page .mtq-contact-dock button {
    min-height: 46px;
  }
}
