/* Plugify – Quantity-Based Discounts */

.plugify_main_parent_div {
  border: 2px solid #0088cc;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 24px;
}

.qd-banner {
  width: 100%;
  box-sizing: border-box;
  background: #f5faff;
  border: 0;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: .6rem;
  font: 600 1.05rem/1 inherit;
  font-family: inherit !important;
  font-weight: 600 !important;
  font-size: 1.05rem !important;
}

.qd-banner .qd-emoji {
  background: #e0f3ff;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 1.15rem;
}

.plugify_table_parent_div {
  border: 0 !important;
  padding: 0 !important;
}

.plugify_table_parent_div > table {
  width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  table-layout: fixed !important;
}

.plugify_table_parent_div table tr:first-child th,
.plugify_table_parent_div table tr:first-child td {
  border-top: 0 !important;
}

/* Highlight-regel for både hoved- og sticky-tabel */
.plugify_table_parent_div tr.activeclastr td {
  background: #f5faff !important;
  border-top: 0 !important;
}

.plugify_before_table_content_parent_div,
.plugify_after_table_content_parent_div {
  margin: 0 !important;
}

/* Sticky-specifikke regler */
.sticky-add-to-cart .qd-banner {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  transition: max-height .35s ease, opacity .35s ease, padding .35s ease;
}

.sticky-add-to-cart .plugify_main_parent_div:hover .qd-banner {
  max-height: 60px;
  opacity: 1;
  padding-top: 10px;
  padding-bottom: 10px;
}

/* Responsiv styling */
@media (min-width: 768px) {
  .sticky-add-to-cart {
    display: flex;
    align-items: center;
  }

  .sticky-add-to-cart .plugify_main_parent_div {
    flex: 1 1 320px;
    min-width: 280px;
    max-width: 480px;
    margin-right: 1rem;
    align-self: center;
    margin-top: 0;
    margin-bottom: 0;
  }

  .sticky-add-to-cart .plugify_main_parent_div:hover .qd-banner {
    display: flex;
  }
}

@media (max-width: 767px) {
  .sticky-add-to-cart .plugify_main_parent_div {
    display: none;
  }
}