/**
 * Copyright © 2014-2026 Presta-Mod.pl Rafał Zontek
 *
 * NOTICE OF LICENSE
 *
 * Niniejszy plik stanowi część płatnego oprogramowania oferowanego przez Presta-Mod.pl.
 * Kopiowanie, rozpowszechnianie, udostępnianie osobom trzecim oraz wykorzystywanie
 * całości lub części kodu bez uprzedniej pisemnej zgody autora jest zabronione.
 *
 * Moduł można nabyć wyłącznie za pośrednictwem strony internetowej:
 * https://presta-mod.pl
 *
 * Wszelkie modyfikacje kodu, wykonane bez zgody autora, mogą skutkować utratą
 * wsparcia technicznego, gwarancji oraz prawa do aktualizacji.
 *
 * DISCLAIMER
 *
 * Oprogramowanie dostarczane jest zgodnie z warunkami indywidualnej licencji.
 * Licencja standardowa uprawnia do korzystania z modułu wyłącznie w obrębie
 * jednej domeny, chyba że ustalono inaczej w formie pisemnej.
 *
 * @author    Presta-Mod.pl Rafał Zontek <biuro@presta-mod.pl>
 * @copyright © 2014-2026 Presta-Mod.pl Rafał Zontek
 * @license   Licencja komercyjna na jedną domenę
 *
 * @see      https://presta-mod.pl
 */
.pmrc {
  max-width: 1040px;
  margin: 0 auto 30px;
  padding: 18px 0 8px;
  color: #333;
}

.pmrc * {
  box-sizing: border-box;
}

.pmrc h1 {
  margin: 0 0 18px;
  padding: 0 0 14px;
  border-bottom: 1px solid #d6d4d4;
  color: #222;
  font: 400 28px/1.25 Arial, Helvetica, sans-serif;
  text-transform: uppercase;
}

.pmrc h2 {
  margin: 22px 0 12px;
  color: #333;
  font-size: 20px;
  font-weight: 400;
}

.pmrc-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  margin-bottom: 20px;
}

.pmrc-header h1 {
  margin-bottom: 0;
}

.pmrc-intro {
  max-width: 760px;
  margin: 10px 0 6px;
  color: #555;
  line-height: 1.5;
}

.pmrc-type-grid {
  display: block;
  width: 100%;
  margin: 14px -1% 22px;
  font-size: 0;
}

.pmrc-type-grid:after {
  content: "";
  display: block;
  clear: both;
}

.pmrc-type-grid-small {
  margin-top: 8px;
  margin-bottom: 16px;
}

.pmrc-type {
  position: relative;
  display: inline-block;
  width: 31.333%;
  min-height: 86px;
  margin: 0 1% 12px;
  padding: 16px 16px 15px;
  border: 1px solid #d6d4d4;
  border-bottom-color: #c6c4c4;
  border-radius: 4px;
  background: linear-gradient(#fff, #f7f7f7);
  color: #333;
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none;
  box-sizing: border-box;
  vertical-align: middle;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .03);
}

.pmrc-type strong {
  display: block;
  margin-bottom: 8px;
  color: #222;
  font-weight: 600;
}

.pmrc-type small {
  display: block;
  color: #666;
  font-size: 12px;
  line-height: 1.45;
}

.pmrc-type:hover,
.pmrc-type:focus {
  border-color: #00a38f;
  color: #111;
  text-decoration: none;
  box-shadow: inset 4px 0 0 #00a38f, 0 1px 4px rgba(0, 0, 0, .08);
}

.pmrc-type.is-active {
  border-color: #00a38f;
  background: #fff;
  box-shadow: inset 4px 0 0 #00a38f, 0 0 0 1px rgba(0, 163, 143, .12);
}

.pmrc-primary,
.pmrc-secondary {
  display: inline-block;
  min-height: 36px;
  padding: 8px 18px;
  border: 1px solid #008f7d;
  border-radius: 4px;
  background: linear-gradient(#00aa96, #008f7d);
  color: #fff;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.pmrc-primary:hover,
.pmrc-primary:focus {
  background: linear-gradient(#00b8a2, #009884);
  color: #fff;
  text-decoration: none;
}

.pmrc-secondary {
  border-color: #555;
  background: linear-gradient(#666, #4b4b4b);
}

.pmrc-steps {
  display: table;
  width: 100%;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  table-layout: fixed;
}

.pmrc-steps li {
  display: table-cell;
  padding: 9px 10px 10px;
  border-bottom: 3px solid #d6d4d4;
  color: #555;
  font-size: 13px;
  line-height: 1.25;
}

.pmrc-steps li.is-complete {
  border-bottom-color: #00a38f;
  color: #111;
  font-weight: 700;
}

.pmrc-steps li.is-active {
  border-bottom-color: #00a38f;
  color: #111;
  font-weight: 700;
  background: #f7fffd;
}

.pmrc-steps li.is-complete:before {
  content: "\2713";
  display: inline-block;
  margin-right: 5px;
  color: #00a38f;
  font-weight: 700;
}

.pmrc-form {
  margin-top: 8px;
}

.pmrc-form fieldset {
  margin: 0 0 18px;
  padding: 18px 16px 16px;
  border: 1px solid #d6d4d4;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}

.pmrc-form legend {
  width: auto;
  margin: 0 0 12px;
  padding: 0 8px;
  border: 0;
  color: #222;
  font-size: 20px;
  font-weight: 400;
}

.pmrc-form label {
  display: block;
  margin: 0 0 12px;
  color: #222;
  font-weight: 700;
}

.pmrc-form .form-control,
.pmrc-form input[type="text"],
.pmrc-form input[type="email"],
.pmrc-form input[type="number"],
.pmrc-form select,
.pmrc-form textarea {
  width: 100%;
  min-height: 34px;
  margin-top: 5px;
  padding: 7px 9px;
  border: 1px solid #d6d4d4;
  border-radius: 0;
  background: #fff;
  color: #333;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .06);
}

.pmrc-form textarea {
  min-height: 118px;
  resize: vertical;
}

.pmrc-field {
  display: block;
  margin: 0 0 12px;
}

.pmrc-label {
  display: block;
  margin: 0 0 5px;
  color: #333;
  font-weight: 700;
}

.pmrc-file {
  position: relative;
  display: inline-block;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #d6d4d4;
  border-radius: 4px;
  background: #fff;
  white-space: nowrap;
  cursor: pointer;
}

.pmrc-file input[type="file"] {
  position: absolute;
  display: none !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  overflow: hidden;
  cursor: pointer;
}

.pmrc-file-button,
.pmrc-file-text {
  display: inline-block;
  min-height: 36px;
  padding: 8px 12px;
  vertical-align: middle;
  line-height: 20px;
}

.pmrc-file-button {
  border-right: 1px solid #008f80;
  background: #00a38f;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
}

.pmrc-file-text {
  min-width: 180px;
  color: #777;
  font-weight: 400;
}

.pmrc-form .form-control:focus,
.pmrc-form input:focus,
.pmrc-form select:focus,
.pmrc-form textarea:focus {
  border-color: #00a38f;
  outline: 0;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .06), 0 0 4px rgba(0, 163, 143, .28);
}

.pmrc-product {
  display: table;
  width: 100%;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  font-weight: 400;
}

.pmrc-product > span {
  display: table-cell;
  vertical-align: middle;
}

.pmrc-product input[type="number"] {
  display: table-cell;
  width: 76px;
  min-height: 32px;
  margin: 0 0 0 14px;
}

.pmrc-product small {
  display: block;
  margin-top: 3px;
  color: #777;
}

.pmrc-product.is-disabled {
  opacity: .62;
}

.pmrc-muted {
  color: #777;
  font-size: 13px;
  font-weight: 400;
}

.pmrc-confirm {
  border-color: #00a38f !important;
  background: #fbfffe !important;
}

.pmrc-confirm label {
  margin-bottom: 14px;
  font-weight: 400;
}

.pmrc-check {
  display: block;
  margin: 0 0 16px;
  line-height: 20px;
  font-weight: 400;
  cursor: pointer;
}

.pmrc-check input[type="checkbox"] {
  display: inline-block !important;
  width: 16px;
  height: 16px;
  margin: 0 9px 0 0;
  vertical-align: middle;
}

.pmrc-check span {
  display: inline-block;
  vertical-align: middle;
}

.pmrc-recaptcha {
  margin: 0 0 16px;
  padding: 12px;
  border: 1px solid #e5e5e5;
  background: #fff;
}

.pmrc-legal {
  margin-bottom: 12px;
  color: #555;
}

.pmrc-table-wrap {
  overflow-x: auto;
  border: 1px solid #d6d4d4;
  border-radius: 4px;
  background: #fff;
}

.pmrc-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
}

.pmrc-table th,
.pmrc-table td {
  padding: 11px 12px;
  border-bottom: 1px solid #eee;
  text-align: left;
}

.pmrc-table th {
  background: #f7f7f7;
  color: #333;
  font-weight: 700;
}

.pmrc-status {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 3px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.pmrc-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 7px;
  border: 1px solid #d6d4d4;
  border-radius: 3px;
  background: #f7f7f7;
  color: #555;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
}

.pmrc-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin: 0;
  color: #777;
  font-size: 12px;
  line-height: 1.4;
}

.pmrc-footer-links a {
  color: #777;
  text-decoration: none;
}

.pmrc-footer-links a:hover,
.pmrc-footer-links a:focus {
  color: #333;
  text-decoration: underline;
}

@media (max-width: 767px) {
  .pmrc {
    padding-top: 10px;
  }

  .pmrc h1 {
    font-size: 23px;
  }

  .pmrc-header,
  .pmrc-header h1,
  .pmrc-type-grid,
  .pmrc-type,
  .pmrc-steps,
  .pmrc-steps li,
  .pmrc-product,
  .pmrc-product > span {
    display: block;
    width: 100%;
  }

  .pmrc-header .pull-right {
    float: none !important;
    display: inline-block;
    margin-top: 12px;
  }

  .pmrc-type-grid {
    margin: 10px 0 16px;
  }

  .pmrc-type {
    margin-bottom: 8px;
  }

  .pmrc-steps li {
    margin-bottom: 4px;
  }

  .pmrc-product input[type="number"] {
    display: block;
    margin: 8px 0 0;
  }

  .pmrc-footer-links {
    justify-content: flex-start;
    margin-top: 12px;
  }
}

/* Compatibility with dark storefront themes. */
.pmrc.pmrc-wizard,
.pmrc.pmrc-center,
.pmrc.pmrc-view,
.pmrc.pmrc-guest {
  padding: 22px;
  background: #fff;
  border: 1px solid #d6d4d4;
  border-radius: 4px;
  color: #333;
}

.pmrc .form-control,
.pmrc input[type="text"],
.pmrc input[type="email"],
.pmrc input[type="tel"],
.pmrc input[type="number"],
.pmrc input[type="password"],
.pmrc input[type="file"],
.pmrc select,
.pmrc textarea {
  background: #fff !important;
  color: #333 !important;
  border-color: #c7c7c7 !important;
}

.pmrc .form-control::placeholder,
.pmrc input::placeholder,
.pmrc textarea::placeholder {
  color: #888 !important;
}

.pmrc .pmrc-type,
.pmrc .pmrc-type.is-active,
.pmrc .pmrc-type:hover,
.pmrc .pmrc-type:focus {
  background: linear-gradient(#fff, #f7f7f7);
  color: #333 !important;
}

.pmrc .pmrc-type strong,
.pmrc .pmrc-type small {
  color: inherit;
}

.pmrc fieldset,
.pmrc .pmrc-table-wrap,
.pmrc .pmrc-recaptcha,
.pmrc .pmrc-product,
.pmrc .pmrc-confirm {
  color: #333;
}


.pmrc-is-hidden {
  display: none !important;
}

.pmrc-manual-products-list {
  display: grid;
  gap: 14px;
}

.pmrc-manual-product {
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  padding: 14px;
  background: #fff;
}

.pmrc-manual-product-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  color: #222;
}

.pmrc-manual-product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 120px;
  gap: 12px;
}

.pmrc-add-product,
.pmrc-remove-product {
  border: 1px solid #00a896;
  background: #fff;
  color: #007f73;
  cursor: pointer;
}

.pmrc-add-product {
  margin-top: 12px;
  padding: 9px 14px;
  border-radius: 4px;
  font-weight: 600;
}

.pmrc-remove-product {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  line-height: 1;
  font-size: 18px;
}

.pmrc-view {
  max-width: 1040px;
  margin: 0 auto;
}

.pmrc-view-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #ddd;
  margin-bottom: 18px;
  padding-bottom: 16px;
}

.pmrc-view-header h1 {
  margin: 0 0 8px;
}

.pmrc-view-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.pmrc-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 14px;
  background: #f3f3f3;
  color: #222;
  font-size: 13px;
}

.pmrc-status,
.pmrc-status-pill {
  background: #777;
}

.pmrc-status-pill {
  color: #fff;
  font-weight: 600;
}

.pmrc-view-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.pmrc-view-card {
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  margin-top: 16px;
  padding: 16px;
}

.pmrc-view-card h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.pmrc-products-table {
  width: 100%;
  border-collapse: collapse;
}

.pmrc-products-table th,
.pmrc-products-table td {
  border-bottom: 1px solid #eee;
  padding: 10px 8px;
  text-align: left;
  vertical-align: top;
}

.pmrc-products-table th:last-child,
.pmrc-products-table td:last-child {
  text-align: right;
  width: 90px;
}

.pmrc-history-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pmrc-history-list li {
  border-left: 3px solid #00a896;
  padding-left: 10px;
}

.pmrc-history-date {
  display: block;
  color: #666;
  font-size: 12px;
  margin-bottom: 3px;
}

.pmrc-reply-form textarea {
  width: 100%;
  min-height: 120px;
  margin-bottom: 10px;
}

.pmrc-pin-view {
  max-width: 760px;
  padding-top: 30px;
}

.pmrc-pin-alerts {
  max-width: 620px;
  margin: 0 auto 12px;
}

.pmrc-pin-alerts .alert {
  margin-bottom: 12px;
  border-radius: 4px;
}

.pmrc-pin-box {
  max-width: 620px;
  margin: 0 auto 34px;
  padding: 26px 28px 28px;
  border: 1px solid #d8d2c9;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}

.pmrc-pin-box h1 {
  margin: 0 0 10px;
  padding: 0 0 14px;
  border-bottom: 1px solid #e6e0d8;
  font-size: 26px;
  line-height: 1.2;
  text-transform: none;
}

.pmrc-pin-lead {
  margin: 0 0 18px;
  color: #444;
  line-height: 1.45;
}

.pmrc-pin-ref {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin: 0 0 16px;
  padding: 4px 10px;
  border-radius: 14px;
  background: #f4efe8;
  color: #333;
  font-size: 13px;
  font-weight: 700;
}

.pmrc-pin-label {
  display: block;
  margin: 0 0 16px;
  color: #222;
  font-weight: 700;
}

.pmrc-pin-input {
  display: block;
  width: 220px;
  max-width: 100%;
  height: 46px;
  margin: 8px 0 0;
  padding: 8px 12px;
  border: 1px solid #cfc8bf;
  border-radius: 4px;
  background: #fff;
  font-size: 22px;
  letter-spacing: 4px;
  text-align: center;
}

.pmrc-pin-input:focus {
  border-color: #00a38f;
  outline: 0;
  box-shadow: 0 0 0 2px rgba(0, 163, 143, .14);
}

.pmrc-pin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 4px;
}

.pmrc-pin-actions .pmrc-primary {
  min-width: 150px;
}

.pmrc-pin-help {
  color: #777;
  font-size: 12px;
  line-height: 1.35;
}

.pmrc-pin-resend {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid #cfc8bf;
  border-radius: 4px;
  background: #f9f6f1;
  color: #333;
  text-decoration: none;
}

.pmrc-pin-resend:hover,
.pmrc-pin-resend:focus {
  border-color: #00a38f;
  color: #111;
  text-decoration: none;
}

.pmrc-footer-links ul {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}

#footer .pmrc-footer-links {
  display: block;
  margin: 12px 0 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

#footer .pmrc-footer-links li {
  margin: 0 0 5px;
}

#footer .pmrc-footer-links li::before {
  content: "\203A";
  display: inline-block;
  margin-right: 6px;
}

#footer .pmrc-footer-links a {
  color: inherit;
  text-decoration: none;
}

#footer .pmrc-footer-links a:hover,
#footer .pmrc-footer-links a:focus {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .pmrc-manual-product-grid {
    grid-template-columns: 1fr;
  }

  .pmrc-view-header {
    display: block;
  }

  .pmrc-view-actions {
    justify-content: flex-start;
    margin-top: 12px;
  }

  .pmrc-products-table th:nth-child(2),
  .pmrc-products-table td:nth-child(2) {
    display: none;
  }

  .pmrc-pin-view {
    padding: 18px 12px;
  }

  .pmrc-pin-box {
    padding: 20px 16px;
  }

  .pmrc-pin-box h1 {
    font-size: 23px;
  }

  .pmrc-pin-actions {
    display: block;
  }

  .pmrc-pin-actions .pmrc-primary,
  .pmrc-pin-resend {
    width: 100%;
    margin-bottom: 10px;
  }

  .pmrc-pin-input {
    width: 100%;
  }
}
