

/* Start:/local/templates/gourji2015/components/endorphine/catalog.section/b2b_bestsellers/style.css?179197050320281*/
.gr-b2b-bestsellers{margin:54px auto 64px;padding:0 20px;max-width:1600px;color:var(--color-black, #000);font-family:inherit}
.gr-b2b-bestsellers__title{text-align:center;margin:0 0 32px;font-size:24px;font-weight:400;line-height:1.25}
.gr-b2b-bestsellers__tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:28px}
.gr-b2b-bestsellers__tab{appearance:none;display:inline-flex;align-items:center;height:32px;box-sizing:border-box;border:.5px solid var(--color-black, #000);background:#fff;color:var(--color-black, #000);border-radius:1px;padding:0 8px;font:inherit;font-size:16px;font-weight:400;line-height:24px;cursor:pointer;transition:color .2s,background-color .2s}
.gr-b2b-bestsellers__tab[aria-selected=true]{background:var(--color-black, #000);border-color:var(--color-black, #000);color:var(--color-white, #fff)}

.gr-b2b-bestsellers__panel[hidden]{display:none!important}
.gr-b2b-bestsellers__slider{position:relative}
.gr-b2b-bestsellers__track{display:flex;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}
.gr-b2b-bestsellers__track::-webkit-scrollbar{display:none}
.gr-b2b-bestsellers__card{flex:0 0 calc((100% - 72px)/4);min-width:0;scroll-snap-align:start;display:flex;flex-direction:column;text-align:center}
.gr-b2b-bestsellers__image{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:1/1;background:#fff;margin-bottom:32px;flex-shrink:0}
.gr-b2b-bestsellers__image img{display:block;width:100%;height:100%;object-fit:contain;max-width:100%}
.gr-b2b-bestsellers__name{display:flex;justify-content:center;align-items:flex-start;flex-grow:1;width:100%;box-sizing:border-box;color:var(--color-black, #000);font-family:inherit;font-weight:400;font-size:16px;line-height:20px;text-align:center;text-transform:none;text-decoration:none;min-height:44px;margin:0;padding:4px 0 0}
.gr-b2b-bestsellers__price{display:flex;justify-content:center;align-items:baseline;gap:4px 18px;flex-wrap:wrap;margin-top:10px;font-family:inherit;font-weight:400;font-size:18px;line-height:24px;color:#000}
.gr-b2b-bestsellers__price s{color:inherit;font-size:inherit;font-weight:inherit}
.gr-b2b-bestsellers__arrow{position:absolute;top:calc((100vw - 112px)/8);transform:translateY(-50%);z-index:1;display:flex;align-items:center;justify-content:center;width:20px;height:44px;padding:0;border:0;background:transparent;color:var(--color-black, #000);cursor:pointer}
.gr-b2b-bestsellers__arrow::before{font-family:swiper-icons;font-size:16px;line-height:1}
.gr-b2b-bestsellers__arrow--prev{left:-20px}.gr-b2b-bestsellers__arrow--prev::before{content:'prev'}
.gr-b2b-bestsellers__arrow--next{right:-20px}.gr-b2b-bestsellers__arrow--next::before{content:'next'}
.gr-b2b-bestsellers__arrow:disabled{opacity:.25;cursor:default}.gr-b2b-bestsellers__arrow[hidden]{display:none}
.gr-b2b-bestsellers__all{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:240px;max-width:100%;height:44px;margin:36px auto 0;padding:8px 16px;border:1px solid var(--color-black, #000);border-radius:0;background:#fff;color:var(--color-black, #000);font-family:inherit;font-weight:400;text-align:center;text-decoration:none;text-transform:none;font-size:14px;line-height:20px;transition:.3s ease-in-out}
.gr-b2b-bestsellers__all:hover{background:var(--color-white, #fff);color:var(--color-black, #000)}
.gr-b2b-bestsellers :focus,.gr-b2b-bestsellers :focus-visible{outline:none}
@media(min-width:1600px){.gr-b2b-bestsellers__arrow{top:186px}}
@media(max-width:1024px){.gr-b2b-bestsellers__card{flex-basis:calc((100% - 48px)/3)}}
@media(max-width:570px){.gr-b2b-bestsellers{margin-top:36px;margin-bottom:40px}.gr-b2b-bestsellers__title{font-size:20px;margin-bottom:24px}.gr-b2b-bestsellers__tabs{gap:8px}.gr-b2b-bestsellers__track{gap:12px}.gr-b2b-bestsellers__card{flex-basis:calc((100% - 12px)/2)}.gr-b2b-bestsellers__price{gap:4px 10px;font-size:16px;line-height:22px}.gr-b2b-bestsellers__arrow{display:none}.gr-b2b-bestsellers__all{margin-top:24px}}

@media(max-width:767px){.gr-b2b-bestsellers__tab{height:36px;padding:0 12px;border-radius:0;font-size:13px;white-space:nowrap}}

/* Same catalog spacing for rows without color controls on tablet/mobile. */
@media(max-width:1024px){.gr-b2b-bestsellers__image{margin-bottom:0}.gr-b2b-bestsellers__name{padding-top:8px;min-height:48px}}
@media(max-width:767px){.gr-b2b-bestsellers__name{font-size:12px}}

/* Desktop: match the home category track; keep arrows outside its edges. */
@media(min-width:1025px){
 .gr-b2b-bestsellers{width:100%;max-width:none;padding-left:0;padding-right:0;box-sizing:border-box}
 .gr-b2b-bestsellers__arrow--prev{left:-20px}
 .gr-b2b-bestsellers__arrow--next{right:-20px}
}
@media(min-width:1641px){
 .gr-b2b-bestsellers__arrow--prev::before{transform:translateX(-6px)}
 .gr-b2b-bestsellers__arrow--next::before{transform:translateX(6px)}
}

/* Match the category carousel: bleed to the right viewport edge, hint the next card. */
@media(max-width:1024px){
 .gr-b2b-bestsellers{padding-left:0;padding-right:0;overflow:visible}
 .gr-b2b-bestsellers__track{width:calc(50% + 50vw);max-width:none;box-sizing:border-box;padding-right:0;-webkit-overflow-scrolling:touch}
 .gr-b2b-bestsellers__arrow{display:none}
}
@media(max-width:767px){
 .gr-b2b-bestsellers__track{gap:8px}
 .gr-b2b-bestsellers__card{flex-basis:calc((100% - 16px)/2.5)}
}
@media(min-width:768px) and (max-width:1024px){
 .gr-b2b-bestsellers__track{gap:16px}
 .gr-b2b-bestsellers__card{flex-basis:calc((100% - 48px)/3.5)}
}

/* Catalog-style mobile filter strip, extending to the right viewport edge. */
@media(max-width:1024px){
 .gr-b2b-bestsellers__tabs{width:calc(50% + 50vw);max-width:none;min-width:0;box-sizing:border-box;flex-wrap:nowrap;justify-content:flex-start;gap:8px;overflow-x:auto;overflow-y:hidden;padding:4px 0 8px;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none}
 .gr-b2b-bestsellers__tabs::-webkit-scrollbar{display:none}
 .gr-b2b-bestsellers__tab{flex:0 0 auto;margin:0;height:36px;padding:0 12px;border-radius:0;font-size:13px;white-space:nowrap}
 .gr-b2b-bestsellers__tab:first-child{margin-left:auto}
 .gr-b2b-bestsellers__tab:last-child{margin-right:auto}
}

/* Match the lower home scarf block, including its final mobile price override. */
@media(max-width:767px){.gr-b2b-bestsellers__price{font-size:14px;line-height:18px}}

/* Heading and section rhythm match the adjacent home category block. */
.gr-b2b-bestsellers{margin-top:0;margin-bottom:0;padding-top:48px;padding-bottom:52px}
.gr-b2b-bestsellers__title{color:var(--color-black, #000);font-family:inherit;font-size:28px;font-weight:400;line-height:1.25;margin:0 0 28px;padding:0}
@media(max-width:767px){
 .gr-b2b-bestsellers{padding-top:28px;padding-bottom:32px}
 .gr-b2b-bestsellers__title{font-size:22px;margin-bottom:20px}
}

/* Use catalog card dimensions; intrinsic portrait photos must not grow the frame. */
.gr-b2b-bestsellers__image{position:relative;min-height:0;height:355px;aspect-ratio:auto;overflow:hidden}
.gr-b2b-bestsellers__image img{position:absolute;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain}
@media(min-width:1025px){
 .gr-b2b-bestsellers__track{gap:20px}
 .gr-b2b-bestsellers__card{flex-basis:calc((100% - 60px)/4)}
}
@media(max-width:1024px){
 .gr-b2b-bestsellers__image{height:auto;aspect-ratio:1/1}
}
@media(max-width:767px){
 .gr-b2b-bestsellers__track{gap:10px}
 .gr-b2b-bestsellers__card{flex-basis:calc((100vw - 52px)/2)}
}
@media(min-width:768px) and (max-width:1024px){
 .gr-b2b-bestsellers__track{gap:20px}
 .gr-b2b-bestsellers__card{flex-basis:calc((100vw - 60px)/2)}
}

/* Let scrolled tabs leave at the screen edge, with gutters at both ends. */
@media(max-width:1024px){
 .gr-b2b-bestsellers__tabs{width:100vw;margin-left:calc(50% - 50vw);padding-left:calc(50vw - 50%);padding-right:calc(50vw - 50%);scroll-padding-inline:16px}
}

/* Show half of the next product despite white margins in product photos. */
@media(max-width:767px){
 .gr-b2b-bestsellers__card{flex-basis:calc((100% - 20px)/2.5)}
}

/* Mobile CTA uses the same dimensions and type size as category tabs. */
@media(max-width:767px){
 .gr-b2b-bestsellers__all{width:max-content;height:36px;padding:0 12px;font-size:13px;line-height:24px;border-width:.5px}
}

/* Desktop CTA text matches the category tabs above. */
@media(min-width:1025px){
 .gr-b2b-bestsellers__all{font-size:16px;line-height:24px}
}

/* Tablet: retain a visible next product and match filter-button dimensions. */
@media(min-width:768px) and (max-width:1024px){
 .gr-b2b-bestsellers__track{gap:16px}
 .gr-b2b-bestsellers__card{flex-basis:calc((100% - 48px)/3.5)}
 .gr-b2b-bestsellers__all{width:max-content;height:36px;padding:0 12px;font-size:13px;line-height:24px;border-width:.5px}
}

/* Fit the standalone B2B product container; arrows need no icon font. */
.gr-b2b-bestsellers{width:100%;max-width:none;padding:24px 0;margin:0;box-sizing:border-box;font-family:Onest,sans-serif}
.gr-b2b-bestsellers *{box-sizing:border-box}
.gr-b2b-bestsellers__title{font-size:24px;font-weight:400}
.gr-b2b-bestsellers__arrow::before{content:"";width:10px;height:10px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;font-family:inherit;transform:rotate(45deg)}
.gr-b2b-bestsellers__arrow--prev::before{transform:rotate(-135deg)}
@media(max-width:767px){.gr-b2b-bestsellers__title{font-size:22px}.gr-b2b-bestsellers{padding:16px 0}}

.gr-b2b-bestsellers__arrow--prev{left:-10px;width:10px}
.gr-b2b-bestsellers__arrow--next{right:-10px;width:10px}
@media(max-width:767px){.gr-b2b-bestsellers{width:calc(100% - 32px);margin:0 auto}}

.gr-b2b-bestsellers__arrow--prev,.gr-b2b-bestsellers__arrow--next{width:20px}


/* Match the left-aligned heading and description of the ready-made sets. */
.gr-b2b-bestsellers__heading{margin-bottom:28px;text-align:left}
.gr-b2b-bestsellers__heading .catalog-title{margin:0;padding:0}
.gr-b2b-bestsellers__heading .catalog-subtitle{padding:0}
@media(max-width:767px){.gr-b2b-bestsellers__heading{margin-bottom:20px}}

/* Catalog product photos retain their proportions in the shared set popup. */
.set-popup-overlay--product .set-popup-gallery-item img{object-fit:contain;background:#fff}
.gr-b2b-bestsellers__card[data-product-popup]{cursor:pointer}

/* Use the standalone B2B page palette for text and interactive states. */
.gr-b2b-bestsellers__tab{border-color:var(--color-border, #bcbcbc)}
.gr-b2b-bestsellers__tab[aria-selected=true]{background:var(--color-text-main, #1d1d1d);border-color:var(--color-text-main, #1d1d1d);color:var(--color-white, #fff)}
.gr-b2b-bestsellers__name{transition:color .2s ease}
.gr-b2b-bestsellers__arrow{color:var(--color-border, #bcbcbc);transition:color .2s ease}
@media(hover:hover){
 .gr-b2b-bestsellers__tab:hover{background:var(--color-gray-dark, #5e5e5e);border-color:var(--color-gray-dark, #5e5e5e);color:var(--color-white, #fff)}
 .gr-b2b-bestsellers__name:hover{color:var(--color-gray-dark, #5e5e5e)}
 .gr-b2b-bestsellers__arrow:not(:disabled):hover{color:var(--color-gray-dark, #5e5e5e)}
}

/* Product detail modal: white editorial layout, independent of ready-made sets. */
.set-popup-overlay--product .set-popup{width:1280px;max-width:calc(100vw - 48px);height:780px;max-height:90dvh;border-radius:0;background:#fff}
.set-popup-overlay--product .set-popup-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:28px 48px;padding:56px;box-sizing:border-box;height:100%;min-height:0}
.set-popup-overlay--product .set-popup-header{grid-column:1;grid-row:1;padding:0;display:block}
.set-popup-overlay--product .set-popup-title{font-size:24px;line-height:1.2;font-weight:500;padding:0}
.set-popup-overlay--product .set-popup-close{position:absolute;right:12px;top:12px;z-index:30}
.set-popup-overlay--product .set-popup-content{display:contents}
.set-popup-overlay--product .set-popup-left{grid-column:1;grid-row:2;padding:0;width:auto;min-width:0;overflow-y:auto}
.set-popup-overlay--product .set-popup-info-view{flex:none;overflow:visible;min-height:100%;gap:28px}
.set-popup-overlay--product .set-popup-description{flex:none;overflow:visible;font-size:16px;line-height:1.6;color:var(--color-text-main,#1d1d1d)}
.set-popup-overlay--product .set-popup-footer{position:static;margin-top:auto;padding:0;background:#fff;border:0;gap:24px;align-items:flex-start}
.set-popup-overlay--product .set-popup-price{display:block;text-align:left;font-size:32px;font-weight:500;line-height:1.2;margin:0}
.set-popup-overlay--product .set-popup-request-btn{width:auto;min-width:220px;border-radius:0;border:1px solid var(--color-text-main,#1d1d1d);background:#fff;color:var(--color-text-main,#1d1d1d);padding:16px 28px;font-size:16px;transition:background .2s,color .2s}
.set-popup-overlay--product .set-popup-request-btn:hover{background:var(--color-text-main,#1d1d1d);color:#fff;opacity:1}
.set-popup-overlay--product .set-popup-right{grid-column:2;grid-row:1 / 3;width:auto;min-width:0;padding:0;display:flex;justify-content:center;gap:16px}
.set-popup-overlay--product .set-popup-gallery-wrapper{height:auto;flex:1;min-height:0;width:100%}
.set-popup-overlay--product .set-popup-gallery{margin:0 32px;width:calc(100% - 64px);height:100%}
.set-popup-overlay--product .set-popup-gallery-item img{width:100%;height:100%;object-fit:contain;padding:0;background:#fff}
.set-popup-overlay--product .set-popup-gallery-nav{position:static;margin:0;flex-shrink:0}
.set-popup-overlay--product .set-popup-form-view{flex:none;overflow:visible}
.set-popup-overlay--product .set-popup-form-container{flex:none}
.set-popup-overlay--product .set-popup-back-btn{display:block;margin:16px 0}
@media(min-width:769px) and (max-width:1024px){
 .set-popup-overlay--product .set-popup-body{padding:44px 28px 28px;gap:24px}
 .set-popup-overlay--product .set-popup-title{font-size:20px}
}
@media(max-width:768px){
 .set-popup-overlay--product .set-popup{width:100%;max-width:100%;height:100dvh;max-height:100dvh;overflow-y:auto}
 .set-popup-overlay--product .set-popup-body{display:flex;flex-direction:column;height:auto;min-height:100%;padding:56px 20px 28px;gap:24px}
 .set-popup-overlay--product .set-popup-header{order:0}
 .set-popup-overlay--product .set-popup-title{font-size:16px;line-height:1.25}
 .set-popup-overlay--product .set-popup-right{order:1;flex:none;width:100%;height:320px}
 .set-popup-overlay--product .set-popup-left{order:2;flex:none;overflow:visible;width:100%}
 .set-popup-overlay--product .set-popup-description{font-size:14px}
 .set-popup-overlay--product .set-popup-info-view{gap:24px;min-height:0}
 .set-popup-overlay--product .set-popup-footer{gap:20px}
 .set-popup-overlay--product .set-popup-price{font-size:26px}
 .set-popup-overlay--product .set-popup-request-btn{width:100%;min-width:0}
}

@media(min-width:769px){.set-popup-overlay--product .set-popup-info-view{flex:none;min-height:0;overflow:visible;gap:24px}.set-popup-overlay--product .set-popup-description{flex:none;overflow:visible}.set-popup-overlay--product .set-popup-footer{margin-top:0}}

/* Desktop product gallery on the left, product information on the right. */
@media(min-width:769px){.set-popup-overlay--product .set-popup-header,.set-popup-overlay--product .set-popup-left{grid-column:2}.set-popup-overlay--product .set-popup-right{grid-column:1}}

/* Keep the product action in reach on phones without covering the description. */
@media(max-width:768px){
 .set-popup-overlay--product .set-popup-body{padding-bottom:calc(112px + env(safe-area-inset-bottom,0px))}
 .set-popup-overlay--product .set-popup-footer{position:fixed;inset:auto 0 0;z-index:25;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:14px 20px calc(14px + env(safe-area-inset-bottom,0px));background:#fff;border-top:1px solid var(--color-border,#bcbcbc)}
 .set-popup-overlay--product .set-popup-price{font-size:20px;line-height:1.2;min-width:0;flex:1}
 .set-popup-overlay--product .set-popup-request-btn{width:auto;flex:0 0 auto;min-width:0;padding:14px 16px;font-size:14px;white-space:nowrap}
}
@media(max-width:359px){
 .set-popup-overlay--product .set-popup-footer{padding-left:12px;padding-right:12px;gap:8px}
 .set-popup-overlay--product .set-popup-price{font-size:18px}
 .set-popup-overlay--product .set-popup-request-btn{padding-left:12px;padding-right:12px}
}

@media(min-width:769px){.set-popup-overlay--product .set-popup-footer{align-items:flex-end}.set-popup-overlay--product .set-popup-price{text-align:right}}



.set-popup-overlay--product .gr-b2b-product-specs{margin-top:20px;display:grid;gap:6px}.set-popup-overlay--product .gr-b2b-product-specs strong{font-weight:500}

/* Mobile product header stays above the scrolling gallery and description. */
@media(max-width:768px){
 .set-popup-overlay--product .set-popup-body{padding-top:0}
 .set-popup-overlay--product .set-popup-header{position:sticky;top:0;z-index:30;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-shrink:0;margin:0 -20px;padding:8px 12px 8px 20px;background:#fff;border-bottom:0;box-shadow:0 2px 8px rgba(0,0,0,.08)}
 .set-popup-overlay--product .set-popup-title{flex:1;min-width:0;overflow-wrap:anywhere;padding-top:10px}
 .set-popup-overlay--product .set-popup-close{position:static;flex:0 0 40px;width:40px;height:40px}
}

/* A single bounded mobile scroller; header and action bar stay outside its flow. */
@media(max-width:768px){
 .set-popup-overlay--product .set-popup{overflow:hidden;overscroll-behavior:none}
 .set-popup-overlay--product .set-popup-body{height:100%;min-height:0;flex:1 1 auto;padding:0;gap:0;overflow:hidden}
 .set-popup-overlay--product .set-popup-header{position:relative;top:auto;margin:0;flex:0 0 auto}
 .set-popup-overlay--product .set-popup-content{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:none;overflow-anchor:none;-webkit-overflow-scrolling:touch;padding:24px 20px calc(112px + env(safe-area-inset-bottom,0px));gap:24px;box-sizing:border-box;scroll-behavior:auto}
 .set-popup-overlay--product .set-popup-left,.set-popup-overlay--product .set-popup-right{flex-shrink:0}
 .set-popup-overlay--product .set-popup-gallery{overflow-y:hidden;overscroll-behavior-x:contain}
}

/* Keep long galleries within the column and use one discreet vertical scrollbar. */
.set-popup-overlay--product .set-popup-gallery-nav{max-width:100%;width:100%;min-width:0}
.set-popup-overlay--product .set-popup-dots{max-width:100%;min-width:0;justify-content:center}
.set-popup-overlay--product .set-popup-dot{flex:0 1 18px;min-width:0}
.set-popup-overlay--product .set-popup-left,
.set-popup-overlay--product .set-popup-content{scrollbar-width:thin;scrollbar-color:#bcbcbc transparent}
.set-popup-overlay--product .set-popup-left::-webkit-scrollbar,
.set-popup-overlay--product .set-popup-content::-webkit-scrollbar{width:4px}
.set-popup-overlay--product .set-popup-left::-webkit-scrollbar-thumb,
.set-popup-overlay--product .set-popup-content::-webkit-scrollbar-thumb{background:#bcbcbc;border-radius:4px}
.set-popup-overlay--product .set-popup-left::-webkit-scrollbar-track,
.set-popup-overlay--product .set-popup-content::-webkit-scrollbar-track{background:transparent}
.set-popup-overlay--product .set-popup-form-container .b24-form{transform:none}
@media(min-width:769px){
 .set-popup-overlay--product .set-popup-left{padding-right:8px;overscroll-behavior-y:contain}
}
@media(max-width:768px){
 .set-popup-overlay--product.is-form-open .set-popup-content{padding-bottom:calc(24px + env(safe-area-inset-bottom,0px))}
}

/* Give the request form the full column height; title stays with the product photo. */
@media(min-width:769px){
 .set-popup-overlay--product.is-form-open .set-popup-body{padding:32px;gap:16px 32px}
 .set-popup-overlay--product.is-form-open .set-popup-header{grid-column:1;grid-row:1;padding-right:0}
 .set-popup-overlay--product.is-form-open .set-popup-title{font-size:20px;line-height:1.25}
 .set-popup-overlay--product.is-form-open .set-popup-right{grid-column:1;grid-row:2}
 .set-popup-overlay--product.is-form-open .set-popup-left{grid-column:2;grid-row:1 / 3;min-height:0}
}

/* End */
/* /local/templates/gourji2015/components/endorphine/catalog.section/b2b_bestsellers/style.css?179197050320281 */
