p.form-row {
  margin-block-end: 10px !important;
}

tr.rzcg-order__group-separator {
  font-size: 12px;
}

tr.rzcg-order__group-separator > td {
  background: var(--theme-palette-color-13);
  font-weight: 600;
  padding: var(--rzcg-cell-padding) !important;
  border-top: 2px solid var(--theme-border-color) !important;
  border-bottom: 1px solid var(--theme-border-color) !important;
}

.rzcg-form__actions {
  margin: 15px 0;
}

.woocommerce-MyAccount-navigation ul {
  background-color: var(--theme-palette-color-13);
}

.woocommerce-MyAccount-navigation ul li a {
  font-size: 14px;
  height: 40px !important;
}

input:active,
input:focus,
select:active,
select:focus,
textarea:active,
textarea:focus,
textarea:hover {
  outline: 0 !important;
  box-shadow: none !important;
}

.woocommerce-MyAccount-navigation ul li a::before {
  font-size: inherit;
}

.woocommerce-MyAccount-content {
  background-color: var(--theme-palette-color-8);
  padding: 30px !important;
  border: 1px var(--theme-palette-color-10) solid;
  box-shadow: 0px 12px 18px -6px var(--theme-palette-color-14) !important;
  border-radius: var(--rzcg-border-radius);
}

.woocommerce-MyAccount-content em {
  display: none;
}

.woocommerce-MyAccount-content legend {
  font-weight: 500;
}

.woocommerce-MyAccount-content fieldset {
  margin: 0 0 15px 0 !important;
  padding: 15px 20px;
  border: 1px var(--theme-palette-color-10) solid;
  border-radius: var(--rzcg-border-radius);
}

p.form-row.form-row-wide.rzcg-address__save-row {
  margin: 0 0 15px 0 !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li > a::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-inline-end: 12px;
  vertical-align: -4px;
  background-color: currentColor;
  -webkit-mask: var(--rzcg-acc-icon, none) center / 18px no-repeat;
  mask: var(--rzcg-acc-icon, none) center / 18px no-repeat;
}

.woocommerce-account
  .woocommerce-MyAccount-navigation
  ul
  li.woocommerce-MyAccount-navigation-link--dashboard
  > a::before {
  --rzcg-acc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpath d='M9 22V12h6v10'/%3E%3C/svg%3E");
}

.woocommerce-account
  .woocommerce-MyAccount-navigation
  ul
  li.woocommerce-MyAccount-navigation-link--orders
  > a::before {
  --rzcg-acc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'/%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E");
}

.woocommerce-account
  .woocommerce-MyAccount-navigation
  ul
  li.woocommerce-MyAccount-navigation-link--nastavenia-eshop
  > a::before {
  --rzcg-acc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21v-7M4 10V3M12 21v-9M12 8V3M20 21v-5M20 12V3'/%3E%3Cpath d='M1 14h6M9 8h6M17 16h6'/%3E%3C/svg%3E");
}

.woocommerce-account
  .woocommerce-MyAccount-navigation
  ul
  li.woocommerce-MyAccount-navigation-link--edit-account
  > a::before {
  --rzcg-acc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
}

.woocommerce-account
  .woocommerce-MyAccount-navigation
  ul
  li.woocommerce-MyAccount-navigation-link--saved-addresses
  > a::before {
  --rzcg-acc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

.woocommerce-account
  .woocommerce-MyAccount-navigation
  ul
  li.woocommerce-MyAccount-navigation-link--cenove-ponuky
  > a::before {
  --rzcg-acc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3Cpath d='M16 13H8M16 17H8M10 9H8'/%3E%3C/svg%3E");
}

.woocommerce-account
  .woocommerce-MyAccount-navigation
  ul
  li.woocommerce-MyAccount-navigation-link--woo-wish-list
  > a::before {
  --rzcg-acc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.6l-1-1a5.5 5.5 0 1 0-7.8 7.8l1 1L12 21l7.8-7.8 1-1a5.5 5.5 0 0 0 0-7.8z'/%3E%3C/svg%3E");
}

.woocommerce-account
  .woocommerce-MyAccount-navigation
  ul
  li.woocommerce-MyAccount-navigation-link--customer-logout
  > a::before {
  --rzcg-acc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpath d='M16 17l5-5-5-5'/%3E%3Cpath d='M21 12H9'/%3E%3C/svg%3E");
}

.rzcg-address__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5em;
  flex-wrap: wrap;
  gap: 0.5em;
}

.rzcg-address__header h3 {
  margin: 0;
}

.rzcg-address__section-title {
  margin: 1.5em 0 0.75em;
  font-size: 1.05em;
}

.rzcg-address__section-empty {
  color: var(--theme-palette-color-9);
  font-size: 0.9em;
  margin: 0 0 1em;
}

.rzcg-address__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1em;
}

.rzcg-address__card {
  border: 1px solid var(--theme-border-color);
  border-radius: var(--rzcg-border-radius);
  padding: 1.2em;
}

.rzcg-address__card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6em;
  flex-wrap: wrap;
  gap: 0.3em;
}

.rzcg-address__badge {
  font-size: 0.75em;
  padding: 2px 8px;
  border-radius: var(--rzcg-border-radius);
  background: var(--theme-palette-color-10);
  white-space: nowrap;
}

.rzcg-address__badge--billing {
  background: var(--theme-palette-color-16);
  color: var(--theme-palette-color-15);
}

.rzcg-address__badge--shipping {
  background: var(--theme-palette-color-13);
  color: var(--theme-palette-color-1);
}

.rzcg-address__card address {
  font-style: normal;
  margin-bottom: 0.4em;
  font-size: 0.95em;
}

.rzcg-address__meta {
  color: var(--theme-palette-color-9);
  margin: 0;
  font-size: 0.9em;
}

.rzcg-address__actions {
  display: flex;
  gap: 0.5em;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 0.8em;
}

.rzcg-address__btn--delete {
  color: var(--theme-palette-color-7);
  cursor: pointer;
}

.rzcg-address__btn--delete:hover {
  color: var(--theme-palette-color-7);
}

.rzcg-address__actions form {
  display: grid;
  align-items: center;
}

.rzcg-address__btn--add {
  white-space: nowrap;
}

.rzcg-address__breadcrumb-link {
  text-decoration: none;
  color: var(--theme-palette-color-1);
}

.rzcg-address__breadcrumb-link:hover {
  text-decoration: none;
}

.rzcg-address__breadcrumb-sep {
  color: var(--theme-palette-color-9);
}

.rzcg-address__form {
  max-width: 600px;
}

.rzcg-address__radio-inline {
  display: inline-block;
  margin-right: 1.5em;
  cursor: pointer;
}

.rzcg-address__radio-inline input {
  margin-right: 0.3em;
}

.rzcg-address__cards-label {
  font-weight: 600;
  margin-bottom: 10px;
}

.rzcg-address__cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75em;
  margin-bottom: 20px;
}

.rzcg-address__radio-card {
  display: flex;
  align-items: flex-start;
  gap: 0.6em;
  border: 1px solid var(--theme-palette-color-13);
  border-radius: var(--rzcg-border-radius);
  padding: 10px 15px;
  cursor: pointer;
  transition:
    border-color var(--theme-transition),
    background var(--theme-transition);
}

.rzcg-address__radio-card:hover {
  border-color: var(--theme-border-color);
}

.rzcg-address__radio-card input {
  margin-top: 3px;
  flex-shrink: 0;
}

.rzcg-address__radio-card input:checked ~ .rzcg-address__card-body {
  color: var(--theme-palette-color-12);
}

.rzcg-address__radio-card:has(input:checked) {
  border-color: var(--theme-border-color);
  background: var(--theme-palette-color-16);
}

.rzcg-address__card-body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.35;
}

.rzcg-address__card-body strong {
  font-size: 0.95em;
}

.rzcg-address__card-line {
  font-size: 0.85em;
  color: var(--theme-palette-color-4);
}

.rzcg-address__card-city {
  color: var(--theme-palette-color-4);
}

.rzcg-address__radio-card--new {
  border-style: dashed;
}

.rzcg-address__save-wrap {
  margin-top: 0.5em;
}

.rzcg-address__save-row {
  margin-bottom: 0.3em !important;
}

.rzcg-address__save-row label {
  cursor: pointer;
}

.rzcg-address__label-input {
  display: block;
  margin-top: 0.4em;
}

.rzcg-address__label-input input {
  width: 100%;
  max-width: 300px;
  padding: 0.4em 0.6em;
}

@media (max-width: 480px) {
  .rzcg-address__cards-grid {
    grid-template-columns: 1fr;
  }
}


.rzcg-quote__btns {
  display: flex;
  gap: 0.5em;
  flex-wrap: wrap;
}

.rzcg-quote__pdf-btn {
  white-space: nowrap;
}


.rzcg-pq__fields {
  max-width: 640px;
  margin-bottom: 1.5em;
}

.rzcg-pq__field {
  display: grid;
  grid-template-columns: 230px 1fr;
  align-items: start;
  gap: 1em;
  margin-bottom: 12px;
}

.rzcg-pq__field > label {
  font-weight: 500;
}

.rzcg-pq__field > input {
  width: 100%;
}

.rzcg-pq__field > textarea {
  width: 100%;
  height: 5em;
}

.rzcg-pq__field--top {
  align-items: start;
}

.rzcg-pq__field--full {
  display: block;
}

.rzcg-pq__field--full > label {
  display: block;
  margin-bottom: 0.6em;
  font-weight: 500;
}

.rzcg-pq__customer {
  max-width: 600px;
}

.rzcg-pq__customer-type {
  margin-bottom: 12px !important;
}

.rzcg-pq__supplier-list {
  display: flex;
  flex-direction: column;
  gap: 0.6em;
}

.rzcg-pq__supplier-empty {
  color: var(--theme-palette-color-9);
  margin: 0;
}

.rzcg-pq__search-col {
  position: relative;
}

.rzcg-pq__results {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  margin-top: 2px;
  background: var(--theme-palette-color-8);
  border: 1px solid var(--theme-border-color);
  border-radius: var(--rzcg-border-radius);
  box-shadow: 0px 12px 18px -6px var(--theme-palette-color-14);
  max-height: 340px;
  overflow-y: auto;
}

.rzcg-pq__result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--theme-palette-color-13);
  padding: 10px 15px;
  cursor: pointer;
  color: inherit;
  font: inherit;
}

.rzcg-pq__result:last-child {
  border-bottom: 0;
}

.rzcg-pq__result:hover {
  background: var(--theme-palette-color-16);
}

.rzcg-pq__result--added {
  opacity: 0.55;
}

.rzcg-pq__result--none {
  padding: 12px 15px;
  color: var(--theme-palette-color-9);
  cursor: default;
}

.rzcg-pq__result-img {
  flex-shrink: 0;
}

.rzcg-pq__result-img img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: var(--rzcg-border-radius);
}

.rzcg-pq__result-main {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
}

.rzcg-pq__result-name {
  font-size: 0.95em;
}

.rzcg-pq__result-sku {
  font-size: 0.8em;
  color: var(--theme-palette-color-9);
}

.rzcg-pq__result-price {
  white-space: nowrap;
  font-size: 0.9em;
}


.rzcg-pq__items-head {
  margin: 1.5em 0 0.75em;
  font-size: 1.05em;
}

.rzcg-pq__table {
  margin-bottom: 1em;
}

.rzcg-pq__table th.rzcg-pq__col-custom,
.rzcg-pq__table td.rzcg-pq__col-custom {
  text-align: right;
  white-space: nowrap;
  vertical-align: middle;
  padding-left: 30px;
}

.rzcg-pq__table th.rzcg-pq__col-qty,
.rzcg-pq__table td.rzcg-pq__col-qty {
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
}

.rzcg-pq__table th.rzcg-pq__col-eshop,
.rzcg-pq__table td.rzcg-pq__col-eshop {
  text-align: right;
  white-space: nowrap;
  vertical-align: middle;
}

.rzcg-pq__table th.rzcg-pq__col-total,
.rzcg-pq__table td.rzcg-pq__col-total {
  text-align: right;
  white-space: nowrap;
  vertical-align: middle;
  font-weight: 600;
}

.rzcg-pq__table td.rzcg-pq__col-qty .quantity {
  margin: 0 auto;
}

.rzcg-pq__table td.product-remove,
.rzcg-pq__table th.product-remove {
  padding-left: 14px;
  width: 34px;
}

.rzcg-pq__name-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5em;
}

.rzcg-pq__name-info {
  min-width: 0;
}

.rzcg-pq__item-name {
  display: block;
  font-weight: 500;
}

.rzcg-pq__eshop-price {
  text-align: right;
  white-space: nowrap;
  flex-shrink: 0;
}

.rzcg-pq__eshop-price .rzcg-price {
  align-items: flex-end;
}

.rzcg-pq__price-input {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}

.rzcg-pq__price-field {
  width: 100px !important;
  text-align: right;
}

.rzcg-pq__currency {
  color: var(--theme-palette-color-4);
}

.rzcg-pq__table td.product-remove a.remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  padding: 0 !important;
  background: none !important;
  border-radius: 0 !important;
  color: var(--theme-palette-color-9) !important;
}

.rzcg-pq__table td.product-remove a.remove:hover {
  background: none !important;
  color: var(--theme-palette-color-7) !important;
}

.rzcg-pq__item-remove .rzcg-pq__trash {
  display: block;
  width: 13px !important;
  height: 13px !important;
  fill: currentColor;
  pointer-events: none;
}

.rzcg-pq__items-empty {
  color: var(--theme-palette-color-9);
  margin: 0 0 1.5em;
}

.rzcg-pq__items-empty--error {
  color: var(--theme-palette-color-7);
}

.rzcg-pq__item--unavailable {
  opacity: 0.7;
}

.rzcg-pq__item--unavailable .rzcg-pq__item-name {
  color: var(--theme-palette-color-4);
}

.rzcg-pq__unavailable-note {
  display: block;
  margin-top: 2px;
  font-size: 0.8em;
  color: var(--theme-palette-color-7);
}

.rzcg-pq__soldout-note {
  display: block;
  margin-top: 2px;
  font-size: 0.8em;
  font-weight: 600;
  color: var(--theme-palette-color-7);
}

.rzcg-pq__result-soldout {
  margin-left: 0.5em;
  font-size: 0.8em;
  font-weight: 600;
  color: var(--theme-palette-color-7);
}

.rzcg-quote__updated {
  color: var(--theme-palette-color-9);
  font-size: 0.85em;
  margin: 0 0 0.8em;
}

@media (max-width: 600px) {
  .rzcg-pq__field {
    grid-template-columns: 1fr;
    gap: 0.3em;
  }
}
