/* Thu vien class GĐ2: chi target class chu dong s-*, c-*, u-* va selector Flatsome on dinh. */
.u-eyebrow {
  color: var(--dpq-color-primary);
  display: block;
  font-family: var(--dpq-font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-bottom: var(--dpq-space-3);
  text-transform: uppercase;
}

.u-lead {
  color: var(--dpq-color-body);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.7;
  max-width: 720px;
}

.u-display-1 {
  color: var(--dpq-color-ink);
  font-family: var(--dpq-font-display);
  font-size: clamp(2.5rem, 5vw, 4.75rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.14;
  margin-bottom: 0.35em;
}

.u-muted {
  color: var(--dpq-color-muted);
}

.u-muted-light {
  color: rgba(255, 255, 255, 0.56) !important; /* Overrides Flatsome dark section text color. */
}

.u-price {
  color: var(--dpq-color-primary);
  font-weight: 700;
}

.u-rule-accent {
  border-top: 2px solid var(--dpq-color-primary);
  display: block;
  margin: var(--dpq-space-5) 0;
  width: 48px;
}

.s-style-hero .section-bg {
  background-image: linear-gradient(115deg, rgba(122, 29, 29, 0.96), rgba(97, 22, 22, 0.92));
}

.s-style-hero h1,
.s-style-hero h2,
.s-style-hero p {
  color: var(--dpq-color-surface);
}

.s-style-hero .u-eyebrow {
  color: #ead2a9;
}

.s-style-hero .u-lead {
  color: rgba(255, 255, 255, 0.82);
}

.s-style-section {
  border-bottom: 1px solid var(--dpq-color-border-light);
}

.s-style-section .section-content > .row:first-child {
  margin-bottom: var(--dpq-space-5);
}

.c-token-card > .col-inner,
.c-component-card > .col-inner {
  background: var(--dpq-color-surface);
  border: 1px solid var(--dpq-color-border);
  border-radius: var(--dpq-radius-lg);
  height: 100%;
  overflow: hidden;
  padding: var(--dpq-space-5);
}

.c-token-card h3,
.c-component-card h3 {
  font-size: 1.05rem;
  margin-bottom: var(--dpq-space-2);
}

.c-token-card p,
.c-component-card p {
  font-size: 0.875rem;
  margin-bottom: 0;
}

.c-swatch {
  border-radius: var(--dpq-radius-md);
  min-height: 112px;
}

.c-swatch > .col-inner {
  align-items: flex-end;
  display: flex;
  min-height: 112px;
  padding: var(--dpq-space-4);
}

.c-swatch p {
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--dpq-radius-sm);
  color: var(--dpq-color-ink);
  font-size: 0.78rem;
  font-weight: 600;
  margin: 0;
  padding: 6px 9px;
}

.c-type-sample > .col-inner {
  border-top: 1px solid var(--dpq-color-border);
  padding-top: var(--dpq-space-5);
}

.c-spacing-bar {
  background: var(--dpq-color-primary-soft);
  border-left: 3px solid var(--dpq-color-primary);
  border-radius: 0 var(--dpq-radius-sm) var(--dpq-radius-sm) 0;
  margin-bottom: var(--dpq-space-3);
  padding: var(--dpq-space-3) var(--dpq-space-4);
}

.c-spacing-bar p {
  margin: 0;
}

.c-dark-panel > .col-inner {
  background: var(--dpq-color-footer);
  border: 1px solid var(--dpq-color-footer-line);
  border-radius: var(--dpq-radius-lg);
  color: rgba(255, 255, 255, 0.78);
  padding: var(--dpq-space-6);
}

.c-dark-panel h3 {
  color: var(--dpq-color-surface);
}

.c-dark-panel .u-eyebrow {
  color: #ead2a9;
}

/* Header Builder selectors are stable Flatsome structure hooks. */
#header .header-main {
  border-bottom: 1px solid var(--dpq-color-border-light);
}

#header .logo a {
  color: var(--dpq-color-ink);
  font-family: var(--dpq-font-display);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

#header .nav > li > a {
  color: var(--dpq-color-ink);
  font-size: 0.83rem;
  letter-spacing: 0.055em;
}

/* Tăng 15% khoảng thở ngang của menu desktop: 7px -> 8.05px mỗi phía. */
#header .header-nav-main > li.menu-item {
  margin-left: 8.05px;
  margin-right: 8.05px;
}

#header .header-nav-main > li.menu-item:first-child {
  margin-left: 0;
}

#header .header-nav-main > li.menu-item:last-of-type {
  margin-right: 0;
}

#header .nav > li.current-menu-item > a,
#header .nav > li.current-menu-ancestor > a {
  color: var(--dpq-color-primary);
}

#header .nav > li.current-menu-item > a::after,
#header .nav > li.current-menu-ancestor > a::after {
  background: var(--dpq-color-primary);
  bottom: 5px;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
}

.c-header-tools,
.c-header-tools .text-inner {
  align-items: center;
  display: flex;
  gap: 10px;
  margin: 0;
}

.c-header-tools p {
  display: contents;
}

.c-lang-switcher {
  align-items: center;
  border-right: 1px solid var(--dpq-color-border);
  display: flex;
  gap: 5px;
  padding-right: 9px;
}

.c-lang-switcher__link {
  color: var(--dpq-color-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 10px 3px;
}

.c-lang-switcher__link.is-active {
  color: var(--dpq-color-primary);
}

.c-currency-switcher select {
  background-color: transparent;
  border: 0;
  box-shadow: none;
  color: var(--dpq-color-ink);
  font-size: 0.72rem;
  font-weight: 700;
  height: 44px;
  margin: 0;
  padding: 0 20px 0 2px;
}

.c-basket-icon {
  align-items: center;
  color: var(--dpq-color-ink);
  display: inline-flex;
  justify-content: center;
  min-height: 44px;
  min-width: 38px;
  position: relative;
}

.c-basket-icon__count {
  align-items: center;
  background: var(--dpq-color-primary);
  border: 2px solid var(--dpq-color-surface);
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 0.62rem;
  font-weight: 700;
  height: 18px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: -2px;
  top: 3px;
  width: 18px;
}

.c-header-quote.button {
  font-size: 0.75rem;
  margin: 0 0 0 2px;
  padding: 0 16px;
}

.s-global-footer,
.s-global-footer h3,
.s-global-footer a {
  color: var(--dpq-color-surface);
}

.s-global-footer h3 {
  font-size: 1rem;
  letter-spacing: 0.04em;
  margin-bottom: var(--dpq-space-4);
}

.s-global-footer p,
.s-global-footer a {
  font-size: 0.875rem;
}

.s-global-footer p {
  color: rgba(255, 255, 255, 0.68);
}

.s-global-footer a:hover {
  color: #ead2a9;
}

.c-footer-brand__name {
  color: #fff !important; /* Overrides the section text color generated inline by Flatsome. */
  font-family: var(--dpq-font-display);
  font-size: 1.4rem !important;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-bottom: 5px;
}

.c-footer-brand__tagline {
  color: #ead2a9 !important; /* Overrides the section text color generated inline by Flatsome. */
  font-weight: 600;
}

.c-footer-menu__list {
  list-style: none;
  margin: 0;
}

.c-footer-menu__list li {
  margin: 0 0 9px;
}

.c-footer-bottom {
  border-top: 1px solid var(--dpq-color-footer-line);
  margin-top: var(--dpq-space-5);
  padding-top: var(--dpq-space-4);
}

.c-footer-bottom p {
  font-size: 0.75rem;
  margin: 0;
}

/* The entire visible footer is managed by global-footer, so suppress Flatsome's legacy bar. */
.absolute-footer {
  display: none;
}

.c-global-chat {
  bottom: 22px;
  margin: 0;
  position: fixed;
  right: 22px;
  z-index: 99;
}

.c-chat-panel {
  background: var(--dpq-color-surface);
  border: 1px solid var(--dpq-color-border);
  border-radius: var(--dpq-radius-lg);
  bottom: 58px;
  box-shadow: 0 18px 52px rgba(28, 25, 23, 0.22);
  max-height: min(680px, calc(100vh - 110px));
  overflow: auto;
  padding: 28px;
  position: absolute;
  right: 0;
  width: min(420px, calc(100vw - 32px));
}

.c-chat-panel__close {
  background: transparent;
  border: 0;
  color: var(--dpq-color-muted);
  font-size: 1.6rem;
  min-height: 44px;
  min-width: 44px;
  padding: 0;
  position: absolute;
  right: 10px;
  top: 8px;
}

.c-chat-panel h3 {
  font-size: 1.55rem;
  padding-right: 24px;
}

.s-quote-form .c-quote-form-card > .col-inner,
.c-chat-panel .fluentform {
  background: var(--dpq-color-surface);
  border: 1px solid var(--dpq-color-border);
  border-radius: var(--dpq-radius-lg);
  padding: var(--dpq-space-5);
}

/* Fluent Forms exposes stable public form selectors. */
.fluentform .ff-el-form-control {
  border-color: var(--dpq-color-border);
  border-radius: var(--dpq-radius-md);
  min-height: 46px;
}

.fluentform .ff-btn-submit {
  background: var(--dpq-color-primary);
  border: 0;
  border-radius: var(--dpq-radius-md);
  color: #fff;
  min-height: 46px;
  padding: 0 22px;
}

@media (max-width: 849px) {
  .c-token-card > .col-inner,
  .c-component-card > .col-inner {
    padding: var(--dpq-space-4);
  }

  .header-main .c-header-tools {
    display: none;
  }

  .mobile-sidebar .c-header-tools,
  .mobile-sidebar .c-header-tools .text-inner {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 8px 20px 18px;
  }
}

@media (max-width: 549px) {
  .s-style-section .section-content > .row:first-child {
    margin-bottom: var(--dpq-space-4);
  }

  .c-dark-panel > .col-inner {
    padding: var(--dpq-space-5);
  }

  .u-display-1 {
    font-size: clamp(2.2rem, 12vw, 3.25rem);
  }

  .c-global-chat {
    bottom: 14px;
    right: 14px;
  }

  .c-chat-panel {
    bottom: 56px;
    padding: 22px;
  }

  .s-quote-form .c-quote-form-card > .col-inner,
  .c-chat-panel .fluentform {
    padding: var(--dpq-space-4);
  }
}

/* GĐ5 template library: stable project classes only. */
.s-product-template .product-gallery,
.c-product-summary > .col-inner { padding: 12px; }
.c-product-summary .product-title { font-size: clamp(2rem, 4vw, 3.5rem); }
.c-product-quote { width: 100%; }
.c-product-facts { border-top: 1px solid var(--dpq-color-border); margin: 28px 0 40px; }
.c-product-facts > div { border-bottom: 1px solid var(--dpq-color-border); display: grid; gap: 16px; grid-template-columns: 180px 1fr; padding: 16px 0; }
.c-product-facts span, .c-experience-meta span { color: var(--dpq-color-muted); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.c-product-copy { margin-top: 36px; }
.c-service-row { max-width: none !important; }
.c-service-row > .col { padding: 0; }
.dpq-service-template .entry-header,
.dpq-service-template .entry-divider,
.dpq-service-template .entry-meta,
.dpq-service-template .article-inner > footer { display: none; }
.dpq-service-template .blog-wrapper,
.dpq-service-template .post { padding: 0; }
.dpq-service-template .article-inner { box-shadow: none; margin: 0; }
.dpq-service-template .entry-content { padding: 0; }
.dpq-service-template .blog-share,
.dpq-service-template .entry-author,
.dpq-service-template .navigation-post,
.dpq-service-template .comments-area { display: none; }
.c-experience-hero { display: grid; grid-template-columns: 55% 45%; min-height: 660px; }
.c-experience-hero__media { min-height: 560px; }
.c-experience-hero__image { height: 100%; object-fit: cover; width: 100%; }
.c-experience-hero__copy { align-self: center; padding: clamp(36px, 7vw, 104px); }
.c-experience-hero__copy h1 { font-size: clamp(2.5rem, 5vw, 5rem); }
.c-experience-lead { color: var(--dpq-color-muted); font-size: 1.15rem; }
.c-experience-meta { border-top: 1px solid var(--dpq-color-border); margin: 30px 0; }
.c-experience-meta div { border-bottom: 1px solid var(--dpq-color-border); display: flex; justify-content: space-between; padding: 12px 0; }
.c-experience-body { display: grid; gap: 64px; grid-template-columns: 1.1fr .9fr; margin: 0 auto; max-width: var(--dpq-site-width); padding: 80px 30px; }
.c-experience-list { grid-column: 2; }
.c-experience-list > div { border-top: 1px solid var(--dpq-color-border); display: grid; gap: 8px; padding: 16px 0; }
.c-experience-list span { color: var(--dpq-color-muted); }
.c-experience-gallery { display: grid; grid-template-columns: repeat(3,1fr); }
.c-experience-gallery img { aspect-ratio: 4/3; height: 100%; object-fit: cover; width: 100%; }
.s-category-intro h1, .s-error-page h1, .s-thank-you h1 { font-size: clamp(2.4rem, 6vw, 5rem); }
.widget_price_filter, .widget_layered_nav, .widget_product_categories { border-bottom: 1px solid var(--dpq-color-border); padding-bottom: 24px; }
@media (max-width: 849px) {
  .c-experience-hero { grid-template-columns: 1fr; }
  .c-experience-hero__media { min-height: 420px; }
  .c-experience-body { gap: 36px; grid-template-columns: 1fr; padding: 56px 24px; }
  .c-experience-list { grid-column: 1; }
}
@media (max-width: 549px) {
  .c-product-facts > div { grid-template-columns: 1fr; gap: 4px; }
  .c-experience-hero__media { min-height: 310px; }
  .c-experience-gallery { grid-template-columns: 1fr; }
}

/* Trang chủ heritage editorial — các class đều gắn trực tiếp trên element UX Builder. */
.s-home-hero,
.s-home-values,
.s-home-experiences,
.s-home-editorial,
.s-home-categories,
.s-home-products,
.s-home-events,
.s-home-trust {
  border-bottom: 1px solid var(--dpq-color-border-light);
}

.s-home-hero {
  min-height: 500px;
  overflow: hidden;
}

.s-home-hero .section-bg {
  background-position: 36% center;
}

.s-home-hero .section-bg::after {
  background: linear-gradient(90deg, rgba(23, 17, 13, 0.02) 22%, rgba(250, 248, 245, 0.18) 48%, rgba(250, 248, 245, 0.94) 76%, rgba(250, 248, 245, 0.98) 100%);
  content: "";
  inset: 0;
  opacity: 0.32;
  position: absolute;
}

.c-home-hero-row {
  min-height: 260px;
}

.s-home-hero h1,
.s-home-hero h2,
.s-home-values h2,
.s-home-experiences h2,
.s-home-editorial h2,
.s-home-categories h2,
.s-home-products h2,
.s-home-events h2,
.s-home-trust h3,
.s-home-hero h3,
.c-home-card h3,
.c-home-feature-story h3,
.c-home-story-list h3,
.c-home-category-card h3,
.c-home-event-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.c-home-hero-copy > .col-inner {
  background: linear-gradient(100deg, rgba(250, 248, 245, 0.88) 0%, rgba(250, 248, 245, 0.78) 72%, rgba(250, 248, 245, 0.52) 100%);
  border-left: 3px solid rgba(122, 29, 29, 0.76);
  box-shadow: 0 14px 36px rgba(28, 25, 23, 0.18);
  max-width: 620px;
  padding: 24px 22px 18px 28px;
  text-shadow: 0 1px 0 rgba(250, 248, 245, 0.8);
}

.c-home-hero-copy h1 {
  font-size: clamp(3rem, 4.4vw, 4.2rem);
  line-height: 0.96;
  margin: 0 0 10px;
}

.c-home-hero-copy h2 {
  font-size: clamp(1.45rem, 2.1vw, 1.9rem);
  margin: 0 0 18px;
}

.c-home-hero-copy p {
  font-size: 0.9rem;
  line-height: 1.55;
  max-width: 580px;
}

.c-home-hero-copy .button {
  border-radius: 0;
  font-size: 0.8rem;
  margin-top: 6px;
  min-height: 46px;
  padding: 0 22px;
}

.c-home-hero-copy .is-outline {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(28, 25, 23, 0.34);
  color: var(--dpq-color-ink);
}

.c-home-hero-index p {
  align-items: center;
  display: flex;
  font-size: 0.72rem;
  gap: 10px;
  justify-content: flex-end;
  margin: 24px 4px 0 0;
}

.c-home-hero-index span {
  background: var(--dpq-color-muted);
  display: inline-block;
  height: 1px;
  width: 34px;
}

.s-home-values h2,
.s-home-experiences h2,
.s-home-editorial h2,
.s-home-categories h2,
.s-home-products h2,
.s-home-events h2 {
  font-size: clamp(1.85rem, 3vw, 2rem);
  line-height: 1.05;
  margin-bottom: 0;
}

.s-home-values p,
.s-home-experiences p,
.s-home-editorial p,
.s-home-products p,
.s-home-events p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.s-home-values .u-rule-accent,
.s-home-experiences .u-rule-accent,
.s-home-editorial .u-rule-accent,
.s-home-categories .u-rule-accent,
.s-home-products .u-rule-accent,
.s-home-events .u-rule-accent {
  margin: 14px 0 20px;
  width: 28px;
}

.c-home-text-link {
  border-bottom: 1px solid var(--dpq-color-border);
  color: var(--dpq-color-ink);
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  padding-bottom: 5px;
}

.c-home-value-grid {
  margin-bottom: 0;
}

.c-home-value-item {
  border-left: 1px solid var(--dpq-color-border);
  text-align: center;
}

.c-home-value-item > .col-inner {
  padding: 4px 20px;
}

.c-home-value-native-icon .icon-box-img {
  margin: 0 auto 12px;
}

.c-home-value-native-icon .icon-inner,
.c-home-value-native-icon svg {
  color: var(--dpq-color-primary);
}

.c-home-value-native-icon svg {
  display: block;
  /* Flatsome Icon Box forces SVG paths to currentColor; preserve the reference line-art. */
  fill: none !important;
  height: auto;
  width: 100%;
}

.c-home-value-native-icon svg * {
  fill: none !important;
}

.c-home-value-native-icon svg .value-icon-fill {
  fill: currentColor !important;
  stroke: none;
}

.c-home-value-item h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  font-weight: 400;
  margin-bottom: 7px;
}

.c-home-value-item p {
  color: var(--dpq-color-muted);
  font-size: 0.82rem;
  margin: 0 auto;
  max-width: 220px;
}

.c-home-section-head {
  margin-bottom: 8px;
}

@media (min-width: 850px) {
  /* Danh mục dùng nhịp ngang rộng và khoảng thở dọc riêng theo mockup desktop. */
  .s-home-categories > .section-content > .row {
    max-width: 1350px;
  }

  .s-home-categories .c-home-section-head {
    margin-bottom: 22px;
  }

  .s-home-categories .c-home-category-grid {
    margin-bottom: 17px;
  }
}

/* Khớp nhịp compact của hàng mở đầu “Trải nghiệm” trong mockup trang chủ. */
.s-home-experiences > .section-content > .row,
.s-home-editorial > .section-content > .row {
  max-width: 1320px;
  width: calc(100% - 48px);
}

.s-home-experiences .c-home-section-head h2 {
  font-size: clamp(1.45rem, 2vw, 1.75rem);
  line-height: 1.08;
  white-space: nowrap;
}

.s-home-experiences .c-home-section-head .u-rule-accent {
  margin: 10px 0 0;
}

.c-home-section-head p {
  margin-bottom: 14px;
}

.s-home-experiences .c-home-section-head p {
  font-size: 0.82rem;
  line-height: 1.48;
  margin: 0;
  max-width: 590px;
}

.c-home-section-head .button {
  border-radius: 0;
  font-size: 0.78rem;
}

.s-home-experiences .c-home-section-head .button {
  font-size: 0.64rem;
  margin: 0;
  min-height: 38px;
  padding: 0 10px;
  white-space: nowrap;
}

.c-home-five-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 0 15px;
}

.c-home-five-grid > .col {
  max-width: none;
  padding: 0;
  width: auto;
}

.c-home-card .img-inner,
.c-home-category-card .img-inner,
.c-home-event-card .img-inner,
.c-home-story-item .img-inner {
  background: var(--dpq-color-warm);
  overflow: hidden;
}

.c-home-card .img-inner {
  aspect-ratio: 1.42;
}

.c-home-card .img-inner img,
.c-home-category-card .img-inner img,
.c-home-event-card .img-inner img,
.c-home-story-item .img-inner img,
.c-home-feature-story .img-inner img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.c-home-card .text {
  position: static;
}

.c-home-card .text {
  min-height: 78px;
  padding: 8px 30px 0 0;
  position: relative;
}

.c-home-card h3 {
  font-size: 1.04rem;
  margin-bottom: 2px;
}

.c-home-card p {
  color: var(--dpq-color-muted);
  font-size: 0.7rem;
  line-height: 1.38;
  margin: 0;
}

.c-home-card .text > p:last-child {
  margin: 0;
}

.c-home-card .text > a,
.c-home-card .text > p:last-child > a {
  align-items: center;
  border: 1px solid #adb1b3;
  border-radius: 50%;
  color: #777;
  display: flex;
  font-size: 1rem;
  height: 24px;
  justify-content: center;
  position: absolute;
  right: 0;
  top: 10px;
  width: 24px;
}

.c-home-editorial-grid {
  align-items: stretch;
}

/* Cân lại cột chuyên mục theo tỷ lệ dày đặc của bản thiết kế, không dùng chiều cao cố định. */
.s-home-editorial .c-home-topic-nav h2 {
  font-size: clamp(1.65rem, 2.4vw, 2.05rem);
  line-height: 1.04;
}

.s-home-editorial .c-home-topic-nav .u-rule-accent {
  margin: 10px 0 12px;
}

/* Menu chuyên mục dùng Featured Box native để icon SVG vẫn sửa được trong UX Builder. */
.c-home-topic-heading {
  margin: 0;
}

.c-home-topic-item {
  align-items: center;
  border-bottom: 1px solid var(--dpq-color-border-light);
  margin: 0;
  min-height: 48px;
  position: relative;
}

.c-home-topic-item .icon-box-img {
  flex: 0 0 32px;
  margin: 0 10px 0 0;
  max-width: 32px;
  width: 32px;
}

.c-home-topic-item .icon-inner,
.c-home-topic-item .icon-inner svg {
  height: 32px;
  width: 32px;
}

.c-home-topic-item .icon-inner svg {
  color: var(--dpq-color-primary);
  display: block;
  fill: none !important;
}

.c-home-topic-item .icon-inner svg * {
  fill: none !important;
  vector-effect: non-scaling-stroke;
}

.c-home-topic-item .icon-inner svg .topic-icon-fill {
  fill: #8b2424 !important;
  stroke: none;
}

.c-home-topic-item .icon-inner svg .topic-icon-ring {
  stroke: #cf9b98;
}

.c-home-topic-item .icon-inner svg .topic-icon-stroke {
  stroke: #8b2424;
}

.c-home-topic-item .icon-box-text {
  align-self: center;
  padding: 3px 34px 3px 0;
  /* Ghi đè padding trái mặc định của Icon Box để tên dài không rơi dòng ở tablet. */
  padding-left: 0 !important;
}

.c-home-topic-item h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.25;
  margin: 0;
}

.c-home-topic-item h3 a {
  color: var(--dpq-color-ink);
  display: inline-flex;
  min-height: 24px;
  text-decoration: none;
}

.c-home-topic-item p {
  color: var(--dpq-color-muted);
  font-size: 0.68rem;
  line-height: 1.35;
  margin: 0;
}

.c-home-topic-item .c-home-topic-arrow {
  align-items: center;
  color: var(--dpq-color-ink);
  display: flex;
  font-family: var(--dpq-font-body);
  font-size: 1rem;
  height: 44px;
  justify-content: flex-end;
  position: absolute;
  right: 0;
  text-decoration: none;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
}

.c-home-topic-item h3 a:hover,
.c-home-topic-item .c-home-topic-arrow:hover {
  color: var(--dpq-color-primary);
}

.c-home-feature-story > .col-inner {
  aspect-ratio: 1.23;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

.c-home-feature-story .img,
.c-home-feature-story .img-inner {
  height: 100%;
  inset: 0;
  margin: 0;
  position: absolute;
  width: 100%;
}

.c-home-feature-story .img-inner::after {
  background: linear-gradient(0deg, rgba(20, 15, 12, 0.86), rgba(20, 15, 12, 0.04) 72%);
  content: "";
  inset: 0;
  position: absolute;
}

.c-home-feature-story-copy {
  bottom: 0;
  color: #fff;
  left: 0;
  padding: 24px;
  position: absolute;
  right: 0;
  z-index: 2;
}

.c-home-feature-story-copy h3 {
  color: #fff;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  line-height: 1.08;
  margin-bottom: 9px;
}

.c-home-feature-story-copy p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  line-height: 1.45;
  margin-bottom: 12px;
}

.c-home-feature-story-copy a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding-bottom: 4px;
}

.c-home-story-item {
  border-bottom: 1px solid var(--dpq-color-border-light);
  flex: 1 1 0;
  margin-bottom: 8px;
  min-height: 0;
  padding-bottom: 8px;
}

.c-home-story-item:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}

.c-home-story-item .img-inner {
  aspect-ratio: 1.22;
}

.c-home-story-item .col {
  padding-bottom: 0;
}

.c-home-story-item span {
  color: var(--dpq-color-muted);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.c-home-story-item h3 {
  font-size: 0.95rem;
  line-height: 1.16;
  margin: 4px 0 8px;
}

.c-home-story-item small {
  color: var(--dpq-color-muted);
  font-size: 0.64rem;
}

.c-home-story-list > .col-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

@media (min-width: 850px) {
  /* Giữ ba teaser cùng bề rộng và cân thumbnail với cột feature ở desktop. */
  .c-home-story-item {
    /* Ghi đè utility `.align-middle` có `!important` của Flatsome để hàng không co theo nội dung. */
    align-self: stretch !important;
    margin-left: -15px;
    margin-right: -15px;
    max-width: none;
    width: auto;
  }

  .c-home-story-item > .col:first-child {
    padding-left: 0;
    padding-right: 20px;
  }

  .c-home-story-item > .col:last-child {
    padding-left: 8px;
    padding-right: 0;
  }
}

.c-home-category-card .img-inner {
  aspect-ratio: 1.32;
}

.c-home-category-grid > .c-home-category-card {
  /* Đồng bộ gutter 20px với lưới sản phẩm tiêu biểu (`row-small`). */
  padding-left: 10px;
  padding-right: 10px;
}

.c-home-category-card h3 {
  font-size: 1rem;
  margin: 10px 0 0;
}

.c-home-category-card h3 a {
  color: var(--dpq-color-ink);
  display: flex;
  justify-content: space-between;
}

.c-home-category-card h3 span {
  align-items: center;
  border: 1px solid #adb1b3;
  border-radius: 50%;
  color: #777;
  display: inline-flex;
  font-family: var(--dpq-font-body);
  font-size: 0.78rem;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.c-home-product-grid .product-small .box-image {
  background: var(--dpq-color-warm);
}

.c-home-product-grid .product-small .box-image img {
  aspect-ratio: 1.18;
  object-fit: cover;
}

.c-home-product-grid .product-small .box-text {
  padding: 12px 0 0;
}

.c-home-product-grid .product-small .category {
  color: var(--dpq-color-muted);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
}

.c-home-product-grid .product-small .name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
}

.c-home-product-grid .product-small .price {
  color: var(--dpq-color-primary);
  font-size: 0.86rem;
}

.c-home-product-grid .product-small .add-to-cart-button a {
  background: transparent;
  border: 1px solid var(--dpq-color-border);
  border-radius: 0;
  color: var(--dpq-color-ink);
  font-size: 0.68rem;
  width: 100%;
}

.c-home-event-card {
  border: 1px solid var(--dpq-color-border-light);
}

.c-home-event-card .img-inner {
  aspect-ratio: 1.62;
}

.c-home-event-card .text {
  background: var(--dpq-color-surface);
  min-height: 142px;
  padding: 14px 16px;
}

.c-home-event-card span {
  color: var(--dpq-color-muted);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.c-home-event-card h3 {
  font-size: 1.05rem;
  line-height: 1.25;
  margin: 6px 0 12px;
}

.c-home-event-card p {
  color: var(--dpq-color-primary);
  font-size: 0.68rem;
  margin: 0;
}

.s-home-trust {
  background: #f3eee6;
}

.c-home-trust-row > .col {
  /* Gỡ padding-bottom mặc định 30px của cột Flatsome để dải cam kết cân trên/dưới. */
  padding-bottom: 0;
}

.c-home-trust-item {
  border-left: 1px solid var(--dpq-color-border);
}

.c-home-trust-item:first-child {
  border-left: 0;
}

.c-home-trust-item .text,
.c-home-trust-native-icon {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: center;
}

.c-home-trust-native-icon .icon-box-img {
  flex: 0 0 auto;
  margin: 0;
}

.c-home-trust-native-icon .icon-inner,
.c-home-trust-native-icon svg {
  color: var(--dpq-color-primary);
}

.c-home-trust-native-icon svg {
  display: block;
  fill: none !important;
  height: auto;
  width: 100%;
}

.c-home-trust-native-icon svg * {
  /* Flatsome tô `path` bằng currentColor; giữ đúng icon line-art của design. */
  fill: none !important;
}

.c-home-trust-native-icon .icon-box-text {
  flex: 0 1 auto;
}

.c-home-trust-item h3 {
  font-size: 1.1rem;
  margin: 0 0 2px;
}

.c-home-trust-item p {
  color: var(--dpq-color-muted);
  font-size: 0.72rem;
  margin: 0;
}

@media (max-width: 849px) {
  .s-home-hero {
    min-height: 500px;
  }

  .s-home-hero .section-bg {
    background-position: 28% center;
  }

  .s-home-hero .section-bg::after {
    background: linear-gradient(90deg, rgba(250, 248, 245, 0.08), rgba(250, 248, 245, 0.93) 60%, rgba(250, 248, 245, 0.98));
  }

  .c-home-hero-copy > .col-inner {
    background: linear-gradient(100deg, rgba(250, 248, 245, 0.9), rgba(250, 248, 245, 0.74));
  }

  .c-home-five-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .c-home-five-grid > .col {
    max-width: none;
    width: auto;
  }

  .c-home-value-grid {
    margin-top: 22px;
  }

  .c-home-editorial-grid > .c-home-story-list {
    margin-top: 24px;
  }

  .c-home-story-list {
    display: flex;
    gap: 12px;
  }

  .c-home-story-list > .col-inner {
    display: contents;
  }

  .c-home-story-item {
    /* Ghi đè utility căn giữa của Flatsome để ba teaser tablet cao bằng nhau. */
    align-self: stretch !important;
    flex: 1;
  }

  .c-home-products-intro,
  .c-home-events-intro {
    margin-bottom: 18px;
  }
}

@media (max-width: 549px) {
  .s-home-hero {
    min-height: 550px;
  }

  .s-home-hero .section-bg {
    background-position: 43% center;
  }

  .s-home-hero .section-bg::after {
    background: linear-gradient(0deg, rgba(250, 248, 245, 0.97) 0%, rgba(250, 248, 245, 0.91) 52%, rgba(250, 248, 245, 0.12) 100%);
  }

  .c-home-hero-row {
    align-items: flex-end;
    min-height: 420px;
  }

  .c-home-hero-copy > .col-inner {
    background: linear-gradient(0deg, rgba(250, 248, 245, 0.94), rgba(250, 248, 245, 0.76));
    border-left: 0;
    box-shadow: 0 10px 28px rgba(28, 25, 23, 0.12);
    padding: 120px 16px 20px;
  }

  .c-home-hero-copy h1 {
    font-size: clamp(2.65rem, 13vw, 3.5rem);
  }

  .c-home-hero-copy h2 {
    font-size: 1.35rem;
  }

  .c-home-hero-copy .button {
    margin: 4px 5px 5px 0;
    padding: 0 14px;
  }

  .c-home-hero-index {
    display: none;
  }

  .c-home-values-intro {
    margin-bottom: 8px;
  }

  .c-home-value-item {
    border-left: 0;
    border-top: 1px solid var(--dpq-color-border);
  }

  .c-home-value-item > .col-inner {
    padding: 20px 0;
  }

  .c-home-five-grid {
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
  }

  .c-home-five-grid > .col {
    max-width: none;
    padding: 0;
    width: auto;
  }

  .c-home-card .text-inner {
    min-height: 118px;
  }

  .c-home-editorial-grid {
    gap: 16px;
  }

  .c-home-feature-story > .col-inner {
    min-height: 430px;
  }

  .c-home-feature-story-copy {
    padding: 24px;
  }

  .c-home-story-list {
    display: block;
  }

  .c-home-story-item {
    margin-bottom: 12px;
  }

  .c-home-category-card h3 {
    font-size: 0.88rem;
  }

  .c-home-product-grid .product-small .name {
    font-size: 0.9rem;
  }

  .c-home-event-card {
    margin-bottom: 14px;
  }

  .c-home-trust-item {
    border-left: 0;
    border-top: 1px solid var(--dpq-color-border);
  }

  .c-home-trust-item:first-child {
    border-top: 0;
  }

  .c-home-trust-item .text {
    justify-content: flex-start;
    padding: 12px 0;
  }

  .c-home-trust-native-icon {
    justify-content: flex-start;
    margin: 0 auto;
    max-width: 250px;
    padding: 12px 0;
  }

  .c-home-trust-native-icon .icon-box-img {
    /* Cân cùng một cột icon trên mobile; ghi đè width inline do featured_box sinh. */
    flex-basis: 48px;
    width: 48px !important;
  }
}
