.variation-clear-all {
  background-color: transparent;
  font-size: 16px;
  font-weight: 500;
  color: #7d6c7f;
  text-decoration: underline;
}
.product_show [data-attribute_name="pa_color"] {
  margin-top: 20px;
}
.attribute-label {
  font-size: 16px;
  font-weight: 500;
  color: #171717;
  line-height: 32px;
}
.product_show .pa_color {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 6px;
  margin-top: 8px;
}
.product_show .pa_color button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  position: relative;
  padding: 5px;
  cursor: pointer;
  border: 6px solid #fff;
  overflow: hidden;
  text-indent: -999px;
  outline: 1px solid transparent;
  transition: all .3s;
}
.product_show .pa_color button.selected,
.product_show .pa_color button:hover {
  outline-color: #171717;
}
.product_show [data-attribute_name] {
  margin-top: 28px;
}
.variation-buttons:not(.pa_color) {
  gap: 1rem;
  display: flex;
  flex-wrap: wrap;
  margin-top: 8px;
}
.variation-buttons:not(.pa_color, .pa_size) button {
  border-radius: 6px;
  text-align: center;
  background-color: transparent;
  border: 1px solid rgba(23, 23, 23, 0.17);
  font-size: 16px;
  transition: all .3s;
  padding: 14px 2rem;
}
.variation-buttons:not(.pa_color, .pa_size) button:hover, .variation-buttons:not(.pa_color, .pa_size) button.selected {
  border-color: var(--theme_color);
  background-color: var(--theme_color);
}
.product_show .pa_size .con {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.product_show .pa_size a {
  font-size: 16px;
  font-weight: 500;
  color: #7d6c7f;
  text-decoration: underline;
}
.product_show .pa_size button {
  font-size: 16px;
  color: #171717;
  border-radius: 50%;
  border: 1px solid rgba(23, 23, 23, 0.17);
  cursor: pointer;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  background-color: transparent;
}
.product_show .pa_size button.selected,
.product_show .pa_size button:hover {
  background-color: var(--theme_color);
  border-color: var(--theme_color);
}
.product_show .nums {
  display: flex;
  gap: 1rem;
  margin-top: 58px;
}
.product_show .nums .num {
  border: 1px solid #e5e5e5;
  display: grid;
  grid-template-columns: 25px 1fr 25px;
  justify-content: space-between;
  font-size: 16px;
  color: #171717;
  gap: 5px;
  width: 143px;
  height: 60px;
  overflow: hidden;
}
.product_show .nums .num .minus, .product_show .nums .num .plus {
  display: block;
  height: 100%;
  cursor: pointer;
  background: url(../img/arr-b-left.svg) no-repeat right / 8px;
}
.product_show .nums .num .plus {
  transform: rotate(180deg);
}
.product_show .nums .num input {
  display: block;
  width: 100%;
  height: 100%;
  font-size: 16px;
  text-align: center;
}









.size-guide-btn {
  /* padding: 12px 24px;
  background-color: #2C3E50;
  color: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.3s, transform 0.2s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
  font-size: 15px;
  padding-bottom: 0.1rem;
  font-weight: 300;
  text-decoration: underline;
  display: inline-block;
  cursor: pointer;
  color: #000;
  margin-top: 0.3rem;
}

.size-guide-btn:hover {
  
}

/* The Modal (background) */
.modal-size {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
  animation: fadeIn 0.3s;
}

/* Modal Content Box */
.modal-content {
  background-color: #fff;
  margin: 5% auto; /* 5% from the top and centered */
  padding: 30px 40px;
  border-radius: 10px;
  width: 90%;
  max-width: 700px;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  animation: slideIn 0.3s;
}

/* Close Button */
.close-btn {
  color: #888;
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}

.close-btn:hover {
  color: #333;
}

/* Header */
.modal-content h2 {
  /* font-family: '', serif; */
  font-size: 28px;
  margin-bottom: 15px;
  color: #766b87;
}

.modal-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

/* Size Guide Table */
.size-guide-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 25px;
  font-size: 14px;
}

.size-guide-table thead {
  background-color: #766b87;
  color: #fff;
}

.size-guide-table th,
.size-guide-table td {
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  text-align: center;
}

.size-guide-table tbody tr:nth-child(even) {
  background-color: #f7f7f7;
}

.size-guide-table tbody tr:hover {
  background-color: #f1f1f1;
}

/* Footer Note */
.modal-content .note {
  margin-top: 20px;
  font-size: 14px;
  color: #777;
  border-left: 4px solid #766b87;
  padding-left: 10px;
}

/* Animations */
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes slideIn {
  from {transform: translateY(-50px); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}

/* Responsive */
@media screen and (max-width: 600px) {
  .modal-content {
      padding: 20px 25px;
  }

  .modal-content h2 {
      font-size: 24px;
  }

  .size-guide-table th,
  .size-guide-table td {
      padding: 10px 12px;
      font-size: 13px;
  }

  .size-guide-btn {
      font-size: 14px;
      padding: 10px 20px;
  }
}