@charset "UTF-8";
a {
  cursor: pointer;
}

.ecard-loop .ecard-loop-category {
  margin-bottom: 20px;
}
.ecard-loop .ecard-loop-category h2 {
  font-size: 25px;
  font-weight: bold;
}
.ecard-loop .ecard-loop-category .ecard-loop-category-cards {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  scroll-behavior: smooth;
}
.ecard-loop .ecard-loop-category .ecard-loop-category-cards .ecard-loop-category-card {
  flex: 0 0 calc(25% - 10px);
  box-sizing: border-box;
  position: relative;
}
.ecard-loop .ecard-loop-category .ecard-loop-category-cards .ecard-loop-category-card a, .ecard-loop .ecard-loop-category .ecard-loop-category-cards .ecard-loop-category-card a:hover {
  color: initial;
}
.ecard-loop .ecard-loop-category .ecard-loop-category-cards .ecard-loop-category-card a .image-wrap, .ecard-loop .ecard-loop-category .ecard-loop-category-cards .ecard-loop-category-card a:hover .image-wrap {
  width: 100%;
  height: 180px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.ecard-loop .ecard-loop-category .ecard-loop-category-cards .ecard-loop-category-card a .image-wrap img, .ecard-loop .ecard-loop-category .ecard-loop-category-cards .ecard-loop-category-card a:hover .image-wrap img {
  width: 100%;
  height: auto;
}
.ecard-loop .ecard-loop-category .ecard-loop-category-cards .ecard-loop-category-card img {
  position: relative;
  z-index: 9;
}
.ecard-loop .ecard-loop-category .ecard-loop-category-cards .ecard-loop-category-card p {
  background: rgba(255, 255, 255, 0.8);
  z-index: 10;
  position: absolute;
  width: 100%;
  bottom: 0;
  padding: 20px 0;
  text-align: center;
  margin: 0;
}

.taxonomy-archive .taxonomy-archive-header {
  border-bottom: 2px solid grey;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
}
.taxonomy-archive .taxonomy-archive-header .ecard-sorting {
  flex: 1;
  text-align: right;
}
.taxonomy-archive .taxonomy-archive-content {
  display: flex;
  gap: 20px;
}
.taxonomy-archive .taxonomy-archive-content .taxonomy-archive-content-left {
  width: calc(30% - 20px);
}
.taxonomy-archive .taxonomy-archive-content .taxonomy-archive-content-right {
  position: relative;
  width: 70%;
}

.ecard-category-loop-count {
  position: absolute;
  top: -1.5em;
  right: 0;
  color: #999;
}

.ecard-category-loop {
  display: flex;
  gap: 20px;
  flex-flow: wrap row;
}
.ecard-category-loop .ecard-category-loop-single {
  width: calc(33% - 20px);
}
.ecard-category-loop .ecard-category-loop-single.hidden {
  display: none;
}
.ecard-category-loop .ecard-category-loop-single a, .ecard-category-loop .ecard-category-loop-single a:hover {
  color: initial;
  text-align: center;
  text-decoration: none;
}
.ecard-category-loop .ecard-category-loop-single a .image-wrap, .ecard-category-loop .ecard-category-loop-single a:hover .image-wrap {
  width: 100%;
  height: 180px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.ecard-category-loop .ecard-category-loop-single a .image-wrap img, .ecard-category-loop .ecard-category-loop-single a:hover .image-wrap img {
  width: 100%;
  height: auto;
}

.ecard-category-children,
.ecard-account-page-nav {
  border: 1px solid grey;
}
.ecard-category-children .ecard-category-children-single,
.ecard-category-children .ecard-account-page-nav-tab,
.ecard-account-page-nav .ecard-category-children-single,
.ecard-account-page-nav .ecard-account-page-nav-tab {
  border-bottom: 1px solid grey;
}
.ecard-category-children .ecard-category-children-single:last-of-type,
.ecard-category-children .ecard-account-page-nav-tab:last-of-type,
.ecard-account-page-nav .ecard-category-children-single:last-of-type,
.ecard-account-page-nav .ecard-account-page-nav-tab:last-of-type {
  border-bottom: none;
}
.ecard-category-children .ecard-category-children-single:nth-child(odd),
.ecard-category-children .ecard-account-page-nav-tab:nth-child(odd),
.ecard-account-page-nav .ecard-category-children-single:nth-child(odd),
.ecard-account-page-nav .ecard-account-page-nav-tab:nth-child(odd) {
  background: #eee;
}
.ecard-category-children .ecard-category-children-single.active,
.ecard-category-children .ecard-account-page-nav-tab.active,
.ecard-account-page-nav .ecard-category-children-single.active,
.ecard-account-page-nav .ecard-account-page-nav-tab.active {
  background: rgba(0, 85, 127, 0.2);
}
.ecard-category-children .ecard-category-children-single:hover,
.ecard-category-children .ecard-account-page-nav-tab:hover,
.ecard-account-page-nav .ecard-category-children-single:hover,
.ecard-account-page-nav .ecard-account-page-nav-tab:hover {
  background: rgba(0, 85, 127, 0.05);
}
.ecard-category-children .ecard-category-children-single a,
.ecard-category-children .ecard-account-page-nav-tab a,
.ecard-account-page-nav .ecard-category-children-single a,
.ecard-account-page-nav .ecard-account-page-nav-tab a {
  display: block;
  width: 100%;
  padding: 20px;
  text-decoration: none;
  color: initial;
}
.ecard-category-children .ecard-category-children-single a .count,
.ecard-category-children .ecard-account-page-nav-tab a .count,
.ecard-account-page-nav .ecard-category-children-single a .count,
.ecard-account-page-nav .ecard-account-page-nav-tab a .count {
  margin-left: 4px;
}

.custom-dd-form label {
  display: block;
}
.custom-dd-form input {
  width: 100%;
  margin-bottom: 16px;
}

.dd-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
}
.dd-overlay .dd-overlay-cancel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 18px;
  color: #000;
  margin: 0;
  padding: 0;
  cursor: pointer;
}
.dd-overlay .dd-overlay-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}
.dd-overlay .dd-overlay-content {
  width: 1200px;
  max-width: 92%;
  background: #fff;
  padding: 20px;
  max-height: 92%;
  overflow-y: auto;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ecard-account-page {
  display: flex;
  gap: 20px;
}
.ecard-account-page .ecard-account-page-nav-wrap {
  width: calc(30% - 20px);
}
.ecard-account-page .ecard-account-page-content {
  width: 70%;
}
.ecard-account-page .ecard-account-page-content .account-page-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: -60px;
  margin-bottom: 16px;
}
.ecard-account-page .ecard-account-page-content .account-page-actions button {
  padding: 8px;
}

.success-message {
  background: #eee;
  border: 1px solid green;
  color: green;
  padding: 20px;
}

.error-message {
  background: #fff;
  border: 1px solid red;
  color: red;
  padding: 20px;
}

.group-row p {
  margin: 0;
}

.group-contact-row.selected {
  background: rgba(0, 128, 0, 0.5);
}
.group-contact-row .toggle-group-contact.hidden {
  display: none;
}
.group-contact-row .toggle-group-contact.force-hidden {
  display: none !important;
}

.ecard-product-form {
  position: relative;
}
.ecard-product-form .ecard-form-fields {
  position: relative;
}
.ecard-product-form .ecard-form-fields.ecard-form-sender, .ecard-product-form .ecard-form-fields.ecard-form-recipient {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.ecard-product-form .ecard-form-fields.ecard-form-sender > div, .ecard-product-form .ecard-form-fields.ecard-form-recipient > div {
  position: relative;
}
.ecard-product-form .ecard-form-fields.ecard-form-sender label, .ecard-product-form .ecard-form-fields.ecard-form-recipient label {
  display: block;
  color: #aaa;
  font-size: 12px;
}
.ecard-product-form .ecard-form-fields.ecard-form-sender label::after, .ecard-product-form .ecard-form-fields.ecard-form-recipient label::after {
  content: "*";
  color: red;
}
.ecard-product-form .ecard-form-fields.ecard-form-sender input, .ecard-product-form .ecard-form-fields.ecard-form-recipient input {
  background: #fff;
  max-width: 180px;
  padding: 4px 8px;
}
.ecard-product-form .ecard-form-fields.ecard-form-recipient.hidden {
  display: none;
}
.ecard-product-form .ecard-form-fields.ecard-form-recipient .recipient-controls {
  position: absolute;
  right: 12px;
  top: 24px;
}
.ecard-product-form .ecard-form-fields.ecard-form-recipient .recipient-controls span {
  cursor: pointer;
  margin: 0 8px;
}
@keyframes slideFromRight {
  from {
    right: -200px;
    opacity: 0;
  }
  to {
    right: 0;
    opacity: 1;
  }
}
.ecard-product-form #clear-editor {
  margin-top: 12px;
  margin-bottom: -20px;
  display: inline-block;
  padding: 4px 12px;
  text-decoration: none;
  background: #fff;
  border: 1px solid;
  position: absolute;
  right: 0;
  animation: slideFromRight 500ms ease-in-out 1;
}
.ecard-product-form #clear-editor.hidden {
  display: none;
}
.ecard-product-form .ecard-characters-remaining {
  margin: 16px 0;
}
.ecard-product-form .ecard-characters-remaining #characters-remaining-count {
  font-weight: bold;
}
.ecard-product-form label[for=ecard-form-date] {
  display: block;
}
.ecard-product-form label[for=ecard-form-date] + input {
  max-width: 100%;
  width: 200px;
}
.ecard-product-form label[for=ecard-send-me-copy],
.ecard-product-form label[for=ecard-add-contacts] {
  display: block;
  margin: 16px 0;
}
.ecard-product-form label[for=ecard-send-me-copy] input,
.ecard-product-form label[for=ecard-add-contacts] input {
  margin-left: 12px;
}
.ecard-product-form .ecard-form-buttons {
  margin: 24px 0;
  display: flex;
  gap: 16px;
  align-items: center;
}
.ecard-product-form .ecard-form-buttons input, .ecard-product-form .ecard-form-buttons button {
  padding: 8px 32px;
}
.ecard-product-form .ecard-form-buttons a {
  padding: 8px 32px;
  display: block;
  border: 1px solid;
  text-decoration: none;
}
.ecard-product-form .email-error {
  color: red;
  position: absolute;
  bottom: -16px;
  display: none;
  font-size: 12px;
  width: 100%;
  left: 8px;
}

.ecard-product-form-actions {
  margin: 16px 0;
}

.single-ecard .single-ecard-content {
  display: flex;
  gap: 20px;
}
.single-ecard .single-ecard-content .left {
  width: calc(40% - 20px);
}
.single-ecard .single-ecard-content .right {
  width: 60%;
  padding: 20px;
  background: #fafafa;
}
.single-ecard .single-ecard-content .right h1 {
  font-size: 30px;
}

.ecard-preview-wrap {
  padding: 80px 0 0;
  width: 100%;
  position: relative;
}
.ecard-preview-wrap .ecard-preview-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 70;
  opacity: 50%;
  background-size: cover;
  background-position: center;
}

.flip-ecard-wrap {
  position: relative;
  z-index: 999;
  margin-bottom: -20px;
  top: 30px;
  left: 20px;
  animation: arriveLate 9s ease;
}
.flip-ecard-wrap .flip-ecard {
  text-decoration: none;
  background: #0470b9;
  color: #fff;
  padding: 10px 20px;
  border-radius: 20px;
}
.flip-ecard-wrap .flip-ecard:hover {
  opacity: 0.8;
}

@keyframes arriveLate {
  0% {
    opacity: 0;
  }
  99% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.ecard-preview {
  position: relative;
  z-index: 80;
  perspective: 2000px;
  height: 800px;
  width: 100%;
  left: -200px;
  animation: adjustPosition 8s ease-in-out;
}
@keyframes adjustPosition {
  0% {
    left: 0;
  }
  85% {
    left: 0;
  }
  100% {
    left: -200px;
  }
}
.ecard-preview .ecard-preview-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateY(0deg);
  animation: envelopeFlip 3s ease-in-out;
}
@keyframes envelopeFlip {
  0% {
    transform: rotateY(180deg);
  }
  50% {
    transform: rotateY(180deg);
  }
  100% {
    transform: rotateY(0);
  }
}
.ecard-preview .preview-envelope {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ecard-preview .preview-envelope.front, .ecard-preview .preview-envelope.back {
  backface-visibility: hidden;
}
.ecard-preview .preview-envelope .envelope-image {
  width: 600px;
  min-width: 600px;
  max-height: 100%;
  position: absolute;
  z-index: 80;
  bottom: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  backface-visibility: hidden;
}
.ecard-preview .preview-envelope .envelope-image.bg {
  z-index: 77;
}
.ecard-preview .preview-envelope .envelope-flap {
  width: 600px;
  min-width: 600px;
  position: absolute;
  z-index: 79;
  top: -4%;
  transform-origin: bottom;
  animation: flapOpen 5s ease-in-out;
}
@keyframes flapOpen {
  0% {
    transform: rotateX(180deg);
    z-index: 81;
    backface-visibility: hidden;
  }
  80% {
    transform: rotateX(180deg);
    z-index: 82;
  }
  87% {
    backface-visibility: visible;
  }
  90% {
    z-index: 82;
    backface-visibility: visible;
  }
  100% {
    transform: rotateX(0);
    z-index: 79;
    backface-visibility: hidden;
  }
}
.ecard-preview .preview-envelope.front {
  transform: rotateY(180deg);
}
.ecard-preview .preview-envelope.front .stamp {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(calc(-50% + 250px), calc(-50% - 150px));
  max-width: 50px;
  z-index: 90;
  backface-visibility: hidden;
}
.ecard-preview .preview-envelope.front .addressee {
  width: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 90;
  backface-visibility: hidden;
}
.ecard-preview .preview-envelope.back .seal {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 60px;
  z-index: 90;
  opacity: 0;
  animation: sealLift 4s ease-in-out;
  backface-visibility: hidden;
}
@keyframes sealLift {
  0% {
    opacity: 1;
    top: 55%;
  }
  75% {
    opacity: 1;
    top: 55%;
  }
  100% {
    opacity: 0;
    top: 35%;
  }
}
.ecard-preview .preview-envelope.back .ecard-itself {
  position: absolute;
  width: 382px;
  height: 597px;
  top: 10px;
  left: 50%;
  transform: translateX(calc(-50% + 300px));
  bottom: 0;
  border-radius: 5px;
  z-index: 83;
  animation: cardOut 8s ease-in-out;
  backface-visibility: hidden;
  background-position: center;
  background-size: cover;
  perspective: 1200px;
}
.ecard-preview .preview-envelope.back .ecard-itself.horizontal {
  animation: cardOutHorizontal 8s ease-in-out;
  transform: translateX(calc(-50% + 300px)) rotate(90deg) rotateZ(0);
}
.ecard-preview .preview-envelope.back .ecard-itself.horizontal .message {
  transform-origin: top left;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-25%, 90%) rotate(-90deg);
  width: 100%;
  margin: 0;
}
.ecard-preview .preview-envelope.back .ecard-itself.flipped .ecard-card {
  transform: rotateY(180deg);
}
.ecard-preview .preview-envelope.back .ecard-itself.flipped.flip .ecard-card {
  transform: rotateY(0deg);
}
.ecard-preview .preview-envelope.back .ecard-itself.auto-flip .ecard-card {
  animation: cardFlip 1s ease-in-out 8s forwards;
}
.ecard-preview .preview-envelope.back .ecard-itself .ecard-card {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d; /* enable 3‑D children */
  transition: transform 1s ease; /* smooth manual flips, too */
}
.ecard-preview .preview-envelope.back .ecard-itself .ecard-card .ecard-face {
  position: absolute;
  height: 100%;
  width: 100%;
  inset: 0;
  backface-visibility: hidden;
  border: 3px solid grey;
}
.ecard-preview .preview-envelope.back .ecard-itself .ecard-card .ecard-face.front {
  transform: rotateY(0deg);
  backface-visibility: hidden;
}
.ecard-preview .preview-envelope.back .ecard-itself .ecard-card .ecard-face.back {
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotateY(180deg);
  backface-visibility: hidden;
}
.ecard-preview .preview-envelope.back .ecard-itself .ecard-background-overlay {
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: rgba(252, 252, 252, 0.65);
  z-index: 84;
}
.ecard-preview .preview-envelope.back .ecard-itself .message {
  text-align: center;
  width: 80%;
  margin: 0 auto;
  backface-visibility: hidden;
  position: relative;
  z-index: 85;
}
.ecard-preview .preview-envelope.back .ecard-itself .message p {
  margin-bottom: 40px;
}
@keyframes cardOut {
  0% {
    transform: rotateZ(90deg);
    z-index: 79;
    left: 33.5%;
    top: 101px;
  }
  60% {
    top: 101px;
    z-index: 79;
  }
  75% {
    top: -300px;
    z-index: 79;
  }
  77% {
    z-index: 83;
  }
  85% {
    transform: rotateZ(90deg);
    left: 33.5%;
    top: 101px;
  }
  95% {
    transform: translateX(calc(-50% + 300px));
  }
  100% {
    transform: translateX(calc(-50% + 300px));
    z-index: 83;
    left: 50%;
    top: 10px;
  }
}
@keyframes cardOutHorizontal {
  0% {
    transform: translateX(0) rotate(0) rotateZ(90deg);
    z-index: 79;
    left: 33.5%;
    top: 101px;
  }
  60% {
    top: 101px;
    z-index: 79;
  }
  75% {
    top: -300px;
    z-index: 79;
  }
  77% {
    z-index: 83;
  }
  85% {
    transform: translateX(0) rotate(0) rotateZ(90deg);
    left: 33.5%;
    top: 101px;
  }
  95% {
    transform: translateX(calc(-50% + 300px)) rotate(90deg) rotateZ(0);
  }
  100% {
    transform: translateX(calc(-50% + 300px)) rotate(90deg) rotateZ(0);
    z-index: 83;
    left: 50%;
    top: 10px;
  }
}
@keyframes cardFlip {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(180deg);
  }
}

.ecard-cart {
  position: relative;
  width: 100%;
}
.ecard-cart .loading {
  cursor: progress;
}
.ecard-cart .loading .loading-overlay {
  position: absolute;
  background: rgba(252, 252, 252, 0.5);
  width: 100%;
  height: 100%;
  z-index: 999999;
}
.ecard-cart .loading-overlay {
  display: none;
}
.ecard-cart p {
  text-align: center;
  margin: 0;
}
.ecard-cart a.cart-action {
  display: block;
  margin-bottom: 8px;
}

.ecard-cart-table {
  width: 100%;
}

.cart-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: flex-end;
}

.ecard-cart-menu a {
  position: relative;
}
.ecard-cart-menu a i.fa-envelope {
  margin-left: 8px;
}
.ecard-cart-menu a .ecard-cart-count {
  position: absolute;
  background: #444;
  color: #fff !important;
  padding: 10px;
  width: 10px;
  height: 10px;
  border-radius: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  top: 10px;
  right: 2px;
  font-weight: bold;
}

/*# sourceMappingURL=ecard.style.css.map */
