.xoo-wsc-modal .xoo-wsc-basket {
    display: none !important;
}

.xoo-wsc-container {
 font-family: "IBMPlexSansHebrew", Sans-serif !important;
}

.navlist ul {
    background: #F7BF4B;
    color: #212121;
    list-style-type: none;
    text-align: right;
    padding: 10px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}

.woocommerce-product-details__short-description {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Limits the text to 2 lines */
  -webkit-box-orient: vertical;
}

.navlist {
    display: none;
    position: fixed;
    width: 8vw;
    left: 5vw;
    z-index:2;
}

.navlist ul li {
    margin-bottom: 10px;
    border-bottom: solid 1px #CAC9C8;
    padding-bottom: 5px;
}

.navlist ul li:last-child {
    padding-bottom: 0;
}

.navlist ul li a,
.navlist a {
    padding: 0;
    color: #212121;
    font-size: 1.25rem;
}

.navlist ul li img {
    margin-left: 10px;
}


.loggedinbtn {
    border-radius: 2.604vw;
    border: solid 1px #fff;
    line-height: 1.8vw;
    width: 1.8vw;
    height: 1.8vw;
    text-align: center;
    cursor: pointer;
}

.loggedinbtn:focus-visible,
.loggedinbtn:focus,
.loggedinbtn:hover {
    outline: 2px solid #fff;
    outline-offset: 1px;
}


.custom-price-before-cart {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
    color: #000;
}

.qty-btn {
    background: #eee;
    border: none;
    font-size: 20px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    line-height: 1;
    border-radius: 4px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: background 0.2s;
}

.qty-btn:hover {
    background: #ccc;
}

.quantity {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}


.xoo-wsc-opac {
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.xoo-wsc-header .xoo-wsch-basket {
    display: none;
}

.xoo-wsc-empty-cart {
    text-align: center;
    color: #fff;
    font-size: 1.75rem;
}

.xoo-wsc-btn {
    border-radius: 50px 0px 50px 50px;
}

.xoo-wsc-ft-buttons-cont.xoo-wsc-ft-buttons-cont {
    display: flex;
    flex-direction: column-reverse;
}

.xoo-wsc-ft-buttons-cont .xoo-wsc-ft-btn-continue {
    color: #fff !important;
    background-color: unset !important;
    text-decoration: underline !important;
}

.xoo-wsc-empty-cart .xoo-wsc-btn {
    font-size: 18px;
}

.bcb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 20px;
    justify-items: center;
}

.bcb-grid>*:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
}

.bcb-item:not(.selected):hover .bcb-thumb img {
    opacity: .5;
}

.bcb-item:not(.selected):hover .bcb-badge {
    opacity: 1;
}

.bcb-input {
    border: none !important;
}

.beer-case-inner .bcb-qty button {
    background-color: unset !important;
}

@media (max-width: 767px) {
  .xoo-wsc-container, .xoo-wsc-slider {
    width: 100%;
    height: fit-content;
}
    .swiper-pagination-progressbar {
        display: none;
    }

    .elementor-swiper-button-prev {
        top: unset !important;
        bottom: -40px !important;
        left: calc(50% - 60px) !important;
        right: auto !important;
    }

    .elementor-swiper-button-next {
        top: unset !important;
        bottom: -40px !important;
        right: calc(50% - 60px) !important;
        left: auto !important;
    }
}

/* Fallback class applied by JS */
.bcb-sizes label.is-checked {
    background: var(--bcb-size-accent);
    color: #fff;
    border-color: var(--bcb-size-accent);
    font-weight: 700;
}


/* NEW: summary = 24 slots with empty bottle svg */
.bcb-slots {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.bcb-slot {
    aspect-ratio: 1/2.2;
    border: 0;
    background: #F7E0AF;
    border-radius: 12px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .08) inset, 0 1px 2px rgba(0, 0, 0, .06);
    overflow: hidden;
}

.bcb-slot img {
    max-width: auto !important;
    height: 100% !important;
    display: block;
    transition: transform .15s ease, opacity .2s ease;
}

.bcb-slot.filled img {
    transform: scale(1.02);
}

footer .bcb-submit {
    font-family: "IBMPlexSansHebrew", Sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50px 0px 50px 50px;
    display: block;
    width: 70%;
    color: #000;
    border-color: #f7bf4b;
}

footer .bcb-submit:hover {
 background-color: unset;
 border-color: #000;
 color: #000;
 
}


.xoo-wsc-empty-cart {
height: 100%;
  justify-content: space-between;
}

.xoo-wsc-empty-cart .xoo-wsc-btn {
display: block;
    width: 100%;
}


 {
    font-family: "Suez One", Sans-serif;
    font-size: 1.875rem;
    font-weight: 400;
    line-height: 30px;
    letter-spacing: 0;
    color: #4A4B3D
}


 .beer_case_stitle{
    font-family: "Suez One", Sans-serif;
    font-size: 1.875rem;
    font-weight: 400;
    line-height: 30px;
    letter-spacing: 0;
    color: #4A4B3D
}

.bcb-panel h3 {
    font-family: "Suez One", Sans-serif;
    font-size: 3.75rem;
    font-weight: 400;
    line-height: 60px;
    letter-spacing: 0;
    color: #4A4B3D
}

.bcb-sizes label {
font-family: "IBMPlexSansHebrew", Sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 26px;
    letter-spacing: 0;
    color: #fff;
   border-color:#4A4B3D !important;
}


.bcb-sizes {
    width: 80%;
    margin: auto;
}

@media (max-width: 767px) {
.bcb-grid {grid-template-columns: repeat(2, 1fr) !important;}
  .beer-case-left {width: 100% !important;}
  .bcb-qty {width: 100% !important;}
  .bcb-thumb img {width: 75px !important; height: auto !important;}
  .bcb-item {justify-content: space-between !important;}
  .beer_case_stitle {font-size:20px;}
  .bcb-panel h3 {font-size:24px; line-height: 24px;}
  .bcb-sizes label {font-size:14px;}
}

.xoo-wsc-img-col img {
    width: 50%;
}

/* Desktop - show normal buttons */
.bcb-sizes-select { display: none; }

@media (max-width: 768px) {
  .woocommerce .elementor-164 .elementor-element.elementor-element-d12b7ba .price {
display: flex !important;
    flex-direction: column;
    align-items: center;
}
  
  
  /* Hide label inputs on mobile */
  .bcb-sizes { display: none !important; }
  /* Show select instead */
  .bcb-sizes-select { 
    display: block;
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border-radius: 50px;
    border: 1px solid #ccc;
    background-color: #4A4B3D;
        color: #fff;
  }
  
  .bcb-panel {
    bottom: 0 !important;
    top:unset !important;
    height: fit-content !important;
    width: 100% !important;
}
  .bcb-slots, .bcb-help, .bcb-panel img {display: none !important; }
}

.xoo-wsc-sml-qty {
	order:4;
}

.xoo-wsc-priceBox {
	ORDER:3;
}


/* התווית נשארת RTL כרגיל */
.before-price { direction: rtl; }

/* המחיר (וגם הטווח) תמיד LTR ויציב */
.cl-unit-price,
.cl-unit-price .amount,
.cl-unit-price .woocommerce-Price-amount {
  direction: ltr;
  unicode-bidi: bidi-override; /* מונע היפוך סימנים ב-RTL */
  text-align: left;
  display: inline-block;
}

/* במקרה שאלמנטור עטף את המחיר ב-p.price */
.e-loop-item p.price,
.product p.price { direction: ltr; unicode-bidi: bidi-override; }


/* החזר את ההורה ל-RTL כך שהטקסט העברי יוצג נכון */
.e-loop-item p.price,
.product p.price,
.woocommerce ul.products li.product .price {
  direction: rtl !important;
  unicode-bidi: plaintext;
  text-align: right;
}

/* התווית בעברית – RTL רגיל */
.before-price {
  direction: rtl;
  unicode-bidi: plaintext;
  display: inline-block;
  margin-left: .35em; /* רווח קטן לפני המחיר (ב-RTL זה צד שמאל) */
}

/* המספר/טווח בלבד – LTR כדי שהסדר יישאר נכון */
.cl-unit-price,
.cl-unit-price .amount,
.cl-unit-price .woocommerce-Price-amount {
  direction: ltr;
  unicode-bidi: bidi-override;
  display: inline-block;
}

/* השורה של הסה״כ (אם מוצגת ב-JS) – שתישאר RTL ומתחת למחיר */
.cl-total {
  direction: rtl;
  text-align: right;
  display: block;
  margin-top: .25rem;
}



/* מיישר את כל בלוק המחיר לימין */
.e-loop-item p.price,
.woocommerce ul.products li.product .price,
.product p.price {
  direction: rtl !important;
  text-align: right !important;
  unicode-bidi: plaintext;
  display: block;
}

/* התווית בעברית נשארת RTL */
.before-price {
  direction: rtl;
  unicode-bidi: plaintext;
  margin-left: 6px; /* רווח קטן לפני המחיר */
}

/* המספרים / טווח המחיר נשארים LTR כדי שהסדר יהיה נכון */
.cl-unit-price,
.cl-unit-price .amount,
.cl-unit-price .woocommerce-Price-amount {
  direction: ltr !important;
  unicode-bidi: bidi-override !important;
  display: inline-block;
}

/* סה״כ (אם מוצג) — גם מיושר לימין */
.cl-total {
  direction: rtl;
  text-align: right;
  display: block;
  margin-top: 4px;
}

.price {
	display: flex !important;
}

.stock.in-stock {
display: none !important;
}