/*
Theme Name: Reebox Child
Template: reebox
Version: 1.0.0
*/

/* Whatsapp button css start */
.woocommerce div.product .button
 {
             box-shadow: 0px 1px 0px 0px #fff6af;
             background:linear-gradient(to bottom, #ffec64 5%, #ffab23 100%);
             background-color:#ffec64;
             border-radius:6px;
             border:1px solid #ffaa22;
             color:#333333;
             text-decoration:none;
             text-shadow:0px 1px 0px #ffee66;
 } 

#whatsapp-button {
  position: fixed;
  bottom: 60px;
  right: 20px; /* Adjust this value to control the horizontal position */
  z-index: 1000; /* Ensure it's above other elements */
}

#whatsapp-button button {
  background-color: #25d366; /* WhatsApp green */
  color: #fff;
  padding: 5px 10px;
  border: none;
  border-radius: 45px;
  cursor: pointer;
	font-size: 10px;
}
/* Whatsapp button css end */

/* ----------------------------------------------------------
   Related Products Slider – Fixed for Mobile & Desktop - add this css to additional css
---------------------------------------------------------- */

.related-slider-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    gap: 10px;
    margin-top: 20px;
}

.related-slider {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 10px 0;
    flex: 1;
}

.related-slider .product {
    flex: 0 0 auto;
    width: 48%; /* Two items per row on mobile */
    scroll-snap-align: start;
    background: #fff;
    border-radius: 8px;
    padding: 5px;
    box-shadow: 0 0 3px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.related-slider .product:hover {
    transform: translateY(-4px);
}

/* Arrows */
.arrow {
    font-size: 26px;
    cursor: pointer;
    padding: 6px 12px;
    background: #fff;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    border-radius: 6px;
    user-select: none;
    z-index: 5;
}

/* Responsive Fixes */
@media (min-width: 768px) {
    .related-slider .product {
        width: 220px; /* fixed width on tablet and desktop */
    }
}

@media (max-width: 480px) {
    .arrow {
        display: none;
    }
}

