/* Vihann's home follows the Bloom section rhythm; catalog and product pages stay independent. */
#home-view { --home-blue:#009de1; --home-ink:#011016; --home-sky:#f2f8fb; --home-pink:#fbedf7; }
#home-view .wrap { max-width:none; width:100%; padding-inline:max(48px,calc((100% - 1600px)/2)); }
#home-view > .collection,
#home-view > .featured-section,
#home-view > .care-section,
#home-view > .promotion-section { padding-block:56px; }
#home-view .section-heading { display:block; margin-bottom:32px; text-align:center; }
#home-view .section-heading h2 { text-align:center; font-size:clamp(26px,2.6vw,36px); line-height:1.2; letter-spacing:-1px; }
#home-view .section-heading h2 span { color:var(--home-blue); }
#home-view .categories-section { --category-size:clamp(156px,16vw,218px); --category-bleed:0px; background:#fafafa; padding-block:40px 18px; }
#home-view .category-carousel { width:100%; }
#home-view .category-circle { border:3px solid #61c2e4; }
#home-view .category-circles { gap:22px; }
#home-view .category-circles strong { font-size:16px; min-height:44px; padding-inline:0; }
#home-view .category-video-toolbar { margin-top:0; display:flex; justify-content:flex-end; }
#home-view .category-video-toggle { font-size:11px; padding:7px 12px; }
#home-view .category-carousel .rail-arrow { width:40px; height:40px; font-size:25px; }
#selecao .shelf-toolbar { justify-content:center; margin-bottom:40px; }
#selecao .shelf-toolbar .tabs { justify-content:center; gap:8px; }
#selecao .tabs button { font-size:13px; padding:10px 18px; }
#home-view .rail-arrow { background:#fff; border:1px solid #e5e7e9; color:#62676a; }
#home-view .product-rail,
#home-view .responsive-rail { --photo-gap:clamp(16px,1.25vw,24px); display:grid; grid-template-columns:none; grid-auto-flow:column; grid-auto-columns:calc((100% - 3 * var(--photo-gap))/4); gap:var(--photo-gap); overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; }
#home-view .responsive-rail { grid-auto-columns:calc((100% - 36px)/4); }
#home-view #kit-products { width:100%; max-width:none; margin:0; }
#home-view .product-card { scroll-snap-align:start; min-width:0; }
#home-view .product-card .product-visual { aspect-ratio:1; }
/* Match the reference's breathing room around the bottle, without cropping labels. */
#home-view .product-card .product-photo > img,
#home-view .product-card .card-gallery-slide > img { box-sizing:border-box; padding:8%; object-fit:contain; }
#home-view .product-card .product-info { min-height:296px; padding:20px 0 0; }
#home-view .product-card .product-name { font-size:17px; line-height:1.3; min-height:3.9em; width:calc(100% - 28px); }
#home-view .product-card .product-description { width:calc(100% - 28px); font-size:11px; line-height:1.45; min-height:4.35em; height:4.35em; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; margin:12px 0 16px; }
#home-view .product-card .product-price { font-size:17px; font-weight:600; }
#home-view .product-card .price-detail { min-height:2.8em; line-height:1.4; margin:8px 16px 22px; }
#home-view .product-card .add-button { width:94%; min-height:46px; font-size:14px; }
#home-view .product-card .product-badge { top:16px; left:14px; padding:9px 13px; }
#home-view .product-card .favorite { top:16px; right:12px; }
#home-view .section-more { margin-top:28px; }
#home-view .section-more .button { min-height:36px; padding:7px 28px; font-size:13px; border:1px solid var(--home-ink); border-radius:30px; }
#home-view .bento-grid { grid-template-columns:1fr 1.2fr 1fr; gap:16px; }
#home-view .bento-side { gap:16px; }
#home-view .bento-promo,
#home-view .mini-product-list,
#home-view .featured-product { border-radius:18px; }
#home-view .bento-promo { background:#e7f5fc; min-height:270px; }
#home-view .bento-promo.dark { background:var(--home-blue); }
#home-view .bento-promo.dark > .real-photo { mix-blend-mode:multiply; }
#home-view .mini-product-list { background:var(--home-pink); }
#home-view .featured-product { background:var(--home-sky); padding:28px; }
#home-view .featured-slide { width:100%; }
#home-view .featured-product .feature-image { height:300px; background:#fff; }
#home-view .featured-product h3 { font-size:20px; line-height:1.35; }
#home-view .featured-product p { max-width:300px; margin:12px auto; line-height:1.5; }
#home-view .editorial-band { background:#fafafa; padding-block:42px; }
#home-view .editorial-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; max-width:1040px; margin-inline:auto; }
#home-view .editorial-card { border-radius:18px; }
#home-view .care-grid { gap:18px; }
#home-view .care-card { height:390px; border-radius:18px; }
#home-view .care-card h3 { font-size:23px; line-height:1.2; }
#home-view .care-card p { font-size:12px; line-height:1.5; }
#home-view .care-card > img { object-fit:cover; }
#home-view .promotion-mosaic { gap:16px; }
#home-view .mosaic-card { border-radius:18px; }
#home-view .mosaic-card:nth-child(2)>img { object-fit:contain; object-position:center 15%; background:#fff; }
@media (min-width:761px) and (max-width:1100px) {
 #home-view .wrap { padding-inline:28px; }
 #home-view .product-rail,#home-view .responsive-rail { grid-auto-columns:calc((100% - 32px)/3); }
 #home-view .bento-grid { grid-template-columns:1fr 1.2fr 1fr; }
 #home-view .featured-product { padding:16px; }
 #home-view .care-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:760px) {
 #home-view .wrap { padding-inline:20px; }
 #home-view > .collection,#home-view > .featured-section,#home-view > .care-section,#home-view > .promotion-section { padding-block:34px; }
 #home-view .section-heading { margin-bottom:24px; }
 #home-view .categories-section { --category-size:130px; padding-block:24px 12px; }
 #home-view .category-circles { gap:16px; }
 #home-view .category-circles strong { font-size:12px; }
 #selecao .shelf-toolbar { display:block; margin-bottom:22px; }
 #selecao .shelf-toolbar .tabs { justify-content:flex-start; }
 #selecao .shelf-nav { margin-top:8px; }
 #home-view .product-rail,#home-view .responsive-rail { grid-auto-columns:calc((100% - 12px)/2); gap:12px; }
 #home-view #home-products { grid-auto-columns:36vw; }
 #home-view .responsive-rail { grid-auto-columns:calc((100vw - 52px)/2); }
 #home-view .product-card .product-name { font-size:13px; min-height:3.9em; width:calc(100% - 16px); }
 #home-view .product-card .product-info { min-height:280px; padding-top:16px; }
 #home-view .product-card .product-description { font-size:10px; min-height:4.5em; width:calc(100% - 18px); }
 #home-view .product-card .product-price { font-size:14px; }
 #home-view .product-card .price-detail { font-size:9px; margin-inline:10px; }
 #home-view .product-card .add-button { font-size:12px; padding-inline:10px; }
 #home-view .product-card .product-badge { top:8px; left:6px; font-size:10px; padding:6px 9px; }
 #home-view .product-card .favorite { top:7px; right:5px; width:28px; }
 #home-view .bento-grid { grid-template-columns:1fr; }
 #home-view .featured-product { grid-row:1; }
 #home-view .bento-side { display:flex; flex-direction:column; gap:12px; }
 #home-view .bento-promo { min-height:230px; padding:24px; }
 #home-view .bento-promo > div:first-child { width:62%; }
 #home-view .bento-promo h3 { font-size:25px; }
 #home-view .bento-promo > .real-photo { width:35%; }
 #home-view .mini-product-list { padding:12px 18px; }
 #home-view .mini-product { min-height:118px; align-items:center; padding:12px 44px 12px 0; gap:14px; }
 #home-view .mini-image { width:64px; height:78px; flex-basis:64px; }
 #home-view .mini-product h3 { font-size:13px; line-height:1.35; }
 #home-view .mini-product strong { font-size:14px; }
 #home-view .mini-add { right:0; bottom:20px; }
 #home-view .mini-note { display:none; }
 #home-view .editorial-band { padding-block:28px; }
 #home-view .editorial-grid { display:flex; gap:14px; overflow-x:auto; scroll-snap-type:x mandatory; }
 #home-view .editorial-card { flex:0 0 74%; scroll-snap-align:start; }
 #home-view .care-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
 #home-view .care-card { height:280px; }
 #home-view .care-card h3 { font-size:19px; }
 #home-view .care-card p { font-size:11px; }
 #home-view .mosaic-card h3 { font-size:18px; }
 #home-view .mosaic-main h3 { font-size:28px; }
}
