.quantity-slider-container {
  margin-bottom: 10px;
}

.slider-wrapper {
  position: relative;
  padding-top: 20px;
}

.quantity-slider {
  width: 100%;
  margin-top: 5px;
}

.slider-value {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #333;
  color: #fff;
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 12px;
  display: none;
  transform: translateX(-50%);
  pointer-events: none;
}

/* Hide default quantity buttons */
.quantity input[type=number]::-webkit-inner-spin-button,
.quantity input[type=number]::-webkit-outer-spin-button {
  /* -webkit-appearance: none;
  margin: 0; */
}

.quantity input[type=number]::-webkit-inner-spin-button,
.quantity input[type=number]::-webkit-outer-spin-button {
  appearance: auto;
}

.summary.entry-summary {
  display: none;
}

.product-summary {
  background: #f1f1f1;
  filter: drop-shadow(0 1px 2px #767676);
  margin-bottom: 12px;
  min-height: 408px;
  overflow: visible;
  padding: 24px 24px 12px;
  position: relative;
}

/* Target the select elements directly */
#pa_format,
#pa_grammatur {
  appearance: none;
  /* Remove default styling */
  padding: 10px 20px;
  /* Adjust padding to preference */
  border: 1px solid #ddd;
  /* Subtle border */
  border-radius: 5px;
  /* Rounded corners */
  font-size: 16px;
  /* Match overall font size */
  background-color: #fff;
  cursor: pointer;
  width: 200px;
  /* Adjust width as needed */
}

/* Style the dropdown arrow (optional, requires extra markup) */
#pa_format:after,
#pa_grammatur:after {
  content: "\25BC";
  /* Unicode down arrow character */
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* Hover/Focus States */
#pa_format:hover,
#pa_grammatur:hover,
#pa_format:focus,
#pa_grammatur:focus {
  border-color: #999;
  outline: none;
  /* Remove focus outline */
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  /* Subtle shadow */
}

/* Style the dropdown options */
#pa_format option,
#pa_grammatur option {
  background-color: #f5f5f5;
  padding: 8px;
}

/* Option Hover State */
#pa_format option:hover,
#pa_grammatur option:hover {
  background-color: #e0e0e0;
}


/* Keep existing styles for other inputs */
.quantity {
  display: flex;
  /*  width: 400px; */
}

.btn-icon {
  background-color: #f0f0f0;
  border: none;
  cursor: pointer;
  font-size: 24px;
  padding: 10px;
}

.minus {
  border-radius: 10px 0 0 10px;
}

.plus {
  border-radius: 0 10px 10px 0;
}

/* Specific styles for the target input */
input.qty {
  width: 100%;
  text-align: center;
  font-size: 20px;
  border: 1px solid #ccc;
  padding: 10px;

  /* Remove default spinner styling (if any) */
  -moz-appearance: textfield;
  appearance: textfield;

  /* Hide default arrows */
  &::-webkit-inner-spin-button,
  &::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }
}



/* assets/css/apss-styles.css */
.custom-product-layout {
  max-width: 1200px;
  margin: 0 auto;
}

.product-top-section {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2em;
}

.product-gallery,
.product-info,
.product-summary {
  flex: 1;
  padding: 1em;
}

.product-gallery img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1em;
}

.product-tabs .tabs {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-tabs .tabs li {
  margin-right: 1em;
}

.product-tabs .tabs a {
  text-decoration: none;
  padding: 0.5em 1em;
  background-color: #f0f0f0;
  color: #333;
}

/* .product-tabs .tabs a:hover,
.product-tabs .tabs li.active a {
    background-color: #333;
    color: #fff;
} */

.woocommerce-Tabs-panel {
  padding: 1em;
  border: 1px solid #ddd;
}

.quantity-slider-container {
  margin-bottom: 1em;
}

.slider-wrapper {
  display: flex;
  align-items: center;
}

.quantity-slider {
  flex: 1;
  margin-right: 1em;
}