/* @media (max-width: 770px) {
  .single_product_web_size {
    display: none;
  }
}

@media (min-width: 770px) {
  .mobileRes {
    display: none;
  }
} */

body {
  font-family: "Roboto", sans-serif; /* Apply Roboto to the whole page */
}

/* General styles for the quantity selector */
.quantity-selector {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #357abd;
  border-radius: 5px;
  overflow: hidden;
  width: 80px;
  height: 30px;
}

.quantity-selector .btn {
  border: none;
  color: #357abd;
  font-weight: bold;
  padding: 0.2rem 0.3rem;
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 100%;
}

.quantity-selector input {
  width: 30px;
  text-align: center;
  border: none;
  border-right: 1px solid #357abd;
  border-left: 1px solid #357abd;
  padding: 0.2rem 0;
  font-size: 0.9rem;
  height: 100%;
}

.quantity-selector .btn:hover {
  background-color: #f0f0f0;
}

.quantity-selector input:focus {
  outline: none;
}

/* Tablet view - medium devices (iPad size) */
@media (max-width: 768px) {
  .quantity-selector {
    width: 70px;
  }

  .quantity-selector .btn {
    padding: 0.1rem 0.2rem;
  }

  .quantity-selector input {
    width: 25px;
    padding: 0.1rem 0;
  }
}

/* Mobile view - small devices (up to 375px) */
@media (max-width: 375px) {
  .quantity-selector {
    width: 70px;
    height: 35px;
  }

  .quantity-selector .btn {
    padding: 0.1rem 0.2rem;
    font-size: 0.7rem;
  }

  .quantity-selector input {
    width: 15px;
    padding: 0.1rem 0;
    font-size: 0.7rem;
  }
}

/* Additional styles for responsiveness */
@media only screen and (min-width: 523px) {
  .addtocart {
    margin-left: 55px;
    width: 202px;
  }
}

@media only screen and (min-width: 523px) {
  .btnaddtocart {
    width: 415px;
  }
}

@media only screen and (max-width: 380px) {
  .addtocart {
    width: 310px;
  }
}

/* General styles for the quantity selector END */

/* Custom action Button Styling */
.btnn {
  font-size: 1rem;
  /* Adjust the button font size */
  padding: 10px 15px;
  /* Add padding for a better feel */
  border-radius: 5px;
  /* Rounded corners */
  width: 250px;
}

/* Green button for "Buy Now" */
.btnbuynow {
  background-color: #28a745;
  /* Bootstrap green */
  color: white;
  /* White text for contrast */
}

.btnbuynow:hover {
  background-color: #218838;
  /* Slightly darker green on hover */
}

/* Outlined green button for "Add to Wishlist" */
.btnaddtowishlist-2 {
  border: 2px solid #28a745;
  /* Green outline */
  color: #28a745;
  /* Green text */
  background-color: transparent;
  /* Transparent background */
}

.btnaddtowishlist-2:hover {
  background-color: #28a745;
  /* Fill green on hover */
  color: white;
  /* White text on hover */
}

/* Responsive Adjustments */
@media (max-width: 576px) {
  .btn {
    font-size: 0.9rem;
    /* Slightly smaller text on small screens */
    padding: 8px 12px;
    /* Adjust padding for smaller devices */
  }
}

.price {
  font-size: 28px;
  color: #333;
  font-weight: 500;
}
.cname {
  font-size: 20px;
  color: #333;
  margin-bottom: 10px;
}
.pname {
  font-size: 30px;
  text-transform: uppercase;
  color: #333;
  font-weight: bold;
  margin-top: -18px;
  line-height: 1;
}
.installmentss {
  font-size: 14px;
  margin-top: 5px;
}
.btnsize {
  background-color: #534f4f;
  color: white;
  padding: 3.5px 20px;
  border: none;
  border-radius: 2px;
}
.actions {
  width: 85%;
}

.productinfo {
  background-color: #b1b1b1;
  color: rgb(28, 28, 28);
  width: 100%;
  border: none;
  padding: 10px 10px;
  font-weight: 600;
  text-align: left;
}
.collapse {
  margin-top: -16px;
}

/* .sthumbnail {
  margin-right: 30px;
} */

@media only screen and (max-width: 600px) {
  .price {
    font-size: 25px;
    color: #333;
    font-weight: 500;
  }
  .cname {
    font-size: 18px;
    color: #333;
  }
  .installmentss {
    font-size: 18px;
  }
  .btnsize {
    background-color: #333;
    color: white;
    padding: 5px 20px;
    border: none;
    border-radius: 5px;
  }
  .actions {
    width: 100%;
  }
  .sthumbnail {
    margin-right: 0px;
  }
}

.horizontal-container {
  display: flex;
  align-items: center; /* Vertically align the items */
  gap: 10px; /* Space between the elements */
}

.curved-rectangle {
  flex: 1; /* Adjusts to take equal space as needed */
}

.quantity-selector {
  display: inline-flex; /* Ensures the quantity selector remains compact */
  align-items: center;
  justify-content: center;
}

.quantity-selector button {
  flex-shrink: 0; /* Prevent buttons from shrinking */
}

.quantity-selector input {
  text-align: center;
  width: 50px; /* Adjust as needed for input width */
}

.size-btn {
  transition: all 0.3s ease;
}

.size-btn.selected {
  background-color: gray; 
  color: white;           
  border-color: gray;     
}


.color-btn {
  width: 30px;
  height: 30px;
  margin: 1px;
  transition: all 0.2s ease; /* Smooth transition */
  border: none; /* Default: No border */
  box-sizing: border-box; /* Ensure size remains unchanged */
 
}

.color-btn.selected {
  box-shadow: 0 0 0 5px white, 0 0 0 6px black; /* White space and 1px black border */
  border-radius: 8%; /* Remove border radius (make corners square) */
}

.professional-style {
    font-family: 'Arial', 'Helvetica', sans-serif; /* Use professional fonts */
    font-size: 16px; /* Adjust size to fit your design */
    font-weight: 600; /* Semi-bold for a clean professional look */
    color: #333333; /* Neutral dark color */
    margin: 10px 0; /* Space around the heading */
    line-height: 1.5; /* Improve readability */
}



/* Optional: Change button color on hover when disabled */
button.btnn:disabled:hover {
  background-color: #A9A9A9; /* Gray background for disabled buttons */
  color: #ffffff;           /* White text for better contrast */
  border-color: #A9A9A9;    /* Matching border color */     /* Show 'not-allowed' cursor */
  opacity: 0.8;             /* Keep text color consistent */
}

.btn-close::before {
  content: "\00d7"; /* Unicode for close 'X' symbol */
  color: white; /* Set custom icon color to white */
  font-size: 2.5rem; /* Adjust font size */
  font-weight: bold; /* Make the icon bold */
  position: absolute; /* Absolute position for control */
  top: -10%; /* Align top */
  left: 50%; /* Align horizontally in the middle */
  transform: translateX(-50%); /* Correct for centering */
}

.custom-btn:hover {
  color: white !important;
  background-color: rgba(0, 0, 0, 0.8)!important;
}


/* Updated Thumbnail Styles */
.product-thumbnails img {
  cursor: pointer;
  width: 100%; /* Ensure image fills the container width */
  height: auto; /* Maintain aspect ratio */
  max-width: 100px; /* Limit the width to 100px */
  max-height: 100px; /* Limit the height to 100px */
  border: none; /* Remove borders */
  margin: 0; /* Ensure no unnecessary margin */
  padding: 0; /* Ensure no padding cuts into the image */
  object-fit: contain; /* Fit the image within its box without distortion */
  box-sizing: border-box; /* Include padding/margin in size calculations */
}

/* Thumbnail Image Hover Effect */
.product-thumbnails img:hover {
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.8); /* Subtle white glow */
  transform: scale(1.05); /* Slight zoom effect */
  transition: all 0.2s ease-in-out; /* Smooth transition */
}

/* Thumbnail Container Adjustments */
.product-thumbnails {
  max-height: 800px; /* Limit height for overflow control */
  overflow-y: auto; /* Enable vertical scrolling */
  display: flex; /* Flex display for easy alignment */
  flex-direction: column; /* Stack images vertically */
  gap: 10px; /* Space between thumbnails */
  align-items: center; /* Center-align thumbnails */
  padding: 0; /* Remove padding to prevent extra space */
  margin: 0; /* Ensure no unnecessary margin */
  margin-right: 0;
  padding-right: 0;
}

/* Adjust Column for Thumbnails */
.sthumbnail {
  margin-left: 10px; /* Add spacing between the thumbnails and main image */
  overflow: hidden; /* Prevent extra scroll space */
  padding: 0; /* Ensure no padding in this container */
  margin: 0; /* Reset margins to avoid extra spacing */
}

/* Body or Parent Container Adjustments */
.container {
  overflow-x: hidden; /* Disable horizontal scrolling */
}

.img-thumbnails{
  margin: 0;
  padding: 0;
}