/*
    Theme Name: Will City - HuyDev Theme
    Theme URI: https://www.facebook.com/huydev9x
    Author: HuyDev
    Author URI: https://www.facebook.com/huydev9x
    Description: Theme bất động sản Will City (mua bán, cho thuê mặt bằng, nhà phố, văn phòng). ACF Pro + Contact Form 7 + Rank Math.
    Version: 1.0.0
    Requires PHP: 8.1
    Text Domain: huydev
*/
:root{
    /* Brand colors sampled from the Will City logo. */
    --th-gold: #C8963E;
    --th-gold-light: #ECCB80;
    --th-gold-dark: #8A5A1C;
    --th-gold-soft: #FBF4E4;
    --th-gold-gradient: linear-gradient(135deg, #F0D28A 0%, #C8963E 52%, #A8732A 100%);
    --th-red: #7D1013;
    --th-red-deep: #3E0607;
    --th-ink: #1E1714;
    --th-text: #3A322D;
    --th-muted: #776B61;
    --th-line: #ECE4D6;
    --th-bg: #FAF7F2;
    --th-white: #FFFFFF;
    --th-zalo: #0068FF;
    --th-font-main: 'Bai Jamjuree', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --th-radius: 10px;
    --th-radius-lg: 14px;
    --th-shadow: 0px 10px 30px rgba(62, 6, 7, 0.08);
    --th-shadow-lg: 0px 18px 48px rgba(62, 6, 7, 0.16);
    --th-header-h: 84px;
    --th-header-sticky-h: 68px;
    --th-ease: cubic-bezier(.2, .7, .2, 1);
}
@media screen{
    /*
    * BASE.
    */
    *, *::before, *::after{ box-sizing: border-box; }
    html{ scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
    body{ margin: 0px; font-family: var(--th-font-main); font-size: 16px; line-height: 1.6; color: var(--th-text); background: var(--th-white); -webkit-font-smoothing: antialiased; }
    img, video, iframe{ max-width: 100%; height: auto; display: block; }
    a{ color: inherit; text-decoration: none; transition: color .2s; }
    a:hover{ color: var(--th-gold-dark); }
    h1, h2, h3, h4, h5, h6{ margin: 0px; color: var(--th-ink); line-height: 1.3; font-weight: 700; text-wrap: balance; }
    p{ margin: 0px; text-wrap: pretty; }
    /* Clamped titles: balancing would push words past the 2nd line. */
    .bds-item-title, .news-item-title, .home-news-item-body h3, .sidebar-posts-title{ text-wrap: wrap; }
    [id]{ scroll-margin-top: calc(var(--th-header-sticky-h) + 20px); }
    ul, ol{ margin: 0px; padding: 0px; list-style: none; }
    button, input, select, textarea{ font: inherit; color: inherit; }
    button{ cursor: pointer; }
    :focus-visible{ outline: 2px solid var(--th-gold-dark); outline-offset: 2px; border-radius: 4px; }
    ::selection{ background: var(--th-gold-light); color: var(--th-ink); }
    .container{ width: min(100% - 32px, 1280px); margin-inline: auto; }
    .tf{ font-family: var(--th-font-main); }
    .screen-reader-text{ position: absolute !important; width: 1px; height: 1px; padding: 0px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0px; }
    .skip-link{ position: absolute; left: 16px; top: -60px; z-index: 1000; padding: 10px 16px; background: var(--th-ink); color: var(--th-white); border-radius: 6px; }
    .skip-link:focus{ top: 12px; color: var(--th-white); }
    .thumb-zoom{ display: block; overflow: hidden; }
    .thumb-zoom img{ width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--th-ease); }
    @media (hover: hover){
        .thumb-zoom:hover img, .bds-item:hover .thumb-zoom img, .news-item:hover .thumb-zoom img, .home-news-hot:hover .thumb-zoom img{ transform: scale(1.05); }
    }
    .empty-content{ padding: 48px 24px; text-align: center; background: var(--th-bg); border: 1px dashed var(--th-line); border-radius: var(--th-radius); color: var(--th-muted); }
    .empty-content > i{ font-size: 44px; color: var(--th-gold); margin-bottom: 14px; }
    .empty-content p{ max-width: 520px; margin: 0px auto 20px; }
    .empty-content .search-form{ max-width: 420px; margin-inline: auto; }

    /*
    * BUTTONS.
    */
    .btn-gold, .btn-outline-gold{ display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 8px; font-weight: 600; line-height: 1.2; border: 0px; transition: box-shadow .25s, filter .25s, background .25s, color .25s, transform .15s; }
    .btn-gold{ position: relative; isolation: isolate; overflow: hidden; background: var(--th-gold-gradient); color: #2A1606; box-shadow: 0px 6px 18px rgba(168, 115, 42, 0.28); }
    /* Gold light sweep on hover (brand accent). */
    .btn-gold::after{ content: ""; position: absolute; inset: 0px; z-index: -1; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.5) 50%, transparent 65%); transform: translateX(-101%); pointer-events: none; }
    .btn-gold:hover{ color: #2A1606; filter: brightness(1.06); box-shadow: 0px 10px 26px rgba(168, 115, 42, 0.38); }
    .btn-outline-gold{ background: transparent; color: var(--th-gold-light); border: 1.5px solid var(--th-gold); }
    .btn-outline-gold:hover{ background: var(--th-gold); color: #2A1606; }
    .btn-gold:active, .btn-outline-gold:active{ transform: translateY(1px); }
    @media (hover: hover){
        .btn-gold:hover::after{ transform: translateX(101%); transition: transform .75s var(--th-ease); }
    }

    /*
    * HEADER.
    */
    .header-top{ background: linear-gradient(90deg, var(--th-red-deep), var(--th-red)); color: rgba(255, 255, 255, 0.86); font-size: 13px; }
    .header-top-inner{ display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 38px; }
    .header-top-info{ display: flex; flex-wrap: wrap; gap: 6px 24px; }
    .header-top-info li, .header-top-info a{ display: inline-flex; align-items: center; gap: 8px; }
    .header-top-info i{ color: var(--th-gold-light); }
    .header-top a:hover{ color: var(--th-gold-light); }
    .header-top-social{ display: flex; gap: 4px; }
    .header-top-social a{ display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }
    .header-top-social a:hover{ background: rgba(255, 255, 255, 0.1); }

    .site-header{ position: relative; z-index: 100; }
    .site-header.is-sticky{ padding-bottom: calc(var(--th-header-h) + 1px); }
    .header-main{ background: var(--th-white); border-bottom: 1px solid var(--th-line); transition: box-shadow .3s; }
    /* Compact bar while sticky; placeholder above keeps the full height so content does not jump. */
    .site-header.is-sticky .header-main{ --th-header-h: var(--th-header-sticky-h); position: fixed; inset: 0px 0px auto 0px; box-shadow: 0px 6px 24px rgba(30, 23, 20, 0.08); animation: header-down .35s var(--th-ease); }
    .site-header.is-sticky .site-logo-img{ width: 46px; height: 46px; }
    @keyframes header-down{ from{ transform: translateY(-100%); } to{ transform: translateY(0px); } }
    .header-main-inner{ position: relative; display: flex; align-items: center; gap: 28px; min-height: var(--th-header-h); }
    .site-logo{ display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
    .site-logo-img{ width: 56px; height: 56px; border-radius: 12px; object-fit: cover; box-shadow: 0px 4px 14px rgba(125, 16, 19, 0.25); }
    .site-logo-text{ display: flex; flex-direction: column; line-height: 1.15; }
    .site-logo-text strong{ font-size: 23px; font-weight: 700; letter-spacing: 0.08em; color: var(--th-gold-dark); text-transform: uppercase; }
    .site-logo-text span{ font-size: 11.5px; letter-spacing: 0.02em; color: var(--th-muted); margin-top: 3px; }
    .site-logo:hover strong{ color: var(--th-red); }

    .menu-main{ flex: 1; display: flex; justify-content: center; }
    .menu-main-head, .menu-main-foot{ display: none; }
    .menu-main-list{ display: flex; align-items: center; gap: 2px; }
    .menu-main-list > li{ position: relative; }
    .menu-main-list > li > a{ position: relative; display: flex; align-items: center; gap: 6px; padding: 10px 13px; font-weight: 600; font-size: 15.5px; color: var(--th-ink); min-height: var(--th-header-h); white-space: nowrap; }
    .menu-main-list > li > a::after{ content: ""; position: absolute; left: 14px; right: 14px; bottom: calc(var(--th-header-h) / 2 - 20px); height: 2px; background: var(--th-gold-gradient); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--th-ease); }
    .menu-main-list > li:hover > a, .menu-main-list > li.current-menu-item > a, .menu-main-list > li.current-menu-ancestor > a{ color: var(--th-gold-dark); }
    .menu-main-list > li:hover > a::after, .menu-main-list > li.current-menu-item > a::after, .menu-main-list > li.current-menu-ancestor > a::after{ transform: scaleX(1); }
    .menu-main-list > li.menu-item-has-children > a::before{ content: "\f078"; font-family: 'Font Awesome 5 Pro'; font-weight: 400; font-size: 11px; order: 2; }
    .menu-main-list .sub-menu{ position: absolute; top: 100%; left: 0px; min-width: 240px; padding: 10px; background: var(--th-white); border-radius: 0px 0px var(--th-radius) var(--th-radius); border-top: 3px solid var(--th-gold); box-shadow: var(--th-shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .25s var(--th-ease), visibility 0s linear .2s; }
    /* Opens after 120ms so the panel does not flash when the cursor only passes over the menu. */
    .menu-main-list li:hover > .sub-menu, .menu-main-list li:focus-within > .sub-menu{ opacity: 1; visibility: visible; transform: translateY(0px); transition-delay: .12s; }
    .menu-main-list .sub-menu a{ display: block; padding: 8px 12px; border-radius: 6px; font-size: 15px; }
    .menu-main-list .sub-menu a:hover{ background: var(--th-gold-soft); }
    /* Mega menu: add CSS class "menu-mega" to a top level item. */
    .menu-main-list > li.menu-mega{ position: static; }
    .menu-main-list > li.menu-mega > .sub-menu{ left: 0px; right: 0px; display: grid; grid-template-columns: repeat(6, minmax(0px, 1fr)); gap: 8px 20px; padding: 24px 28px; }
    .menu-main-list > li.menu-mega > .sub-menu > li > a{ font-weight: 700; color: var(--th-gold-dark); border-bottom: 1px solid var(--th-line); border-radius: 0px; padding: 6px 0px 10px; margin-bottom: 6px; }
    .menu-main-list > li.menu-mega > .sub-menu > li > a:hover{ background: none; color: var(--th-red); }
    .menu-main-list > li.menu-mega .sub-menu .sub-menu{ position: static; min-width: 0px; padding: 0px; box-shadow: none; border: 0px; opacity: 1; visibility: inherit; transform: none; transition: none; columns: 1; }
    .menu-main-list > li.menu-mega .sub-menu .sub-menu a{ padding: 4px 0px; font-size: 14.5px; color: var(--th-text); }
    .menu-main-list > li.menu-mega .sub-menu .sub-menu a:hover{ background: none; color: var(--th-gold-dark); padding-left: 4px; }
    .menu-main-list > li:not(.menu-mega) .sub-menu .sub-menu{ top: 0px; left: 100%; border-radius: var(--th-radius); }
    .sub-toggle{ display: none; }

    .header-actions{ display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
    .header-hotline{ display: flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border: 1px solid var(--th-line); border-radius: 50px; transition: border-color .25s, box-shadow .25s; }
    .header-hotline:hover{ border-color: var(--th-gold); box-shadow: var(--th-shadow); }
    .header-hotline-icon{ display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--th-gold-gradient); color: #2A1606; }
    .header-hotline-text{ display: flex; flex-direction: column; line-height: 1.2; }
    .header-hotline-text small{ font-size: 12px; color: var(--th-muted); }
    .header-hotline-text strong{ font-size: 17px; color: var(--th-red); letter-spacing: 0.02em; }
    .btn-menu{ display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0px 11px; border: 1px solid var(--th-line); border-radius: 8px; background: var(--th-white); }
    .btn-menu span{ display: block; width: 100%; height: 2px; background: var(--th-ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
    .menu-overlay{ position: fixed; inset: 0px; z-index: 99; background: rgba(20, 8, 6, 0.55); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }

    /*
    * FILTER.
    */
    .filter-band{ background: var(--th-gold-soft); border-bottom: 1px solid var(--th-line); padding: 14px 0px; }
    .bds-filter{ display: flex; gap: 10px; padding: 10px; background: var(--th-white); color: var(--th-ink); border-radius: var(--th-radius-lg); box-shadow: var(--th-shadow); border: 1px solid var(--th-line); }
    .bds-filter input::placeholder{ color: var(--th-muted); }
    .bds-filter-keyword{ position: relative; flex: 0 1 280px; min-width: 220px; display: flex; align-items: center; }
    .bds-filter-keyword > i, .bds-filter-field > i{ position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--th-gold-dark); pointer-events: none; font-size: 15px; }
    .bds-filter-keyword input{ width: 100%; height: 48px; padding: 0px 14px 0px 42px; border: 1px solid var(--th-line); border-radius: 8px; background: var(--th-bg); }
    .bds-filter-keyword input:focus, .bds-filter-field select:focus{ outline: none; border-color: var(--th-gold); box-shadow: 0px 0px 0px 3px rgba(200, 150, 62, 0.18); background: var(--th-white); }
    .bds-filter-toggle{ display: none; }
    /* "Loại hình" holds the longest values, so it gets the widest column. */
    .bds-filter-fields{ flex: 1 1 0px; display: grid; grid-template-columns: minmax(0px, 1.5fr) repeat(3, minmax(0px, 1fr)) auto; gap: 10px; }
    .bds-filter-field{ position: relative; }
    .bds-filter-field select{ width: 100%; height: 48px; padding: 0px 34px 0px 40px; border: 1px solid var(--th-line); border-radius: 8px; background: var(--th-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238A5A1C' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; -webkit-appearance: none; appearance: none; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
    .bds-filter-field select:disabled{ opacity: 0.6; cursor: not-allowed; }
    .bds-filter-submit{ height: 48px; padding-inline: 26px; }

    /*
    * BLOCK COMMON.
    */
    .block-item{ padding-block: clamp(48px, 6vw, 80px); }
    .block-item.is-tint{ background: var(--th-bg); }
    .block-item-head{ display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 28px; }
    .block-item-head.is-center{ justify-content: center; text-align: center; }
    .block-item-title{ position: relative; font-size: clamp(24px, 2.6vw, 34px); padding-bottom: 14px; }
    .block-item-title::after{ content: ""; position: absolute; left: 0px; bottom: 0px; width: 64px; height: 3px; border-radius: 3px; background: var(--th-gold-gradient); }
    .is-center .block-item-title::after{ left: 50%; transform: translateX(-50%); }
    .block-item-desc{ margin-top: 12px; color: var(--th-muted); max-width: 640px; }
    .block-item-more{ display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--th-gold-dark); padding: 8px 0px; }
    .block-item-more i{ font-size: 12px; transition: transform .25s; }
    .block-item-more:hover{ color: var(--th-red); }
    .block-item-more:hover i{ transform: translateX(3px); }

    /*
    * HOME HERO.
    */
    .home-hero{ position: relative; isolation: isolate; display: flex; min-height: clamp(560px, 78vh, 760px); color: var(--th-white); background: var(--th-red-deep); }
    .home-hero-media{ position: absolute; inset: 0px; z-index: -1; overflow: hidden; }
    .home-hero-media::after{ content: ""; position: absolute; inset: 0px; background: linear-gradient(180deg, rgba(30, 8, 6, 0.62) 0%, rgba(30, 8, 6, 0.28) 38%, rgba(30, 8, 6, 0.82) 100%); }
    .home-hero-img, .home-hero-video{ position: absolute; inset: 0px; width: 100%; height: 100%; object-fit: cover; }
    .home-hero-inner{ display: flex; flex-direction: column; justify-content: flex-end; padding-block: 120px 48px; }
    .home-hero-title{ max-width: 860px; font-size: clamp(30px, 4.4vw, 56px); line-height: 1.12; color: var(--th-white); text-wrap: balance; }
    .home-hero-desc{ max-width: 640px; margin-top: 16px; font-size: clamp(16px, 1.4vw, 19px); color: rgba(255, 255, 255, 0.88); }
    .home-hero .bds-filter{ margin-top: 32px; border: 0px; box-shadow: var(--th-shadow-lg); }
    .home-hero-types{ display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
    .home-hero-types a{ display: inline-flex; align-items: center; gap: 10px; padding: 8px 10px 8px 16px; border-radius: 50px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.22); backdrop-filter: blur(6px); font-size: 14.5px; font-weight: 500; }
    .home-hero-types a span{ min-width: 28px; padding: 2px 8px; border-radius: 20px; background: var(--th-gold-gradient); color: #2A1606; font-size: 12.5px; font-weight: 700; text-align: center; }
    .home-hero-types a:hover{ color: var(--th-white); background: rgba(255, 255, 255, 0.22); }
    /* One staged moment on load: image settles, copy and search rise in sequence. */
    .home-hero-img{ animation: hero-zoom 1.8s var(--th-ease) both; }
    .home-hero-title, .home-hero-desc, .home-hero .bds-filter, .home-hero-types{ animation: hero-in .8s var(--th-ease) both; }
    .home-hero-desc{ animation-delay: .1s; }
    .home-hero .bds-filter{ animation-delay: .2s; }
    .home-hero-types{ animation-delay: .3s; }
    @keyframes hero-zoom{ from{ transform: scale(1.08); } to{ transform: scale(1); } }
    @keyframes hero-in{ from{ opacity: 0; translate: 0px 24px; } to{ opacity: 1; translate: 0px 0px; } }

    /*
    * BDS ITEM.
    */
    .home-bds-chips{ display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0px 24px; }
    .home-bds-chips a{ display: inline-block; padding: 6px 14px; border-radius: 50px; border: 1px solid var(--th-line); background: var(--th-white); font-size: 14px; }
    .home-bds-chips a:hover{ border-color: var(--th-gold); color: var(--th-gold-dark); }
    .bds-list{ display: grid; grid-template-columns: repeat(4, minmax(0px, 1fr)); gap: 24px; }
    .bds-list.is-3col{ grid-template-columns: repeat(3, minmax(0px, 1fr)); }
    .bds-item{ display: flex; flex-direction: column; background: var(--th-white); border: 1px solid var(--th-line); border-radius: var(--th-radius); overflow: hidden; transition: border-color .3s, box-shadow .3s, transform .35s var(--th-ease); }
    .bds-item:hover{ border-color: var(--th-gold-light); box-shadow: var(--th-shadow); }
    @media (hover: hover){
        .bds-item:hover, .news-item:hover{ transform: translateY(-4px); }
    }
    .bds-item-thumb{ position: relative; aspect-ratio: 4 / 3; background: var(--th-bg); }
    .bds-item-type{ position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 6px; background: rgba(30, 23, 20, 0.72); color: var(--th-white); font-size: 12px; font-weight: 500; }
    /* The block/category already names the type, so the label would repeat on every card. */
    .block-home-bds .bds-item-type, .tax-danh-muc-bds .listing-main .bds-item-type{ display: none; }
    .bds-item-badge{ position: absolute; right: 10px; top: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 6px; background: var(--th-gold-gradient); color: #2A1606; font-size: 12px; font-weight: 700; }
    .bds-item-badge.is-done{ background: var(--th-ink); color: var(--th-white); }
    .bds-item-body{ display: flex; flex-direction: column; flex: 1; padding: 14px 16px 12px; }
    .bds-item-title{ font-size: 16px; font-weight: 600; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(1.45em * 2); }
    .bds-item-title a:hover{ color: var(--th-gold-dark); }
    .bds-item-price{ display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 17px; font-weight: 700; color: var(--th-red); }
    .bds-item-price i{ font-size: 13px; color: var(--th-gold); }
    .bds-item-meta{ display: flex; flex-direction: column; gap: 4px; margin-top: 8px; font-size: 14px; color: var(--th-muted); }
    .bds-item-meta li{ display: flex; align-items: center; gap: 8px; }
    .bds-item-meta li span{ min-width: 0px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .bds-item-meta i{ width: 14px; color: var(--th-gold-dark); font-size: 13px; text-align: center; }
    .bds-item-foot{ display: flex; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--th-line); font-size: 13px; color: var(--th-muted); }
    .bds-item-meta + .bds-item-foot{ margin-top: 12px; }
    .bds-item-foot span, .bds-item-foot time{ display: inline-flex; align-items: center; gap: 6px; }

    /*
    * HOME WHY.
    */
    .home-why-inner{ display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
    .home-why-media{ position: relative; }
    .home-why-media::before{ content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--th-gold); border-radius: var(--th-radius-lg); }
    .home-why-media img{ position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--th-radius-lg); }
    .home-why-list{ display: grid; grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 28px 32px; margin-top: 32px; }
    .home-why-item{ display: flex; gap: 16px; }
    .home-why-item-icon{ flex-shrink: 0; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--th-gold-soft); color: var(--th-gold-dark); font-size: 24px; }
    .home-why-item-title{ font-size: 18px; margin-bottom: 6px; }
    .home-why-item p{ color: var(--th-muted); font-size: 15px; }

    /*
    * CONSIGN CTA.
    */
    .block-consign{ position: relative; overflow: hidden; padding-block: clamp(40px, 5vw, 64px); background: linear-gradient(120deg, var(--th-red-deep) 0%, var(--th-red) 60%, #9A1A1D 100%); color: rgba(255, 255, 255, 0.86); }
    .block-consign::before{ content: ""; position: absolute; right: -80px; top: 50%; width: 420px; height: 420px; transform: translateY(-50%); border-radius: 50%; border: 1px solid rgba(236, 203, 128, 0.25); box-shadow: 0px 0px 0px 40px rgba(236, 203, 128, 0.05), 0px 0px 0px 80px rgba(236, 203, 128, 0.04); }
    .block-consign-inner{ position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
    .block-consign h2{ color: var(--th-gold-light); font-size: clamp(22px, 2.4vw, 32px); }
    .block-consign p{ margin-top: 10px; max-width: 640px; }
    .block-consign-actions{ display: flex; flex-wrap: wrap; gap: 12px; }

    /*
    * HOME NEWS.
    */
    .home-news-grid{ display: grid; grid-template-columns: 7fr 5fr; gap: 28px; }
    .home-news-hot{ display: flex; flex-direction: column; border-radius: var(--th-radius); overflow: hidden; background: var(--th-white); border: 1px solid var(--th-line); }
    .home-news-hot-thumb{ aspect-ratio: 16 / 9; }
    .home-news-hot-body{ flex: 1; padding: 20px 24px 24px; }
    .home-news-hot-body h3{ font-size: clamp(19px, 1.8vw, 24px); margin: 6px 0px 10px; }
    .home-news-hot-body p, .home-news-item-body p{ color: var(--th-muted); }
    .home-news-grid time{ font-size: 13px; color: var(--th-gold-dark); font-weight: 600; }
    .home-news-list{ display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
    .home-news-item{ display: grid; grid-template-columns: 170px minmax(0px, 1fr); gap: 16px; align-items: start; }
    .home-news-item + .home-news-item{ padding-top: 20px; border-top: 1px solid var(--th-line); }
    .home-news-item-thumb{ aspect-ratio: 4 / 3; border-radius: 8px; }
    .home-news-item-body h3{ font-size: 16.5px; margin: 4px 0px 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .home-news-item-body p{ font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

    /*
    * HOME PARTNER.
    */
    .block-home-partner{ padding-top: 0px; }
    .home-partner-item{ display: grid; place-items: center; height: 104px; padding: 16px; border: 1px solid var(--th-line); border-radius: var(--th-radius); background: var(--th-white); }
    .home-partner-item img{ max-height: 64px; width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.75; transition: filter .3s, opacity .3s; }
    .home-partner-item:hover img{ filter: none; opacity: 1; }

    /*
    * HOME AREA.
    */
    .block-home-area{ background: var(--th-bg); }
    .home-area-tabs{ display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
    .home-area-tabs button{ padding: 10px 18px; border-radius: 50px; border: 1px solid var(--th-line); background: var(--th-white); font-weight: 600; font-size: 15px; transition: background .25s, border-color .25s, color .25s; }
    .home-area-tabs button:hover{ border-color: var(--th-gold); color: var(--th-gold-dark); }
    .home-area-tabs button[aria-selected="true"]{ background: var(--th-gold-gradient) border-box; border-color: transparent; color: #2A1606; }
    .home-area-panel{ padding: 24px; border-radius: var(--th-radius); background: var(--th-white); border: 1px solid var(--th-line); }
    .home-area-panel:not([hidden]){ animation: fade-in .35s var(--th-ease); }
    @keyframes fade-in{ from{ opacity: 0; translate: 0px 8px; } to{ opacity: 1; translate: 0px 0px; } }
    .home-area-links{ display: grid; grid-template-columns: repeat(3, minmax(0px, 1fr)); gap: 0px 32px; overflow: hidden; }
    .home-area-links li{ margin-bottom: -1px; }
    .home-area-links a{ position: relative; display: block; padding: 10px 0px 10px 24px; font-size: 15px; line-height: 22px; border-bottom: 1px dashed var(--th-line); }
    .home-area-links a::before{ content: "\f3c5"; position: absolute; left: 2px; top: 10px; font-family: 'Font Awesome 5 Pro'; font-weight: 300; font-size: 13px; line-height: 22px; color: var(--th-gold); transition: transform .25s var(--th-ease); }
    .home-area-links a span{ color: var(--th-muted); }
    .home-area-links a strong{ font-weight: 600; color: var(--th-ink); transition: color .2s; }
    .home-area-links a:hover strong{ color: var(--th-gold-dark); }
    .home-area-links a:hover::before{ transform: translateY(-2px); }
    .home-area-price{ display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--th-line); font-size: 14.5px; }
    .home-area-price strong{ color: var(--th-ink); margin-right: 4px; }
    .home-area-price a{ padding: 5px 12px; border-radius: 50px; background: var(--th-gold-soft); color: var(--th-gold-dark); font-weight: 500; }
    .home-area-price a:hover{ background: var(--th-gold); color: #2A1606; }

    /*
    * PAGE HEAD + BREADCRUMB.
    */
    .page-head{ padding-block: 28px 30px; background: linear-gradient(180deg, var(--th-bg), var(--th-white)); border-bottom: 1px solid var(--th-line); }
    .rank-math-breadcrumb{ font-size: 14px; color: var(--th-muted); margin-bottom: 10px; }
    .rank-math-breadcrumb p{ display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
    .rank-math-breadcrumb a{ color: var(--th-gold-dark); }
    .rank-math-breadcrumb a:hover{ color: var(--th-red); }
    .rank-math-breadcrumb .separator{ color: var(--th-line); padding-inline: 4px; }
    .rank-math-breadcrumb .last{ color: var(--th-muted); }
    .page-head.is-narrow .container{ max-width: 920px; }
    .page-head-title{ font-size: clamp(24px, 3vw, 36px); }
    .page-head-desc{ margin-top: 10px; max-width: 820px; color: var(--th-muted); }
    .single-bds-address{ margin-top: 10px; color: var(--th-muted); }
    .single-bds-address i{ margin-right: 8px; color: var(--th-gold-dark); }
    .single-meta{ display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 12px; font-size: 14px; color: var(--th-muted); }
    .single-meta li{ display: inline-flex; align-items: center; gap: 7px; }
    .single-meta i{ color: var(--th-gold-dark); }

    /*
    * LISTING LAYOUT.
    */
    .listing-layout{ display: grid; grid-template-columns: minmax(0px, 1fr) 320px; gap: 32px; align-items: start; padding-block: 36px 64px; }
    /* Post: cap the reading column (~90 characters per line). */
    .listing-layout.is-post{ grid-template-columns: minmax(0px, 800px) 360px; justify-content: space-between; }
    .single-post .single-content{ font-size: 17px; }
    .listing-toolbar{ display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 20px; }
    .listing-count strong{ color: var(--th-red); }
    .listing-sort{ display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
    .listing-sort select{ height: 40px; padding: 0px 34px 0px 12px; border: 1px solid var(--th-line); border-radius: 8px; background: var(--th-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238A5A1C' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; -webkit-appearance: none; appearance: none; }
    .listing-seo{ position: relative; margin-top: 40px; padding: 24px 28px; border: 1px solid var(--th-line); border-radius: var(--th-radius); background: var(--th-white); }
    .listing-seo.is-collapsed{ max-height: 320px; overflow: hidden; }
    .listing-seo.is-collapsed::after{ content: ""; position: absolute; left: 0px; right: 0px; bottom: 0px; height: 120px; background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--th-white) 70%); pointer-events: none; }
    .listing-seo-toggle{ position: absolute; z-index: 2; left: 50%; bottom: 14px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border: 1px solid var(--th-gold); border-radius: 50px; background: var(--th-white); color: var(--th-gold-dark); font-weight: 600; }
    .listing-seo:not(.is-collapsed){ padding-bottom: 72px; }
    .pagination{ margin-top: 36px; }
    .pagination .nav-links, .pagination{ display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
    .pagination .page-numbers{ display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0px 10px; border-radius: 8px; border: 1px solid var(--th-line); background: var(--th-white); font-weight: 600; }
    .pagination a.page-numbers:hover{ border-color: var(--th-gold); color: var(--th-gold-dark); }
    .pagination .page-numbers.current{ background: var(--th-gold-gradient) border-box; border-color: transparent; color: #2A1606; }
    .pagination .page-numbers.dots{ border: 0px; background: none; }

    /*
    * SIDEBAR.
    */
    .listing-sidebar, .single-bds-sidebar{ display: flex; flex-direction: column; gap: 20px; }
    .sidebar-box{ padding: 20px 22px; border: 1px solid var(--th-line); border-radius: var(--th-radius); background: var(--th-white); }
    .sidebar-box-title{ position: relative; font-size: 18px; padding-left: 14px; margin-bottom: 12px; }
    .sidebar-box-title::before{ content: ""; position: absolute; left: 0px; top: 4px; bottom: 4px; width: 4px; border-radius: 4px; background: var(--th-gold-gradient); }
    .sidebar-links li a{ display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0px; border-bottom: 1px dashed var(--th-line); font-size: 15px; }
    .sidebar-links li:last-child a{ border-bottom: 0px; }
    .sidebar-links li a span{ min-width: 30px; padding: 1px 8px; border-radius: 20px; background: var(--th-bg); color: var(--th-muted); font-size: 12.5px; text-align: center; }
    .sidebar-links li.active > a{ color: var(--th-gold-dark); font-weight: 600; }
    .sidebar-links li.active > a span{ background: var(--th-gold); color: #2A1606; }
    .sidebar-posts li{ display: grid; grid-template-columns: 76px minmax(0px, 1fr); gap: 12px; padding: 10px 0px; border-bottom: 1px dashed var(--th-line); }
    .sidebar-posts li:last-child{ border-bottom: 0px; }
    .sidebar-posts-thumb img{ width: 76px; height: 60px; object-fit: cover; border-radius: 6px; }
    .sidebar-posts-title{ font-size: 14.5px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .sidebar-posts-price{ margin-top: 4px; font-size: 14px; font-weight: 700; color: var(--th-red); }
    .search-form{ display: flex; border: 1px solid var(--th-line); border-radius: 8px; overflow: hidden; background: var(--th-white); }
    .search-form input{ flex: 1; min-width: 0px; height: 44px; padding: 0px 14px; border: 0px; background: none; }
    .search-form input:focus{ outline: none; }
    .search-form:focus-within{ border-color: var(--th-gold); }
    .search-form button{ width: 48px; border: 0px; background: var(--th-gold-gradient); color: #2A1606; }

    /*
    * SUPPORT CARD.
    */
    .support-card{ display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: var(--th-radius-lg); background: linear-gradient(150deg, var(--th-red-deep), var(--th-red)); color: rgba(255, 255, 255, 0.85); text-align: center; box-shadow: var(--th-shadow); }
    .support-card-price{ display: flex; flex-direction: column; color: var(--th-gold-light); font-size: 26px; font-weight: 700; line-height: 1.2; }
    .support-card-price small{ font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, 0.7); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }
    .support-card-title{ color: var(--th-gold-light); font-size: 20px; font-weight: 700; }
    .support-card .btn-gold, .support-card .btn-outline-gold{ width: 100%; }
    .support-card-desc{ font-size: 14px; }
    .support-card-staff{ display: flex; justify-content: center; }
    .support-card-staff img{ width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--th-gold-light); margin-left: -10px; }
    .support-card-staff img:first-child{ margin-left: 0px; }

    /*
    * SINGLE BDS.
    */
    .single-bds-layout{ display: grid; grid-template-columns: minmax(0px, 1fr) 360px; gap: 36px; align-items: start; padding-block: 32px 64px; }
    .bds-gallery-main{ position: relative; border-radius: var(--th-radius-lg); overflow: hidden; background: var(--th-bg); }
    .bds-gallery-main .swiper-slide img{ width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
    .bds-gallery-prev, .bds-gallery-next{ position: absolute; top: 50%; z-index: 5; display: grid; place-items: center; width: 44px; height: 44px; margin-top: -22px; border: 0px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: var(--th-ink); box-shadow: var(--th-shadow); transition: background .25s; }
    .bds-gallery-prev{ left: 14px; }
    .bds-gallery-next{ right: 14px; }
    .bds-gallery-prev:hover, .bds-gallery-next:hover{ background: var(--th-gold); }
    .bds-gallery-prev, .bds-gallery-next{ transition: background .25s, opacity .25s, visibility .25s; }
    .bds-gallery-prev.swiper-button-disabled, .bds-gallery-next.swiper-button-disabled{ opacity: 0; visibility: hidden; }
    .bds-gallery-count{ position: absolute; right: 14px; bottom: 14px; z-index: 5; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 6px; background: rgba(30, 23, 20, 0.72); color: var(--th-white); font-size: 13px; }
    .bds-gallery-main .bds-item-badge{ z-index: 5; right: auto; left: 14px; top: 14px; }
    .bds-gallery-thumbs{ margin-top: 10px; }
    .bds-gallery-thumbs .swiper-slide{ border-radius: 8px; overflow: hidden; opacity: 0.6; cursor: pointer; border: 2px solid transparent; transition: opacity .25s, border-color .25s; }
    .bds-gallery-thumbs .swiper-slide img{ width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
    .bds-gallery-thumbs .swiper-slide-thumb-active{ opacity: 1; border-color: var(--th-gold); }
    .bds-overview{ display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
    .bds-overview li{ flex: 1 1 auto; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--th-radius); background: var(--th-gold-soft); border: 1px solid #F1E3C3; }
    .bds-overview i{ font-size: 24px; color: var(--th-gold-dark); }
    .bds-overview span{ display: flex; flex-direction: column; line-height: 1.3; }
    .bds-overview small{ font-size: 12.5px; color: var(--th-muted); }
    .bds-overview strong{ color: var(--th-ink); font-size: 15.5px; white-space: nowrap; }
    .bds-overview .is-price, .bds-specs .is-price{ color: var(--th-red); }
    .single-bds-main, .listing-main{ min-width: 0px; }
    .single-bds-section{ margin-top: 36px; }
    .single-bds-section-title{ position: relative; font-size: 22px; padding-left: 16px; margin-bottom: 18px; }
    .single-bds-section-title::before{ content: ""; position: absolute; left: 0px; top: 5px; bottom: 5px; width: 4px; border-radius: 4px; background: var(--th-gold-gradient); }
    .bds-specs{ display: grid; grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 0px 32px; margin: 0px; }
    .bds-specs div{ display: flex; gap: 16px; padding: 12px 0px; border-bottom: 1px solid var(--th-line); }
    .bds-specs dt{ flex: 0 0 42%; color: var(--th-muted); }
    .bds-specs dd{ margin: 0px; font-weight: 600; color: var(--th-ink); }
    .bds-specs dd a{ color: var(--th-gold-dark); }
    .bds-map{ border-radius: var(--th-radius); background: var(--th-bg); overflow: hidden; }
    .bds-map iframe{ width: 100%; aspect-ratio: 2 / 1; height: auto; border: 0px; }
    .single-bds-sticky{ position: sticky; top: calc(var(--th-header-sticky-h) + 20px); display: flex; flex-direction: column; gap: 20px; }
    .sidebar-form p{ font-size: 14px; color: var(--th-muted); margin-bottom: 14px; }
    .mobile-cta{ display: none; }

    /*
    * SINGLE CONTENT.
    */
    .single-content{ font-size: 16.5px; line-height: 1.75; color: var(--th-text); overflow-wrap: break-word; }
    .single-content > * + *{ margin-top: 1em; }
    .single-content h2{ font-size: clamp(21px, 2vw, 26px); margin-top: 1.6em; }
    .single-content h3{ font-size: clamp(18px, 1.6vw, 21px); margin-top: 1.4em; }
    .single-content h4{ font-size: 18px; margin-top: 1.2em; }
    .single-content ul, .single-content ol{ padding-left: 22px; }
    .single-content ul{ list-style: disc; }
    .single-content ol{ list-style: decimal; }
    .single-content li + li{ margin-top: 6px; }
    .single-content li::marker{ color: var(--th-gold-dark); }
    .single-content a{ color: var(--th-gold-dark); text-decoration: underline; text-underline-offset: 3px; }
    .single-content a:hover{ color: var(--th-red); }
    .single-content strong{ color: var(--th-ink); }
    .single-content img{ border-radius: var(--th-radius); margin-inline: auto; }
    .single-content figure{ margin-inline: 0px; }
    .single-content figcaption{ margin-top: 8px; font-size: 14px; color: var(--th-muted); text-align: center; }
    .single-content blockquote{ margin-inline: 0px; padding: 16px 22px; border-left: 4px solid var(--th-gold); background: var(--th-gold-soft); border-radius: 0px 8px 8px 0px; font-style: italic; }
    .single-content table{ width: 100%; border-collapse: collapse; font-size: 15px; }
    .single-content th, .single-content td{ padding: 10px 12px; border: 1px solid var(--th-line); text-align: left; }
    .single-content th{ background: var(--th-gold-soft); color: var(--th-ink); }
    .single-post-thumb{ margin: 0px 0px 28px; }
    .single-post-thumb img{ width: 100%; border-radius: var(--th-radius-lg); }
    .single-tags{ display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--th-line); }
    .single-tags i{ color: var(--th-gold-dark); }
    .single-tags a{ padding: 4px 12px; border-radius: 50px; background: var(--th-bg); font-size: 14px; }
    .page-content{ max-width: 920px; padding-block: 40px 64px; }

    /*
    * NEWS ITEM.
    */
    .news-list{ display: grid; grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 24px; }
    .news-list.is-3col{ grid-template-columns: repeat(3, minmax(0px, 1fr)); }
    .news-item{ display: flex; flex-direction: column; border: 1px solid var(--th-line); border-radius: var(--th-radius); overflow: hidden; background: var(--th-white); transition: border-color .3s, box-shadow .3s, transform .35s var(--th-ease); }
    .news-item:hover{ border-color: var(--th-gold-light); box-shadow: var(--th-shadow); }
    .news-item-thumb{ aspect-ratio: 16 / 10; }
    .news-item-body{ display: flex; flex-direction: column; flex: 1; padding: 16px 20px 20px; }
    .news-item-date{ display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--th-gold-dark); }
    .news-item-title{ font-size: 18px; margin: 8px 0px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .news-item-desc{ color: var(--th-muted); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    .news-item-more{ display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 14px; font-weight: 600; color: var(--th-gold-dark); font-size: 15px; }
    .news-item-more i{ font-size: 11px; }

    /*
    * ABOUT.
    */
    .about-intro-inner{ display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
    .about-intro-content .block-item-title{ margin-bottom: 20px; }
    .about-intro-media{ position: relative; }
    .about-intro-media::before{ content: ""; position: absolute; inset: -18px 18px 18px -18px; border-radius: var(--th-radius-lg); background: var(--th-gold-soft); border: 2px solid var(--th-gold-light); }
    .about-intro-media img{ position: relative; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--th-radius-lg); }
    .about-values-list{ display: grid; grid-template-columns: repeat(4, minmax(0px, 1fr)); gap: 24px; }
    .about-values-item{ padding: 28px 24px; border-radius: var(--th-radius-lg); background: var(--th-white); border: 1px solid var(--th-line); }
    .about-values-item-icon{ display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 18px; border-radius: 16px; background: linear-gradient(150deg, var(--th-red-deep), var(--th-red)); color: var(--th-gold-light); font-size: 26px; }
    .about-values-item-title{ font-size: 19px; margin-bottom: 8px; }
    .about-values-item p{ color: var(--th-muted); font-size: 15px; }
    .about-process-list{ display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; counter-reset: process; }
    .about-process-item{ position: relative; padding: 64px 22px 24px; border-top: 3px solid var(--th-gold); background: var(--th-bg); border-radius: 0px 0px var(--th-radius) var(--th-radius); counter-increment: process; }
    .about-process-item::before{ content: counter(process); position: absolute; left: 22px; top: 18px; font-size: 34px; font-weight: 700; line-height: 1; color: var(--th-gold); }
    .about-process-item-title{ font-size: 18px; margin-bottom: 8px; }
    .about-process-item p{ color: var(--th-muted); font-size: 15px; }

    /*
    * CONTACT + CONSIGN PAGE.
    */
    .contact-inner, .consign-page-inner{ display: grid; grid-template-columns: minmax(0px, 1fr) minmax(0px, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
    .consign-page-inner{ grid-template-columns: minmax(0px, 1fr) 520px; }
    .contact-info-list{ display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
    .contact-info-list li{ display: flex; gap: 16px; align-items: flex-start; }
    .contact-info-list i{ flex-shrink: 0; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; background: var(--th-gold-soft); color: var(--th-gold-dark); font-size: 20px; }
    .contact-info-list div{ display: flex; flex-direction: column; }
    .contact-info-list strong{ color: var(--th-ink); }
    .contact-info-list a{ color: var(--th-red); font-weight: 600; }
    .contact-form-box{ padding: clamp(22px, 3vw, 32px); border-radius: var(--th-radius-lg); background: var(--th-white); border: 1px solid var(--th-line); box-shadow: var(--th-shadow); }
    .contact-form-box > p{ color: var(--th-muted); font-size: 15px; margin-bottom: 18px; }
    .contact-map iframe{ width: 100%; height: 420px; border: 0px; }
    .consign-benefits{ display: grid; gap: 18px; margin-top: 28px; }
    .consign-benefits li{ display: flex; gap: 16px; }
    .consign-benefits-icon{ flex-shrink: 0; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; background: var(--th-gold-soft); color: var(--th-gold-dark); font-size: 20px; }
    .consign-benefits h3{ font-size: 17px; margin-bottom: 4px; }
    .consign-benefits p{ color: var(--th-muted); font-size: 15px; }

    /*
    * CONTACT FORM 7.
    */
    .wpcf7 form{ display: flex; flex-direction: column; gap: 14px; }
    .wpcf7 .form-row{ display: grid; grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 14px; }
    .wpcf7 label{ display: block; font-size: 14px; font-weight: 600; color: var(--th-ink); }
    .wpcf7 .wpcf7-form-control-wrap{ display: block; margin-top: 6px; }
    .wpcf7 input[type="text"], .wpcf7 input[type="tel"], .wpcf7 input[type="email"], .wpcf7 input[type="number"], .wpcf7 select, .wpcf7 textarea{ width: 100%; padding: 12px 14px; border: 1px solid var(--th-line); border-radius: 8px; background: var(--th-bg); font-size: 15px; transition: border-color .2s, box-shadow .2s, background .2s; }
    .wpcf7 textarea{ height: 120px; resize: vertical; }
    .wpcf7 select{ -webkit-appearance: none; appearance: none; background: var(--th-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238A5A1C' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; }
    .wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus{ outline: none; border-color: var(--th-gold); background-color: var(--th-white); box-shadow: 0px 0px 0px 3px rgba(200, 150, 62, 0.18); }
    .wpcf7 input[type="submit"], .wpcf7 .wpcf7-submit{ width: 100%; padding: 14px 22px; border: 0px; border-radius: 8px; background: var(--th-gold-gradient); color: #2A1606; font-weight: 700; font-size: 16px; cursor: pointer; transition: filter .2s; }
    .wpcf7 .wpcf7-submit:hover{ filter: brightness(1.06); }
    .wpcf7 .wpcf7-spinner{ display: block; margin: 0px auto; }
    .wpcf7 form:not(.submitting) .wpcf7-spinner{ display: none; }
    .wpcf7 form.submitting .wpcf7-submit{ opacity: 0.7; cursor: progress; }
    .wpcf7 .wpcf7-not-valid-tip{ font-size: 13px; margin-top: 4px; color: #B42318; }
    .wpcf7 form .wpcf7-response-output{ margin: 0px; padding: 10px 14px; border-radius: 8px; font-size: 14px; }
    .wpcf7 .form-note{ font-size: 13px; color: var(--th-muted); text-align: center; }

    /*
    * 404.
    */
    .page-404{ padding-block: 72px 96px; text-align: center; background: var(--th-bg); }
    .page-404 .page-404-code{ font-size: clamp(80px, 14vw, 160px); font-weight: 700; line-height: 1; background: var(--th-gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
    .page-404 p{ max-width: 560px; margin: 14px auto 28px; color: var(--th-muted); }
    .page-404 .bds-filter{ max-width: 1100px; margin: 0px auto 28px; text-align: left; }

    /*
    * FOOTER.
    */
    .site-footer{ background: #22090A; color: rgba(255, 255, 255, 0.72); font-size: 15px; }
    .footer-main{ display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 64px 44px; }
    .footer-logo{ display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
    .footer-logo img{ width: 64px; height: 64px; border-radius: 12px; }
    .footer-logo span{ display: flex; flex-direction: column; line-height: 1.25; }
    .footer-logo strong{ font-size: 22px; letter-spacing: 0.08em; color: var(--th-gold-light); text-transform: uppercase; }
    .footer-logo small{ font-size: 12px; color: rgba(255, 255, 255, 0.6); }
    .footer-about-desc{ margin-bottom: 18px; }
    .footer-contact li{ display: flex; gap: 12px; padding: 5px 0px; }
    .footer-contact i{ width: 16px; margin-top: 5px; color: var(--th-gold); text-align: center; }
    .footer-title{ position: relative; font-size: 17px; color: var(--th-gold-light); padding-bottom: 12px; margin-bottom: 16px; }
    .footer-title::after{ content: ""; position: absolute; left: 0px; bottom: 0px; width: 40px; height: 2px; background: var(--th-gold); }
    .footer-menu li a{ display: inline-block; padding: 6px 0px; }
    .site-footer a:hover{ color: var(--th-gold-light); }
    .footer-connect p{ margin-bottom: 14px; }
    .footer-social{ display: flex; gap: 10px; margin-bottom: 22px; }
    .footer-social a{ display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(236, 203, 128, 0.35); color: var(--th-gold-light); transition: background .25s, color .25s; }
    .footer-social a:hover{ background: var(--th-gold); color: #2A1606; }
    .footer-bottom{ padding-block: 18px; border-top: 1px solid rgba(236, 203, 128, 0.16); font-size: 14px; text-align: center; color: rgba(255, 255, 255, 0.55); }

    /*
    * FLOAT CONTACT.
    */
    .float-contact{ position: fixed; right: 18px; bottom: 24px; z-index: 90; display: flex; flex-direction: column; align-items: center; gap: 12px; }
    .float-contact a, .back-top{ display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 0px; box-shadow: 0px 8px 20px rgba(30, 23, 20, 0.22); }
    .float-contact-zalo{ background: var(--th-zalo); color: var(--th-white); }
    .float-contact-zalo:hover{ color: var(--th-white); }
    .float-contact-call{ position: relative; background: var(--th-gold-gradient); color: #2A1606; font-size: 20px; }
    .float-contact-call:hover{ color: #2A1606; }
    .float-contact-call::before{ content: ""; position: absolute; inset: 0px; border-radius: 50%; border: 2px solid var(--th-gold); animation: call-ring 2.6s ease-out infinite; }
    @keyframes call-ring{ 0%{ transform: scale(1); opacity: 0.9; } 60%, 100%{ transform: scale(1.6); opacity: 0; } }
    .back-top{ width: 44px; height: 44px; background: var(--th-white); color: var(--th-ink); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s, visibility .3s; }
    .back-top.show{ opacity: 1; visibility: visible; transform: translateY(0px); }

    /*
    * SCROLL REVEAL.
    * Progressive: browsers without scroll-driven animations simply show the content.
    * Uses "translate" so the hover "transform" on cards still works.
    */
    @supports (animation-timeline: view()){
        @media (prefers-reduced-motion: no-preference){
            .bds-list > .bds-item, .news-list > .news-item, .home-news-grid > *, .home-why-item, .about-values-item, .about-process-item, .consign-benefits li{ animation: reveal-up linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
            @keyframes reveal-up{ from{ opacity: 0; translate: 0px 28px; } to{ opacity: 1; translate: 0px 0px; } }
        }
    }

    /*
    * REDUCED MOTION.
    */
    @media (prefers-reduced-motion: reduce){
        *, *::before, *::after{ animation-duration: 0.01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
        .float-contact-call::before{ display: none; }
    }
}
