@charset "UTF-8";
.coupon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  grid-auto-rows: minmax(100px, auto);
  float: left;
  clear: both;
}
@media only screen and (max-width: 768px) {
  .coupon-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

.coupon-block {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border: 1px dashed grey;
  border-radius: 20px;
  padding: 10px;
  overflow: hidden;
}

.coupon-block p {
  text-align: center;
}

.coupon-header-image {
  text-align: center;
}
.coupon-header-image img {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  max-height: 150px;
  overflow: hidden;
}

.coupon-secondary-image {
  text-align: center;
}
.coupon-secondary-image img {
  width: auto;
  -o-object-fit: contain;
     object-fit: contain;
}

.tracking-code {
  display: flex;
  width: 100%;
  max-height: 200px;
}

h2.coupon-title {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: Oswald, sans-serif;
  margin: 0 0 10px 0;
  font-weight: bold;
  color: #494949;
  min-height: 5rem;
}

.coupon-dates {
  margin: 0 0 20px 0;
}

h2.coupon-title i {
  margin: 0 10px 0 0;
  font-weight: 300;
  font-size: 5rem;
}
@media only screen and (max-width: 768px) {
  h2.coupon-title i {
    margin: 0 0 0 10px;
    font-weight: 300;
    float: left;
  }
}

.coupon-block .rebate {
  font-family: Oswald, sans-serif;
}

.coupon-block .rebate-amount {
  font-size: 5rem;
  font-weight: bold;
}

.coupon-block .rebate-details {
  font-size: 90%;
}

.coupon-block .rebate-conditions {
  font-size: 1.5rem;
  font-style: italic;
}

.coupon-block .vendor-url,
.coupon-block .vendor-box {
  text-align: center;
}

.vendor-url a {
  text-decoration: none;
  font-style: normal;
}
.vendor-url.no-coupon {
  justify-self: flex-end;
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
}
.vendor-url.no-coupon .vendor-box {
  flex: 0;
}

.coupon-code {
  font-family: Oswald, sans-serif;
  font-size: 120%;
  border: 2px dashed #ff7f00;
  padding: 2px 5px;
  background: #ffe075;
  white-space: nowrap;
  border-radius: 10px;
}

.coupon-code a {
  text-decoration: none;
}

.coupon-dates {
  font-family: Oswald, sans-serif;
  font-size: 1.8rem;
  text-align: center;
}

.newcoupon-code {
  --couponcolor: #9cb3ff;
  width: 250px;
  height: 100px;
  overflow: hidden;
  margin: 5px auto;
  filter: drop-shadow(0 1px 1px rgb(0, 0, 0)) brightness(100%);
  display: flex;
  align-items: stretch;
  position: relative;
  text-transform: uppercase;
  transition: filter 0.3s ease-in-out;
}
.newcoupon-code:hover {
  filter: drop-shadow(0 1px 1px rgb(0, 0, 0)) brightness(150%);
}
.newcoupon-code:hover a {
  color: inherit;
}

.newcoupon-code::before,
.newcoupon-code::after {
  content: "";
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  z-index: -1;
}

.newcoupon-code::before {
  left: 0;
  background-image: radial-gradient(circle at 0 50%, transparent 15px, var(--couponcolor) 16px);
}

.newcoupon-code::after {
  right: 0;
  background-image: radial-gradient(circle at 100% 50%, transparent 15px, var(--couponcolor) 16px);
}

.newcoupon-code > div {
  display: flex;
  align-items: center;
  justify-content: center;
}

.newcoupon-code a {
  text-decoration: none;
  padding: 5px;
  background: #fff;
}
.newcoupon-code .left {
  width: 20%;
  border-right: 2px dashed #666666;
}
.newcoupon-code .left div {
  transform: rotate(-90deg);
  white-space: nowrap;
  font-weight: bold;
}
.newcoupon-code .center {
  flex-grow: 1;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: Oswald, courier, sans-serif;
  font-weight: bold;
  font-size: 2rem;
}
.newcoupon-code .center .code-span {
  align-items: center;
  background: #fff;
  color: #000;
  padding: 0 2px;
  white-space: nowrap;
}
.newcoupon-code .right {
  width: 20%;
  border-left: 2px dashed rgba(0, 0, 0, 0.13);
  background-image: radial-gradient(circle at 100% 50%, transparent 25px, couponcolor_right 26px);
}
.newcoupon-code .right div {
  font-family: "Libre Barcode 128 Text", cursive;
  font-size: 2.5rem;
  font-weight: 400;
  transform: rotate(-90deg);
}

@media screen and (max-width: 500px) {
  .newcoupon {
    display: grid;
    grid-template-columns: 1fr;
  }
  .newcoupon .left div {
    transform: rotate(0deg);
  }
  .newcoupon .right div {
    transform: rotate(0deg);
  }
}
/* -------------------------------------------------------
   Coupon reveal — état masqué / révélé
------------------------------------------------------- */
/* État révélé caché par défaut */
.code-revealed {
  display: none;
}

/* Flou sur le code avant révélation */
.code-blur {
  filter: blur(5px);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  pointer-events: none;
  transition: filter 0.3s ease;
  letter-spacing: 0.15em;
}

/* Label "Cliquer pour révéler" superposé */
.code-hidden {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.code-reveal-label {
  font-size: 0.5em;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.85;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

/* Feedback "Copié !" après révélation */
.code-copied-label {
  display: block;
  font-family: Oswald, monospace, sans-serif;
  font-size: 0.65em;
  font-weight: bold;
  color: #186700;
  min-height: 1em;
  margin-top: 2px;
  text-transform: uppercase;
  animation: coupon-fade-in 0.3s ease;
}

@keyframes coupon-fade-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Apparition du code révélé */
.code-revealed {
  animation: coupon-reveal 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes coupon-reveal {
  from {
    opacity: 0;
    transform: scale(0.85);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}
/* Hover sur le bloc masqué */
.coupon-reveal-link:not(.coupon-revealed) .newcoupon-code:hover .code-blur {
  filter: blur(3px);
}

.coupon-reveal-link:not(.coupon-revealed) .newcoupon-code:hover .code-reveal-label {
  opacity: 1;
}/*# sourceMappingURL=block.css.map */