* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
	font-family: sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Prevent horizontal scroll */
}


	
/* product Section*/
.products-page {
  position: relative;
  /* z-index: -1; */
}
		
.products-page .product-heading {
	 width: 100%;
  text-align: center;
  margin-bottom: 2rem;
  padding: 0 2rem;
  text-align: center;
  margin-bottom: 24px;
  
}


.products-page .product-heading .heading-container{
      display: flex;
    flex-direction: column;
}

.products-page .product-heading .heading1{
      font-weight: 400;
    font-style: normal;
    font-size: 16px;
    /* line-height: 0px; */
    line-height: 1.4;
    letter-spacing: 2.4px;
    text-transform: uppercase;
}

.products-page .product-heading .underline{
	margin: 0 auto;
	height: 2px;
    background-color: rgb(197, 153, 73);
    width: 50%;
}

.products-page .product-heading .heading2{
	margin-top:15px;
    font-weight: 400;
    font-style: normal;
    font-size: 40px;
    line-height: 45px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.product-carousel-heading h2 {
  font-size: 28px;
  font-weight: 600;
  margin: 0;
  color: #222;
}

.product-carousel-heading h2 span {
  color: #b48b57; /* optional: brand color for Davidoff */
}

.product-carousel-heading p {
  font-size: 16px;
  margin-top: 6px;
}

    .products-page {
      display: flex;
      flex-wrap: wrap;
      padding: 2rem;
    }

    .filter-sidebar {
      flex: 1 1 250px;
      background: #fff;
      padding: 1.5rem;
      margin-right: 2rem;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .filter-sidebar h3 {
      margin-bottom: 1rem;
      color: #c59949;
      text-transform: uppercase;
    }

    .filter-group {
      margin-bottom: 2rem;
    }

    .filter-group label {
      display: block;
      margin-bottom: 0.5rem;
      color: #333;
    }
	/* track */
  #price-slider {
    z-index: 1 !important; /* Ensure it's low */
    position: relative;     /* Required for z-index to take effect */
}
	.ui-slider {
  background: #0000;
  border-radius: 6px;
  height: 8px;
}

.ui-slider-range {
  background: #c59949;
  border-radius: 6px;
}

.ui-slider .ui-slider-handle {
  border-radius: 50%;
  background: white;
  border: 2px solid;
  height: 24px;
  width: 24px;
  top: 50%;
}

/* When the thumb is active (clicked/dragged) or focused */
.ui-slider .ui-slider-handle.ui-state-active,
.ui-slider .ui-slider-handle:focus {
  background: white;      /* keep background white */
  box-shadow: none;       /* remove golden glow if you want */
}
/* track */
	
    .product-grid {
      flex: 3 1 700px;
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      gap: 2rem;
    }

    .product-card {
	  background: #fff;
	  border-radius: 8px;
	  overflow: hidden;
	  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	  text-align: center;
	  padding: 1rem;
	  display: flex;
	  flex-direction: column;
	  justify-content: space-between;
	  
	  transition: box-shadow 0.3s ease, transform 0.3s ease;
	}

	.product-card:hover {
	  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
	  transform: translateY(-4px);
	}

    .product-card img {
		min-height: 300px; 
		max-height: 300px; 
		/* object-fit: cover; */
      max-width: 100%;
      height: auto;
      border-bottom: 1px solid #eee;
    }

    .product-card h4 {
      margin: 1rem 0 0.5rem;
    }

    .product-card p {
      color: #666;
      font-size: 0.9rem;
    }

    .product-card .price {
      color: #c59949;
      font-weight: bold;
    }
	
	.quantity-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  border: 1px solid #000;
  border-radius: 8px;
  overflow: hidden;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  background-color: #fff;
}

.quantity-counter button {
  width: 40px;
  height: 40px;
  font-size: 1.25rem;
  background-color: #fff;   /* White buttons */
  color: #000;              /* Black text */
  border: none;
  outline: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.quantity-counter button:hover {
  background-color: #f0f0f0;
}

.quantity-counter input {
  width: 50px;
  height: 40px;
  text-align: center;
  font-size: 1rem;
  border: none;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  outline: none;
  background-color: #fff;
  color: #000;
}
	
	.add-to-cart {
  margin-top: 1rem;
  /* background-color: #c59949; */
  background-color: #0F0F0FF2;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: 
    background-color 0.2s ease, 
    transform 0.1s ease, 
    box-shadow 0.1s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.add-to-cart:active {
  background-color: #a87f34;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.add-to-cart:disabled {
  background-color: #ccc !important;
  color: #666 !important;
  cursor: not-allowed;
  opacity: 0.7;
  pointer-events: none;
  transition: background-color 0.3s ease;
}


    @media (max-width: 768px) {
      .products-page {
        flex-direction: column;
      }
      .filter-sidebar {
        margin-right: 0;
        margin-bottom: 2rem;
      }
    }
	
	
/* product Section*/
	



/* Cart Panel */
#cart-toggle {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background-color: #c59949;
  border: none;
  color: white;
  padding: 1rem 1.2rem;
  cursor: pointer;
  border-radius: 8px 0 0 8px;
  font-size: 1.1rem;
  z-index: 1001;
}

/* Cart Panel */
.close-icon {
  position: absolute;
  top: 8px;      /* small distance from top */
  right: 8px;    /* small distance from right */
  background: transparent;
  border: none;
  font-size: 1.6rem;   /* smaller size */
  color: #c59949;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 24px;    /* square clickable area */
  height: 24px;
  text-align: center;
}

.cart-panel {
  position: fixed;
  top: 0;
  right: -350px;
  width: 350px;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 8px rgba(0,0,0,0.15);
  padding: 2rem 1.5rem 1.5rem 1.5rem; /* extra top padding for close icon */
  box-sizing: border-box;
  transition: right 0.3s ease;
  z-index: 1000;
  overflow-y: auto;
}

.cart-panel.open {
  right: 0;
}

.cart-panel h3 {
  margin-top: 0;
  color: #c59949;
  text-transform: uppercase;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.5rem;
}

#cart-items {
  margin-top: 1rem;
}

.cart-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.cart-thumb {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
}

.cart-details {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cart-qty-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #000;
  border-radius: 8px;
  overflow: hidden;
  width: fit-content;
  background-color: #fff;
  margin: 0.5rem 0;
}

.cart-qty-wrapper button {
  width: 40px;
  height: 40px;
  font-size: 1.25rem;
  background-color: #fff;   /* White buttons */
  color: #000;              /* Black text */
  border: none;
  outline: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.cart-qty-wrapper button:hover {
  background-color: #f0f0f0;
}

.cart-qty-wrapper input.cart-qty {
  width: 50px;
  height: 40px;
  text-align: center;
  font-size: 1rem;
  border: none;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  outline: none;
  background-color: #fff;
  color: #000;
}
.cart-delete {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: #c59949; /* golden */
  margin-left: auto;
}

.cart-delete:hover {
  color: #a77f2f;
}

#checkout-container {
  padding: 1rem;
  border-top: 1px solid #eee;
  text-align: center;
  background: #fff;
  position: sticky;
  bottom: 0;
}

#checkout-button {
  /* background-color: #c59949; */
  background-color: #0F0F0FF2;
  color: white;
  border: none;
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#checkout-button:hover {
  background-color: #a77f2f;
}
#empty-cart-message {
  font-size: 1rem;
  color: #999;
  padding: 1.5rem;
  text-align: center;
  font-style: italic;
}
/* Cart Panel */



/* product Modal  */
#productModal.modal {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
}

/* Modal Content */
#productModal .modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 6px;
  width: 90%;
  max-width: 500px;
  position: relative;
  border: 2px solid #0F0F0FF2;
}

/* Close Button */
#productModal .close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #aaa;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

#productModal .close-modal:hover {
  color: #000;
}
#productModal .modal-content {
  background: #fff;
  margin: 10% auto;
  padding: 20px;
  width: 70%;
  max-width: 800px;
  border-radius: 8px;
  position: relative;
}

#productModal .modal-body {
  display: flex;
  gap: 30px;
}

#productModal .modal-image img {
  width: 250px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

#productModal .modal-details {
  flex: 1;
  font-size: 16px;
}

#productModal .modal-details h2 {
  margin-top: 0;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

/* product Modal  */

/* product Details Page  */
.product-details {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap; /* Ensures responsiveness on smaller screens */
    justify-content: center; /* Center horizontally */
    margin: auto; /* Top-bottom spacing and center horizontally */
    max-width: 1000px; /* Limit width to avoid stretching */


    background-color: #f5f5f5; /* Light gray background */
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); /* Optional subtle shadow */
}

.product-details .quantity-counter {
  margin-left: 0;       /* Align to left */
  margin-right: 0;      /* Prevent centering */
  justify-content: flex-start; /* Optional: aligns contents inside to left */
}

.product-image-wrapper img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    object-fit: cover;
}

.product-info-wrapper {
    max-width: 500px;
}

.product-info-wrapper h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.product-info-wrapper p {
    font-size: 16px;
    margin-bottom: 10px;
}

/* product  Details Page  */

