/* Focus belongs to the individual product card, not its carousel. */
body.cms-index-index main .overflow-x-hidden[class~="focus-within:ring-1"][class~="ring-blue-500/50"]:focus-within {
    box-shadow: none;
}

/* Nov 5: whole product columns, with the gap included in each slide's width.
   Keep margin at zero: the legacy mr-5 otherwise adds a partial fifth card. */
body.cms-index-index .hyva-category .homie-latest-slider { --homie-product-cols: 1; }
body.cms-index-index .hyva-category .homie-latest-slider .js_slides {
    min-width: 0; max-width: 100%; gap: 0 !important; scroll-snap-type: x mandatory;
}
body.cms-index-index .hyva-category .homie-latest-slider .js_slides > :is(.js_slide,.js_dummy_slide) {
    box-sizing: border-box;
    flex: 0 0 calc(100% / var(--homie-product-cols)) !important;
    width: calc(100% / var(--homie-product-cols)) !important;
    min-width: calc(100% / var(--homie-product-cols)) !important;
    max-width: calc(100% / var(--homie-product-cols)) !important;
    margin-inline: 0 !important; padding-inline: 12px !important;
    scroll-snap-align: start;
}
body.cms-index-index .hyva-category .homie-card-gallery,
body.cms-index-index .hyva-category .homie-card-gallery:is(:hover,:focus-within) {
    width: 100% !important; max-width: 100%; min-width: 0;
    transform: none !important; scale: none !important;
    position: relative !important; inset: auto !important;
    transition: none !important; box-shadow: none !important;
}
body.cms-index-index .hyva-category .js_slide,
body.cms-index-index .hyva-category .js_slide:is(:hover,:focus-within),
body.cms-index-index .hyva-category .homie-card-gallery img {
    transform: none !important; scale: none !important;
}
body.cms-index-index .hyva-category .homie-card-name {
    white-space: normal !important; overflow: visible !important;
    text-overflow: clip; overflow-wrap: break-word; line-height: 1.5;
    min-height: 3em; font-size: 17px; font-weight: 600;
}
body.cms-index-index .hyva-category .homie-card-gallery :is(.homie-card-prev,.homie-card-next) {
    opacity: 1 !important; direction: ltr;
}
body.cms-index-index :is(.hyva-category,.hyva_multi_field) .title-font,
body.cms-index-index .homie-blog-carousel h2,
body.cms-index-index .homie-inspiration > h2 {
    font-size: clamp(28px, 2.5vw, 34px) !important; font-weight: 800 !important; line-height: 1.3;
}
body.cms-index-index .hyva-category .hyva-category-content p {
    font-size: 20px !important; font-weight: 500 !important; line-height: 1.6;
}
@media (min-width: 640px) {
    body.cms-index-index .hyva-category .homie-latest-slider { --homie-product-cols: 2; }
}
@media (min-width: 1024px) {
    body.cms-index-index .hyva-category .homie-latest-slider { --homie-product-cols: 3; }
}
@media (min-width: 1280px) {
    body.cms-index-index .hyva-category .homie-latest-slider { --homie-product-cols: 4; }
}

body.cms-index-index .popular-categories-wrapper > p {font-size:20px!important;font-weight:500;line-height:1.6;}
@media(max-width:639px){body.cms-index-index .popular-categories-wrapper > p{font-size:18px!important;}}

/* Nov 5 evening: one cool grey for sections that already have a background. */
body.cms-index-index { --homie-home-section-background: #eff2f4; }
body.cms-index-index .hyva_multi_field[class~="bg-[#eff2f4]"],
body.cms-index-index .home-panel-middle,
body.cms-index-index .homie-footer-discover:has(.homie-discover-cards) {
    background-color: var(--homie-home-section-background) !important;
}
/* Product photos and copy sit directly on their section, including on hover.
   Leave opacity changes and gallery controls intact for the alternate photo. */
body.cms-index-index :is(.hyva-category,.homie-featured-products) .product-item.card,
body.cms-index-index .hyva-category .card-interactive,
body.cms-index-index .hyva-category .card-interactive:is(:hover,:focus-within),
body.cms-index-index :is(.hyva-category,.homie-featured-products) .product-item.card:is(:hover,:focus-within) {
    --card-bg: transparent; --card-stroke: transparent;
    background-color: transparent !important; border-color: transparent !important;
    box-shadow: none !important;
}
body.cms-index-index :is(.hyva-category,.homie-featured-products) .homie-card-gallery,
body.cms-index-index :is(.hyva-category,.homie-featured-products) .homie-card-gallery > a,
body.cms-index-index :is(.hyva-category,.homie-featured-products) .homie-card-gallery > a > div,
body.cms-index-index :is(.hyva-category,.homie-featured-products) .homie-card-gallery > div:first-child,
body.cms-index-index :is(.hyva-category,.homie-featured-products) .homie-card-gallery > div:first-child > a,
body.cms-index-index :is(.hyva-category,.homie-featured-products) .homie-card-gallery img {
    background-color: transparent !important; border-color: transparent !important;
    box-shadow: none !important;
}

/* Nov 6 13:48: share the hero's existing .container geometry.
   styles.css: .container padding is 6 * --spacing, and its max-width follows
   the 640/768/1024/1280/1400/1536 breakpoints. Mobile uses the requested 16px.
   Only horizontal geometry changes; the hero image/crop/height is untouched. */
body.cms-index-index { --homie-home-boundary-max:100%; --homie-home-boundary-gutter:16px; }
@media(min-width:768px) { body.cms-index-index { --homie-home-boundary-max:48rem; --homie-home-boundary-gutter:calc(var(--spacing, .25rem) * 6); } }
@media(min-width:1024px) { body.cms-index-index { --homie-home-boundary-max:64rem; } }
@media(min-width:1280px) { body.cms-index-index { --homie-home-boundary-max:80rem; } }
@media(min-width:1400px) { body.cms-index-index { --homie-home-boundary-max:87.5rem; } }
@media(min-width:1536px) { body.cms-index-index { --homie-home-boundary-max:96rem; } }
body.cms-index-index :is(.hyva-banner-slider,.home-panel,.hyva_multi_field,.hyva-category,
 .popular-categories-wrapper,.homie-popular-category-links,.homie-blog-carousel,
 .homie-inspiration,.homie-footer-discover),
body.cms-index-index .column.main > [class*="elfsight-app-"] {
 box-sizing:border-box; width:100%; max-width:var(--homie-home-boundary-max)!important;
 margin-inline:auto!important; padding-inline:var(--homie-home-boundary-gutter)!important;
}
/* The widget overflow wrapper has a legacy -m-4 / p-4 pair. Remove both
   horizontal parts so the section uses the same containing block as the hero. */
body.cms-index-index .column.main > .overflow-hidden:has(> :is(.hyva_multi_field,.hyva-category)) {
 margin-inline:0!important; padding-inline:0!important;
}
body.cms-index-index :is(.home-panel,.hyva-category) > .container,
body.cms-index-index .hyva_multi_field > .hyva_multi_field-content-data,
body.cms-index-index .hyva_multi_field .container,
body.cms-index-index .popular-categories-wrapper .home-widgets,
body.cms-index-index .column.main > [class*="elfsight-app-"] .es-embed-root {
 box-sizing:border-box; width:100%; max-width:100%!important;
 margin-inline:0!important; padding-inline:0!important;
}
body.cms-index-index .hyva-category .homie-latest-slider,
body.cms-index-index .popular-categories-wrapper .homie-featured-products,
body.cms-index-index .homie-blog-carousel > .relative,
body.cms-index-index :is(.homie-inspiration,.homie-footer-discover) .homie-discover-cards {
 width:100%!important; max-width:100%!important; margin-inline:0!important;
}
/* Keep real inter-card gaps without half-gaps at either outer boundary. */
body.cms-index-index .hyva-category .homie-latest-slider .js_slides { gap:24px!important; }
body.cms-index-index .hyva-category .homie-latest-slider .js_slides > :is(.js_slide,.js_dummy_slide) {
 --homie-product-width:calc((100% - (var(--homie-product-cols) - 1) * 24px) / var(--homie-product-cols));
 flex-basis:var(--homie-product-width)!important; width:var(--homie-product-width)!important;
 min-width:var(--homie-product-width)!important; max-width:var(--homie-product-width)!important;
 padding-inline:0!important;
}
body.cms-index-index .hyva_multi_field .js_slides > .js_slide {
 box-sizing:border-box; margin-inline:0!important; padding-inline:0!important;
}
body.cms-index-index .homie-popular-carousel .homie-popular-track { padding-inline:0!important; scroll-padding-inline:0; }
body.cms-index-index .home-panel > .container > .grid > div:has(> a:is([href$="/modern-rugs"],[href$="/classic-rugs"])) { margin-inline:0!important; }
body.cms-index-index .homie-blog-carousel .post-holder { padding-inline:0!important; }
/* Controls overlay their track instead of reserving another outer gutter. */
body.cms-index-index .homie-latest-slider .homie-latest-prev,
body.cms-index-index .homie-featured-products .homie-featured-prev,
body.cms-index-index .homie-popular-carousel .homie-popular-arrow-right { right:0; }
body.cms-index-index .homie-latest-slider .homie-latest-next,
body.cms-index-index .homie-featured-products .homie-featured-next,
body.cms-index-index .homie-popular-carousel .homie-popular-arrow-left { left:0; }

/* Keep the blog's existing carousel math and 24px card gaps, while cancelling
   its 12px half-gutters at the two outside edges. */
body.cms-index-index .homie-blog-carousel .homie-blog-track { width:calc(100% + 24px)!important; max-width:none!important; margin-inline:-12px!important; }
body.cms-index-index .homie-blog-carousel .homie-blog-track .homie-blog-list { width:100%!important; margin-inline:0!important; }
body.cms-index-index .homie-blog-carousel .homie-blog-list > .post-holder { padding-inline:12px!important; }

/* Nov 6 16:07: only the mobile homepage hero reaches the viewport edges.
   Sections below retain the shared 16px gutter; tablet/desktop are unchanged. */
@media (max-width:767px) {
 body.cms-index-index .column.main > .hyva-banner-slider {
  width:100vw!important; max-width:none!important;
  margin-inline:calc(50% - 50vw)!important; padding-inline:0!important;
 }
}

/* The earlier mobile audit deliberately cropped the hero at clamp(220px,58vw,280px).
   The approved responsive picture now keeps its full original 99:32 composition. */
@media (max-width:767px) {
 body.cms-index-index .column.main > .hyva-banner-slider .banner-media-container > picture > img[src$="/homie-rugs-banner.jpg"] {
  width:100%!important; height:auto!important; min-height:0!important; max-height:none!important;
  aspect-ratio:792 / 256!important; object-fit:contain!important; object-position:center!important;
 }
}
/* Nov 6 evening: homepage image gestures, card rhythm and lower-section details. */
.homie-card-gallery .homie-card-dots { display:none; }
@media (max-width:767px) {
 body.cms-index-index .hyva-category .homie-latest-slider .js_slides > :is(.js_slide,.js_dummy_slide) {
  flex:0 0 62%!important; width:62%!important; min-width:62%!important; max-width:62%!important;
 }
 body.cms-index-index .homie-featured-products .homie-featured-track {
  grid-auto-columns:62%!important;
 }
 body.cms-index-index .homie-card-gallery :is(.homie-card-prev,.homie-card-next) { display:none!important; }
 body.cms-index-index .homie-card-gallery .homie-card-dots {
  display:flex; align-items:center; justify-content:center; gap:6px; min-height:18px; padding-block:5px;
 }
 body.cms-index-index .homie-card-dots > button { width:22px; height:22px; padding:8px; border:0; background:transparent; color:#c6cbd0; }
 body.cms-index-index .homie-card-dots > button::after { content:""; display:block; width:6px; height:6px; border-radius:50%; background:currentColor; }
 body.cms-index-index .homie-card-dots > button[aria-current="true"] { color:var(--color-primary, #005b8f); }
 body.cms-index-index .homie-card-gallery img { object-fit:contain!important; }
 body.cms-index-index .homie-blog-carousel .post-read-more { margin-block-start:8px; color:#236181!important; }
 body.cms-index-index .homie-popular-carousel .homie-popular-label { font-size:18px!important; line-height:1.4!important; }
 body.cms-index-index .home-panel a.group > span { font-size:18px!important; line-height:1.35!important; }
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
 body.cms-index-index :is(.homie-card-gallery,.homie-blog-carousel .post-ftimg-hld,.home-panel a.group,.homie-popular-track a,.homie-discover-card) { overflow:hidden; }
 body.cms-index-index :is(.homie-card-gallery img,.homie-blog-carousel .post-ftimg-hld img,.home-panel a.group > img,.homie-popular-track a > img,.homie-discover-card img) {
  transition:scale .35s ease!important;
 }
 body.cms-index-index :is(.homie-card-gallery:hover img,.homie-blog-carousel .post-ftimg-hld:hover img,.home-panel a.group:hover > img,.homie-popular-track a:hover > img,.homie-discover-card:hover img) {
  scale:1.025!important;
 }
}

/* Latest mobile hero presence: controlled right-aligned 2:1 frame, no stretch. */
@media(max-width:767px) {
 body.cms-index-index .column.main > .hyva-banner-slider .banner-media-container > picture > img[src$="/homie-rugs-banner.jpg"] {
  aspect-ratio:2 / 1!important; height:auto!important; object-fit:cover!important; object-position:right center!important;
 }
}
@media(prefers-reduced-motion:reduce) {
 body.cms-index-index :is(.homie-card-gallery img,.homie-blog-carousel .post-ftimg-hld img,.home-panel a.group > img,.homie-popular-track a > img,.homie-discover-card img) {
  transition:none!important; transform:none!important; scale:none!important;
 }
}

/* Mobile product tracks use their visible partial card and native swipe. */
@media(max-width:767px) {
 body.cms-index-index :is(.homie-latest-prev,.homie-latest-next,.homie-featured-prev,.homie-featured-next) { display:none!important; }
}

/* Nov 9: give New on Website the same full square image canvas as Popular Products. */
body.cms-index-index .hyva-category .homie-latest-slider .js_slide > .card {
 margin-inline:0!important; padding:0!important;
}
body.cms-index-index .hyva-category .homie-latest-slider .homie-card-gallery img {
 display:block; width:100%!important; height:auto!important;
 aspect-ratio:1 / 1!important; object-fit:contain!important;
}
/* Thin rules flank the independent Inspiration heading without changing its copy. */
body.cms-index-index .homie-inspiration > h2 {
 display:flex; align-items:center; justify-content:center; gap:20px;
}
body.cms-index-index .homie-inspiration > h2::before,
body.cms-index-index .homie-inspiration > h2::after {
 content:""; display:block; flex:1 1 0; min-width:16px; height:1px;
 background:#d1d5db;
}
@media(max-width:767px) {
 body.cms-index-index .homie-inspiration > h2 { gap:12px; }
}

/* Isolated Nov 9 mobile typography proposal. Root size and editable captions stay intact.
   rem values scale with the accessibility menu's existing root text-size setting. */
@media(max-width:767px) {
 body.cms-index-index :is(.hyva-category,.hyva_multi_field) .title-font,
 body.cms-index-index .homie-featured-products > h2,
 body.cms-index-index .popular-categories-wrapper > h2,
 body.cms-index-index #homie-popular-category-title,
 body.cms-index-index #homie-popular-category-title-mobile,
 body.cms-index-index .homie-inspiration > h2 {
  font-size:1.333333rem!important; line-height:1.3;
 }
 body.cms-index-index .homie-blog-carousel > h3.title {
  font-size:1.222222rem!important; line-height:1.35;
 }
 body.cms-index-index .homie-discover-card h3 {
  font-size:1.111111rem!important; line-height:1.35;
 }
 body.cms-index-index .hyva-category .hyva-category-content p,
 body.cms-index-index .popular-categories-wrapper > p,
 body.cms-index-index .homie-inspiration > p,
 body.cms-index-index .homie-discover-card p {
  font-size:.888889rem!important; line-height:1.5;
 }
}

/* Nov 10 corrected homepage brief. All presentation stays on the mobile home. */
@media(max-width:767px) {
 body.cms-index-index {font-family:Heebo,sans-serif; padding-bottom:calc(80px + env(safe-area-inset-bottom,0px));}
 body.cms-index-index #header {box-shadow:0 1px 0 #ebe8e2;}
 body.cms-index-index #header .homie-mobile-header {height:72px!important;padding:0 16px!important;}
 body.cms-index-index #header .mob-header-align {height:72px;display:grid!important;grid-template-columns:1fr auto 1fr!important;gap:0!important;}
 body.cms-index-index #header :is(.mobile-nav-block,.mobile-actions-block) {gap:0!important;min-width:0;}
 body.cms-index-index #header :is(.mobile-nav-block,.mobile-actions-block) :is(button,a[aria-label]) {min-width:44px!important;min-height:44px!important;padding:10px!important;align-items:center;justify-content:center;}
 body.cms-index-index #header :is(.mobile-nav-block,.mobile-actions-block) svg {width:24px!important;height:24px!important;stroke-width:1.75!important;}
 body.cms-index-index #header .mobile-logo-block img {width:108px!important;height:auto!important;max-height:54px!important;object-fit:contain;}
 body.cms-index-index #header .homie-home-wordmark {display:flex!important;flex-direction:column;align-items:center;justify-content:center;padding:0!important;min-height:44px;white-space:nowrap;color:#111;text-decoration:none;}
 body.cms-index-index #header .homie-home-wordmark > span {font-size:26px;line-height:28px;font-weight:700;}
 body.cms-index-index #header .homie-home-wordmark > small {font-size:12px;line-height:16px;margin-top:4px;font-weight:400;}
 body.cms-index-index #menu-cart-icon-mobile > span {width:18px;height:18px;min-width:18px;padding:0!important;display:flex;align-items:center;justify-content:center;background:#28607f!important;color:white;top:0;right:0;font-size:10px;}
 body.cms-index-index :is(.hyva-category,.hyva_multi_field) .title-font,
 body.cms-index-index :is(.homie-blog-carousel,.homie-inspiration,.popular-categories-wrapper,.home-panel) :is(h2,h3),
 body.cms-index-index .homie-featured-products .homie-section-title {font-size:20px!important;line-height:1.3!important;font-weight:700!important;}
 body.cms-index-index :is(.hyva-category-content,.popular-categories-wrapper,.homie-blog-carousel,.homie-inspiration) p {font-size:14px!important;line-height:1.5!important;}
 body.cms-index-index :is(.homie-card-name,.product-item-link,.homie-popular-label) {font-size:14px!important;line-height:1.4!important;}
 body.cms-index-index .column.main > .hyva-banner-slider :is(.banner-media-container,.homie-hero-advanced) {height:240px!important;min-height:240px!important;max-height:240px!important;position:relative;}
 body.cms-index-index .column.main > .hyva-banner-slider :is(.banner-media-container img,.homie-hero-image) {width:100%!important;height:240px!important;min-height:240px!important;max-height:240px!important;object-fit:cover!important;aspect-ratio:auto!important;}
 body.cms-index-index .hyva-banner-slider :is(.banner-media-container,.homie-hero-advanced)::after {content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(to top,rgba(17,17,17,.78),transparent);}
 body.cms-index-index .hyva-banner-slider .homie-hero-overlay {display:none!important;}
 body.cms-index-index .hyva-banner-slider :is(.homie-hero-content,.homie-hero-text,.homie-hero-cta) {z-index:2;}
 body.cms-index-index .hyva-banner-slider :is(.homie-hero-content h3,.homie-hero-text h3) {font-size:26px!important;line-height:1.2!important;font-weight:700!important;color:#fff!important;}
 body.cms-index-index .hyva-banner-slider :is(.read-more-link,.homie-hero-cta) {display:inline-flex!important;align-items:center;justify-content:center;min-height:44px!important;padding:10px 20px!important;border-radius:8px!important;background:#28607f!important;color:#fff!important;font-size:14px!important;line-height:24px!important;}
 body.cms-index-index .home-panel > .container {padding-inline:16px!important;}
 body.cms-index-index .home-panel .grid {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;margin-bottom:12px!important;}
 body.cms-index-index .home-panel .grid > [data-panel-width] {grid-column:auto!important;min-width:0;}
 body.cms-index-index .home-panel a.group {height:130px!important;border-radius:12px;isolation:isolate;}
 body.cms-index-index .home-panel a.group::after {content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(17,17,17,.78),transparent 75%);pointer-events:none;z-index:0;}
 body.cms-index-index .home-panel a.group > span {position:absolute!important;inset:auto 12px 12px!important;transform:none!important;background:transparent!important;box-shadow:none!important;color:#fff!important;padding:0 0 0 22px!important;font-size:16px!important;line-height:1.3!important;white-space:normal!important;z-index:1;text-align:right;}
 body.cms-index-index .home-panel a.group > span::after {content:"←";position:absolute;left:0;bottom:0;font-size:20px;}
 body.cms-index-index :is(.homie-latest-slider .js_slides,.homie-featured-track,.homie-popular-track) {touch-action:pan-x pan-y;scroll-snap-type:x proximity;overscroll-behavior-inline:contain;}
 body.cms-index-index .homie-card-dots > button {width:44px!important;height:44px!important;padding:19px!important;}
 body.cms-index-index #accessflow-toggle,body.cms-index-index .cinovic-whatsapp a {width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;}
}

/* Browser-measured Nov10 correction: legacy min-height and nested card rules won the cascade. */
@media(max-width:767px){
 body.cms-index-index #header .homie-mobile-header{height:72px!important;min-height:72px!important;max-height:72px!important;}
 body.cms-index-index #header .udeytech-menu__open::before{width:24px!important;height:24px!important;flex:0 0 24px!important;background-size:24px 24px!important;}
 body.cms-index-index #maincontent .home-panel:not(.home-panel-middle)>.container{padding-inline:0!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px!important;row-gap:12px!important;}
 body.cms-index-index #maincontent .home-panel:not(.home-panel-middle)>.container>.grid{display:contents!important;}
 body.cms-index-index #maincontent .home-panel:not(.home-panel-middle) a.group{display:block!important;height:130px!important;min-height:130px!important;max-height:130px!important;aspect-ratio:auto!important;border-radius:12px!important;}
 body.cms-index-index #maincontent .home-panel:not(.home-panel-middle) a.group>:is(img,picture),body.cms-index-index #maincontent .home-panel:not(.home-panel-middle) a.group>picture>img{width:100%!important;height:100%!important;aspect-ratio:auto!important;object-fit:cover!important;}
 body.cms-index-index #maincontent .home-panel:not(.home-panel-middle) a.group>span{position:absolute!important;inset:auto 12px 12px!important;display:block!important;width:auto!important;height:auto!important;min-height:0!important;margin:0!important;background:transparent!important;color:#fff!important;font-size:16px!important;line-height:1.3!important;font-weight:700!important;padding:0 0 0 22px!important;text-align:right!important;transform:none!important;box-shadow:none!important;}
 body.cms-index-index #maincontent .hyva-banner-slider .homie-managed-hero-cta .banner-caption .read-more-link{min-height:44px!important;height:44px!important;border-radius:8px!important;background:#28607f!important;font-size:14px!important;line-height:24px!important;padding:10px 20px!important;}
 body.cms-index-index #maincontent .homie-mobile-hero-title{display:block!important;position:absolute;right:24px;left:24px;bottom:80px;margin:0!important;font-size:26px!important;line-height:1.2!important;font-weight:700!important;color:#fff!important;text-align:right;z-index:3;}
}
@media(min-width:768px){.homie-mobile-hero-title{display:none!important;}}

/* Mobile homepage section hierarchy; hero and account dialogs keep their own type. */
@media(max-width:767px) {
 body.cms-index-index #maincontent #homie-popular-category-title,
 body.cms-index-index #maincontent #homie-popular-category-title-mobile,
 body.cms-index-index #maincontent .homie-blog-carousel > h3.title {
  font-size:20px!important;line-height:1.3!important;
 }
 body.cms-index-index #maincontent .homie-discover-card h3,
 body.cms-index-index #maincontent .homie-blog-carousel .post-item-link {
  font-size:18px!important;line-height:1.35!important;
 }
 body.cms-index-index #maincontent .hyva-category .hyva-category-content p,
 body.cms-index-index #maincontent .homie-featured-products > p,
 body.cms-index-index #maincontent .popular-categories-wrapper > p,
 body.cms-index-index #maincontent .homie-popular-carousel .homie-popular-subtitle,
 body.cms-index-index #maincontent .homie-inspiration > p,
 body.cms-index-index #maincontent .homie-discover-card p,
 body.cms-index-index #maincontent .homie-blog-carousel :is(.post-description,.post-info) {
  font-size:14px!important;line-height:1.5!important;
 }
}

/* Product swipes own the outer mobile carousel; photo dots still choose individual images. */
@media(max-width:767px) {
 body.cms-index-index #maincontent :is(.homie-latest-slider .js_slides,.homie-featured-track),
 body.cms-index-index #maincontent :is(.homie-latest-slider,.homie-featured-track) .homie-card-gallery > a {
  touch-action:pan-x pan-y pinch-zoom!important;
 }
}

@media(max-width:767px){body.cms-index-index #maincontent .homie-mobile-hero-title{width:auto!important;max-width:none!important;}}

/* Final Nov11 requirements: one line names and the full rug visible in mobile cards. */
body.cms-index-index .hyva-category .homie-latest-slider .homie-card-name {white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;overflow-wrap:normal!important;min-height:0!important;display:block!important;-webkit-line-clamp:unset;}
@media(max-width:767px){body.cms-index-index .home-panel.homie-panels-mobile a.group > picture > img {object-fit:contain!important;background:transparent!important;}}

/* Nov11 mobile panel captions: override the legacy image-overlay cascade only on mobile. */
@media(max-width:767px) {
 body.cms-index-index #maincontent .home-panel.homie-panels-mobile a.group,
 body.cms-index-index #maincontent .home-panel.homie-panels-mobile:not(.home-panel-middle) a.group {
  display:grid!important;grid-template-rows:130px auto!important;row-gap:10px!important;height:auto!important;max-height:none!important;min-height:0!important;aspect-ratio:auto!important;background:transparent!important;box-shadow:none!important;
 }
 body.cms-index-index #maincontent .home-panel.homie-panels-mobile a.group::after,
 body.cms-index-index #maincontent .home-panel.homie-panels-mobile:not(.home-panel-middle) a.group::after,
 body.cms-index-index #maincontent .home-panel.homie-panels-mobile a.group > span::after,
 body.cms-index-index #maincontent .home-panel.homie-panels-mobile:not(.home-panel-middle) a.group > span::after {
  content:none!important;display:none!important;background:none!important;
 }
 body.cms-index-index #maincontent .home-panel.homie-panels-mobile a.group > picture,
 body.cms-index-index #maincontent .home-panel.homie-panels-mobile:not(.home-panel-middle) a.group > picture {
  display:block!important;width:100%!important;height:130px!important;min-height:130px!important;max-height:130px!important;aspect-ratio:auto!important;overflow:hidden!important;border-radius:12px!important;background:transparent!important;
 }
 body.cms-index-index #maincontent .home-panel.homie-panels-mobile a.group > picture > img,
 body.cms-index-index #maincontent .home-panel.homie-panels-mobile:not(.home-panel-middle) a.group > picture > img,
 body.cms-index-index #maincontent .home-panel.homie-panels-mobile a.group > img,
 body.cms-index-index #maincontent .home-panel.homie-panels-mobile:not(.home-panel-middle) a.group > img {
  display:block!important;width:100%!important;height:130px!important;min-height:130px!important;max-height:130px!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;background:transparent!important;
 }
 body.cms-index-index #maincontent .home-panel.homie-panels-mobile a.group > span,
 body.cms-index-index #maincontent .home-panel.homie-panels-mobile:not(.home-panel-middle) a.group > span {
  position:static!important;inset:auto!important;display:block!important;transform:none!important;translate:none!important;width:100%!important;height:auto!important;min-height:0!important;margin:0!important;padding:0 4px!important;background:transparent!important;color:#1c1c1e!important;box-shadow:none!important;text-align:center!important;font-size:16px!important;font-weight:600!important;line-height:1.35!important;white-space:normal!important;overflow-wrap:anywhere!important;text-overflow:clip!important;
 }
}

/* Mobile photo dots share the image grid row; optional dots never add a card row. */
@media(max-width:767px) {
 body.cms-index-index #maincontent :is(.homie-latest-slider,.homie-featured-track) .homie-card-gallery {display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto auto!important;}
 body.cms-index-index #maincontent :is(.homie-latest-slider,.homie-featured-track) .homie-card-gallery > div:first-child {grid-column:1!important;grid-row:1!important;min-width:0;}
 body.cms-index-index #maincontent :is(.homie-latest-slider,.homie-featured-track) .homie-card-gallery > .homie-card-dots {grid-column:1!important;grid-row:1!important;align-self:end!important;justify-self:center!important;z-index:2!important;height:44px!important;min-height:44px!important;max-height:44px!important;max-width:100%;margin:0!important;padding:0!important;pointer-events:none;}
 body.cms-index-index #maincontent :is(.homie-latest-slider,.homie-featured-track) .homie-card-gallery > .homie-card-dots > button {width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;pointer-events:auto;}
 body.cms-index-index #maincontent :is(.homie-latest-slider,.homie-featured-track) .homie-card-gallery > a.homie-card-name {grid-column:1!important;grid-row:2!important;}
 body.cms-index-index #maincontent :is(.homie-latest-slider,.homie-featured-track) .homie-card-gallery > div:last-child:not(.homie-card-dots) {grid-column:1!important;grid-row:3!important;}
}

/* Nov11 mobile New Arrivals: quiet compact link, close to the product prices. */
@media(max-width:767px) {
 body.cms-index-index #maincontent .homie-latest-slider .homie-card-gallery {margin-bottom:0!important;}
 body.cms-index-index #maincontent .homie-latest-slider .js_slides > .js_slide {padding-bottom:0!important;}
 body.cms-index-index #maincontent .homie-new-arrivals-link {margin-top:6px!important;}
 body.cms-index-index #maincontent .homie-new-arrivals-cta {min-height:36px!important;height:auto!important;padding:6px 14px!important;border:1px solid #9bb8c7!important;border-radius:999px!important;background:transparent!important;color:#28607f!important;font-size:14px!important;font-weight:500!important;line-height:20px!important;gap:6px!important;box-shadow:none!important;}
 body.cms-index-index #maincontent .homie-new-arrivals-cta:is(:hover,:focus-visible) {background:#f1f6f9!important;}
}

/* Nov12: mobile New Arrivals keeps the compact dimensions and the desktop filled-blue color. */
@media(max-width:767px){
 body.cms-index-index #maincontent .homie-new-arrivals-cta{background:#6e9fb7!important;color:#fff!important;border-color:#6e9fb7!important;}
}

/* Measured Featured rhythm: heading/subtitle margins own the full gap, not the track. */
@media(max-width:767px){
 body.cms-index-index #maincontent .popular-categories-wrapper:has(.homie-featured-products) > h2{margin-bottom:.375rem!important;}
 body.cms-index-index #maincontent .popular-categories-wrapper:has(.homie-featured-products) > p{margin-bottom:.75rem!important;}
}

/* Nov12 20:13: shared homepage cards and larger editorial hierarchy. */
body.cms-index-index {
 --homie-type-h2:2rem;
 --homie-type-h3:1.5rem;
 --homie-home-subtitle-size:1.111111rem;
}
body.cms-index-index #maincontent .column.main :is(.hyva-category,.hyva_multi_field) .title-font,
body.cms-index-index #maincontent .column.main :is(.popular-categories-wrapper,.homie-featured-products,.homie-inspiration) > h2,
body.cms-index-index #maincontent .column.main :is(#homie-popular-category-title,#homie-popular-category-title-mobile),
body.cms-index-index #maincontent .column.main .homie-blog-carousel > :is(h2,h3.title) {
 font-size:var(--homie-type-h2)!important;line-height:1.3!important;font-weight:700!important;
 white-space:normal!important;overflow-wrap:anywhere!important;
}
body.cms-index-index #maincontent .column.main :is(.homie-discover-card h3,.homie-blog-carousel .post-item-link) {
 font-size:var(--homie-type-h3)!important;line-height:1.35!important;
}
body.cms-index-index #maincontent .column.main :is(.hyva-category-content > p,.hyva_multi_field-content-data > div:first-child .text-center > p,.popular-categories-wrapper > p,.homie-featured-products > p,.homie-popular-subtitle,.homie-inspiration > p,.homie-discover-card p,.homie-blog-carousel > p,.homie-footer-discover > p) {
 font-size:var(--homie-home-subtitle-size)!important;line-height:1.55!important;
 display:block!important;white-space:normal!important;overflow:visible!important;overflow-wrap:anywhere!important;
 -webkit-line-clamp:unset!important;max-height:none!important;
}
body.cms-index-index #maincontent :is(.homie-latest-slider,.homie-featured-track) :is(.homie-card-name,.homie-product-name .product-item-link) {
 display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;
 font-size:1rem!important;font-weight:600!important;line-height:1.4!important;
 min-height:2.8em!important;max-height:2.8em!important;height:auto!important;max-width:100%;min-width:0;
 white-space:normal!important;overflow:hidden!important;text-overflow:clip!important;overflow-wrap:anywhere!important;
 text-align:center!important;color:#1c1c1e!important;
}
body.cms-index-index #maincontent :is(.homie-latest-slider,.homie-featured-track) .homie-card-name,
body.cms-index-index #maincontent .homie-featured-track .homie-product-name {
 margin:.5rem 0 .25rem!important;padding:0!important;
}
body.cms-index-index #maincontent .homie-featured-track .homie-product-name {
 min-height:0!important;height:auto!important;font-size:1rem!important;line-height:1.4!important;
}
body.cms-index-index #maincontent .homie-featured-track .homie-product-name .product-item-link {margin:0!important;}
body.cms-index-index #maincontent :is(.homie-latest-slider,.homie-featured-track) .homie-product-price {
 font-size:1rem!important;line-height:1.4!important;font-weight:500!important;text-align:center!important;
 margin:0!important;padding:0!important;
}
body.cms-index-index #maincontent :is(.homie-latest-slider,.homie-featured-track) .homie-product-price .price:not(.special-price):not(.special-price *) {
 color:#333333!important;
}
@media(max-width:767px) {
 body.cms-index-index {--homie-type-h2:1.222222rem;--homie-type-h3:1.333333rem;--homie-home-subtitle-size:.888889rem;}
}

/* Measured Featured parity: plain headers and New Arrivals card rhythm only. */
body.cms-index-index #maincontent .column.main :is(.hyva-category-content > p,.hyva_multi_field-content-data > div:first-child .text-center > p,.popular-categories-wrapper > p,.homie-featured-products > p,.homie-popular-subtitle,.homie-inspiration > p,.homie-blog-carousel > p,.homie-footer-discover > p) {
 font-weight:400!important;color:#111827!important;
}
body.cms-index-index #maincontent .column.main :is(.hyva-category > div > h2.title-font,.hyva_multi_field-content-data > div:first-child .text-center > h2,.popular-categories-wrapper > h2,.homie-featured-products > h2,.homie-inspiration > h2,.homie-blog-carousel > h2,.homie-blog-carousel > h3.title),
body.cms-index-index #maincontent .column.main :is(#homie-popular-category-title,#homie-popular-category-title-mobile) {
 color:#111827!important;
}
body.cms-index-index #maincontent .homie-latest-slider .js_slide > .card {
 border-width:0!important;
}
body.cms-index-index #maincontent .homie-latest-slider .homie-card-name {
 margin-top:1.25rem!important;
}
body.cms-index-index #maincontent .homie-latest-slider .homie-product-price .price-box {
 margin:0!important;font-size:1rem!important;line-height:1.4!important;
}
body.cms-index-index #maincontent .homie-latest-slider .homie-product-price .price:not(.old-price):not(.old-price *) {
 font-size:1.25rem!important;line-height:1.4!important;
}

/* The New gallery contains its caption/price; do not add the photo-only Featured bottom gap twice. */
@media(min-width:768px){body.cms-index-index #maincontent .homie-latest-slider .homie-card-gallery{margin-bottom:0!important;}}

/* Nov 13 client references: centered two-line name and bold price, gray prefix. */
body.cms-index-index #maincontent :is(.homie-latest-slider,.homie-featured-track) :is(.homie-card-name,.homie-product-name .product-item-link) {
 display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;
 white-space:normal!important;overflow:hidden!important;text-overflow:ellipsis;
 text-align:center!important;color:#242424!important;font-size:1.125rem!important;
 line-height:1.4!important;font-weight:600!important;min-height:2.8em!important;
 max-height:2.8em!important;overflow-wrap:break-word;
}
body.cms-index-index #maincontent .homie-featured-track .homie-product-name {
 font-size:1.125rem!important;line-height:1.4!important;min-height:2.8em!important;
}
body.cms-index-index #maincontent :is(.homie-latest-slider,.homie-featured-track) .homie-product-price {
 text-align:center!important;color:#777!important;font-weight:400!important;
}
body.cms-index-index #maincontent :is(.homie-latest-slider,.homie-featured-track) .homie-product-price .price-box {
 font-size:1.125rem!important;line-height:1.4!important;
}
body.cms-index-index #maincontent :is(.homie-latest-slider,.homie-featured-track) .homie-product-price .price:not(.old-price):not(.old-price *) {
 color:#111!important;font-size:1.111111rem!important;line-height:1.4!important;font-weight:700!important;
}
body.cms-index-index #maincontent :is(.homie-latest-slider,.homie-featured-track) .homie-product-price .price-label {
 color:#777!important;font-size:.777778rem!important;font-weight:400!important;
}

/* Native homepage editor's Featured button shares the existing New pill treatment. */
body.cms-index-index .homie-featured-cta { text-align:center; margin-top:8px; }
body.cms-index-index .homie-featured-cta .homie-home-products-cta {
 display:inline-flex;align-items:center;justify-content:center;min-height:44px;
 color:#fff;background:#6e9fb7;border-radius:999px;padding:10px 24px;
 text-decoration:none;white-space:normal;gap:12px;font-weight:600;max-width:100%;
}
body.cms-index-index .homie-featured-cta .homie-home-products-cta:hover { background:#5688a1; }
body.cms-index-index .homie-featured-cta .homie-home-products-cta:focus-visible { outline:2px solid #244a60;outline-offset:3px; }
body.cms-index-index .homie-featured-cta .homie-home-products-cta > [aria-hidden] { transition:transform .2s ease; }
body.cms-index-index .homie-featured-cta .homie-home-products-cta:is(:hover,:focus-visible) > [aria-hidden] { transform:translateX(-4px); }
@media(prefers-reduced-motion:reduce) { body.cms-index-index .homie-featured-cta .homie-home-products-cta > [aria-hidden] {transition:none;} }

/* Both homepage collection buttons share the approved pill and touch target. */
body.cms-index-index #maincontent :is(a.homie-new-arrivals-cta,a.homie-home-products-cta){min-height:52px!important;padding:10px 24px!important;font-size:18px!important;font-weight:600!important;line-height:1.6!important;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:12px;}
