/* Addiko Custom Cards (scoped) */

.addiko-cc-holder {
  background-color: #f5f5f5;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
}

.addiko-cc-container {
  display: flex;
  gap: 20px;
}

.addiko-cc-card {
  width: 300px;
  perspective: 1000px;
}

.addiko-cc-card p {
  font-size: 1.27em;
}

.addiko-cc-card li {
  font-size: 1.3em !important;
  margin-left: 0px !important;
}

.addiko-cc-card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

.addiko-cc-card.addiko-cc-show-back .addiko-cc-card-inner {
  transform: rotateY(180deg);
}

.addiko-cc-front,
.addiko-cc-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.addiko-cc-front {
  position: relative;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.addiko-cc-front--dark {
  background: #002d4c;
}

.addiko-cc-front--dark p {
  color: white;
}

.addiko-cc-back {
  left: 0;
  top: 0;
  background: #0a3d62;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  padding: 20px;
  align-items: center;
  transform: rotateY(180deg);
}

.addiko-cc-price {
  font-size: 45px;
  font-weight: bold;
  color: #002d4c;
  margin: 15px 0px;
  line-height: 1em;
}

.addiko-cc-front--dark .addiko-cc-price {
  color: white;
}

.addiko-cc-desnoCena {
  align-self: self-end;
  bottom: 52px;
  position: relative;
  margin-bottom: -40px;
}

.addiko-cc-popular {
  right: -100px;
  bottom: 0;
  position: relative;
  border: 1px solid white;
  border-radius: 50px;
  padding: 5px 10px;
  color: #002d4c;
  background-color: white;
}

.addiko-cc-znacajke {
  margin-top: 7px;
}

.addiko-cc-znacajke>h3 {
  margin: 3px;
  font-size: 1.5em;
}

.addiko-cc-front--dark .addiko-cc-znacajke>h3 {
  color: white;
}

.addiko-cc-features {
  margin-top: 20px;
}

.addiko-cc-features li {
  list-style: none;
  background: url("../images/checkblue.png") no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  color: #555;
}

.addiko-cc-front--dark .addiko-cc-features li {
  background: url("../images/check-5.png") no-repeat left center;
  background-size: 20px;
  color: white;
}

.addiko-cc-btn {
  padding: 10px 20px;
  background: #0a3d62;
  color: #ffffff;
  text-align: center;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.addiko-cc-btn--alt {
  background: #ffffff;
  color: #0a3d62;
}

.addiko-cc-btn--alt:hover {
  background: #e6e6e6;
}

.addiko-cc-btn:hover {
  background: #083454;
}

.addiko-cc-front--dark .addiko-cc-btn:hover {
  background: #ff4d5a;
  color: #fff;
}

.addiko-cc-back .heading-style-h2 {
  font-style: normal;
  font-variant: normal;
  font-family: "Charlie Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 600;
  line-height: 1.1;
}

.addiko-cc-back .heading-style-h2 {
  margin-top: -30px;
  margin-bottom: 20px;
  font-size: 2em;
  color: white;
}

.addiko-cc-front>h2 {
  margin: 0px;
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #002d4c;
}

.addiko-cc-front--dark>h2 {
  color: white;
}

.addiko-cc-back-btn {
  right: 48%;
  position: relative;
  font-size: 27px;
  border: 1px solid white;
  width: 30px;
  height: 30px;
  padding: 0px 3px 33px 0px;
  border-radius: 99px;
  background: transparent;
  color: white;
  cursor: pointer;
}

/* Mobile */
@media (max-width: 768px) {
  .addiko-cc-holder {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
    height: auto;
  }

  .addiko-cc-container {
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }

  .addiko-cc-card {
    width: 95%;
    max-width: 400px;
    margin: 10px auto;
  }

  .addiko-cc-popular {
    right: -20px;
    bottom: 2px;
  }
}

/* =========================
   RED VARIANT (scoped)
   ========================= */

.addiko-cc--red .addiko-cc-popular {
  right: auto;
  bottom: auto;
  display: block;
  position: relative;
  line-height: 1.1;
  border: 1px solid white;
  border-radius: 50px;
  padding: 5px 10px;
  color: #ff4d5a;
  background-color: white;
}

.addiko-cc--red .addiko-cc-front--dark {
  background: #ff4d5a;
}

.addiko-cc--red .addiko-cc-back {
  background: #ff4d5a;
}

.addiko-cc--red .addiko-cc-price {
  color: #ff4d5a;
}

.addiko-cc--red .addiko-cc-front--dark .addiko-cc-price {
  color: white;
}

.addiko-cc--red .addiko-cc-btn {
  background: #ff4d5a;
}

.addiko-cc--red .addiko-cc-btn--alt {
  background: #ffffff;
  color: #ff4d5a;
}

.addiko-cc--red .addiko-cc-features li {
  background: url("../images/check-1.png") no-repeat left center;
  background-size: 20px;
}

.addiko-cc--red .addiko-cc-front--dark .addiko-cc-features li {
  background: url("../images/check-6.png") no-repeat left center;
  background-size: 20px;
  color: white;
}