/* Primitive variables moved to assets/css/tokens.css in 6.1.4. */

/* Stable base — no webfont dependency and no forced word fragmentation. */
body.hdfl-editorial-v6{
  color:var(--hdfl-ink);
  background:#fff;
  font-family:var(--hdfl-font-sans);
  font-size:15px;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
body.hdfl-editorial-v6 *,body.hdfl-editorial-v6 *::before,body.hdfl-editorial-v6 *::after{box-sizing:border-box}
body.hdfl-editorial-v6 h1,body.hdfl-editorial-v6 h2,body.hdfl-editorial-v6 h3,body.hdfl-editorial-v6 h4{
  color:inherit;font-family:var(--hdfl-font-display);font-weight:500;letter-spacing:-.025em;line-height:1.08;
  overflow-wrap:break-word;word-break:normal;hyphens:none;text-wrap:pretty;
}
body.hdfl-editorial-v6 p,body.hdfl-editorial-v6 li{line-height:1.65;overflow-wrap:break-word}
body.hdfl-editorial-v6 img{display:block;max-width:100%;height:auto}
body.hdfl-editorial-v6 .col,body.hdfl-editorial-v6 .col-inner,body.hdfl-editorial-v6 .row{min-width:0}
body.hdfl-editorial-v6 a{transition:opacity .2s ease,color .2s ease,background .2s ease}
body.hdfl-editorial-v6 a:hover{opacity:.72}
.hdfl-shell{width:min(calc(100% - (var(--hdfl-pad)*2)),var(--hdfl-shell));margin-inline:auto}
.hdfl-dynamic,.hdfl-dynamic *{box-sizing:border-box}.hdfl-dynamic figure{margin:0}
.hdfl-kicker{display:block;margin:0 0 14px;color:var(--hdfl-muted);font-size:10px;font-weight:700;letter-spacing:.16em;line-height:1.4;text-transform:uppercase}
.hdfl-inline-arrow{display:inline-block;padding-bottom:4px;border-bottom:1px solid currentColor;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.lead{max-width:680px;color:var(--hdfl-muted);font-size:clamp(17px,1.45vw,21px);line-height:1.55}
.hdfl-admin-hint{margin:12px 0;padding:14px 18px;border:1px solid #c99c50;background:#fff8e8;font-size:13px}

/* Header/Footer are native Flatsome, styled and provisioned by importer. */
.hdfl-editorial-v6 #top-bar{min-height:0;border-bottom:1px solid var(--hdfl-line);background:#fff!important;color:var(--hdfl-ink)!important}
.hdfl-editorial-v6 #header .header-main{min-height:76px;border-bottom:1px solid var(--hdfl-line);background:#fff}
.hdfl-editorial-v6 #header .header-wrapper.stuck .header-main{min-height:64px}
.hdfl-editorial-v6 #header .nav>li>a{font-size:10px;font-weight:700;letter-spacing:.075em;text-transform:uppercase}
.hdfl-editorial-v6 #header .logo img{max-height:30px}
.hdfl-editorial-v6 .footer-wrapper{border-top:0}.hdfl-editorial-v6 .absolute-footer{display:none}
.hdfl-footer-v6{background:#111!important;color:#fff}
.hdfl-footer-v6 h3,.hdfl-footer-v6 p,.hdfl-footer-v6 a{color:#fff}.hdfl-footer-v6 .hdfl-kicker{color:#999}
.hdfl-footer-v6__bottom{margin-top:48px;padding-top:22px;border-top:1px solid #333}.hdfl-footer-v6__bottom p{margin:0;color:#999;font-size:11px}

/* Controls */
.hdfl-editorial-v6 .button,.hdfl-ux-button,.hdfl-button{min-height:46px;margin:0 8px 8px 0!important;padding:13px 20px!important;border:1px solid var(--hdfl-black)!important;border-radius:0!important;background:var(--hdfl-black)!important;color:#fff!important;box-shadow:none!important;font-size:10px!important;font-weight:700!important;letter-spacing:.08em;text-transform:uppercase}
.hdfl-editorial-v6 .button.is-outline,.hdfl-editorial-v6 .button.secondary,.hdfl-ux-button.is-outline{background:transparent!important;color:var(--hdfl-black)!important}
.hdfl-editorial-v6 input,.hdfl-editorial-v6 select,.hdfl-editorial-v6 textarea{border:1px solid var(--hdfl-line)!important;border-radius:0!important;box-shadow:none!important}

/* Homepage */
.hdfl-home-hero{border-bottom:1px solid var(--hdfl-line)}
.hdfl-home-hero>.section-content>.row{max-width:none!important}
.hdfl-home-hero__copy{display:flex;align-items:center;min-height:720px}
.hdfl-home-hero__copy h1{margin:0 0 28px;font-size:var(--hdfl-h1);max-width:680px}
.hdfl-home-hero__media{min-height:720px;border-left:1px solid var(--hdfl-line)}
.hdfl-home-hero__media .img,.hdfl-home-hero__media .img-inner,.hdfl-home-hero__media img{width:100%;height:720px;object-fit:cover}
.hdfl-kinetic-band{overflow:hidden;border-bottom:1px solid var(--hdfl-line)}
.hdfl-kinetic-band .section-content,.hdfl-kinetic-band .img,.hdfl-kinetic-band .img-inner{max-width:none!important;width:100%}
.hdfl-kinetic-band img{width:100%;height:210px;object-fit:cover}
.hdfl-dual-spotlights>.section-content>.row{max-width:none!important}.hdfl-dual-spotlights .col:first-child{border-right:1px solid var(--hdfl-line)}
.hdfl-home-collection h2,.hdfl-home-manifesto h2,.hdfl-home-spaces h2,.hdfl-home-projects h2,.hdfl-home-journal h2,.hdfl-home-cta h2{font-size:var(--hdfl-h2)}
.hdfl-home-product-row{margin-top:46px}
.hdfl-home-manifesto{border-block:1px solid var(--hdfl-line);background:var(--hdfl-cream)}
.hdfl-home-manifesto>.section-content>.row{max-width:none!important}
.hdfl-manifesto-media{border-right:1px solid var(--hdfl-line)}
.hdfl-manifesto-media .img,.hdfl-manifesto-media .img-inner,.hdfl-manifesto-media img{width:100%;height:680px;object-fit:cover}
.hdfl-home-projects{background:#111!important}.hdfl-home-projects h2,.hdfl-home-projects .hdfl-kicker{color:#fff}
.hdfl-home-cta{border-top:1px solid var(--hdfl-line);background:var(--hdfl-accent)!important}

/* Dynamic product spotlight and cards */
.hdfl-spotlight{position:relative;min-height:690px;overflow:hidden;background:#fafafa}
.hdfl-spotlight--warm{background:var(--hdfl-cream)}.hdfl-spotlight--dark{background:#111;color:#fff}
.hdfl-spotlight__media{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:80px 8vw 132px}
.hdfl-spotlight__media img{width:100%;height:100%;object-fit:contain}
.hdfl-spotlight__top{position:absolute;z-index:2;inset:24px 28px auto;display:flex;justify-content:space-between;gap:20px;color:var(--hdfl-muted);font-size:9px;letter-spacing:.08em;text-transform:uppercase}
.hdfl-spotlight__bottom{position:absolute;z-index:2;inset:auto 0 0;display:flex;justify-content:space-between;align-items:flex-end;gap:20px;padding:25px 28px;border-top:1px solid var(--hdfl-line);background:rgba(255,255,255,.9);backdrop-filter:blur(10px)}
.hdfl-spotlight__bottom h3{margin:0 0 8px;font-size:clamp(26px,2.6vw,42px)}.hdfl-spotlight__bottom p{max-width:420px;margin:0;color:var(--hdfl-muted);font-size:12px}
.hdfl-spotlight__actions{display:flex;align-items:center;gap:10px}.hdfl-spotlight__actions>a{font-size:25px}
.hdfl-editorial-products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;border:1px solid var(--hdfl-line);background:var(--hdfl-line)}
.hdfl-editorial-products--2{grid-template-columns:repeat(2,minmax(0,1fr))}.hdfl-editorial-products--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.hdfl-product-card-v4{min-width:0;background:#fff}
.hdfl-product-card-v4__media{position:relative;overflow:hidden;background:#f7f5f0}
.hdfl-product-card-v4__media>a{display:block}.hdfl-product-card-v4__media img{width:100%;aspect-ratio:1/1;object-fit:contain;transition:transform .5s ease}.hdfl-product-card-v4:hover img{transform:scale(1.025)}
.hdfl-product-card-v4__badge{position:absolute;top:14px;left:14px;padding:6px 8px;background:#fff;font-size:8px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.hdfl-product-card-v4__media>.hdfl-yith-wishlist{position:absolute;top:11px;right:11px}
.hdfl-product-card-v4__body{display:grid;grid-template-columns:1fr auto;gap:7px 14px;padding:18px 16px 22px}
.hdfl-product-card-v4__body h3{margin:0;font-size:22px}.hdfl-product-card-v4__body p{grid-column:1/-1;margin:0;color:var(--hdfl-muted);font-size:12px}.hdfl-product-card-v4__body small{grid-column:1/-1;color:var(--hdfl-muted);font-size:9px;text-transform:uppercase}.hdfl-product-card-v4__arrow{font-size:20px}
.hdfl-yith-wishlist a{display:grid!important;place-items:center;width:34px;height:34px;padding:0!important;border:1px solid var(--hdfl-line)!important;border-radius:50%!important;background:#fff!important;color:#111!important;font-size:0!important}.hdfl-yith-wishlist a:before{content:"♡";font-size:18px}.hdfl-yith-wishlist .feedback{font-size:0}

/* Project, space and journal grids */
.hdfl-content-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--hdfl-line)}
.hdfl-content-grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}.hdfl-content-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.hdfl-project-card-v4,.hdfl-space-card-v4{position:relative;display:block;min-height:420px;overflow:hidden;background:#111;color:#fff}
.hdfl-project-card-v4 figure,.hdfl-space-card-v4 figure{position:absolute;inset:0;margin:0}.hdfl-project-card-v4 img,.hdfl-space-card-v4 img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}.hdfl-project-card-v4:hover img,.hdfl-space-card-v4:hover img{transform:scale(1.025)}
.hdfl-project-card-v4:after,.hdfl-space-card-v4:after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(180deg,transparent,rgba(0,0,0,.78))}
.hdfl-project-card-v4>div,.hdfl-space-card-v4>div{position:absolute;z-index:2;inset:auto 20px 20px;display:grid;grid-template-columns:1fr auto;gap:5px 15px}.hdfl-project-card-v4 span,.hdfl-space-card-v4 span{grid-column:1/-1;font-size:9px;letter-spacing:.08em;text-transform:uppercase}.hdfl-project-card-v4 h3,.hdfl-space-card-v4 h3{margin:0;color:#fff;font-size:27px}.hdfl-project-card-v4 i,.hdfl-space-card-v4 i{font-style:normal;font-size:20px}
.hdfl-journal-card-v4{background:#fff}.hdfl-journal-card-v4>a{display:block;color:var(--hdfl-ink)}.hdfl-journal-card-v4 figure{margin:0;overflow:hidden}.hdfl-journal-card-v4 img{width:100%;aspect-ratio:16/10;object-fit:cover}.hdfl-journal-card-v4__meta{display:flex;justify-content:space-between;gap:15px;margin-top:16px;color:var(--hdfl-muted);font-size:9px;letter-spacing:.08em;text-transform:uppercase}.hdfl-journal-card-v4 h3{margin:12px 0 8px;font-size:24px}.hdfl-journal-card-v4 p{margin:0;color:var(--hdfl-muted);font-size:12px}.hdfl-journal-card-v4 i{display:inline-block;margin-top:14px;font-style:normal}

/* Shop/category: force current Flatsome archive to a full-width, stable canvas. */
.hdfl-editorial-v6.woocommerce-shop .shop-page-title,.hdfl-editorial-v6.tax-product_cat .shop-page-title{display:none}
.hdfl-editorial-v6.woocommerce-shop #main,.hdfl-editorial-v6.tax-product_cat #main,.hdfl-editorial-v6.tax-product_tag #main{padding-top:0}
.hdfl-editorial-v6.woocommerce-shop .shop-container,.hdfl-editorial-v6.tax-product_cat .shop-container,.hdfl-editorial-v6.tax-product_tag .shop-container{width:min(calc(100% - (var(--hdfl-pad)*2)),var(--hdfl-shell));max-width:none;margin:0 auto;padding:46px 0 96px}
.hdfl-editorial-v6.woocommerce-shop .shop-container>.row,.hdfl-editorial-v6.tax-product_cat .shop-container>.row,.hdfl-editorial-v6.tax-product_tag .shop-container>.row{max-width:none!important}
.hdfl-editorial-v6.woocommerce-shop .shop-container>.row>.large-3,.hdfl-editorial-v6.tax-product_cat .shop-container>.row>.large-3,.hdfl-editorial-v6.tax-product_tag .shop-container>.row>.large-3{display:none!important}
.hdfl-editorial-v6.woocommerce-shop .shop-container>.row>.large-9,.hdfl-editorial-v6.tax-product_cat .shop-container>.row>.large-9,.hdfl-editorial-v6.tax-product_tag .shop-container>.row>.large-9{flex-basis:100%!important;max-width:100%!important;padding:0!important}
.hdfl-shop-header-ux{width:100%;margin:0}.hdfl-shop-header-v6{border-bottom:1px solid var(--hdfl-line)}.hdfl-shop-header-v6>.section-content>.row{max-width:none!important}
.hdfl-shop-header-copy{display:flex;align-items:center;min-height:470px}.hdfl-archive-context h1{max-width:620px;margin:0 0 24px;font-size:var(--hdfl-h1)}.hdfl-archive-context>span{display:block;margin-bottom:16px;color:var(--hdfl-muted);font-size:10px;font-weight:700;letter-spacing:.16em;text-transform:uppercase}.hdfl-archive-context>div{max-width:560px;color:var(--hdfl-muted)}
.hdfl-shop-header-media{min-height:470px;border-left:1px solid var(--hdfl-line)}.hdfl-shop-header-media .hdfl-dynamic,.hdfl-shop-header-media figure,.hdfl-shop-header-media img{width:100%;height:470px}.hdfl-shop-header-media img{object-fit:cover}
.hdfl-shop-tools-ux{margin-bottom:22px}.hdfl-shop-tools-v6{border-bottom:1px solid var(--hdfl-line)}.hdfl-shop-tools-v6 .section-content>.row{max-width:var(--hdfl-shell)}
.hdfl-shop-toolbar{display:flex;justify-content:flex-end;padding:16px 0}.hdfl-filter-toggle{display:flex;align-items:center;justify-content:space-between;gap:40px;min-width:160px;padding:12px 0;border:0;border-bottom:1px solid #111;background:transparent;color:#111;font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;cursor:pointer}
.hdfl-filter-overlay{position:fixed;z-index:9997;inset:0;background:rgba(0,0,0,.35)}.hdfl-filter-drawer{position:fixed;z-index:9998;top:0;right:0;width:min(520px,94vw);height:100vh;overflow:auto;padding:34px;background:#fff;transform:translateX(102%);transition:transform .28s ease}.hdfl-shop-toolbar.is-open .hdfl-filter-drawer{transform:none}.hdfl-filter-drawer>header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding-bottom:22px;border-bottom:1px solid var(--hdfl-line)}.hdfl-filter-drawer h2{margin:0;font-size:34px}.hdfl-filter-close{border:0;background:transparent;font-size:34px;line-height:1;cursor:pointer}.hdfl-filter-drawer__body{padding-top:20px}.hdfl-filter-open{overflow:hidden}
.hdfl-yith-filter-shell .filters-container{display:block!important}.hdfl-yith-filter-shell .yith-wcan-filter{width:100%!important;margin:0!important;padding:20px 0!important;border-bottom:1px solid var(--hdfl-line)!important}.hdfl-yith-filter-shell .filter-title{margin:0 0 12px!important;font-size:12px!important;letter-spacing:.04em;text-transform:uppercase}.hdfl-yith-filter-shell label{font-size:12px!important}.hdfl-yith-filter-shell .filter-items{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px}
.hdfl-editorial-v6.woocommerce-page .products.row{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin:0!important;border:1px solid var(--hdfl-line);background:var(--hdfl-line)}
.hdfl-editorial-v6.woocommerce-page .products.row>.product-small{width:auto!important;max-width:none!important;flex-basis:auto!important;padding:0!important;background:#fff}
.hdfl-editorial-v6.woocommerce-page .product-small .box{height:100%;background:#fff}.hdfl-editorial-v6.woocommerce-page .product-small .box-image{background:#f7f5f0}.hdfl-editorial-v6.woocommerce-page .product-small .box-image img{width:100%;aspect-ratio:1/1;object-fit:contain}.hdfl-editorial-v6.woocommerce-page .product-small .box-text{padding:18px 16px 22px}.hdfl-editorial-v6.woocommerce-page .product-small .product-title{font-size:19px}.hdfl-editorial-v6.woocommerce-page .product-small .category{font-size:9px;letter-spacing:.08em}.hdfl-editorial-v6.woocommerce-page .price-wrapper{font-size:12px}.hdfl-editorial-v6.woocommerce-page .woocommerce-result-count{font-size:11px}.hdfl-editorial-v6.woocommerce-page .woocommerce-ordering select{min-width:180px;font-size:11px}

/* Product layout */
.hdfl-product-layout-v6>.section-content>.row{max-width:none!important}.hdfl-product-hero-v6{border-bottom:1px solid var(--hdfl-line)}
.hdfl-product-gallery-col{min-height:720px;border-right:1px solid var(--hdfl-line);background:#f7f5f0}.hdfl-product-gallery-col .product-gallery,.hdfl-product-gallery-col .woocommerce-product-gallery{height:100%}.hdfl-product-gallery-col .woocommerce-product-gallery__image img{width:100%;max-height:720px;object-fit:contain}
.hdfl-product-summary-col{display:flex;align-items:center;min-height:720px}.hdfl-product-summary-col>.col-inner{width:100%;max-width:520px}.hdfl-product-summary-col .breadcrumbs{margin-bottom:24px;font-size:9px;letter-spacing:.06em;text-transform:uppercase}.hdfl-product-summary-col .product-title{max-width:520px;margin:0 0 24px;font-size:clamp(44px,4.6vw,72px)!important;line-height:1!important}.hdfl-product-summary-col .product-short-description{color:var(--hdfl-muted);font-size:14px}.hdfl-product-summary-col form.cart{margin:24px 0}.hdfl-product-summary-col .variations{font-size:11px}.hdfl-product-summary-col .variations select{min-height:43px}.hdfl-product-summary-col .product_meta{font-size:9px;letter-spacing:.04em;text-transform:uppercase}.hdfl-product-summary-col .social-icons{margin-top:20px}
.hdfl-product-intro__eyebrow{margin:0 0 8px;color:var(--hdfl-muted);font-size:9px;letter-spacing:.12em;text-transform:uppercase}.hdfl-product-intro__tagline{margin:0 0 18px;font-size:clamp(23px,2vw,31px);line-height:1.15}.hdfl-product-intro__description{color:var(--hdfl-muted)}
.hdfl-feature-rail{border-bottom:1px solid var(--hdfl-line);background:#fff}.hdfl-feature-rail__inner{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.hdfl-feature-rail article{display:grid;grid-template-columns:28px 1fr;gap:14px;padding:24px;border-right:1px solid var(--hdfl-line)}.hdfl-feature-rail article:last-child{border-right:0}.hdfl-feature-rail h3{margin:0 0 5px;font-size:17px}.hdfl-feature-rail p{margin:0;color:var(--hdfl-muted);font-size:10px}.hdfl-icon svg{width:22px;height:22px;fill:currentColor}
.hdfl-product-story-section{border-bottom:1px solid var(--hdfl-line);background:#fff}.hdfl-product-story-section--reverse{background:var(--hdfl-cream)}.hdfl-story-copy h2{margin:0 0 24px;font-size:var(--hdfl-h2)}.hdfl-story-copy .hdfl-prose{color:var(--hdfl-muted);font-size:15px}.hdfl-story-image img{width:100%;aspect-ratio:4/3;object-fit:cover}
.hdfl-product-spec-section{background:var(--hdfl-cream)}.hdfl-editorial-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:38px}.hdfl-editorial-heading h2,.hdfl-specs-v4> .hdfl-shell>header h2,.hdfl-documents-v4 h2{margin:0;font-size:var(--hdfl-h2)}
.hdfl-specs-v4__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:46px 64px;margin-top:40px}.hdfl-specs-v4__grid>article{padding-top:14px;border-top:1px solid #111}.hdfl-specs-v4__grid h3{margin:0 0 14px;font-size:23px}.hdfl-specs-v4__grid dl{margin:0}.hdfl-specs-v4__grid dl>div{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:10px 0;border-top:1px solid var(--hdfl-line)}.hdfl-specs-v4__grid dt{color:var(--hdfl-muted);font-size:10px;text-transform:uppercase}.hdfl-specs-v4__grid dd{margin:0;font-size:11px}
.hdfl-documents-v4__grid{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:start}.hdfl-download-list{margin-top:32px;border-top:1px solid #111}.hdfl-download-list>a{display:grid;grid-template-columns:28px 1fr auto;gap:14px;align-items:center;padding:17px 0;border-bottom:1px solid var(--hdfl-line)}.hdfl-download-list strong{display:block;font-size:12px}.hdfl-download-list small{color:var(--hdfl-muted);font-size:9px;text-transform:uppercase}.hdfl-documents-v4 figure img{width:100%;max-height:460px;object-fit:contain}
.hdfl-product-related-section{background:var(--hdfl-cream)}.hdfl-product-projects-section{background:#111!important;color:#fff}.hdfl-product-projects-section h2,.hdfl-product-projects-section .hdfl-kicker{color:#fff}

/* Journal full-width builder articles */
.hdfl-journal-index h1,.hdfl-journal-single-hero h1{margin:0 0 22px;font-size:var(--hdfl-h1)}.hdfl-journal-single-media>.section-content>.row{max-width:none!important}.hdfl-journal-single-media .img,.hdfl-journal-single-media .img-inner,.hdfl-journal-single-media img{width:100%;max-height:720px;object-fit:cover}.hdfl-journal-single-body{border-bottom:1px solid var(--hdfl-line)}.hdfl-journal-single-body .hdfl-prose-col h2{margin:42px 0 18px;font-size:var(--hdfl-h3)}.hdfl-journal-single-body .hdfl-prose-col p{font-size:17px;line-height:1.8}

/* Contact/legal/CPT */
.hdfl-contact-v4{display:grid;grid-template-columns:1.15fr .85fr;gap:1px;background:var(--hdfl-line)}.hdfl-contact-v4__form,.hdfl-contact-v4>aside{padding:clamp(28px,4vw,58px);background:#fff}.hdfl-contact-v4__form{background:var(--hdfl-cream)}.hdfl-contact-v4 input,.hdfl-contact-v4 select,.hdfl-contact-v4 textarea{background:#fff!important}.hdfl-contact-v4 dl>div{display:grid;grid-template-columns:120px 1fr;gap:20px;padding:12px 0;border-top:1px solid var(--hdfl-line)}.hdfl-contact-v4 dt{font-size:10px;text-transform:uppercase}.hdfl-contact-v4 dd{margin:0;font-size:12px}.hdfl-map iframe{width:100%;min-height:260px;border:0}.hdfl-help-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin-top:1px;background:var(--hdfl-line)}.hdfl-help-grid article{padding:28px;background:#fff}.hdfl-help-grid h3{margin:18px 0 8px;font-size:21px}.hdfl-help-grid p{color:var(--hdfl-muted);font-size:12px}
.hdfl-legal-v4{display:grid;grid-template-columns:260px minmax(0,860px);gap:70px;align-items:start}.hdfl-legal-v4 aside{position:sticky;top:100px;padding:24px;background:var(--hdfl-cream)}.hdfl-legal-v4 nav{display:grid}.hdfl-legal-v4 nav a{padding:11px 0;border-top:1px solid var(--hdfl-line);font-size:11px}.hdfl-legal-v4 article section{padding:28px 0;border-top:1px solid var(--hdfl-line)}.hdfl-legal-v4 article h2{font-size:31px}
.hdfl-cpt-hero{position:relative;min-height:72vh;background:#111;color:#fff}.hdfl-cpt-hero figure,.hdfl-cpt-hero figure img{width:100%;height:72vh;object-fit:cover}.hdfl-cpt-hero figure:after{content:"";position:absolute;inset:30% 0 0;background:linear-gradient(180deg,transparent,rgba(0,0,0,.72))}.hdfl-cpt-hero>.hdfl-shell{position:absolute;z-index:2;left:50%;bottom:60px;transform:translateX(-50%)}.hdfl-cpt-hero h1{max-width:900px;margin:0 0 14px;color:#fff;font-size:var(--hdfl-h1)}.hdfl-project-story,.hdfl-space-story{display:grid;grid-template-columns:1.2fr .8fr;gap:64px}.hdfl-gallery-v4__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--hdfl-line)}.hdfl-gallery-v4__grid img{width:100%;height:100%;min-height:390px;object-fit:cover}.hdfl-prose{font-size:16px;line-height:1.8}
.hdfl-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.hdfl-form-grid__wide{grid-column:1/-1}

@media(max-width:1199px){
  .hdfl-editorial-products,.hdfl-content-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hdfl-editorial-v6.woocommerce-page .products.row{grid-template-columns:repeat(3,minmax(0,1fr))}
  .hdfl-feature-rail__inner,.hdfl-help-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hdfl-feature-rail article:nth-child(2n){border-right:0}
}
@media(max-width:849px){
  .hdfl-home-hero__copy,.hdfl-home-hero__media,.hdfl-product-gallery-col,.hdfl-product-summary-col,.hdfl-shop-header-copy,.hdfl-shop-header-media{min-height:auto}
  .hdfl-home-hero__media,.hdfl-shop-header-media{border-top:1px solid var(--hdfl-line);border-left:0}.hdfl-home-hero__media .img,.hdfl-home-hero__media .img-inner,.hdfl-home-hero__media img{height:60vh;min-height:430px}.hdfl-shop-header-media .hdfl-dynamic,.hdfl-shop-header-media figure,.hdfl-shop-header-media img{height:52vh;min-height:360px}
  .hdfl-dual-spotlights .col:first-child{border-right:0;border-bottom:1px solid var(--hdfl-line)}.hdfl-spotlight{min-height:620px}
  .hdfl-manifesto-media{border-right:0;border-bottom:1px solid var(--hdfl-line)}.hdfl-manifesto-media .img,.hdfl-manifesto-media .img-inner,.hdfl-manifesto-media img{height:58vh;min-height:430px}
  .hdfl-editorial-v6.woocommerce-page .products.row{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hdfl-product-gallery-col{border-right:0;border-bottom:1px solid var(--hdfl-line)}.hdfl-product-gallery-col .woocommerce-product-gallery__image img{max-height:620px}.hdfl-product-summary-col>.col-inner{max-width:none}
  .hdfl-specs-v4__grid,.hdfl-documents-v4__grid,.hdfl-contact-v4,.hdfl-legal-v4,.hdfl-project-story,.hdfl-space-story{grid-template-columns:1fr}.hdfl-legal-v4 aside{position:static}.hdfl-content-grid--3,.hdfl-content-grid--4{grid-template-columns:repeat(2,minmax(0,1fr))}.hdfl-project-card-v4,.hdfl-space-card-v4{min-height:360px}
}
@media(max-width:549px){
  :root{--hdfl-pad:18px;--hdfl-h1:clamp(38px,12vw,54px);--hdfl-h2:clamp(30px,9vw,42px)}
  .hdfl-home-hero__copy{padding-inline:22px!important}.hdfl-home-hero__media .img,.hdfl-home-hero__media .img-inner,.hdfl-home-hero__media img{height:52vh;min-height:360px}.hdfl-kinetic-band img{height:130px}.hdfl-spotlight{min-height:540px}.hdfl-spotlight__media{padding:58px 24px 126px}.hdfl-spotlight__top{inset:18px 18px auto}.hdfl-spotlight__bottom{padding:20px 18px}.hdfl-spotlight__bottom h3{font-size:28px}
  .hdfl-editorial-products,.hdfl-content-grid,.hdfl-editorial-products--2,.hdfl-editorial-products--3,.hdfl-content-grid--2,.hdfl-content-grid--3,.hdfl-content-grid--4{grid-template-columns:1fr}
  .hdfl-editorial-v6.woocommerce-shop .shop-container,.hdfl-editorial-v6.tax-product_cat .shop-container,.hdfl-editorial-v6.tax-product_tag .shop-container{width:calc(100% - 36px);padding-top:30px}.hdfl-editorial-v6.woocommerce-page .products.row{grid-template-columns:repeat(2,minmax(0,1fr))}.hdfl-editorial-v6.woocommerce-page .product-small .box-text{padding:12px 10px 16px}.hdfl-editorial-v6.woocommerce-page .product-small .product-title{font-size:15px}.hdfl-filter-drawer{padding:24px 18px}.hdfl-yith-filter-shell .filter-items{grid-template-columns:1fr}
  .hdfl-product-summary-col{padding:34px 20px!important}.hdfl-product-summary-col .product-title{font-size:44px!important}.hdfl-feature-rail__inner,.hdfl-help-grid,.hdfl-specs-v4__grid,.hdfl-gallery-v4__grid{grid-template-columns:1fr}.hdfl-feature-rail article{border-right:0;border-bottom:1px solid var(--hdfl-line)}.hdfl-specs-v4__grid dl>div{grid-template-columns:1fr;gap:3px}.hdfl-documents-v4__grid{gap:36px}
  .hdfl-contact-v4 dl>div,.hdfl-form-grid{grid-template-columns:1fr}.hdfl-form-grid__wide{grid-column:auto}.hdfl-cpt-hero,.hdfl-cpt-hero figure,.hdfl-cpt-hero figure img{min-height:560px;height:560px}
}


/* V6 legal pages — all copy remains editable in UX Builder. */
.hdfl-legal-hero{border-bottom:1px solid var(--hdfl-line);background:#fff}
.hdfl-legal-hero>.section-content>.row{max-width:none!important}
.hdfl-legal-hero .col:first-child{display:flex;align-items:center;min-height:520px}
.hdfl-legal-hero .col:last-child{border-left:1px solid var(--hdfl-line)}
.hdfl-legal-hero .col:last-child .img,.hdfl-legal-hero .col:last-child .img-inner,.hdfl-legal-hero .col:last-child img{width:100%;height:520px;object-fit:cover}
.hdfl-legal-hero h1{margin:0 0 22px;font-size:var(--hdfl-h1)}
.hdfl-legal-page>.section-content>.row{align-items:flex-start}
.hdfl-legal-nav{position:sticky;top:96px}
.hdfl-legal-nav .col-inner{padding:28px;border:1px solid var(--hdfl-line);background:#faf9f6}
.hdfl-legal-nav ol{margin:0;padding:0;list-style:none;counter-reset:legal}
.hdfl-legal-nav li{counter-increment:legal;border-top:1px solid var(--hdfl-line)}
.hdfl-legal-nav li:first-child{border-top:0}
.hdfl-legal-nav a{display:grid;grid-template-columns:28px 1fr;gap:10px;padding:14px 0;color:var(--hdfl-ink);font-size:12px}
.hdfl-legal-nav a:before{content:counter(legal,decimal-leading-zero);color:var(--hdfl-muted);font-size:9px;letter-spacing:.08em}
.hdfl-legal-copy .col-inner{max-width:920px;margin-left:auto}
.hdfl-legal-copy h2{margin:0;padding:34px 0 16px;border-top:1px solid var(--hdfl-line);font-size:clamp(26px,2.5vw,38px)}
.hdfl-legal-copy h2:first-child{padding-top:0;border-top:0}
.hdfl-legal-copy p,.hdfl-legal-copy li{font-size:15px;line-height:1.8}
.hdfl-legal-copy ul{margin-bottom:30px}

/* Defensive layout rules for long Vietnamese headings and plugin markup. */
.hdfl-editorial-v6 h1,.hdfl-editorial-v6 h2,.hdfl-editorial-v6 h3{max-width:100%;white-space:normal!important;overflow-wrap:break-word!important;word-break:normal!important;hyphens:none!important}
.hdfl-editorial-v6 .row,.hdfl-editorial-v6 .products,.hdfl-editorial-v6 .woocommerce{max-width:100%}
.hdfl-editorial-v6 .yith-wcan-filters,.hdfl-editorial-v6 .yith-wcan-filter{min-width:0;max-width:100%}

@media(max-width:849px){
  .hdfl-legal-hero .col:first-child{min-height:auto}.hdfl-legal-hero .col:last-child{border-left:0;border-top:1px solid var(--hdfl-line)}
  .hdfl-legal-hero .col:last-child .img,.hdfl-legal-hero .col:last-child .img-inner,.hdfl-legal-hero .col:last-child img{height:46vh;min-height:340px}
  .hdfl-legal-nav{position:static;margin-bottom:30px}.hdfl-legal-copy .col-inner{max-width:none}
}


/* V6.0.4 — Unicode-safe system typography and product-layout refinements. */
html{
  font-family:var(--hdfl-font-sans);
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}
body.hdfl-editorial-v6,
body.hdfl-editorial-v6 button,
body.hdfl-editorial-v6 input,
body.hdfl-editorial-v6 select,
body.hdfl-editorial-v6 textarea,
body.hdfl-editorial-v6 table,
body.hdfl-editorial-v6 .nav,
body.hdfl-editorial-v6 .breadcrumbs,
body.hdfl-editorial-v6 .woocommerce,
body.hdfl-editorial-v6 .yith-wcan-filters,
body.hdfl-editorial-v6 .yith-wcwl-add-to-wishlist{
  font-family:var(--hdfl-font-sans)!important;
  font-synthesis:none;
}
body.hdfl-editorial-v6 h1,
body.hdfl-editorial-v6 h2,
body.hdfl-editorial-v6 h3,
body.hdfl-editorial-v6 h4,
body.hdfl-editorial-v6 h5,
body.hdfl-editorial-v6 h6,
body.hdfl-editorial-v6 .product-title,
body.hdfl-editorial-v6 .section-title,
body.hdfl-editorial-v6 .banner h1,
body.hdfl-editorial-v6 .banner h2{
  font-family:var(--hdfl-font-display)!important;
  font-weight:500;
  font-style:normal;
  font-synthesis:none;
  letter-spacing:-.025em;
  line-height:1.1;
  word-spacing:normal;
  word-break:normal!important;
  overflow-wrap:break-word!important;
  hyphens:none!important;
}
body.hdfl-editorial-v6 p,
body.hdfl-editorial-v6 li,
body.hdfl-editorial-v6 dd,
body.hdfl-editorial-v6 dt,
body.hdfl-editorial-v6 label,
body.hdfl-editorial-v6 small,
body.hdfl-editorial-v6 span{
  word-break:normal;
  overflow-wrap:break-word;
  hyphens:none;
}
.hdfl-product-gallery-col,
.hdfl-product-summary-col{min-height:640px}
.hdfl-product-gallery-col .woocommerce-product-gallery__image img{max-height:640px}
.hdfl-product-summary-col>.col-inner{max-width:500px}
.hdfl-product-summary-col .product-title{
  font-size:clamp(42px,4vw,64px)!important;
  line-height:.98!important;
  letter-spacing:-.04em!important;
  text-wrap:balance;
}
.hdfl-product-summary-col .product-short-description,
.hdfl-product-lead{font-size:15px;line-height:1.7}
.hdfl-product-summary-col .variations th,
.hdfl-product-summary-col .variations td,
.hdfl-product-summary-col .product_meta{font-size:11px;line-height:1.5}
.hdfl-feature-rail article{grid-template-columns:30px minmax(0,1fr);padding:26px 24px}
.hdfl-feature-rail h3{font-size:16px;line-height:1.25;letter-spacing:-.015em}
.hdfl-feature-rail p{font-size:11px;line-height:1.55}
.hdfl-story-copy{width:100%;max-width:620px}
.hdfl-story-copy h2{
  max-width:17ch;
  font-size:clamp(34px,3.4vw,52px);
  line-height:1.08;
  letter-spacing:-.035em;
  text-wrap:pretty;
}
.hdfl-story-copy .hdfl-prose{max-width:58ch;font-size:15px;line-height:1.75}
.hdfl-specs-v4__grid h3{font-size:20px;line-height:1.25}
.hdfl-specs-v4__grid dt{font-size:11px;line-height:1.45}
.hdfl-specs-v4__grid dd{font-size:12px;line-height:1.45}
.hdfl-download-list strong{font-size:13px}
.hdfl-download-list small{font-size:10px}
.hdfl-product-card-v4__body h3,
.hdfl-project-card-v4 h3,
.hdfl-space-card-v4 h3,
.hdfl-journal-card-v4 h3{line-height:1.2;letter-spacing:-.02em}
.hdfl-footer-v6,
.hdfl-footer-v6 h1,
.hdfl-footer-v6 h2,
.hdfl-footer-v6 h3,
.hdfl-footer-v6 h4{font-family:var(--hdfl-font-sans)!important}

@media(max-width:849px){
  .hdfl-product-gallery-col,.hdfl-product-summary-col{min-height:auto}
  .hdfl-product-summary-col .product-title{font-size:clamp(42px,9vw,58px)!important}
  .hdfl-story-copy{max-width:none}
  .hdfl-story-copy h2{max-width:22ch}
}
@media(max-width:549px){
  .hdfl-product-summary-col .product-title{font-size:clamp(38px,13vw,50px)!important}
  .hdfl-story-copy h2{font-size:clamp(30px,9.2vw,42px);max-width:none}
}

/* Native Flatsome Portfolio — used for Công trình without a duplicate CPT. */
.hdfl-native-portfolio-grid.portfolio-element-wrapper{
  width:100%;
}
.hdfl-native-portfolio-grid .filter-nav{
  justify-content:flex-start;
  gap:24px;
  margin:0 0 34px;
  border-bottom:1px solid var(--hdfl-line);
}
.hdfl-native-portfolio-grid .filter-nav li{
  margin:0;
}
.hdfl-native-portfolio-grid .filter-nav a{
  padding:0 0 13px;
  color:var(--hdfl-muted);
  font-size:10px;
  font-weight:700;
  letter-spacing:.08em;
}
.hdfl-native-portfolio-grid .filter-nav .active a{
  color:var(--hdfl-ink);
}
.hdfl-native-portfolio-grid .row{
  margin:0!important;
  border-top:1px solid var(--hdfl-line);
  border-left:1px solid var(--hdfl-line);
}
.hdfl-native-portfolio-grid .row>.col{
  padding:0!important;
  border-right:1px solid var(--hdfl-line);
  border-bottom:1px solid var(--hdfl-line);
}
.hdfl-native-portfolio-grid .portfolio-box{
  background:#111;
}
.hdfl-native-portfolio-grid .portfolio-box .box-image,
.hdfl-native-portfolio-grid .portfolio-box .image-cover{
  background:#ddd8cf;
}
.hdfl-native-portfolio-grid .portfolio-box .box-image img{
  transition:transform .5s ease;
}
.hdfl-native-portfolio-grid .portfolio-box:hover .box-image img{
  transform:scale(1.025);
}
.hdfl-native-portfolio-grid .portfolio-box .shade{
  background:linear-gradient(180deg,transparent 40%,rgba(0,0,0,.82));
}
.hdfl-native-portfolio-grid .portfolio-box .box-text{
  padding:22px!important;
}
.hdfl-native-portfolio-grid .portfolio-box-title{
  margin:0;
  color:#fff;
  font-size:clamp(22px,2vw,30px);
  font-weight:500;
  letter-spacing:-.025em;
  text-transform:none!important;
}
.hdfl-native-portfolio-grid .portfolio-box-category{
  margin-top:8px;
  color:rgba(255,255,255,.72)!important;
  font-size:9px!important;
  letter-spacing:.08em;
}
.hdfl-portfolio-native .gallery{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1px;
  margin:0;
  background:var(--hdfl-line);
}
.hdfl-portfolio-native .gallery-item{
  width:auto!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}
.hdfl-portfolio-native .gallery-item img{
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  border:0!important;
}

@media(max-width:849px){
  .hdfl-native-portfolio-grid .filter-nav{
    flex-wrap:nowrap;
    overflow-x:auto;
    justify-content:flex-start;
    padding-bottom:2px;
  }
  .hdfl-native-portfolio-grid .filter-nav li{flex:0 0 auto}
  .hdfl-portfolio-native .gallery{grid-template-columns:1fr}
}

/* ==========================================================
   V6.0.4 Product Detail Stability Patch
   Uses a deterministic WooCommerce-data gallery instead of a
   slider-dependent gallery in the first viewport.
   ========================================================== */
.hdfl-product-layout-v604-fix{
  overflow:hidden;
  background:#fff;
}
.hdfl-product-layout-v604-fix .section-content{
  max-width:none!important;
}
.hdfl-native-product-hero{
  display:grid;
  grid-template-columns:minmax(0,1.55fr) minmax(390px,.78fr);
  min-height:760px;
  border-bottom:1px solid var(--hdfl-line);
  background:#fff;
}
.hdfl-native-product-gallery{
  display:grid;
  grid-template-columns:88px minmax(0,1fr);
  gap:28px;
  align-items:center;
  min-width:0;
  padding:56px clamp(28px,4vw,72px);
  border-right:1px solid var(--hdfl-line);
  background:#f7f5f0;
}
.hdfl-native-product-gallery__thumbs{
  display:flex;
  flex-direction:column;
  gap:10px;
  align-self:center;
  max-height:620px;
  overflow:auto;
  padding:2px;
  scrollbar-width:thin;
}
.hdfl-native-product-gallery__thumb{
  width:76px;
  height:76px;
  margin:0;
  padding:0;
  overflow:hidden;
  border:1px solid transparent;
  border-radius:0;
  background:#fff;
  box-shadow:none;
  opacity:.62;
  transition:border-color .2s ease,opacity .2s ease,transform .2s ease;
}
.hdfl-native-product-gallery__thumb:hover,
.hdfl-native-product-gallery__thumb.is-active{
  border-color:var(--hdfl-ink);
  opacity:1;
  transform:none;
}
.hdfl-native-product-gallery__thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.hdfl-native-product-gallery__stage{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-width:0;
  min-height:620px;
  margin:0;
  overflow:hidden;
  background:#f7f5f0;
}
.hdfl-native-product-gallery__stage>img{
  width:100%;
  height:620px;
  object-fit:contain;
  object-position:center;
  transition:opacity .18s ease;
}
.hdfl-native-product-gallery__stage.is-loading>img{opacity:.25}
.hdfl-native-product-gallery__count{
  position:absolute;
  right:18px;
  bottom:16px;
  min-width:54px;
  padding:7px 10px;
  background:rgba(255,255,255,.84);
  color:var(--hdfl-muted);
  font-size:10px;
  letter-spacing:.08em;
  text-align:center;
  backdrop-filter:blur(8px);
}
.hdfl-native-product-summary{
  display:flex;
  align-items:center;
  min-width:0;
  padding:64px clamp(28px,4vw,70px);
  background:#fff;
}
.hdfl-native-product-summary__inner{
  width:100%;
  max-width:520px;
  margin:0 auto;
}
.hdfl-native-product-summary__breadcrumbs{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 28px;
  color:var(--hdfl-muted);
  font-size:9px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.hdfl-native-product-summary h1{
  max-width:12ch;
  margin:0 0 18px;
  font-size:clamp(48px,4.7vw,78px);
  line-height:.94;
  letter-spacing:-.055em;
}
.hdfl-native-product-summary__rating{
  min-height:22px;
  margin:0 0 18px;
}
.hdfl-native-product-summary__rating .woocommerce-product-rating{
  display:flex;
  align-items:center;
  gap:12px;
  margin:0;
}
.hdfl-native-product-summary__lead{
  max-width:48ch;
  margin:0 0 28px;
  color:var(--hdfl-muted);
  font-size:15px;
  line-height:1.72;
}
.hdfl-native-product-summary__highlights{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1px;
  margin:0 0 28px;
  border:1px solid var(--hdfl-line);
  background:var(--hdfl-line);
}
.hdfl-native-product-summary__highlights>div{
  min-width:0;
  padding:14px 15px;
  background:#fff;
}
.hdfl-native-product-summary__highlights small,
.hdfl-native-product-summary__highlights strong{
  display:block;
}
.hdfl-native-product-summary__highlights small{
  margin-bottom:4px;
  color:var(--hdfl-muted);
  font-size:9px;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.hdfl-native-product-summary__highlights strong{
  font-size:12px;
  line-height:1.4;
}
.hdfl-native-product-summary__option{
  margin:20px 0;
}
.hdfl-native-product-summary__option>span{
  display:block;
  margin-bottom:10px;
  color:var(--hdfl-muted);
  font-size:10px;
  font-weight:700;
  letter-spacing:.07em;
  text-transform:uppercase;
}
.hdfl-native-product-swatches,
.hdfl-native-product-labels{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
}
.hdfl-native-product-swatch{
  display:inline-flex;
  width:28px;
  height:28px;
  border:4px solid #fff;
  border-radius:50%;
  background:var(--hdfl-swatch,#d8d4cc);
  box-shadow:0 0 0 1px var(--hdfl-line);
}
.hdfl-native-product-labels span{
  padding:9px 12px;
  border:1px solid var(--hdfl-line);
  background:#fff;
  font-size:11px;
}
.hdfl-native-product-summary__commerce{
  margin-top:30px;
  padding-top:26px;
  border-top:1px solid var(--hdfl-line);
}
.hdfl-native-product-summary__price .price{
  display:block;
  margin:0 0 18px;
  font-size:26px;
  font-weight:700;
}
.hdfl-native-product-summary__cart form.cart,
.hdfl-native-product-summary__cart .cart{
  margin:0 0 14px;
}
.hdfl-native-product-summary__catalog-replacement .button,
.hdfl-native-product-summary__catalog-replacement .wpcf7-submit{
  width:100%;
}
.hdfl-native-product-summary .hdfl-product-actions-v4{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin:0;
}
.hdfl-native-product-summary .hdfl-product-actions-v4 .hdfl-button{
  display:flex;
  justify-content:space-between;
  align-items:center;
  width:100%;
  margin:0!important;
}
.hdfl-native-product-summary .hdfl-yith-wishlist{
  margin-top:16px;
}
.hdfl-native-product-summary__meta{
  display:flex;
  flex-direction:column;
  gap:5px;
  margin-top:22px;
  color:var(--hdfl-muted);
  font-size:9px;
  letter-spacing:.06em;
  text-transform:uppercase;
}
/* The new hero is self-contained; neutralize legacy custom-gallery dimensions. */
.hdfl-product-layout-v604-fix .hdfl-product-gallery-col,
.hdfl-product-layout-v604-fix .hdfl-product-summary-col{
  min-height:0!important;
}
@media(max-width:1099px){
  .hdfl-native-product-hero{
    grid-template-columns:minmax(0,1.25fr) minmax(360px,.75fr);
  }
  .hdfl-native-product-gallery{
    grid-template-columns:72px minmax(0,1fr);
    gap:20px;
    padding:42px 28px;
  }
  .hdfl-native-product-gallery__thumb{width:62px;height:62px}
  .hdfl-native-product-gallery__stage,
  .hdfl-native-product-gallery__stage>img{min-height:520px;height:520px}
  .hdfl-native-product-summary{padding:50px 32px}
}
@media(max-width:849px){
  .hdfl-native-product-hero{display:block;min-height:0}
  .hdfl-native-product-gallery{
    grid-template-columns:1fr;
    padding:20px 18px 28px;
    border-right:0;
    border-bottom:1px solid var(--hdfl-line);
  }
  .hdfl-native-product-gallery__thumbs{
    order:2;
    flex-direction:row;
    max-width:100%;
    max-height:none;
    overflow-x:auto;
    padding-bottom:4px;
  }
  .hdfl-native-product-gallery__thumb{flex:0 0 64px;width:64px;height:64px}
  .hdfl-native-product-gallery__stage,
  .hdfl-native-product-gallery__stage>img{min-height:0;height:min(76vw,560px)}
  .hdfl-native-product-summary{padding:44px 22px 56px}
  .hdfl-native-product-summary__inner{max-width:none}
  .hdfl-native-product-summary h1{max-width:15ch;font-size:clamp(43px,11vw,62px)}
}
@media(max-width:549px){
  .hdfl-native-product-summary__highlights{grid-template-columns:1fr 1fr}
  .hdfl-native-product-summary .hdfl-product-actions-v4{grid-template-columns:1fr}
  .hdfl-native-product-summary h1{font-size:clamp(40px,12vw,54px)}
}

/* ================================================================
   Product feature rail compatibility hotfix — 6.0.4-r2
   The shortcode introduced `-v4` class names while the original visual
   rules targeted the stable class names. Keep both names supported so
   existing UX Blocks and cached content render identically.
   ================================================================ */
.hdfl-product-features-element{
  width:100%;
  margin:0;
  padding:0;
}
.hdfl-feature-rail-v4{
  width:100%;
  overflow:hidden;
  border-top:1px solid var(--hdfl-line);
  border-bottom:1px solid var(--hdfl-line);
  background:#fff;
}
.hdfl-feature-rail-v4__inner{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  width:min(100%,var(--hdfl-shell));
  margin-inline:auto;
}
.hdfl-feature-rail-v4 article{
  display:grid;
  grid-template-columns:30px minmax(0,1fr);
  align-items:center;
  gap:14px;
  min-width:0;
  margin:0;
  padding:24px clamp(18px,2.2vw,32px);
  border-right:1px solid var(--hdfl-line);
  background:#fff;
}
.hdfl-feature-rail-v4 article:last-child{border-right:0}
.hdfl-feature-rail-v4 .hdfl-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:26px;
  height:26px;
  color:var(--hdfl-ink);
}
.hdfl-feature-rail-v4 .hdfl-icon svg{
  display:block;
  width:23px;
  height:23px;
}
.hdfl-feature-rail-v4 article>div{min-width:0}
.hdfl-feature-rail-v4 strong,
.hdfl-feature-rail-v4 small{
  display:block;
  margin:0;
  overflow-wrap:normal;
  word-break:normal;
}
.hdfl-feature-rail-v4 strong{
  color:var(--hdfl-ink);
  font-size:13px;
  font-weight:650;
  line-height:1.35;
}
.hdfl-feature-rail-v4 small{
  margin-top:4px;
  color:var(--hdfl-muted);
  font-size:11px;
  line-height:1.45;
}
@media(max-width:849px){
  .hdfl-feature-rail-v4__inner{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hdfl-feature-rail-v4 article:nth-child(2n){border-right:0}
  .hdfl-feature-rail-v4 article:nth-child(-n+2){border-bottom:1px solid var(--hdfl-line)}
}
@media(max-width:549px){
  .hdfl-feature-rail-v4__inner{grid-template-columns:1fr}
  .hdfl-feature-rail-v4 article{
    border-right:0;
    border-bottom:1px solid var(--hdfl-line);
    padding:18px 20px;
  }
  .hdfl-feature-rail-v4 article:nth-child(-n+2){border-bottom:1px solid var(--hdfl-line)}
  .hdfl-feature-rail-v4 article:last-child{border-bottom:0}
}

/* 6.1.0 responsive embeds: reserve aspect ratio to prevent layout shift. */
.hdfl-responsive-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f2f0eb;
}

.hdfl-responsive-embed iframe,
.hdfl-responsive-embed video,
.hdfl-responsive-embed object,
.hdfl-responsive-embed embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
