
.showroom_main_container {
    width: 100%; 
    height: 840px; 
    /* padding-left: 16px;
    padding-right: 16px; */
    /* padding-top: 12px;
    padding-bottom: 12px; */
    justify-content:center; 
    align-items: center;
    display: inline-flex;
    transition-duration: 400ms;
}

.showroom_main_container .showroom_section {
    width: 740px;
    height: 740px;
    position: relative;
    transition-duration: 400ms;
}

@media screen and (min-width:768px) {

    .showroom_main_container .showroom_section .category {
        width: 180px;
        height: 180px; 
        position: absolute;
    }

    .category.Laminate {
        left: 82px; top: 82px;
    }
    .category.Carpet {
        left: 0px; top: 280px;
    }
    .category.Stairs{
        left: 82px; top: 478px;
    }
    .category.Transition{
        left: 280px; top: 560px;
    }
    .category.Tile {
        left: 560px; top: 280px; 
    }
    .category.Hardwood {
        left: 280px; top: 0px; 
    }
    .category.SPC {
        left: 478px; top: 82px;
    }

    .category.BaseBoard ,
    .category.Baseboard {
        left: 478px; top: 478px; 
    }

    .Laminate_name {
        left: 29px; top: 76px;
    }
    .Carpet_name {
        left: 45px; top: 76px;
    }

    .Stairs_name{
        left: 50px; top: 76px;
    }
    .Transition_name{
        left: 22px; top: 76px;
    }
    .Tile_name {
        left: 65px; top: 76px; 
    }
    .Hardwood_name {
        left: 53px; top: 76px; 
    }
    .SPC_name {
        left: 63px; top: 76px;
    }

    .BaseBoard_name,
    .Baseboard_name {
        left: 19px; top: 76px;
    }

    .image_div {
        cursor: pointer;
        width: 180px; height: 180px; left: 0px; top: 0px; position: absolute; border-radius: 500px; overflow: hidden; 
        border: 4px solid var(--natural-border);  justify-content: center; align-items: center; display: inline-flex;
    }
    
  
}


.mobile_showroom {
    width: 240px;
    height: 240px;
    left: 250px;
    top: 250px;
    position: absolute;
}

.image_div_mobile {
    cursor: pointer;
    border: 4px solid var(--natural-border) ; border-radius: 500px;
    width: 240px; height: 240px; overflow: hidden; justify-content: center; align-items: center; display: inline-flex;
    left: 200px;
}

/* .hover = mouse over the bubble label; .active = selected category (drawer open) */
.image_div:hover, .image_div.hover, .image_div.active ,
.image_div_mobile:hover, .image_div_mobile.hover, .image_div_mobile.active{
    border-color: var(--materialcolororange-300);
    cursor: pointer;
    /* box-shadow: 0px 12px 16px -4px rgba(239, 108, 0, 0.10), 0px 4px 6px -2px rgba(239, 108, 0, 0.05); */
    box-shadow: var(--shadow-orange-lg-orange);

}

.custom-text:hover {
    cursor: pointer;
}

.image_div.category_image {
    /* width: 364.98px; height: 187px */
}

.left-top-0 {
    left: 0px; top: 0px
}

.text-cat {
    text-align: center; font-size: 24px; font-weight: 800; text-transform: capitalize; line-height: 28px; letter-spacing: 1.80px; word-wrap: break-word
}
.text-cat-product {
    text-align: center; font-size: 19px; font-weight: 800; text-transform: capitalize; line-height: 28px; letter-spacing: 1.80px; word-wrap: break-word
}
/* Model  */

.sideNav {
    position: absolute;
    right: -20px;
    /* left: auto; */
    top: 12px;
}

.model_mian_container{
    width: 250px;
    height: 816px;
    background: #FFF8E1;
    border-radius: 16px;
    /* overflow-y: auto; */
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    display: inline-flex;
}
.model_container_head{
    align-self: stretch; padding-top: 12px; padding-bottom: 12px; padding-left: 16px; padding-right: 16px; justify-content: center; align-items: center; display: flex
}
/* Primary button in the homepage drawer; same look as the Contact Us "Submit"
   button (filled brown, white text, pill shape), without the leading icon. */
.showroom-primary-btn{
    display: flex; align-items: center; justify-content: center; width: 100%;
    padding: 10px 24px; border-radius: 100px;
    background-color: #8D6E63; color: #FFFFFF;
    font-size: 16px; font-weight: 500; line-height: 24px; letter-spacing: 0.1px;
    text-decoration: none; white-space: nowrap; cursor: pointer;
}
.showroom-primary-btn:hover{
    background-color: var(--natural-hover);
    color: var(--materialcolorbrown-700);
}
.showroom-primary-btn:active{
    background-color: rgba(121, 85, 72, 0.5);
}
.model_container_body{
    height: 744px; overflow: auto; gap: 12px;width: 100%;
    padding-top: 8px; flex-direction: column; align-items: center; display: flex;padding-bottom: 12px;
}
/* .model_container_card { 
    align-self: stretch; height: 500px; padding-left: 16px; padding-right: 16px; flex-direction: column; justify-content: flex-start; align-items: center; gap: 12px; display: inline-flex
} */

.model_container_card { 
    align-self: stretch;  padding-left: 16px; padding-right: 16px; flex-direction: column; justify-content: flex-start; align-items: center; gap: 12px; display: inline-flex
}

/*this css for the home page recently view products*/
.card_section{
    width: 208px !important; height: 280px; position: relative; background: white; border-radius: 12px; border: 1px solid var(--natural-border);
}
.card_image_div{
    /* width/height are 100%, not the card's 208x280: the card is border-box, so
       its inner box is 2px smaller and a fixed-size child would paint over the
       right and bottom borders (the orange hover border included). */
    width: 100%; height: 100%; left: 0px; top: 0px; position: absolute; border-radius: 12px; overflow: hidden; flex-direction: column; justify-content: flex-start; align-items: center; display: inline-flex;
}
.card_section:hover{
    border: 1px solid var(--materialcolororange-300);
    cursor: pointer;
    /* box-shadow: 0px 12px 16px -4px rgba(239, 108, 0, 0.10), 0px 4px 6px -2px rgba(239, 108, 0, 0.05); */
    box-shadow: var(--shadow-orange-lg-orange);
}
.card_image{
    width: 208px; height: 208px;
}
.card_description_container{
    align-self: stretch; height: 72px;
    padding: 12px 8px;
    justify-content: flex-start; align-items: center; display: inline-flex;
}
.card_description{
    align-self: stretch; height: 45px; color: #1C1C14; font-size: 16px; font-weight: 500; line-height: 24px; word-wrap: break-word ;overflow: hidden; 
}
    


/* Chrome, Edge, and Safari */
@media screen and (min-width:768px) {
    .model_container_body::-webkit-scrollbar {
        width: 6px;
        height: 6px;
    }
      
    .model_container_body::-webkit-scrollbar-track {
        background: #eee;
        border-radius: 5px;
    }
    
    .model_container_body::-webkit-scrollbar-thumb {
        background-color: #999;
        border-radius: 14px;
        border: 3px solid #bbb;
    }
}

#backgroundOverlay{
    background-color:transparent;
    position:fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    display:none;
    z-index: 11;
}

#modalDialog {
    display:none;
    z-index: 22;
}

.showroom_content {
    display:flex;flex-wrap: wrap; justify-content: center; padding:8px 16px
}

@media (max-width:767px) {
    .showroom_main_container
    .transition-width {
        transition-property: all;
        transition-timing-function: cubic-bezier(.4, 0, .2, 1);
        transition-duration: 600ms
    }

    .showroom_main_container {
        width: 100%; 
        height: 410px; 
    }

    .showroom_main_container .showroom_section {
        height: 583px;
    }

    .mobile_showroom {
        left: 40% ;
        top: 30%;
        padding: 12px;
        width: 180px !important;
        height: 180px !important;
        /* display: none; */
    }
    .image_div_mobile{
        /* display: none; */
        top: 0% !important; 
        margin-left: 0% !important;      
        width: 180px !important;
        height: 180px !important;
    }
    .mob_view_position {
        top: 25% !important;        /* Keep the top position as is, but feel free to adjust */
        left: 7% !important;       /* Center the element horizontally */
        z-index: 999;                /* Ensure text is above image */
    }
    .mobile_showroom_main_container{
        height: 580px; padding: 0px;margin: 0px;
    }
    
    /* .mobile_view_showroom {
        height: 100%;        align-items: center;
        position: absolute;
        padding: 12px;
        left:200px;
        flex-direction: row;
        column-gap: 16px;
        row-gap: 20px;
        max-height: 580px;
        max-width: 100%;
        overflow-x: hidden;
        overflow-y: auto;
        
    } */

.right-top-200 {
    position: fixed;  
    top: 73%;    
    align-items: center;
    position: absolute;
    max-height: 580px;
    max-width: 100%;
    margin-left: 95%;
    
    z-index: 999;
    
}
    .mobile_view_showroom {
    height: 100%;
    width: 200px; /* Adjust as needed */
    align-items: center;
    position: absolute;
    padding: 12px;
    left: 0px;
    flex-direction: row;
    column-gap: 16px;
    row-gap: 20px;
    max-height: 580px;
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    /* z-index: 999; */
    
    -ms-overflow-style: none;     
    scrollbar-width: none;        
}
.mobile_view_modalDialog{

    /* margin-top: 80px; */
    width: 70;
}
 /* .mobile_view_showroom {
      position: fixed;
      top: 0;
      left: 0;
      height: 100vh;
      width: 200px;
      padding: 12px;
      background-color: white;
      z-index: 999;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      row-gap: 16px;

      overflow-y: auto;
      overflow-x: hidden;

      
      -ms-overflow-style: none;     
      scrollbar-width: none;        
  } */

.mobile_view_showroom::-webkit-scrollbar {
    display: none;                /* Chrome, Safari, Opera */
}


    .image_div_mob_view {
        cursor: pointer;
        margin-bottom: 20px;
        border-radius: 500px; 
        border: 2px solid var(--natural-border); 
        justify-content: center;
        align-items: center;
        width: 135px;
        height: 50px;
        overflow: hidden;
        justify-content: center;
        align-items: center;
        display: flex;
        background-size: cover;
        background-position: 50% 50%;
    }

    /* Selected category pill on mobile: same orange accent as desktop */
    .image_div_mob_view.active {
        border-color: var(--materialcolororange-300);
        box-shadow: var(--shadow-orange-lg-orange);
    }

    .model_mian_container {
        height: calc(570px - 18px);
    }
    
}


.mobile_view_showroom.transition-all a {
    padding-top: 2px;
}

.mobile_view_showroom.transition-all {
    overflow: hidden;
}
 #IntersectionObserver {
    top: 0 !important;
 }

.filter-image{
  position: relative;
}
.filter-badged{
  position: absolute !important;
  right: 1.3rem;
  padding: 1px 5px !important;
}
/* Base Button */
.custom-btn{
    display: inline-flex;
    height: 40px; /* Default value for --10 */
    justify-content: center;
    align-items: center;
    gap: 8px; /* Default value for --2 */
    border-radius: 999px; /* Default value for --full */
    border: 1px solid #767969; /* Default value for --1 and --Schemes-Outline */
    font-weight: bold;
}
.custom-btn-clear {
  color: #805600;
  width: 125px;
}

.custom-btn-clear:hover{
    background-color: rgba(216, 150, 24, 0.08);
}
.custom-btn-clear:active {
  background-color: rgba(216, 150, 24, 0.12); /* light amber */
}
.custom-btn-clear:focus {
  background-color: rgba(216, 150, 24, 0.12); /* light amber */
  border: 1px solid #805600;
  outline: none;
}
.custom-btn-clear:disabled {
    border-radius: 999px;
    border: 2px solid rgba(27, 28, 22, 0.12); /* Border color with transparency */
    color: rgba(27, 28, 22, 0.38) !important; /* Text color like the SVG */
    background-color: transparent; /* Transparent background */
}
/* --- Cancel Button --- */
.custom-btn-cancel {
  color: #BA1A1A;
  width: 115px;
}

.custom-btn-cancel:hover{
      background-color: rgba(186, 26, 26, 0.08);
}
.custom-btn-cancel:active{
      background-color: rgba(186, 26, 26, 0.12); /* light red */
}
.custom-btn-cancel:focus {
  background-color: rgba(186, 26, 26, 0.12); /* light red */
  border: 1px solid #BA1A1A;
   outline: none;
}

/* --- Confirm Button --- */
.custom-btn-confirm {
  color: #536525;
  width: 123px;
}
.custom-btn-confirm:hover{
    background-color:rgba(81, 102, 26, 0.08) ;/* light green */
}
.custom-btn-confirm:active {
  background-color:rgba(81, 102, 26, 0.12) ;/* light green */
}
.custom-btn-confirm:focus {
  background-color:rgba(81, 102, 26, 0.12) ;/* light green */
  border:1px solid #536525;
  outline: none;
}

/* For Mobile - screens less than or equal to 480px */
@media (min-width: 0px) and (max-width: 480px) {
  .custom-btn-clear span,
  .custom-btn-cancel span,
  .custom-btn-confirm span {
    display: none; /* Hide text */
  }

  /* Button styles for mobile */
  .custom-btn-clear,
  .custom-btn-cancel,
  .custom-btn-confirm {
    display: inline-flex; /* Ensure button keeps its structure */
    width: 12vw; /* Fixed width for mobile screens */
    height: 6vh; /* Fixed height for mobile screens */
    margin-bottom: 10px; /* Space between buttons */
    padding: 0; /* Remove padding to fit the icon */
    align-items: center;
    justify-content: center;
    border: none !important;
    background-color: transparent !important;
    gap: 0px !important;
  }

  .custom-btn-icon {
    width: 70%; /* Icon size for mobile */
    height: auto; /* Maintain icon's aspect ratio */
  }
}

/* For Screens Between 480px and 600px (Larger Mobile Devices) */
@media (min-width: 480px) and (max-width: 600px) {
  .custom-btn-clear,
  .custom-btn-cancel,
  .custom-btn-confirm {
    width: 25vw; /* Adjust width for tablets and small screens */
    height: 6vh; /* Button height for these screens */
    margin-bottom: 15px; /* Space between buttons */
    font-size: 14px; /* Slightly smaller font size */
  }
}

/* For Small Tablets/Medium Screens - Between 600px and 768px */
@media (min-width: 600px) and (max-width: 768px) {
  .custom-btn-clear,
  .custom-btn-cancel,
  .custom-btn-confirm {
    width: 20vw; /* Adjust width for tablets */
    height: 7vh; /* Button height for these screens */
    font-size: 15px; /* Adjust font size */
  }
}

/* For Tablets/Medium Screens - Between 768px and 1024px */
@media (min-width: 768px) and (max-width: 1024px) {
  .custom-btn-clear,
  .custom-btn-cancel,
  .custom-btn-confirm {
    width: 15vw; /* Adjust width for larger tablets */
    height: 7vh; /* Button height */
    font-size: 16px; /* Standard font size */
  }
}

/* ==========================================================================
   Skeleton loading for the showroom product grid.
   Two layers cooperate:
     1. `.card_skeleton` placeholder cards fill the grid while a page of
        products is still in flight, so the user sees the shape of what is
        coming instead of blank space.
     2. `.card_image_placeholder` keeps a shimmer inside each real card until
        that card's own image has decoded (lazysizes swaps data-src -> src
        asynchronously, so the card lands well before its picture does).
   ========================================================================== */
@keyframes nf-skeleton-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.nf-shimmer {
    background-color: #ece7e3;
    background-image: linear-gradient(
        90deg,
        rgba(236, 231, 227, 0) 0%,
        rgba(255, 255, 255, 0.9) 50%,
        rgba(236, 231, 227, 0) 100%
    );
    background-size: 200% 100%;
    background-repeat: no-repeat;
    animation: nf-skeleton-shimmer 1.5s ease-in-out infinite;
}

.card_skeleton {
    width: 208px !important;
    height: 280px;
    position: relative;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--natural-border);
    overflow: hidden;
    pointer-events: none;
}

.card_skeleton_image {
    width: 100%;
    height: 208px;
}

.card_skeleton_text {
    padding: 14px 8px;
}

.card_skeleton_line {
    height: 12px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.card_skeleton_line.short {
    width: 60%;
}

/* Sits behind the real image, inside the positioned .card_image_div, so it is
   out of the flex flow and never shifts the card's description. */
.card_image_div .card_image_placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 208px;
    border-radius: 12px 12px 0 0;
}

.card_image_div .card_image {
    position: relative;
    opacity: 1;
    transition: opacity 300ms ease-in;
}

.card_image_div .card_image.is-loading,
.card_image_div .card_image.is-missing {
    opacity: 0;
}

/* Stand-in for an image that never arrives: the file is gone from media/, or
   the record has no thumbnail at all. Without it the card shows the browser's
   broken-image glyph and the raw alt text. Grids opt in with
   data-image-fallback="true" on the container. */
.card_image_div .card_image_fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 208px;
    border-radius: 12px 12px 0 0;
    background: var(--natural-light);
    border-bottom: 1px solid var(--natural-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--natural-primary);
}

.card_image_div .card_image_fallback svg {
    width: 80px;
    height: 80px;
    opacity: 0.45;
}

/* Percentages, not fixed px: the same panel is reused wherever a card grid
   lives, and object-fit keeps the logo's aspect ratio whatever the box. */
.card_image_div .card_image_fallback_logo {
    width: 72%;
    max-height: 60%;
    object-fit: contain;
    opacity: 0.85;
}

.no_products_message {
    padding: 24px 0;
}

/* Phones: two product cards per row instead of one. Grids opt in with the
   product-grid class (showroom grid, product-page styles, similar products,
   Before & After). */
@media (max-width: 767px) {
    .showroom_content.product-grid {
        column-gap: 12px;
        row-gap: 16px;
    }

    /* Capped at the desktop card width: from about 470px up, the cards keep their
       208px size and as many fit per row as the screen allows. */
    .product-grid > a,
    .product-grid > .card_skeleton {
        width: calc((100% - 12px) / 2);
        max-width: 208px;
    }

    .product-grid .card_section,
    .product-grid .card_skeleton {
        width: 100% !important;
        height: auto;
    }

    /* The square image now sets the card's height, so the inner box joins the flow. */
    .product-grid .card_image_div {
        position: relative;
        height: auto;
    }

    .product-grid .card_image,
    .product-grid .card_image_div .card_image_placeholder,
    .product-grid .card_image_div .card_image_fallback,
    .product-grid .card_skeleton_image {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    /* Before & After: the before/after pair that fades in over a tile was 75%
       of the fixed 280px card, i.e. the 208px image. Square, it covers the
       image exactly again. */
    .product-grid .card_image_1 {
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .product-grid .card_description_container {
        height: 64px;
        padding: 10px 8px;
    }

    .product-grid .card_description {
        height: 40px;
        font-size: 14px;
        line-height: 20px;
    }

    /* Two 12px lines plus padding: the same 64px as a real card's description. */
    .product-grid .card_skeleton_text {
        padding: 10px 8px;
    }
}

/* ==========================================================================
   Pinned category bar (showroom, category and product pages).
   Once the banner has scrolled away, .category-button stays under the fixed
   header and the products scroll underneath it, 20% see-through. While pinned
   it shrinks -- one slim row on desktop, 4 per row below 1024px -- and the
   filter button leaves its row when it reaches the bar: docked at the right
   end of the slim row, or floating above the gallery button. The behaviour is
   in static/js/pinned-category-bar.js, which sets the is-* classes and the
   --pinned-header-h / --pinned-bar-h variables used here.
   ========================================================================== */
.category-button {
    position: sticky;
    top: var(--pinned-header-h, 88px);
    z-index: 30;
    background-color: rgba(255, 255, 255, 0.8);
}

/* On product pages the buttons are links to the category's showroom page. */
.category-button a.overlap-group {
    display: block;
    text-decoration: none;
}

/* Shrinking the bar must not make the browser re-anchor the scroll position,
   or the bar would flip between pinned and not pinned. */
html.pinned-bar-page {
    overflow-anchor: none;
}

/* Desktop, pinned: all 8 buttons in one slim row. The side padding leaves room
   for the docked filter on the right and mirrors it on the left. */
.category-button.is-slim {
    flex-wrap: nowrap;
    gap: 12px;
    padding: 12px 84px;
}

.category-button.is-slim.no-filter {
    padding: 12px 16px;
}

.category-button.is-slim .overlap-group-wrapper {
    flex: 0 1 150px;
    width: auto;
    min-width: 0;
    height: 44px;
}

.category-button.is-slim .category_btns {
    height: 100%;
    font-size: clamp(12px, 1.1vw, 16px);
    letter-spacing: 0.5px;
}

/* Below 1024px, pinned: 4 buttons per row. */
.category-button.is-compact {
    gap: 8px;
    padding: 8px 12px;
}

.category-button.is-compact .overlap-group-wrapper {
    width: calc((100% - 24px) / 4);
    max-width: 198px;
    height: clamp(36px, 9.5vw, 44px);
}

.category-button.is-compact .category_btns {
    height: 100%;
    font-size: clamp(9px, 2.9vw, 16px);
    letter-spacing: 0;
}

.category-button.is-slim .overlap-group,
.category-button.is-compact .overlap-group {
    width: 100%;
    height: 100%;
    border-width: 3px;
}

.category-button.is-slim .background-state,
.category-button.is-compact .background-state {
    top: -3px;
    left: -3px;
    width: calc(100% + 6px);
    height: calc(100% + 6px);
    border-width: 3px;
}

/* The filter button once it has left its row: docked in the slim bar (desktop)
   or floating above the gallery button (below 1024px). */
.pinned-filter-dock,
.pinned-filter-fab {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid var(--materialcolororange-100);
    cursor: pointer;
}

.pinned-filter-dock {
    position: absolute;
    right: 24px;
    top: 50%;
    margin-top: -22px;
    width: 44px;
    height: 44px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    z-index: 2;
}

.category-button.is-slim .pinned-filter-dock.is-shown {
    display: flex;
}

/* Pages without the bar (Before & After): on desktop the filter pins at the
   top right under the header, lined up with the edge of the 1500px section. */
.pinned-filter-dock.is-top {
    position: fixed;
    top: calc(var(--pinned-header-h, 88px) + 12px);
    right: max(32px, calc((100% - 1500px) / 2 + 32px));
    margin-top: 0;
    z-index: 35;
}

.pinned-filter-dock.is-top.is-shown {
    display: flex;
}

.pinned-filter-fab {
    position: fixed;
    right: 20px;
    bottom: 80px;
    width: 48px;
    height: 48px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    z-index: 999;
}

.pinned-filter-fab.is-shown {
    display: flex;
}

/* The gallery button (.mobile-only-button) only exists up to 768px. */
@media (min-width: 769px) {
    .pinned-filter-fab {
        bottom: 20px;
    }
}

.pinned-filter-dock img,
.pinned-filter-fab img {
    width: 26px;
    height: 26px;
}

.pinned-filter-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background-color: var(--materialcolordeeporange-300);
    color: var(--orange-900);
    font-size: 11px;
    font-weight: 600;
    line-height: 18px;
    text-align: center;
}

.pinned-filter-count:empty {
    display: none;
}

/* Filter panel open in place: Clear / Cancel / Confirm stay under the pinned
   bar while the options scroll. */
.filter-bar.is-open .button-row {
    position: sticky;
    top: calc(var(--pinned-header-h, 88px) + var(--pinned-bar-h, 68px));
    z-index: 5;
    background-color: rgba(255, 255, 255, 0.8);
}

/* Filter panel opened from the docked / floating button: a sheet under the
   pinned bar, over the products, so the page behind it does not move. */
.filter-bar.is-sheet {
    position: fixed;
    top: calc(var(--pinned-header-h, 88px) + var(--pinned-bar-h, 68px));
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 35;
    justify-content: flex-start;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-top: 1px solid #eeeeee;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

/* Same width as the showroom section (.container in main.css). */
@media (min-width: 1500px) {
    .filter-bar.is-sheet {
        max-width: 1500px;
        margin: 0 auto;
    }
}

.filter-bar.is-sheet .button-row {
    top: 0;
    background-color: #ffffff;
}

/* While the sheet is open the page cannot scroll. body's overflow is applied
   to the window, so the pinned bar stays pinned; --pinned-sbw puts back the
   scrollbar's width so nothing shifts sideways. */
html.pinned-sheet-open body {
    overflow: hidden;
    padding-right: var(--pinned-sbw, 0px);
}

html.pinned-sheet-open .header-fixed {
    right: var(--pinned-sbw, 0px) !important;
}

html.pinned-sheet-open .mobile-only-button,
html.pinned-sheet-open .pinned-filter-fab,
html.pinned-filter-open .pinned-filter-dock {
    display: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .nf-shimmer { animation: none; }
    .card_image_div .card_image { transition: none; }
}
