.order-samples-container {
  padding-top: 60px;
}

.order-samples-header {
  height: clamp(400px, 38.5vw, 31rem);
  background-image: url("/public/files/krono-portal-pro/common/order_samples-banner.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.g-recaptcha > div {
  margin-bottom: 0 !important;
}

.order-samples-heading {
  font-size: 3rem;
  text-transform: uppercase;
  font-family: "Helen Pro_Bold";
  color: #fff;
}

.order-samples-wrapper {
  max-width: 1385px;
  margin: 3rem auto;
}

.order-samples-inner {
  display: flex;
  gap: 2.5rem;
  position: relative;
  margin-top: 3rem;
}

.sample-toast {
  min-width: 500px;
}

.os-decor-title {
  overflow-wrap: break-word;
  margin-bottom: 1rem;
  font-family: "Helen Pro_Bold";
}

.os-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  grid-row-gap: 3rem;
  padding: 0;
  width: 60%;
  align-self: flex-start;
}

.os-decor-desc {
  margin-top: 0.9rem;
  height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quantity {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* .quantity_value {
  width: 20%;
} */

.os-decor-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: none;
}

.os-decor-image-container {
  height: 240px;
  position: relative;
  border: 1px solid #c5c5c582;
  border-radius: none;
}

.os-remove-decor {
  position: absolute;
  right: 1rem;
  top: 1rem;
  cursor: pointer;
  padding: 0.5rem;
}

.os-remove-decor img {
  transform: rotate(45deg);
  width: 30px;
}

.os-spinner-wrapper {
  position: absolute;
  background: #fff;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.os-spinner {
  border: 10px solid #f3f3f3;
  border-top: 10px solid #3498db;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.os-form {
  width: 40%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.os-disabled-placeholder {
  color: #999;
}

.os-form select:not(textarea),
.os-form input:not(textarea),
.os-form textarea:not(textarea) {
  height: 2.5rem;
}

.os-form input {
  width: 100%;
  border: 1px solid #c5c5c5;
  padding: 0 0.625rem;
  text-transform: uppercase;
  font-size: 1.125rem;
  color: #000;
}

.os-form select,
.os-form input,
.os-form textarea {
  width: 100%;
  border: 1px solid #c5c5c5;
  padding: 0 0.625rem;
  text-transform: uppercase;
  font-size: 1.125rem;
  color: #000;
}

.os-form-button {
  display: block;
  text-decoration: none;
  width: 48%;
  color: #05377b;
  background: #fff;
  cursor: pointer;
  border: 2px solid #05377b;
  font-size: 1.05rem;
  font-family: "Helen Pro";
  height: 2.5rem;
  padding: 0 2rem;
  width: fit-content;
  text-transform: uppercase;
  margin-top: 1.875rem;
  opacity: 1;
  text-shadow: none;
}

.os-form-button:hover {
  background: #05377b;
  color: #fff;
}

.os-form-button:disabled {
  background: #e0e0e0;
  color: #a0a0a0;
  border: 2px solid #a0a0a0;
  cursor: not-allowed;
  opacity: 0.8;
  text-shadow: none;
}

/* multiselect */
.css-13cymwt-control,
.css-t3ipsp-control {
  cursor: pointer !important;
}

.css-v7duua:hover {
  background-color: rgb(246 194 181) !important;
}

#react-select-2-listbox > div {
  cursor: pointer !important;
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 1;
  }
  25% {
    transform: scale(30, 30);
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(50, 50);
  }
}

@keyframes scale-up {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 1280px) {
  .order-samples-heading {
    font-size: 2.5rem;
  }

  .order-samples-wrapper {
    padding: 0 30px 0 30px;
  }
}

@media (max-width: 840px) {
  .order-samples-inner {
    flex-direction: column;
  }

  .os-list {
    width: 100%;
  }

  .os-form {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .os-list {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .os-decor-image-container {
    height: 230px;
  }

  .sample-toast {
    min-width: unset;
  }
}

@media (max-width: 440px) {
  .os-list {
    grid-row-gap: 3rem;
  }

  .os-decor-image-container {
    height: 190px;
  }
}

/* ===== Ordering Samples Info Content ===== */

.ordering-samples__intro {
  margin: 3rem auto 2.5rem;
  text-align: center;
}

.ordering-samples__title {
  font-family: "Helen Pro_Light";
  color: #666666;
  font-size: 2.875rem;
  text-align: center;
  margin-bottom: 1rem;
}

.ordering-samples__text {
  margin: 0 auto 1rem auto;
  font-family: "Helen Pro_Light";
  max-width: 870px;
  color: #666666;
  font-size: 1.5rem;
  line-height: 2rem;
  text-align: center;
}

.ordering-samples__text:last-child {
  margin-bottom: 4rem;
}

.ordering-samples__grid {
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 4.5rem;
}

.ordering-samples-light .ordering-samples__list-item {
  font-family: "Helen Pro_Light";
}

.ordering-samples__col {
  min-width: 0;
}

.ordering-samples__heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #05377b;
  margin: 0 0 1.25rem;
  white-space: nowrap;
  font-size: 1.5rem;
  font-family: "Helen Pro_Bold";
}

.ordering-samples__heading::after {
  content: "";
  flex: 1;
  height: 2px;
  background-color: #05377b;
}

.ordering-samples__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Ordered list */
.ordering-samples__list--ordered {
  counter-reset: ordering-samples-steps;
}

.ordering-samples__list--ordered > .ordering-samples__list-item {
  counter-increment: ordering-samples-steps;
  margin-bottom: 0.4rem;
}

.ordering-samples__list--ordered > .ordering-samples__list-item::before {
  content: counter(ordering-samples-steps) ".";
  font-size: 1.1rem;
}

.ordering-samples__list--ordered > .ordering-samples__list-item > .ordering-samples__note {
  grid-column: 2;
}

/* Unordered list */
.ordering-samples__list--unordered > .ordering-samples__list-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.4rem;
}

.ordering-samples__list--unordered > .ordering-samples__list-item::before {
  content: "\2022";
  color: #333;
  flex-shrink: 0;
  line-height: 1;
  font-size: 1.3rem;
}

.ordering-samples__list-text {
  font-size: 1.1rem;
  line-height: 1.5;
}

.ordering-samples__link {
  color: #000 !important;
  font-size: 1.1rem;
}

.ordering-samples__note {
  font-size: 1rem;
  font-style: italic;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

.ordering-samples__link {
  color: #05377b;
  text-decoration: underline;
}

.ordering-samples__link:hover {
  text-decoration: none;
}

/* CTA */
.ordering-samples__cta {
  max-width: 780px;
  margin: 2rem auto 3.5rem;
  text-align: center;
}

.ordering-samples__cta-text {
  font-size: 1.4rem;
  color: #636363;
  line-height: 1.3;
  margin-bottom: 2.3rem;
  font-family: "Helen Pro_Light";
}

.ordering-samples__sup {
  font-size: 0.6em;
  vertical-align: super;
}

.ordering-samples__cta-action {
  margin: 0;
}

.ordering-samples__button-link {
  width: fit-content;
  margin: 0 auto;
  color: #000;
}

.ordering-samples__button-link:hover,
.ordering-samples__button-link:focus {
  background-color: #000;
  color: #fff !important;
  border-color: #000;
}

@media (max-width: 768px) {
  .ordering-samples__grid {
    grid-template-columns: 1fr;
    gap: 0;
    margin: 0;
  }

  .ordering-samples__grid:not(.ordering-samples__grid-secondary) .ordering-samples__col:first-child {
    order: 2;
  }

  .ordering-samples__grid:not(.ordering-samples__grid-secondary) .ordering-samples__col:last-child {
    order: 1;
  }

  .ordering-samples__col {
    margin-bottom: 2.5rem;
  }

  .ordering-samples__intro,
  .ordering-samples__cta {
    padding: 0;
  }

  .ordering-samples__title {
    font-size: 2.6rem;
  }

  .ordering-samples__text,
  .ordering-samples__cta-text {
    font-size: 1.3rem;
    line-height: 1.2;
  }

  .ordering-samples__list-text {
    font-size: 1rem;
    line-height: 1.3;
  }

  .ordering-samples__heading {
    font-size: 1.35rem;
  }
}

@media (max-width: 480px) {
  .ordering-samples__button-link {
    width: auto;
    margin: 0;
  }
}
