/* Trang chủ: một hệ thống bố cục, chữ và khoảng cách; không áp dụng trang con. */
body.home{--qn-gap:24px;--qn-space:54px;--qn-title:clamp(30px,2.65vw,38px);--qn-sticky-offset:154px}
body.home .container{max-width:1600px;width:calc(100% - 64px)}
body.home .section{padding-block:var(--qn-space)}
body.home .section-head{gap:24px;align-items:end;margin-bottom:26px}
body.home .section-head h2,body.home .local-intro h2{font-size:var(--qn-title);line-height:1.3;max-width:none}
body.home .section-head p,body.home .local-intro p{font-size:14px;line-height:1.85;max-width:750px}
body.home .eyebrow{font-size:10px;letter-spacing:.12em;line-height:1.8}
body.home .text-link{font-size:13px;min-height:44px;line-height:1.7}
body.home .actions{gap:12px}
body.home .btn{min-height:46px}
body.home :is(a,button,input,summary):focus-visible{outline:3px solid #bd8649;outline-offset:4px}
body.home .header-main{height:94px;gap:28px}
body.home .header .brand-system{min-width:0}
body.home .header .brand-logo{width:248px}
body.home .header .searchbox form{height:46px}
body.home .header .searchbox button{width:48px}
body.home .header .icon-btn{width:44px;height:44px}
body.home .header-icons{gap:10px}
body.home .header-action{min-width:44px}
body.home .header-hotline{min-height:44px;justify-content:center}
body.home .nav-inner{gap:28px}
body.home .nav-inner>a,body.home .mega-toggle{font-size:14px}
body.home .mega-panel{max-height:calc(100dvh - var(--qn-sticky-offset) - 20px);overflow:auto}
body.home .mega-panel a{min-height:40px;display:flex;align-items:center}
body.home .service-inner{padding-block:12px}
body.home .service-item{min-height:36px}
/* Hero: giữ ảnh và nhận diện đã chọn, tách ảnh khỏi nội dung trên điện thoại. */
body.home .hero,body.home .hero-inner{min-height:530px}
body.home .hero-photo{left:0;width:100%;height:100%;object-position:center}
body.home .hero:after{background:linear-gradient(90deg,#fff5e9 0%,rgba(255,245,233,.96) 28%,rgba(255,245,233,.72) 42%,rgba(255,245,233,.12) 55%,transparent 64%)}
body.home .hero-inner{display:flex;align-items:center;padding-block:42px}
body.home .hero-copy{width:650px;max-width:49%}
body.home .hero h1{font-size:clamp(43px,3.75vw,59px);line-height:1.2;max-width:none;margin-bottom:20px}
body.home .hero h1 .hero-region{font-size:clamp(30px,2.64vw,41px);line-height:1.3;margin-top:9px}
body.home .hero-copy>p{font-size:15px;line-height:1.85;max-width:540px;margin-bottom:24px}
body.home .hero .eyebrow{letter-spacing:.12em}
body.home .hero-contact{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:12px;line-height:1.8;margin-top:17px}
body.home .hero-zalo{font-weight:500;text-decoration:underline;text-underline-offset:3px;min-height:24px}
body.home .hero-signature{font-size:22px;margin-top:20px}
/* Danh mục: ảnh cùng tỷ lệ, nhãn có đủ khoảng thở. */
body.home .categories-section{padding-block:34px}
body.home .categories-section .section-head{margin-bottom:21px}
body.home .categories-section .section-head h2{font-size:30px}
body.home .home-categories-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
body.home .category-tile{display:block;border-radius:10px;transform:none;transition:box-shadow .2s,border-color .2s}
body.home .category-tile img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;margin:0;transform:none}
body.home .category-tile .tile-copy{padding:16px 14px;gap:8px}
body.home .category-tile h3{font-size:21px;line-height:1.35;letter-spacing:-.015em}
body.home .category-tile p{display:block;font-size:11px;line-height:1.7;margin-top:5px}
body.home .category-tile:hover{border-color:#c19171;box-shadow:0 6px 20px #6324100a;transform:none}
/* Sản phẩm: ảnh đúng mẫu, không crop và không phóng ảnh nhỏ quá kích thước gốc. */
body.home #chon-gom{background:#f6eee3;border-block:1px solid var(--line)}
body.home .tabs{gap:9px;flex-wrap:wrap;overflow:visible}
body.home .chip{min-height:44px;font-size:12px;padding:10px 16px;white-space:normal}
body.home #featured-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:18px}
body.home main .product-card{border:1px solid var(--line);border-radius:10px;background:#fff;display:flex;flex-direction:column;transform:none;transition:box-shadow .2s,border-color .2s}
body.home main .product-card:hover{transform:none;border-color:#c19171;box-shadow:0 7px 20px #6324100a}
body.home main .product-image{aspect-ratio:1;background:#f1e9df}
body.home main .product-image>a{width:100%;height:100%;display:flex;align-items:center;justify-content:center}
body.home main .product-image img{width:100%;height:100%;aspect-ratio:auto;object-fit:contain;transform:none}
body.home main .product-image img.qn-small-product-image{width:auto;height:auto;max-width:min(100%,var(--qn-natural-width));max-height:min(100%,var(--qn-natural-height))}
body.home main .product-content{padding:22px;flex:1;display:flex;flex-direction:column}
body.home main .product-category{font-size:10px;line-height:1.7;letter-spacing:.055em;margin-bottom:0}
body.home main .product-card h3{font-size:24px;line-height:1.4;min-height:68px;margin:9px 0 12px}
body.home main .product-meta{font-size:11px;line-height:1.8;margin:0 0 15px;color:#76665b}
body.home main .product-bottom{margin-top:auto;padding-top:12px;border-top:1px solid #eee4da;gap:8px;align-items:center}
body.home main .product-bottom>a:first-child{font-size:12px;line-height:1.7;min-height:44px;display:flex;align-items:center}
body.home main .product-bottom .icon-btn{width:44px;height:44px}
body.home main .save-btn{width:44px;height:44px;top:8px;right:8px}
body.home main .badge{font-size:10px;line-height:1.6;max-width:calc(100% - 66px);left:8px;top:8px;padding:5px 7px}
body.home #featured-grid .product-content{padding:17px}
body.home #featured-grid h3{font-size:20px;min-height:84px}
body.home #featured-grid .product-bottom>a:first-child{font-size:11px}
body.home .sample-note{font-size:11px;line-height:1.8;margin-top:22px;align-items:start}
body.home .qn-home-shelf{border-bottom:1px solid #ecdfd0}
body.home .qn-shelf-dining,body.home .qn-shelf-altar{background:#faf6f0}
body.home .qn-home-shelf .section-head{margin-bottom:18px}
body.home .qn-shelf-links{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:24px}
body.home .qn-shelf-links a{display:inline-flex;align-items:center;min-height:44px;padding:9px 16px;border:1px solid #dfcbbb;border-radius:24px;font-size:12px;line-height:1.7;background:#fff;color:#62463b}
body.home .qn-shelf-links a:hover{color:#a31711;border-color:#a31711;background:#fff7ee}
body.home .qn-shelf-products{grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--qn-gap)}
/* Bối cảnh sử dụng xen giữa các nhóm mẫu. */
body.home .local-living{padding-block:var(--qn-space);background:#fffdf9}
body.home .local-intro{max-width:820px;margin-bottom:26px}
body.home .local-use-grid{gap:var(--qn-gap)}
body.home .local-use{padding:0;overflow:hidden;background:#fff;transform:none}
body.home .local-use:hover{transform:none;box-shadow:0 7px 20px #63241009}
body.home .home-life-photo{width:100%;height:auto;aspect-ratio:1.6;object-fit:cover}
body.home .home-life-copy{padding:28px;display:flex;flex-direction:column;flex:1}
body.home .local-number{font:600 11px/1.7 var(--body);letter-spacing:.15em;color:#9a7248;margin-bottom:12px}
body.home .local-use h3{font-size:28px;line-height:1.35;margin-bottom:13px}
body.home .local-use p{font-size:13px;line-height:1.85;margin-bottom:16px}
body.home .local-link{display:inline-flex;align-items:center;min-height:44px;font-size:12px;margin-top:auto}
body.home .qn-home-gifts{background:#f0e5d7}
body.home .qn-gift-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}
body.home .qn-gift-card{display:grid;grid-template-columns:.9fr 1.1fr;border:1px solid #dec8b4;border-radius:12px;overflow:hidden;background:#fffaf3}
body.home .qn-gift-photo{width:100%;height:100%;object-fit:cover;min-height:330px}
body.home .qn-gift-card>div{padding:30px;display:flex;flex-direction:column;align-items:start;justify-content:center}
body.home .qn-gift-card .eyebrow{font-size:9px}
body.home .qn-gift-card h3{font-size:30px;line-height:1.3;color:#95130f;margin-bottom:16px}
body.home .qn-gift-card p{font-size:14px;line-height:1.85;color:#71584c;margin-bottom:17px}
/* Gallery: giữ bố cục bất đối xứng để thay đổi nhịp thị giác. */
body.home .qn-gallery-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:64px;align-items:center}
body.home .qn-gallery-copy h2{font-size:clamp(33px,3vw,44px);line-height:1.3;color:#95130f;margin:12px 0 20px}
body.home .qn-gallery-copy>p{font-size:14px;line-height:1.85;max-width:480px;color:#765c4f}
body.home .qn-gallery-copy ul{list-style:none;margin:24px 0;padding:0;display:grid;gap:16px}
body.home .qn-gallery-copy li{padding-left:20px;border-left:2px solid #d1ac87;font-size:13px;line-height:1.8}
body.home .qn-gallery-copy strong,body.home .qn-gallery-copy span{display:block}
body.home .qn-gallery-copy span{color:#765c4f}
body.home .qn-gallery-photos{display:grid;grid-template-columns:1.15fr 1fr;gap:18px}
body.home .qn-gallery-photos figure{position:relative;margin:0;overflow:hidden;border-radius:10px;background:#e4d9cd}
body.home .qn-gallery-photos figure:first-child{grid-row:span 2}
body.home .qn-gallery-photo{width:100%;height:100%;object-fit:cover;min-height:200px}
body.home .qn-gallery-photos figure:first-child .qn-gallery-photo{min-height:420px}
body.home .qn-gallery-photos figcaption{position:absolute;bottom:0;left:0;right:0;padding:28px 16px 13px;color:#fff;font-size:12px;background:linear-gradient(transparent,rgba(39,23,15,.82));line-height:1.7}
body.home .kggqn-blog-preview{background:#f6efe6;border-block:1px solid var(--line)}
body.home .kggqn-blog-grid{gap:var(--qn-gap)}
body.home .kggqn-blog-card{border-radius:10px}
body.home .kggqn-blog-card-image{aspect-ratio:1.6}
body.home .kggqn-blog-card-copy{padding:26px}
body.home .kggqn-blog-card h3{font-size:28px;line-height:1.4}
body.home .kggqn-blog-card p{font-size:13px;line-height:1.85}
body.home .kggqn-blog-read{min-height:44px;display:inline-flex;align-items:center}
body.home .home-photo-note{font-size:11px;line-height:1.8;color:#76665b;margin-top:22px;max-width:780px}
body.home .home-photo-note a{color:#95130f;text-decoration:underline;text-underline-offset:3px}
/* Chuẩn bị ghé cửa hàng và thông tin liên hệ là điểm kết của hành trình. */
body.home .qn-home-before-visit{padding-bottom:30px}
body.home .qn-visit-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;margin:0;padding:0;gap:28px}
body.home .qn-visit-steps li{display:flex;gap:22px;border-top:1px solid #d9be9f;padding-top:22px}
body.home .qn-visit-steps li>span{font:500 37px/1 var(--display);color:#aa7250;flex-shrink:0}
body.home .qn-visit-steps h3{font-size:25px;line-height:1.4;margin-bottom:10px}
body.home .qn-visit-steps p{font-size:13px;line-height:1.85;color:#765c4f;margin-bottom:8px}
body.home .qn-visit-steps a{font-size:12px;color:#95130f;font-weight:600;display:inline-flex;align-items:center;min-height:44px}
body.home #ghe-cua-hang{scroll-margin-top:0}
body.home .story-banner{background:transparent;border:0;padding:0 0 20px}
body.home .story-layout{grid-template-columns:1fr 1.08fr;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fef2e4}
body.home .story-copy,body.home .visit-details{padding:42px;max-width:none}
body.home .visit-intro{background:#95130f;color:#fff3e9;align-self:stretch;display:flex;flex-direction:column;justify-content:center}
body.home .visit-intro .eyebrow{color:#f1c39d}
body.home .visit-intro h2{color:#fff3e9;font-size:40px;line-height:1.3;margin-bottom:17px}
body.home .visit-intro>p{color:#f8ddc5;font-size:14px;line-height:1.85;max-width:455px}
body.home .visit-details{border:0;background:#fef2e4;display:flex;flex-direction:column;justify-content:center}
body.home .visit-details h3{font:600 16px/1.7 var(--body);color:#95130f}
body.home .store-details{margin:21px 0 23px;gap:17px}
body.home .store-details strong{font-size:13px}
body.home .store-details span{font-size:12px;line-height:1.8;color:#6b5146}
body.home .visit-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
body.home .visit-actions .btn{font-size:12px;padding:11px 15px}
body.home .visit-zalo{font-size:12px;font-weight:600;color:#95130f;padding:11px 4px;min-height:44px}
body.home .visit-map-note{font-size:11px;line-height:1.8;margin-top:12px;color:#76665b}
body.home .faq-grid{grid-template-columns:1fr 1.6fr;gap:64px}
body.home .faq-grid h2{font-size:var(--qn-title);line-height:1.3}
body.home .faq-grid summary{font-size:14px;line-height:1.8;padding-block:20px;min-height:60px}
body.home .faq-grid details>p{font-size:14px;line-height:1.85}
body.home .pre-footer{margin-top:0;padding:28px 0}
body.home .pre-footer h3{font-size:25px;line-height:1.4}
body.home .pre-footer p{font-size:13px;line-height:1.8}
body.home .footer-grid{gap:36px}
body.home .footer h3{font-size:13px;line-height:1.8;margin-bottom:13px}
body.home .footer p{font-size:12px;color:#f1c7b7;line-height:1.9;max-width:360px}
body.home .footer a:not(.brand){font-size:12px;color:#f1c7b7;line-height:1.8;min-height:40px;padding-block:7px;margin-bottom:0}
body.home .footer .contact-actions .btn{min-height:44px;padding:10px 14px}
body.home .footer .footer-bottom{color:#efbaa8;border-color:#b64032;line-height:1.8}
body.home .preview-note{display:none}
body.home .backtop{width:44px;height:44px}
@media(min-width:1600px){body.home .hero,body.home .hero-inner{min-height:560px}body.home .hero-copy{max-width:47%}body.home .hero-copy>p{font-size:16px}}
@media(max-width:1199px){
body.home .header-main{gap:18px}body.home .header-icons{gap:8px}body.home .header .brand-logo{width:216px}body.home .nav-inner{gap:20px}body.home .nav-inner>a,body.home .mega-toggle{font-size:13px}
body.home .hero-copy{max-width:50%}body.home #featured-grid{grid-template-columns:repeat(3,minmax(0,1fr))}body.home #featured-grid h3{min-height:56px}
body.home .qn-gift-card{grid-template-columns:1fr}body.home .qn-gift-photo{min-height:0;height:230px}body.home .qn-gift-card>div{padding:27px}body.home .qn-gallery-layout{gap:36px}
body.home .qn-shelf-products{gap:18px}body.home main .product-content{padding:17px}body.home main .product-card h3{font-size:22px;min-height:92px}body.home .category-tile .tile-copy{padding:13px 11px}body.home .category-tile h3{font-size:19px}body.home .category-tile p{font-size:10px}
}
@media(max-width:980px){
body.home{--qn-gap:20px;--qn-space:42px;--qn-title:33px}
body.home .container{width:calc(100% - 40px)}body.home .header-main{height:86px;gap:12px}body.home .header-icons{gap:5px}body.home .header .brand-logo{width:216px}
body.home .hero{display:flex;flex-direction:column;min-height:0;background:#fff5e9}body.home .hero-inner{order:1;display:block;min-height:0;padding:32px 0}body.home .hero-photo{order:2;position:static;width:100%;height:auto;aspect-ratio:2.35;object-position:right center}body.home .hero:after{display:none}body.home .hero-copy{max-width:100%;width:auto}body.home .hero h1{font-size:37px}body.home .hero h1 .hero-region{font-size:27px}body.home .hero-copy>p{font-size:13px}
body.home .home-categories-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}body.home .category-tile h3{font-size:22px}body.home .category-tile p{font-size:11px}
body.home .qn-shelf-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}body.home main .product-card h3{font-size:24px;min-height:68px}
body.home .home-life-copy{padding:22px}body.home .local-use h3{font-size:24px}body.home .qn-gallery-layout{grid-template-columns:1fr;gap:30px}body.home .qn-gallery-copy>p{max-width:650px}body.home .qn-gallery-copy ul{grid-template-columns:repeat(3,1fr);gap:20px}
body.home .kggqn-blog-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}body.home .kggqn-blog-card-copy{padding:20px}body.home .kggqn-blog-card h3{font-size:23px}
body.home .qn-visit-steps{gap:20px}body.home .qn-visit-steps li{gap:13px}body.home .qn-visit-steps h3{font-size:22px}body.home .qn-visit-steps li>span{font-size:30px}
body.home .story-copy,body.home .visit-details{padding:30px}body.home .visit-intro h2{font-size:32px}body.home .faq-grid{gap:32px}body.home .footer-grid{gap:28px}
}
@media(max-width:640px){
body.home{--qn-gap:20px;--qn-space:36px;--qn-title:29px;padding-bottom:calc(76px + env(safe-area-inset-bottom))}
body.home .container{width:calc(100% - 32px)}body.home .header-main{height:82px;display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:8px}body.home .header .brand-logo{width:190px;max-width:100%}body.home .header .brand-system{min-width:0;width:100%;overflow:visible}body.home .header .mobile-menu-button{margin-left:0;width:44px;height:44px}body.home .header-icons{gap:0}body.home .header .icon-btn{width:44px;height:44px}
body.home .hero{display:flex;flex-direction:column;min-height:0;background:#fff5e9}body.home .hero-inner{order:1;display:block;min-height:0;padding:30px 0 27px}body.home .hero-photo{order:2;position:static;width:100%;height:auto;aspect-ratio:1.7;object-fit:cover;object-position:right center}body.home .hero:after{display:none}
body.home .hero-copy{width:auto;max-width:100%}body.home .hero h1{font-size:34px;line-height:1.2;margin-bottom:17px}body.home .hero h1 .hero-region{font-size:25px;max-width:none;line-height:1.35}body.home .hero-copy>p{font-size:14px;max-width:100%;line-height:1.85;margin-bottom:21px}body.home .hero .eyebrow{font-size:9px;margin-bottom:12px;letter-spacing:.08em}body.home .hero .btn{font-size:12px;padding:11px 14px;min-height:46px}body.home .hero .actions{gap:10px}body.home .hero-contact{font-size:11px;gap:7px 15px;margin-top:16px}body.home .hero .photo-caption{font-size:9px;right:12px;bottom:10px}
body.home .section-head{align-items:start;flex-wrap:wrap;gap:12px;margin-bottom:23px}body.home .section-head p,body.home .local-intro p{font-size:13px}body.home .section-head:has(.tabs)>.text-link{display:inline-flex}body.home .section-head .text-link{font-size:12px;margin-top:0}body.home .categories-section{padding-block:30px}body.home .categories-section .section-head h2{font-size:27px}
body.home .home-categories-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}body.home .category-tile img{aspect-ratio:1.5}body.home .category-tile .tile-copy{padding:14px 12px}body.home .category-tile h3{font-size:20px}body.home .category-tile p{font-size:10px}
body.home .chip{font-size:11px;padding:10px 12px}body.home #featured-grid,body.home .qn-shelf-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}body.home main .product-content,body.home #featured-grid .product-content{padding:14px 12px}body.home main .product-card h3,body.home #featured-grid h3{font-size:19px;min-height:80px;line-height:1.42;margin:8px 0 10px}body.home main .product-category{font-size:9px;letter-spacing:.025em}body.home main .product-meta{font-size:10px;line-height:1.8;margin-bottom:12px}body.home main .product-bottom{padding-top:10px;gap:4px}body.home main .product-bottom>a:first-child,body.home #featured-grid .product-bottom>a:first-child{font-size:10px;line-height:1.8}body.home main .badge{font-size:9px;left:6px;top:6px;padding:4px 5px;max-width:calc(100% - 58px)}body.home main .save-btn{right:5px;top:5px}body.home .sample-note{font-size:10px;margin-top:20px}
body.home .qn-shelf-links{gap:8px;margin-bottom:20px}body.home .qn-shelf-links a{font-size:11px;padding:9px 13px}
body.home .local-use-grid{grid-template-columns:1fr;gap:20px}body.home .home-life-photo{aspect-ratio:1.7}body.home .home-life-copy{padding:23px}body.home .local-use h3{font-size:26px}body.home .local-use p{font-size:13px}
body.home .qn-gift-grid{grid-template-columns:1fr;gap:22px}body.home .qn-gift-photo{height:auto;aspect-ratio:1.6;min-height:0}body.home .qn-gift-card>div{padding:25px}body.home .qn-gift-card h3{font-size:29px}body.home .qn-gift-card p{font-size:13px}
body.home .qn-gallery-layout{gap:26px}body.home .qn-gallery-copy h2{font-size:33px}body.home .qn-gallery-copy ul{grid-template-columns:1fr;gap:15px}body.home .qn-gallery-photos{grid-template-columns:1fr 1fr;gap:12px}body.home .qn-gallery-photos figure:first-child{grid-row:auto;grid-column:1/-1}body.home .qn-gallery-photos figure:first-child .qn-gallery-photo{min-height:0;height:250px}body.home .qn-gallery-photo{min-height:0;height:180px}body.home .qn-gallery-photos figcaption{font-size:10px;padding-inline:12px}
body.home .kggqn-blog-grid{grid-template-columns:1fr;gap:20px}body.home .kggqn-blog-card-copy{padding:23px}body.home .kggqn-blog-card h3{font-size:26px}
body.home .qn-visit-steps{grid-template-columns:1fr;gap:23px}body.home .qn-visit-steps li{gap:22px;padding-top:20px}body.home .qn-visit-steps h3{font-size:24px}body.home .qn-visit-steps li>span{font-size:35px}body.home .qn-home-before-visit{padding-bottom:28px}
body.home .story-layout{display:flex;flex-direction:column}body.home .story-copy,body.home .visit-details{padding:27px 25px}body.home .visit-intro h2{font-size:31px}body.home .visit-intro>p{font-size:13px}body.home .visit-actions .btn{font-size:11px;padding:11px 12px}body.home .visit-map-note{font-size:10px}
body.home .faq-grid{grid-template-columns:1fr;gap:20px}body.home .faq-grid summary,body.home .faq-grid details>p{font-size:13px}
body.home .pre-footer{padding:26px 0}body.home .pre-footer h3{font-size:24px}body.home .pre-footer p{font-size:12px}body.home .footer-grid{gap:28px 20px}body.home .footer p{font-size:12px}body.home .footer a:not(.brand){font-size:12px;min-height:44px;padding-block:10px}body.home .footer .footer-bottom{font-size:10px;padding-bottom:24px}
body.home .mobile-bottom{padding-bottom:calc(6px + env(safe-area-inset-bottom))}body.home .mobile-bottom a{min-height:58px;font-size:10px}body.home .mobile-bottom a[href^="tel:"]{color:#a91612;font-weight:600}body.home .backtop{bottom:calc(90px + env(safe-area-inset-bottom));right:12px}body.home .toast{bottom:calc(90px + env(safe-area-inset-bottom))}
}
@media(max-width:359px){body.home .container{width:calc(100% - 24px)}body.home .header-main{gap:6px}body.home .hero h1{font-size:30px}body.home .hero h1 .hero-region{font-size:23px}body.home .hero-copy>p{font-size:13px}body.home main .product-card h3,body.home #featured-grid h3{font-size:17px}body.home main .product-content,body.home #featured-grid .product-content{padding:12px 10px}body.home .visit-details{padding-inline:20px}}
@media(prefers-reduced-motion:reduce){body.home *{scroll-behavior:auto!important;transition:none!important}}
@media print{body.home{padding:0}body.home .container{width:100%}body.home .hero,body.home .hero-inner{min-height:0}body.home .section{padding-block:15px}}

/* Trang chủ hoàn thiện: ảnh thật và phối cảnh có nguồn; dẫn đúng nhóm hàng. */
body.home .home-categories-grid .category-tile img{aspect-ratio:1;object-fit:contain;background:#f8f1e7}
body.home .qn-collection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--qn-gap)}
body.home .qn-collection-card{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid #e7d9cb;border-radius:12px;overflow:hidden;transition:border-color .2s,box-shadow .2s}
body.home .qn-collection-card:hover{border-color:#c28e6c;box-shadow:0 8px 28px #6324100c}
body.home .qn-collection-card:focus-visible{outline:3px solid #a51913;outline-offset:4px}
body.home .qn-collection-image{aspect-ratio:1;display:grid;place-items:center;background:#f8f1e7;overflow:hidden}
body.home .qn-collection-image img{width:100%;height:100%;object-fit:contain;display:block}
body.home .qn-collection-copy{padding:24px;display:flex;flex-direction:column;flex:1;align-items:flex-start}
body.home .qn-collection-copy h3{font-family:var(--body);font-size:clamp(24px,2vw,31px);line-height:1.3;letter-spacing:-.02em;color:#7f211b;margin:0 0 12px}
body.home .qn-collection-copy p{font-size:14px;line-height:1.8;color:#6c564a;margin:0 0 20px;max-width:38ch}
body.home .qn-collection-copy>span{margin-top:auto;font-size:12px;line-height:1.7;font-weight:600;color:#94170f;display:flex;align-items:center;gap:12px;min-height:24px}
body.home .qn-gift-photo{object-fit:contain;background:#f8f1e7;padding:12px}
@media(max-width:980px){body.home .qn-collection-grid{gap:18px}body.home .qn-collection-copy{padding:20px}body.home .qn-collection-copy h3{font-size:25px}body.home .qn-collection-copy p{font-size:13px}}
@media(max-width:640px){body.home .qn-collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}body.home .qn-collection-copy{padding:16px 13px}body.home .qn-collection-copy h3{font-size:21px;margin-bottom:9px}body.home .qn-collection-copy p{font-size:12px;line-height:1.75;margin-bottom:14px}body.home .qn-collection-copy>span{font-size:11px;gap:7px}body.home .qn-collection-card:last-child{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;align-items:center}body.home .qn-collection-card:last-child .qn-collection-copy{height:100%;justify-content:center}body.home .qn-collection-card:last-child .qn-collection-copy>span{margin-top:0}body.home .qn-gift-photo{height:300px;aspect-ratio:auto}body.home .home-categories-grid .category-tile img{aspect-ratio:1}}
@media(prefers-reduced-motion:reduce){body.home .qn-collection-card{transition:none}}

/* Gomle: đồng bộ ảnh thẻ và gallery theo bộ studio kem sáng, 06/10/2026. */
body.home .home-categories-grid .category-tile img,body.home .qn-collection-image,body.home .qn-collection-image img{background:#f5f0e8}
body.home .qn-gift-photo{padding:0;aspect-ratio:1;height:auto;min-height:0;object-fit:contain;align-self:center;background:#f5f0e8}
body.home .qn-gallery-photos{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:start}
body.home .qn-gallery-photos figure,body.home .qn-gallery-photos figure:first-child{grid-row:auto;grid-column:auto;background:#f5f0e8}
body.home .qn-gallery-photo,body.home .qn-gallery-photos figure:first-child .qn-gallery-photo{aspect-ratio:1;width:100%;height:auto;min-height:0;object-fit:contain;display:block}
body.home .qn-gallery-photos figcaption{position:static;background:#fffaf4;color:#71584c;padding:12px 13px;font-size:12px;line-height:1.65;min-height:64px}
body.home .qn-gallery-hint{display:none}
@media(max-width:640px){
 body.home .qn-gift-photo{height:auto;aspect-ratio:1;min-height:0}
 body.home .qn-gallery-photos{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:76%;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;gap:13px;padding-bottom:12px;align-items:stretch}
 body.home .qn-gallery-photos figure{scroll-snap-align:start;display:flex;flex-direction:column}
 body.home .qn-gallery-photos figcaption{min-height:0;flex:1;font-size:12px}
 body.home .qn-gallery-hint{display:block;font-size:11px;color:#765c4f;margin-top:8px}
}
