html {
  scroll-behavior: auto !important;
}

body {
  overflow: visible !important;
}

#product-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.card {
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid #0B00CF;
  padding: 15px;
  margin-bottom: 12px;
  border-radius: 15px;
}

.card:hover {
  box-shadow: 0 0 30px #EE37323F;
  border: 1px solid #EE3732;
}

.title-row {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}

.quote {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.licenses {
  margin-top: 24px;
  transform: translateX(12px);
}

.info {
  flex: 1;
  margin-top: 6px;
}

.product-number p {
  font-size: 12px;
  line-height: normal;
  color: rgba(0, 0, 0, .45);
  margin-left: 2px;
}

.product-name a {
  font-size: 24px;
  line-height: normal;
  text-decoration: none;
  color: #0B00CF;
}

.card:hover .product-name a {
  color: #EE3732;
}

.product-name a:hover {
  color: #EE3732;
}

.price-container {
  flex: 0.5;
}

.price p {
  line-height: normal;
  font-size: 20px;
  text-align: right;
}

.net-price p {
  font-size: 12px;
  line-height: normal;
  text-align: right;
}

.product-description {
  flex: 0.6;
}

.product-description p {
  font-size: 12px;
  line-height: normal;
}

.quote-button {
  display: flex;
  align-items: center;
  text-align: center;
  border-radius: 10px;
  box-sizing: content-box;
  height: 36px;
  padding: 3px 6px;
  background-color: transparent;
}

.quote-button:disabled {
  color: black;
  border-color: black;
}

.quote-button:hover {
  border-color: blue;
}

.quote-button:hover p,
.quote-button:hover .bi {
  color: blue;
}

.quote-button p {
  font-size: 18px;
  line-height: normal;
  margin-right: 5px;
}

.quote-button .bi {
  font-size: 24px;
}

.licences p {
  font-size: 18px;
}

.licence {
  display: flex;
  width: 100%;
  padding: 2px 0;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.licence:hover {
  background-color: #f4f4f4;
}

.licence-number {
  flex: 0.22;
}

.licence-description {
  flex: 1;
}

.licence-price {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  white-space: nowrap;
}

.licence-number p,
.licence-description p,
.licence-price p {
  font-size: 12px;
  line-height: normal;
}

.licence-price .bi:hover {
  color: blue;
}

.licence-price p {
  margin-right: 5px;
  line-height: normal;
}

.licence-price .bi {
  font-size: 22px;
  text-decoration: none;
  color: black;
}

.hidden {
  display: none;
}

.toggle-more {
  margin: 25px 0;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 5px;
  cursor: pointer;
}

.toggle-more i {
  display: inline-block;
  transition: transform 0.3s ease;
  margin-left: 6px;
}

.toggle-more.active i {
  transform: rotate(180deg);
}
.toggle-more:hover {
  color: blue;
}

.extra-licenses {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.extra-licenses.show {
  max-height: 2500px;
}

.offer-modal {
  margin: 0px;
  padding: 0px;
  position: fixed;
  bottom: 20px;
  left: 0;
  width: 100%;
  z-index: 999;
  display: flex;
  justify-content: center;
}

.offer-modal #wrapper {
  border-radius: 50px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
  width: calc(100% - 40px);
  max-width: 1200px;
  transition: background-color 0.5s linear;
}

.offer-modal.active #wrapper {
  background-color: white;
}

.offer-modal #header {
  background-image: url(/themes/images/modalbg.png);
  background-size: cover;
  background-position: center;
  border-radius: 47px;
  padding: 25px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: height 0.3s;
  cursor: pointer;
}

.offer-modal #header #title-text {
  display: flex;
  align-items: center;
}

.offer-modal #header h3 {
  text-transform: uppercase;
  font-size: 20px;
  color: white;
  border-right: 1px solid white;
  padding-right: 20px;
  margin-bottom: 0 !important;
}

.offer-modal #header p {
  color: white;
  font-weight: bold;
  padding-left: 20px;
  margin-bottom: 0 !important;
}

.offer-modal #header .bi {
  font-size: 25px;
  color: white;
  transform: rotate(0deg);
  transition: transform 0.5s ease-out;
}

.offer-modal.active #header .bi {
  transform: rotate(180deg);
}

.offer-modal #body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
  overscroll-behavior: contain;
  position: relative;
  z-index: 1;
}

.offer-modal.active #body {
  overflow-y: auto;
  scrollbar-color: black transparent;
  -webkit-overflow-scrolling: touch;
}

.offer-modal #content {
  padding: 30px 40px 40px;
}

.offer-modal .product-list .item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid blue;
}

.offer-modal .product-list .item:first-of-type {
  padding-top: 0;
}

.offer-modal .product-list .item .left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.offer-modal .product-list .item .left .product-name {
  text-transform: uppercase;
  padding-left: 10px;
  max-width: 800px;
}

.offer-modal .product-list .item p {
  font-size: 16px;
  margin: 0;
  color: darkblue;
}

.offer-modal .product-list .item .right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.offer-modal .product-list .item .right .price {
  color: black;
  font-weight: bold;
}

.offer-modal .inputs .row {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 20px;
  margin: 0 !important;
}

.row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.offer-modal .row .input {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  border: 1px solid #777;
  border-radius: 99px;
  height: 36px;
  width: 120px;
}

.offer-modal .row .input button, 
.offer-modal .row .delete {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.offer-modal .row .input input {
  width: 50px;
  height: 34px;
  border: none;
  outline: none;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  background-color: white;
}

.offer-modal .row button {
  transition: background-color 0.3s, color 0.3s;
  border: none;
  outline: none;
  cursor: pointer;
  background: transparent;
}

.offer-modal form h3 {
  font-size: 24px;
  margin: 20px 0;
  font-weight: 600;
  color: blue;
  text-transform: none;
}

.offer-modal form .item {
  display: flex;
  width: 100%;
  gap: 15px;
  margin-bottom: 15px;
}

.offer-modal .offer-form .input,
.offer-modal .offer-form textarea  {
  width: 100%;
  padding: 8px 16px;
  font-size: 15px;
  border-radius: 15px;
  border: 1.5px solid royalblue;
  outline: none;
  transition: box-shadow 0.3s;
  resize: none;
}

.form-check {
  margin-left: 30px;
  padding-left: 0;
  position: relative;
  display: block;
  margin-bottom: 1rem;
}

.form-check-input {
  transform: scale(1.5);
  margin-right: 15px;
  border-color: royalblue;
}

.form-check-input:focus {
  box-shadow: none;
  outline: none;
}

.form-check-input label {
  position: relative;
  line-height: 1.5;
  font-size: 14px;
}

.primary-link {
  padding: 14px 32px;
  width: fit-content;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  transition: background-color 0.3s, color 0.3s, border 0.3s;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  background-color: blue;
  border: 1px solid blue;
  color: white;
  outline: none;
}

.primary-link:hover {
  border: 1px solid red;
  background-color: red;
  color: white;
}

.offer-modal .message {
  margin: 0;
}

.offer-modal #product-link {
  color: blue;
  font-weight: bold;
  text-decoration: none;
}

.offer-modal #product-link:hover {
  color: darkblue;
}

@media (max-width: 1079px) {
  .title-row {
    margin-bottom: 10px;
  }

  .product-number p {
    font-size: 11px;
  }

  .product-name p {
    font-size: 14px;
  }

  .price p {
    font-size: 17px;
  }

  .product-description {
    flex: 0.9;
    font-size: 11px;
  }

  .licence-number p,
  .licence-description p,
  .licence-price p {
    font-size: 10px;
  }

  .licence-number {
    flex: 0.3;
  }

  .offer-modal #header h3 {
    font-size: 16px;
    border-right: none;
  }

  .offer-modal #header p {
    display: none;
  }

  .offer-modal .product-list .item {
    padding: 10px 0;
    flex-direction: column;
    gap: 10px;
  }

  .offer-modal .product-list .item .left .product-name {
    font-size: 14px;
    line-height: 1.6;
    border-right: none;
    display: block;
    text-align: center;
  }

  .offer-modal .product-list .item .right {
    flex-direction: column;
    gap: 10px;
  }

  .offer-modal .product-list .item .right .price {
    font-size: 14px;
  }

  .offer-modal .inputs .row {
    gap: 10px;
  }

  .offer-modal form h3 {
    font-size: 20px;
    margin: 20px 0;
    text-align: center;
  }

  .offer-modal form .item {
    flex-direction: column;
  }

  .offer-form .input, 
  .offer-form textarea {
    width: 100%;
    padding: 8px 16px;
    font-size: 14px;
  }

  .form-check-input {
    transform: scale(1);
    margin-right: 0;
  }

  .primary-link {
    width: 100%;
  }
}