/* Modal styles improvements, ensure close icon visible */
.agcs-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  display: none;
}

.agcs-selected-leather {
  font-weight: 500;
  margin-bottom: 10px;
  color: #333;
  font-size: 12px !important;
}
.agcs-title{
    text-align: center !important;
}

#agcs-apply{
    background-color: black !important;
    width:100% !important;
}
.agcs-modal__dialog {
  background: #fff;
  max-width: 560px;
  width: 92%;
  margin: 5vh auto;
  padding: 20px;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  top: 13%;
}
.agcs-title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 600;
  text-align: left;
}
.agcs-close {
  position: absolute;
  right: 10px;
  top: 10px;
  border: none;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
  background: black;
  padding: 2px 7px;
  align-items: center;
  width: 30px;
  height: 30px;
}
.agcs-units {
  display: flex;
  gap: 16px;
  margin-bottom: 14px;
}
.agcs-radio {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  cursor: pointer;
}
.agcs-fields {
  display: grid;
   grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.agcs-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.agcs-field:last-child {
  grid-column: 1 / -1; /* textarea wali div ko full width kar dega */
}
.agcs-field input, .agcs-field textarea {
  width: 100%;
  padding: 6px 8px !important;
  border: 1px solid #ddd;
  border-radius: 8px !important;
}
.agcs-field textarea {
  grid-column: 1 / -1;
  min-height: 50px;
}
.agcs-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.agcs-disabled {
  opacity: 0.6;
  pointer-events: none;
}
.agcs-wrap { margin-top: 0px !important;}

.disable-to-select>.cfvsw-swatches-container.cfvsw-product-container{
    width: 70% !important;
}

#agcs-open{
    background: none !important;
    padding: 0px 13px 0px 13px !important;
    color: black !important;
    border-right:1px solid black !important;
    border-radius: 0px !important;
}

#agcs-open:hover{
    color:#2575fc !important;
}

.reset_variations{
    font-style: normal !important;
}