
.fpb-card{display:flex;gap:16px;border:1px solid #eee;border-radius:14px;padding:16px;align-items:stretch}
.fpb-left{flex:0 0 auto;display:flex;align-items:center;justify-content:center}
.fpb-product-img{width:220px;height:auto;border-radius:12px;display:block}
.fpb-right{flex:1 1 auto}
.fpb-head{margin-bottom:10px}
.fpb-cat{display:inline-block;font-weight:700;font-size:12px;padding:4px 10px;border-radius:999px;background:#f2f2f2}
.fpb-title{margin:8px 0 0;font-size:22px;line-height:1.2;font-weight:800}

.fpb-row{
  display:grid;
  grid-template-columns: 200px 1fr auto;
  align-items:center;
  padding:10px 0;
  border-top:1px solid #f0f0f0;
  gap:12px;
}
.fpb-store-badges{display:flex;align-items:center;gap:10px}
.fpb-logo{height:31px;max-height:31px;width:auto;display:block}
.fpb-store-name{font-weight:700;font-size:14px}
.fpb-win{font-size:18px}

.fpb-middle{justify-self:end;text-align:right;padding-right:6px}
.fpb-offer{font-weight:600}
.fpb-offer-main{font-weight:700}
.fpb-ref{display:block;font-size:12px;opacity:.8;margin-top:2px}

.fpb-btn{
  padding:10px 14px;
  border-radius:10px;
  background:#ff7a00;
  color:#fff;
  font-weight:800;
  text-decoration:none !important;
  white-space:nowrap;
  display:inline-block;
}
.fpb-btn:visited{color:#fff}
.fpb-btn:hover{opacity:.92;color:#fff !important}
.fpb-btn--disabled{opacity:.6;cursor:not-allowed;pointer-events:none}

.fpb-note{margin-top:10px;font-size:12px;opacity:.75}

@media (max-width: 720px){
  .fpb-card{flex-direction:column;align-items:center}
  .fpb-left{width:100%;justify-content:center}
  .fpb-product-img{width:min(260px,100%);margin:0 auto}
  .fpb-right{width:100%}
  .fpb-head{text-align:center}
  .fpb-row{grid-template-columns:1fr;align-items:center;justify-items:center;text-align:center}
  .fpb-store{width:100%}
  .fpb-store-badges{justify-content:center}
  .fpb-middle{justify-self:center;text-align:center;padding-right:0}
  .fpb-offer{display:flex;flex-direction:column;align-items:center}
  .fpb-btn{width:100%;max-width:320px;text-align:center}
  .fpb-note{text-align:center}
  .fpb-report{text-align:center}
}

.fpb-trophy{display:inline-block;margin-right:6px;font-size:14px;line-height:1;}

.fpb--compact{padding:8px;gap:10px}
.fpb--compact .fpb-title{font-size:18px;}
.fpb--compact .fpb-product-img{width:96px;height:96px;object-fit:cover;}
.fpb--compact .fpb-row{padding:5px 0;gap:10px;grid-template-columns: 160px 1fr auto;}
.fpb--compact .fpb-offer{font-size:14px;}
.fpb--compact .fpb-btn{padding:8px 12px;}
.fpb--compact .fpb-report{margin-top:6px;padding-top:6px;}

.fpb-preset-desc{margin:8px 0 0 0;font-size:12px;opacity:.85;}

.fpb-report{margin-top:12px;border-top:1px solid #f0f0f0;padding-top:10px}
.fpb-report-link{background:#f5f5f5 !important;border:1px solid #e0e0e0 !important;padding:7px 12px !important;color:#444 !important;text-decoration:none !important;cursor:pointer;font-size:12px;font-weight:600;appearance:none;-webkit-appearance:none;box-shadow:none !important;display:inline-flex;align-items:center;gap:6px;border-radius:999px;transition:transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease}
.fpb-report-link:hover{color:#111 !important;background:#efefef !important;animation:fpbPulse 0.9s ease-in-out infinite}
.fpb-report-link:focus{outline:none;box-shadow:0 0 0 3px rgba(17,17,17,.12) !important}
@keyframes fpbPulse{0%{transform:scale(1)}50%{transform:scale(1.04)}100%{transform:scale(1)}}
.fpb-report-panel{margin-top:8px;padding:10px;border:1px solid #e8e8e8;border-radius:10px;background:#fafafa}
.fpb-report-text{margin:0 0 8px 0;font-size:12px;color:#555}
.fpb-report-form{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.fpb-report-email{flex:1 1 220px;min-width:180px;padding:10px 12px;border:1px solid #d0d7de;border-radius:8px;font-size:14px}
.fpb-report-submit{padding:10px 14px;border-radius:8px;border:0 !important;background:#111 !important;color:#fff !important;font-weight:700;cursor:pointer;appearance:none;-webkit-appearance:none;box-shadow:none !important}
.fpb-report-submit:hover{opacity:.94}
.fpb-report-message{margin-top:8px;font-size:12px;color:#2f6f2f}

@media (max-width: 720px){
  .fpb-report-submit{width:100%}
  .fpb-report-email{width:100%}
}


/* Box Vertical */
.fpb-preset-compact-card{
  max-width:360px;
  margin:0 auto;
  padding:18px;
  border-radius:20px;
  box-shadow:0 10px 26px rgba(0,0,0,.08);
  border:1px solid #ececec;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.fpb-preset-compact-card .fpb-left{
  width:100%;
  display:flex;
  justify-content:center;
  align-items:center;
  margin:0 0 14px 0;
}
.fpb-preset-compact-card .fpb-product-img{
  width:220px;
  height:220px;
  object-fit:contain;
  display:block;
  margin:0 auto;
}
.fpb-preset-compact-card .fpb-right{
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
}
.fpb-preset-compact-card .fpb-head{
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  margin:0 0 14px 0;
}
.fpb-preset-compact-card .fpb-cat{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:11px;
  font-weight:700;
  letter-spacing:.02em;
  background:#f5f5f5;
  padding:6px 12px;
  border-radius:999px;
  margin:0 auto 10px;
}
.fpb-preset-compact-card .fpb-title{
  width:100%;
  font-size:17px;
  font-weight:700;
  line-height:1.25;
  text-align:center;
  margin:0;
}
.fpb-preset-compact-card .fpb-rows{
  width:100%;
}
.fpb-preset-compact-card .fpb-row-compact-card{
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:10px;
  padding:16px 0;
  border-top:1px solid #ececec;
}
.fpb-preset-compact-card .fpb-row-compact-card:first-child{
  border-top:none;
}
.fpb-preset-compact-card .fpb-store,
.fpb-preset-compact-card .fpb-middle{
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}
.fpb-preset-compact-card .fpb-store-badges{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}
.fpb-preset-compact-card .fpb-logo{
  max-height:30px;
  width:auto;
  object-fit:contain;
  margin:0 auto;
}
.fpb-preset-compact-card .fpb-store-name{
  display:block;
  width:100%;
  text-align:center;
  font-weight:700;
}
.fpb-preset-compact-card .fpb-offer{
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  text-align:center;
}
.fpb-preset-compact-card .fpb-offer-main{
  display:block;
  width:100%;
  font-size:14px;
  font-weight:700;
  text-align:center;
}
.fpb-preset-compact-card .fpb-ref{
  display:block;
  width:100%;
  text-align:center;
  justify-content:center;
  font-size:13px;
}
.fpb-preset-compact-card .fpb-ref-old,
.fpb-preset-compact-card .fpb-ref-now{
  display:block;
}
.fpb-preset-compact-card .fpb-btn{
  width:100%;
  max-width:280px;
  margin:4px auto 0;
  padding:12px 14px;
  font-size:14px;
  font-weight:700;
  border-radius:12px;
  border:none;
  transition:all .2s ease;
  box-shadow:0 6px 14px rgba(255,94,0,.18);
}
.fpb-preset-compact-card .fpb-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 8px 18px rgba(255,94,0,.24);
}
.fpb-preset-compact-card .fpb-note{
  width:100%;
  margin-top:12px;
  text-align:left;
  font-size:13px;
  line-height:1.55;
}
.fpb-preset-compact-card .fpb-report{
  width:100%;
  margin-top:12px;
}
.fpb-preset-compact-card .fpb-report-link{
  width:100%;
  justify-content:center;
}


/* Compact Vertical (v1) */
.fpb-preset-compact-vertical{
  max-width:320px;
  margin:0 auto;
  padding:16px;
  border-radius:18px;
  box-shadow:0 8px 20px rgba(0,0,0,.08);
  border:1px solid #ececec;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.fpb-preset-compact-vertical .fpb-left{
  width:100%;
  display:flex;
  justify-content:center;
  align-items:center;
  margin:0 0 12px 0;
}
.fpb-preset-compact-vertical .fpb-product-img{
  width:160px;
  height:160px;
  object-fit:contain;
  display:block;
  margin:0 auto;
}
.fpb-preset-compact-vertical .fpb-right{
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
}
.fpb-preset-compact-vertical .fpb-head{
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  margin:0 0 12px 0;
}
.fpb-preset-compact-vertical .fpb-cat{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:11px;
  font-weight:700;
  background:#f5f5f5;
  padding:6px 12px;
  border-radius:999px;
  margin:0 auto 10px;
}
.fpb-preset-compact-vertical .fpb-title{
  width:100%;
  text-align:center;
  font-size:17px;
  line-height:1.25;
}
.fpb-preset-compact-vertical .fpb-rows{
  width:100%;
}
.fpb-preset-compact-vertical .fpb-row{
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:10px;
  padding:14px 0;
  border-top:1px solid #ececec;
}
.fpb-preset-compact-vertical .fpb-row:first-child{
  border-top:none;
}
.fpb-preset-compact-vertical .fpb-store,
.fpb-preset-compact-vertical .fpb-middle{
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}
.fpb-preset-compact-vertical .fpb-store-badges{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}
.fpb-preset-compact-vertical .fpb-logo{
  max-height:28px;
  width:auto;
  object-fit:contain;
}
.fpb-preset-compact-vertical .fpb-offer{
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  text-align:center;
}
.fpb-preset-compact-vertical .fpb-ref{
  justify-content:center;
}
.fpb-preset-compact-vertical .fpb-btn{
  width:100%;
  max-width:260px;
  margin:6px auto 0;
}



.fpb-compact-vertical-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:16px;
  align-items:start;
}

.fpb-compact-vertical-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
}
@media(max-width:1024px){
  .fpb-compact-vertical-grid{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:600px){
  .fpb-compact-vertical-grid{grid-template-columns:1fr;}
}


/* Compact Vertical preview alignment fix */
.fpb-compact-vertical-grid{
  align-items: stretch;
}
.fpb-compact-vertical-grid .fpb-preset-compact-vertical{
  height: 100%;
  box-sizing: border-box;
}
.fpb-preset-compact-vertical .fpb-right{
  width: 100%;
}
.fpb-preset-compact-vertical .fpb-rows{
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.fpb-preset-compact-vertical .fpb-row{
  width: 100%;
  box-sizing: border-box;
}
.fpb-preset-compact-vertical .fpb-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  box-sizing: border-box;
}
.fpb-preset-compact-vertical .fpb-report{
  width: 100%;
  margin-top: auto;
  padding-top: 12px;
}
.fpb-preset-compact-vertical .fpb-report-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 220px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}




/* External spacing between published Affiliate PriceBox blocks */
.fpb-block-outer{
  margin-bottom: 24px;
}


/* Box Vertical + Compact Vertical store logo/trophy alignment fix */
.fpb-preset-compact-card .fpb-store,
.fpb-preset-compact-vertical .fpb-store{
  display:flex;
  justify-content:center;
  align-items:center;
}

.fpb-preset-compact-card .fpb-store-badges,
.fpb-preset-compact-vertical .fpb-store-badges{
  width:auto;
  max-width:100%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  vertical-align:middle;
  gap:8px;
  margin:0 auto;
}

.fpb-preset-compact-card .fpb-logo,
.fpb-preset-compact-vertical .fpb-logo{
  margin:0;
  display:block;
}

.fpb-preset-compact-card .fpb-win,
.fpb-preset-compact-vertical .fpb-win{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:1;
  margin:0;
  flex:0 0 auto;
}


/* Compact Vertical preset - professional card alignment */
.fpb-preset-compact-vertical{
  display:flex;
  flex-direction:column;
  height:100%;
}

.fpb-preset-compact-vertical .fpb-right{
  display:flex;
  flex-direction:column;
  flex:1 1 auto;
}

.fpb-preset-compact-vertical .fpb-head{
  display:flex;
  flex-direction:column;
  align-items:center;
}

.fpb-preset-compact-vertical .fpb-title{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  min-height:2.6em;
  line-height:1.3;
}

.fpb-preset-compact-vertical .fpb-rows{
  display:flex;
  flex-direction:column;
  flex:1 1 auto;
  justify-content:flex-start;
}

.fpb-preset-compact-vertical .fpb-row{
  display:flex;
  flex-direction:column;
  flex:1 1 auto;
}

.fpb-preset-compact-vertical .fpb-store{
  min-height:32px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.fpb-preset-compact-vertical .fpb-btn{
  margin-top:auto;
}

.fpb-preset-compact-vertical .fpb-report{
  margin-top:14px;
}


/* Compact Vertical preset - equal card height */
.fpb-preset-compact-vertical{
  min-height: 490px;
}


/* Compact Vertical preset - final professional refinements */
.fpb-preset-compact-vertical{
  min-height: 490px;
}

.fpb-preset-compact-vertical .fpb-head{
  gap: 8px;
}

.fpb-preset-compact-vertical .fpb-title{
  margin-bottom: 0;
  text-align: center;
}

.fpb-preset-compact-vertical .fpb-store{
  margin-top: 8px;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fpb-preset-compact-vertical .fpb-store-badges{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto;
}

.fpb-preset-compact-vertical .fpb-logo{
  margin: 0;
  display: block;
}

.fpb-preset-compact-vertical .fpb-win{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  margin: 0;
  flex: 0 0 auto;
}

.fpb-preset-compact-vertical hr,
.fpb-preset-compact-vertical .fpb-divider,
.fpb-preset-compact-vertical .fpb-separator{
  display: none !important;
}

.fpb-preset-compact-vertical .fpb-btn{
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

.fpb-preset-compact-vertical .fpb-report{
  margin-top: 14px;
}


/* Compact Vertical preset - remove visual divider/border between title and store */
.fpb-preset-compact-vertical .fpb-head,
.fpb-preset-compact-vertical .fpb-store,
.fpb-preset-compact-vertical .fpb-rows,
.fpb-preset-compact-vertical .fpb-row{
  border-top: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}


/* Compact Vertical - remove gap between title and store (precise fix) */
.fpb-preset-compact-vertical .fpb-head{
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.fpb-preset-compact-vertical .fpb-title{
  margin-bottom: 0 !important;
}

.fpb-preset-compact-vertical .fpb-store{
  margin-top: 2px !important;
  padding-top: 0 !important;
}


/* Compact Horizontal */
.fpb-preset-compact-horizontal .fpb-row{
  border-top:none;
}


/* Compact Horizontal - center report button horizontally while keeping current vertical position */
.fpb-preset-compact-horizontal .fpb-report{
  text-align:center;
}
.fpb-preset-compact-horizontal .fpb-report-link{
  margin-left:auto;
  margin-right:auto;
}


/* v1.14.52 - Compact Horizontal premium refinement */
.fpb-preset-compact-horizontal{
  padding: 6px 10px !important;
}
.fpb-preset-compact-horizontal .fpb-head{
  margin-bottom: 2px !important;
}
.fpb-preset-compact-horizontal .fpb-cat{
  font-size: 11px !important;
  line-height: 1.1 !important;
  padding: 6px 12px !important;
  border-radius: 999px !important;
  letter-spacing: 0 !important;
}
.fpb-preset-compact-horizontal .fpb-title{
  margin: 4px 0 6px !important;
  line-height: 1.15 !important;
}
.fpb-preset-compact-horizontal .fpb-row{
  padding: 4px 0 !important;
  gap: 8px !important;
  align-items: center !important;
}
.fpb-preset-compact-horizontal .fpb-store{
  min-width: 0 !important;
}
.fpb-preset-compact-horizontal .fpb-store-badges{
  gap: 6px !important;
}
.fpb-preset-compact-horizontal .fpb-btn{
  padding: 9px 16px !important;
  font-weight: 800 !important;
}
.fpb-preset-compact-horizontal .fpb-report{
  margin-top: 4px !important;
  padding-top: 4px !important;
}
.fpb-preset-compact-horizontal .fpb-report-link{
  font-size: 12px !important;
  padding: 8px 14px !important;
  opacity: .9 !important;
}

/* v1.14.54 - Compact Horizontal Phase 2: brand badge and product title on the same line */
.fpb-preset-compact-horizontal .fpb-head{
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  margin-bottom: 6px !important;
}
.fpb-preset-compact-horizontal .fpb-head .fpb-cat{
  margin: 0 !important;
  flex: 0 0 auto !important;
}
.fpb-preset-compact-horizontal .fpb-head .fpb-title{
  margin: 0 !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

/* v1.14.55 - Compact Horizontal Phase 3: bring store logo/trophy closer to the title row */
.fpb-preset-compact-horizontal .fpb-head{
  margin-bottom: 2px !important;
}
.fpb-preset-compact-horizontal .fpb-row{
  padding-top: 1px !important;
}
.fpb-preset-compact-horizontal .fpb-store-badges{
  align-items: center !important;
}


/* v1.14.56 - Compact Horizontal Phase 4: integrate CTA with the main visual line */
.fpb-preset-compact-horizontal .fpb-row{
  align-items: center !important;
}
.fpb-preset-compact-horizontal .fpb-btn{
  align-self: center !important;
  margin-left: auto !important;
  margin-top: -4px !important;
  margin-bottom: 2px !important;
  min-width: 150px !important;
  text-align: center !important;
}
.fpb-preset-compact-horizontal .fpb-middle{
  flex: 1 1 auto !important;
  min-width: 0 !important;
}


/* v1.14.59 - Compact Horizontal microphase: force brand badge + title + store logo + trophy into one real horizontal row */
@media (min-width: 721px){
  .fpb-preset-compact-horizontal .fpb-right{
    display: grid !important;
    grid-template-columns: minmax(0, auto) auto 1fr auto !important;
    grid-template-areas:
      "head store spacer cta"
      "coupon coupon coupon coupon"
      "report report report report" !important;
    column-gap: 12px !important;
    row-gap: 4px !important;
    align-items: center !important;
    min-width: 0 !important;
  }

  .fpb-preset-compact-horizontal .fpb-head{
    grid-area: head !important;
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    margin: 0 !important;
    min-width: 0 !important;
    white-space: nowrap !important;
  }

  .fpb-preset-compact-horizontal .fpb-head .fpb-cat,
  .fpb-preset-compact-horizontal .fpb-head .fpb-title{
    flex: 0 1 auto !important;
    margin: 0 !important;
    white-space: nowrap !important;
  }

  .fpb-preset-compact-horizontal .fpb-rows,
  .fpb-preset-compact-horizontal .fpb-row{
    display: contents !important;
  }

  .fpb-preset-compact-horizontal .fpb-store{
    grid-area: store !important;
    min-width: 0 !important;
  }

  .fpb-preset-compact-horizontal .fpb-store-badges{
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    white-space: nowrap !important;
  }

  .fpb-preset-compact-horizontal .fpb-middle{
    display: none !important;
  }

  .fpb-preset-compact-horizontal .fpb-btn{
    grid-area: cta !important;
    justify-self: end !important;
    align-self: center !important;
    margin: 0 !important;
  }

  .fpb-preset-compact-horizontal .fpb-report{
    grid-area: report !important;
    margin-top: 4px !important;
    padding-top: 6px !important;
    width: 100% !important;
  }
}

/* v1.14.60 - Compact Horizontal line refinement: balance badge + title + store logo + trophy without changing structure */
@media (min-width: 721px){
  .fpb-preset-compact-horizontal .fpb-right{
    column-gap: 9px !important;
    row-gap: 3px !important;
  }

  .fpb-preset-compact-horizontal .fpb-head{
    gap: 7px !important;
  }

  .fpb-preset-compact-horizontal .fpb-head .fpb-cat{
    padding: 5px 10px !important;
    font-size: 10.5px !important;
    line-height: 1 !important;
  }

  .fpb-preset-compact-horizontal .fpb-head .fpb-title{
    font-size: 17px !important;
    line-height: 1.12 !important;
    max-width: 260px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .fpb-preset-compact-horizontal .fpb-store-badges{
    gap: 6px !important;
    align-items: center !important;
  }

  .fpb-preset-compact-horizontal .fpb-logo{
    max-height: 22px !important;
    width: auto !important;
    object-fit: contain !important;
  }

  .fpb-preset-compact-horizontal .fpb-win{
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
  }
}

/* v1.14.64 - Compact Horizontal multiproduct rendering */
.fpb-compact-horizontal-list{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.fpb-compact-horizontal-list .fpb-preset-compact-horizontal{
  width:100%;
}


/* Coupon Phase 1B - optional coupon display */
.fpb-coupon{
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  color: #2f6f2f;
}
.fpb-coupon-label{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: var(--fpb-coupon-border-radius,999px);
  background: rgba(47,111,47,.10);
  border-width: var(--fpb-coupon-border-width,1px);
  border-style: var(--fpb-coupon-border-style,solid);
  border-color: rgba(47,111,47,.18);
}
.fpb-row .fpb-coupon{
  grid-column: 1 / -1;
  justify-self: end;
  margin-top: 2px;
}
.fpb-preset-compact-vertical .fpb-coupon,
.fpb-preset-compact-horizontal .fpb-coupon{
  text-align: center;
  margin-top: 4px;
}
.fpb-preset-compact-horizontal .fpb-coupon{
  grid-area: coupon;
  justify-self: center;
  margin-top: 2px;
  margin-bottom: 0;
}
.fpb-preset-compact-horizontal .fpb-coupon + .fpb-report{
  margin-top: 2px !important;
}

/* v1.14.72 - Compact Horizontal coupon visual contrast and placement */
.fpb-preset-compact-horizontal .fpb-coupon{
  grid-area: coupon !important;
  justify-self: center !important;
  align-self: center !important;
  text-align: center !important;
  margin: 2px 0 0 !important;
  color: #ffd84d !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}
.fpb-preset-compact-horizontal .fpb-coupon-label{
  color: #ffd84d !important;
  background: rgba(0,0,0,.22) !important;
  border: 1px solid rgba(255,216,77,.40) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.12) !important;
  padding: 5px 10px !important;
  border-radius: 999px !important;
}
.fpb-preset-compact-horizontal .fpb-coupon + .fpb-report{
  margin-top: 2px !important;
}

/* v1.14.73 - Compact Horizontal coupon placed below CTA */
@media (min-width: 721px){
  .fpb-preset-compact-horizontal .fpb-right{
    grid-template-areas:
      "head store spacer cta"
      ". . . coupon"
      "report report report report" !important;
  }
  .fpb-preset-compact-horizontal .fpb-coupon{
    grid-area: coupon !important;
    justify-self: center !important;
    align-self: start !important;
    text-align: center !important;
    margin: 3px 0 0 !important;
    max-width: 220px !important;
  }
}

/* EMAIL SCORE EMPHASIS */
.apb-email-score-value,
.fpb-email-score-value,
.apb-card .score,
.fpb-card .score {
    font-size: 30px !important;
    font-weight: 600;
    line-height: 1.2;
    color: #111827;
}


.apb-reports-email-notice {
    margin-top: 12px;
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e3a8a;
    font-size: 13px;
}
.apb-reports-email-notice a {
    margin-left: 8px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
}
.apb-reports-email-notice a:hover {
    text-decoration: underline;
}


.apb-reports-email-notice {
    margin-top: 12px;
    margin-bottom: 0;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.4;
}
.apb-reports-email-notice-info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e3a8a;
}
.apb-reports-email-notice-success {
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    color: #166534;
}
.apb-reports-email-notice a {
    margin-left: 8px;
    font-weight: 600;
    text-decoration: none;
}
.apb-reports-email-notice-info a {
    color: #2563eb;
}
.apb-reports-email-notice-success a {
    color: #047857;
}
.apb-reports-email-notice a:hover {
    text-decoration: underline;
}


/* APB PRODUCTS HEADER ALIGNMENT - REAL TABLE SELECTORS */
.fpb-products-table thead th {
    vertical-align: middle !important;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
}

.fpb-products-table .fpb-products-th-image,
.fpb-products-table .fpb-products-th-stores,
.fpb-products-table .fpb-products-th-updated,
.fpb-products-table .fpb-products-th-reports,
.fpb-products-table .fpb-products-th-actions,
.fpb-products-table .fpb-products-thumb,
.fpb-products-table .fpb-product-stores-cell,
.fpb-products-table .fpb-product-updated-cell,
.fpb-products-table .fpb-product-reports-cell,
.fpb-products-table .fpb-product-actions-cell {
    text-align: center !important;
}

.fpb-products-table .fpb-products-th-product,
.fpb-products-table .fpb-product-main-cell {
    text-align: left !important;
}

.fpb-products-table .fpb-products-th-image { width: 90px; }
.fpb-products-table .fpb-products-th-reports { width: 110px; }
.fpb-products-table .fpb-products-th-actions { width: 150px; }


/* APB PRODUCT ROW HIGHLIGHT (REPORTS) */
.fpb-products-table tbody tr.fpb-row-risk {
    background: linear-gradient(90deg, #fff1f2 0%, #ffffff 65%) !important;
    box-shadow: inset 4px 0 0 #fca5a5;
}

.fpb-products-table tbody tr.fpb-row-risk:hover {
    background: linear-gradient(90deg, #ffe4e6 0%, #ffffff 70%) !important;
}

.fpb-products-table tbody tr.fpb-row-risk td {
    border-top-color: #fecdd3;
    border-bottom-color: #fecdd3;
}


/* APB 1.14.311 - Coupon copy code icon button */
.fpb-coupon-has-copy .fpb-coupon-label{
  gap:8px;
  flex-wrap:wrap;
}
.fpb-coupon-text{
  display:inline-flex;
  align-items:center;
}
.fpb-coupon-copy{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:28px;
  padding:3px 5px 3px 9px;
  border:1px solid rgba(47,111,47,.24);
  border-radius:999px;
  background:#fff;
  color:inherit;
  font:inherit;
  font-weight:800;
  line-height:1;
  cursor:pointer;
  box-shadow:0 2px 8px rgba(15,23,42,.06);
  transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}
.fpb-coupon-copy:hover,
.fpb-coupon-copy:focus{
  border-color:rgba(47,111,47,.42);
  background:rgba(255,255,255,.94);
  box-shadow:0 4px 12px rgba(15,23,42,.10);
  transform:translateY(-1px);
  outline:none;
}
.fpb-coupon-copy:focus-visible{
  outline:2px solid rgba(47,111,47,.28);
  outline-offset:2px;
}
.fpb-coupon-code{
  letter-spacing:.05em;
  font-weight:900;
}
.fpb-coupon-copy-label{
  display:inline-flex;
  align-items:center;
  padding:4px 7px;
  border-radius:999px;
  background:rgba(47,111,47,.10);
  color:inherit;
  font-size:11px;
  font-weight:900;
  white-space:nowrap;
}
.fpb-coupon-copy.is-copied .fpb-coupon-copy-label{
  background:rgba(22,163,74,.16);
}
.fpb-preset-compact-horizontal .fpb-coupon-copy{
  background:rgba(0,0,0,.20) !important;
  border-color:rgba(255,216,77,.38) !important;
  color:#ffd84d !important;
  box-shadow:0 2px 8px rgba(0,0,0,.14) !important;
}
.fpb-preset-compact-horizontal .fpb-coupon-copy-label{
  background:rgba(255,216,77,.14) !important;
  color:#ffd84d !important;
}
@media(max-width:520px){
  .fpb-coupon-has-copy .fpb-coupon-label{
    justify-content:center;
  }
  .fpb-coupon-copy-label{
    font-size:10px;
  }
}


/* APB 1.14.311 - Compact copy icon UX */
.fpb-coupon-copy{
  padding:3px 4px 3px 9px;
}
.fpb-coupon-copy-label{
  width:24px;
  min-width:24px;
  height:24px;
  padding:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  font-size:11px;
  line-height:1;
  overflow:hidden;
}
.fpb-coupon-copy-icon{
  display:inline-flex;
  width:14px;
  height:14px;
  line-height:1;
}
.fpb-coupon-copy-icon svg,
.fpb-coupon-copy-label svg{
  display:block;
  width:14px;
  height:14px;
}
.fpb-coupon-copy.is-copied .fpb-coupon-copy-label{
  width:auto;
  min-width:58px;
  padding:4px 7px;
}
.fpb-coupon-copy[title]{
  position:relative;
}

/* APB 1.14.312 - Appearance > Coupon controls connected to frontend and Gutenberg */
.fpb-coupon{
  color:var(--fpb-coupon-color,#008a3d) !important;
}
.fpb-coupon-label{
  background:var(--fpb-coupon-bg,#eaf8ef) !important;
  border-color:var(--fpb-coupon-border,#b8e6c8) !important;
  border-width:var(--fpb-coupon-border-width,1px) !important;
  border-style:var(--fpb-coupon-border-style,solid) !important;
  border-radius:var(--fpb-coupon-border-radius,999px) !important;
  color:var(--fpb-coupon-color,#008a3d) !important;
  box-shadow:0 5px 16px rgba(15,23,42,.06);
}
.fpb-coupon-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:18px;
  height:18px;
  border-radius:999px;
  color:var(--fpb-coupon-color,#008a3d);
  background:rgba(255,255,255,.58);
  flex:0 0 auto;
}
.fpb-coupon-icon svg{display:block;width:14px;height:14px;}
.fpb-coupon-icon-off .fpb-coupon-icon{display:none!important;}
.fpb-coupon-copy{
  border-color:color-mix(in srgb, var(--fpb-coupon-border,#b8e6c8) 78%, #111827 0%) !important;
  color:var(--fpb-coupon-color,#008a3d) !important;
}
.fpb-coupon-copy-label{
  background:color-mix(in srgb, var(--fpb-coupon-bg,#eaf8ef) 78%, #ffffff 22%) !important;
  color:var(--fpb-coupon-color,#008a3d) !important;
}
.fpb-coupon-style-amazon .fpb-coupon-label{border-radius:var(--fpb-coupon-border-radius,999px)!important;}
.fpb-coupon-style-black-friday .fpb-coupon-label{
  background:#111827!important;
  border-color:#f59e0b!important;
  color:#fbbf24!important;
}
.fpb-coupon-style-black-friday .fpb-coupon-copy,
.fpb-coupon-style-black-friday .fpb-coupon-copy-label,
.fpb-coupon-style-black-friday .fpb-coupon-icon{color:#fbbf24!important;border-color:rgba(251,191,36,.45)!important;background:rgba(255,255,255,.08)!important;}
.fpb-coupon-style-luxury-tech .fpb-coupon-label{
  background:linear-gradient(135deg,#111827,#312e81)!important;
  border-color:#c4b5fd!important;
  color:#ede9fe!important;
}
.fpb-coupon-style-luxury-tech .fpb-coupon-copy,
.fpb-coupon-style-luxury-tech .fpb-coupon-copy-label,
.fpb-coupon-style-luxury-tech .fpb-coupon-icon{color:#ede9fe!important;border-color:rgba(196,181,253,.45)!important;background:rgba(255,255,255,.10)!important;}
.fpb-coupon-style-neon-deals .fpb-coupon-label{
  background:#06141f!important;
  border-color:#22d3ee!important;
  color:#67e8f9!important;
  box-shadow:0 0 0 1px rgba(34,211,238,.18),0 0 18px rgba(34,211,238,.20)!important;
}
.fpb-coupon-style-neon-deals .fpb-coupon-copy,
.fpb-coupon-style-neon-deals .fpb-coupon-copy-label,
.fpb-coupon-style-neon-deals .fpb-coupon-icon{color:#67e8f9!important;border-color:rgba(34,211,238,.45)!important;background:rgba(34,211,238,.10)!important;}
.fpb-coupon-style-clean-minimal .fpb-coupon-label{
  background:#ffffff!important;
  border-color:#e2e8f0!important;
  color:#334155!important;
  box-shadow:none!important;
}
.fpb-coupon-style-clean-minimal .fpb-coupon-copy,
.fpb-coupon-style-clean-minimal .fpb-coupon-copy-label,
.fpb-coupon-style-clean-minimal .fpb-coupon-icon{color:#334155!important;border-color:#e2e8f0!important;background:#f8fafc!important;}

.fpb-coupon .fpb-coupon-label{
  border-width:var(--fpb-coupon-border-width,1px) !important;
  border-style:var(--fpb-coupon-border-style,solid) !important;
  border-radius:var(--fpb-coupon-border-radius,999px) !important;
}


/* Coupon Divider controls */
.fpb-coupon-copy{
  position:relative;
  border-left-color: var(--fpb-coupon-divider-color, var(--fpb-coupon-border,#b8e6c8)) !important;
  border-left-width: var(--fpb-coupon-divider-width,1px) !important;
  border-left-style: var(--fpb-coupon-divider-style,solid) !important;
}
.fpb-coupon-divider-dash .fpb-coupon-copy,
.fpb-coupon-divider-dot .fpb-coupon-copy,
.fpb-coupon-divider-none .fpb-coupon-copy{
  border-left:0!important;
  padding-left:0!important;
}
.fpb-coupon-divider-dash .fpb-coupon-copy::before,
.fpb-coupon-divider-dot .fpb-coupon-copy::before{
  content:"";
  display:inline-flex;
  flex:0 0 auto;
  background:var(--fpb-coupon-divider-color, var(--fpb-coupon-border,#b8e6c8));
  opacity:.95;
}
.fpb-coupon-divider-dash .fpb-coupon-copy::before{
  width:calc(var(--fpb-coupon-divider-width,1px) * 8);
  height:var(--fpb-coupon-divider-width,1px);
  min-width:8px;
  border-radius:999px;
}
.fpb-coupon-divider-dot .fpb-coupon-copy::before{
  width:calc(var(--fpb-coupon-divider-width,1px) * 3);
  height:calc(var(--fpb-coupon-divider-width,1px) * 3);
  min-width:4px;
  min-height:4px;
  border-radius:999px;
}

/* APB Coupon Cleanup 1 - Inline coupon code without capsule button */
.fpb-coupon-has-copy .fpb-coupon-label{
  gap:8px !important;
  flex-wrap:wrap;
}
.fpb-coupon-copy{
  appearance:none !important;
  -webkit-appearance:none !important;
  display:inline-flex !important;
  align-items:center !important;
  gap:7px !important;
  min-height:auto !important;
  padding:0 0 0 10px !important;
  margin:0 !important;
  border-top:0 !important;
  border-right:0 !important;
  border-bottom:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  color:var(--fpb-coupon-color,#008a3d) !important;
  font:inherit !important;
  font-weight:900 !important;
  line-height:1.15 !important;
  cursor:pointer;
  transform:none !important;
  transition:opacity .16s ease, color .16s ease;
}
.fpb-coupon-copy:hover,
.fpb-coupon-copy:focus{
  background:transparent !important;
  box-shadow:none !important;
  transform:none !important;
  outline:none;
  opacity:.88;
}
.fpb-coupon-copy:focus-visible{
  outline:2px solid color-mix(in srgb, var(--fpb-coupon-color,#008a3d) 32%, transparent) !important;
  outline-offset:3px;
  border-radius:6px !important;
}
.fpb-coupon-code{
  display:inline-flex;
  align-items:center;
  letter-spacing:.055em;
  font-weight:900;
  white-space:nowrap;
}
.fpb-coupon-copy-label,
.fpb-preset-compact-horizontal .fpb-coupon-copy-label,
.fpb-coupon-style-black-friday .fpb-coupon-copy-label,
.fpb-coupon-style-luxury-tech .fpb-coupon-copy-label,
.fpb-coupon-style-neon-deals .fpb-coupon-copy-label,
.fpb-coupon-style-clean-minimal .fpb-coupon-copy-label{
  width:auto !important;
  min-width:0 !important;
  height:auto !important;
  padding:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  color:inherit !important;
  line-height:1 !important;
}
.fpb-coupon-copy-icon{
  opacity:.72;
}
.fpb-coupon-copy:hover .fpb-coupon-copy-icon,
.fpb-coupon-copy:focus .fpb-coupon-copy-icon{
  opacity:1;
}
.fpb-coupon-copy.is-copied .fpb-coupon-copy-label{
  width:auto !important;
  min-width:0 !important;
  padding:0 !important;
  background:transparent !important;
}
.fpb-coupon-copy.is-copied .fpb-coupon-copy-icon{
  display:none !important;
}
@media(max-width:520px){
  .fpb-coupon-copy{
    padding-left:8px !important;
    gap:6px !important;
  }
}

/* APB Coupon Cleanup 2 - Remove inner coupon code capsule */
.fpb-coupon .fpb-coupon-copy .fpb-coupon-code,
.fpb-coupon-copy .fpb-coupon-code{
  display:inline !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  color:inherit !important;
  line-height:inherit !important;
  text-decoration:none !important;
  letter-spacing:.055em !important;
  font-weight:900 !important;
  white-space:nowrap !important;
}
.fpb-coupon .fpb-coupon-copy .fpb-coupon-code::before,
.fpb-coupon .fpb-coupon-copy .fpb-coupon-code::after{
  content:none !important;
  display:none !important;
}

/* APB 1.14.73 - Coupon reveal on click (frontend only) */
.fpb-coupon-copy.fpb-coupon-reveal:not(.is-revealed) .fpb-coupon-code{
  filter:blur(4px);
  opacity:.82;
  user-select:none;
  pointer-events:none;
  transition:filter .18s ease, opacity .18s ease;
}
.fpb-coupon-copy.fpb-coupon-reveal:not(.is-revealed) .fpb-coupon-copy-label{
  width:auto;
  min-width:70px;
  height:24px;
  padding:0 10px;
  letter-spacing:0;
  font-size:11px;
}
.fpb-coupon-copy.fpb-coupon-reveal.is-revealed .fpb-coupon-code{
  filter:none;
  opacity:1;
}
.fpb-coupon-copy.fpb-coupon-reveal.is-revealed .fpb-coupon-copy-label{
  width:24px;
  min-width:24px;
  padding:0;
}

/* APB 1.14.74 - Coupon reveal copied feedback cleanup */
.fpb-coupon-copy.is-copied .fpb-coupon-copy-label::after{
  content:none !important;
  display:none !important;
}
.fpb-coupon-copy.is-copied .fpb-coupon-copy-label{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  white-space:nowrap !important;
}


/* APB 1.14.88 - Coupon stacking UX: keep the primary coupon compact and show extra coupons only on demand. */
.fpb-coupon-has-offers{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:flex-end;
  gap:5px;
  flex-wrap:nowrap;
  max-width:100%;
  width:auto;
}
.fpb-row .fpb-coupon-has-offers{
  justify-self:end;
}
.fpb-coupon-has-offers > .fpb-coupon-label{
  min-width:0;
}
.fpb-coupon-more{
  appearance:none;
  border:1px solid color-mix(in srgb, var(--fpb-coupon-border,#b8e6c8) 72%, #ffffff 28%);
  background:color-mix(in srgb, var(--fpb-coupon-bg,#eaf8ef) 56%, #ffffff 44%);
  color:var(--fpb-coupon-color,#008a3d);
  border-radius:999px;
  padding:2px 6px;
  min-height:18px;
  font-size:9.5px;
  font-weight:900;
  line-height:1;
  cursor:pointer;
  white-space:nowrap;
  box-shadow:0 6px 14px rgba(15,23,42,.07);
  transition:transform .16s ease, box-shadow .16s ease, opacity .16s ease, background .16s ease;
}
.fpb-coupon-more:hover,
.fpb-coupon-more:focus{
  transform:translateY(-1px);
  box-shadow:0 10px 20px rgba(15,23,42,.11);
  opacity:.96;
}
.fpb-coupon-more[aria-expanded="true"]{
  background:#ffffff;
  opacity:1;
}
.fpb-coupon-offers{
  position:absolute;
  right:0;
  top:calc(100% + 7px);
  z-index:20;
  min-width:220px;
  max-width:min(300px, calc(100vw - 32px));
  display:grid;
  gap:6px;
  padding:7px;
  border:1px solid color-mix(in srgb, var(--fpb-coupon-border,#b8e6c8) 70%, #e5e7eb 30%);
  border-radius:14px;
  background:#fff;
  box-shadow:0 18px 45px rgba(15,23,42,.18);
  text-align:left;
}
.fpb-coupon-offers[hidden]{display:none!important;}
.fpb-coupon-offer-item{
  appearance:none;
  border:1px solid #eef2f7;
  background:#f8fafc;
  border-radius:10px;
  color:#0f172a;
  display:grid;
  grid-template-columns:1fr auto;
  gap:3px 10px;
  align-items:center;
  width:100%;
  padding:8px 9px;
  text-align:left;
  cursor:pointer;
  transition:background .16s ease, border-color .16s ease, transform .16s ease;
}
.fpb-coupon-offer-item:hover,
.fpb-coupon-offer-item:focus{
  background:#fff;
  border-color:color-mix(in srgb, var(--fpb-coupon-border,#b8e6c8) 75%, #cbd5e1 25%);
  transform:translateY(-1px);
}
.fpb-coupon-offer-text{
  font-size:11px;
  font-weight:800;
  color:#334155;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.fpb-coupon-offer-code{
  font-size:12px;
  font-weight:950;
  color:#0f172a;
  letter-spacing:.045em;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.fpb-coupon-offer-copy{
  grid-row:1 / span 2;
  grid-column:2;
  align-self:center;
  border-radius:999px;
  padding:4px 7px;
  background:color-mix(in srgb, var(--fpb-coupon-bg,#eaf8ef) 78%, #ffffff 22%);
  color:var(--fpb-coupon-color,#008a3d);
  font-size:10px;
  font-weight:900;
}
.fpb-coupon-offer-item.is-copied .fpb-coupon-offer-copy{
  background:#dcfce7;
  color:#15803d;
}
@media(max-width:560px){
  .fpb-coupon-has-offers{justify-content:center;gap:4px;}
  .fpb-coupon-more{font-size:9px;padding:2px 5px;}
  .fpb-coupon-offers{left:50%;right:auto;transform:translateX(-50%);}
}

}


/* APB 1.14.89 - Coupon stacking compact final: extra offers as tiny inline trigger. */
.fpb-coupon-has-offers{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:3px!important;
  width:auto!important;
  max-width:100%!important;
  flex-wrap:nowrap!important;
}
.fpb-row .fpb-coupon-has-offers{justify-self:end!important;}
.fpb-coupon-has-offers > .fpb-coupon-label{
  flex:0 1 auto!important;
  min-width:0!important;
}
.fpb-coupon-more{
  appearance:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  width:auto!important;
  min-width:22px!important;
  height:18px!important;
  min-height:18px!important;
  padding:0 5px!important;
  border-radius:999px!important;
  border:1px solid color-mix(in srgb, var(--fpb-coupon-border,#b8e6c8) 60%, #ffffff 40%)!important;
  background:color-mix(in srgb, var(--fpb-coupon-bg,#eaf8ef) 35%, #ffffff 65%)!important;
  color:color-mix(in srgb, var(--fpb-coupon-color,#008a3d) 72%, #64748b 28%)!important;
  font-size:9px!important;
  font-weight:900!important;
  letter-spacing:-.01em!important;
  line-height:1!important;
  white-space:nowrap!important;
  box-shadow:none!important;
  cursor:pointer!important;
  transition:transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease!important;
}
.fpb-coupon-more:hover,.fpb-coupon-more:focus{
  transform:translateY(-1px)!important;
  background:#fff!important;
  box-shadow:0 6px 14px rgba(15,23,42,.10)!important;
}
.fpb-coupon-more[aria-expanded="true"]{
  background:#fff!important;
  color:var(--fpb-coupon-color,#008a3d)!important;
}
@media(max-width:560px){
  .fpb-coupon-has-offers{gap:2px!important;justify-content:center!important;}
  .fpb-coupon-more{min-width:20px!important;height:17px!important;min-height:17px!important;padding:0 4px!important;font-size:8.5px!important;}
}

/* APB 1.14.90 - Coupon stacking copy sync: extra coupons reuse the main coupon component. */
.fpb-coupon-offers{
  min-width:auto!important;
  width:max-content!important;
  max-width:min(340px, calc(100vw - 32px))!important;
  padding:6px!important;
  gap:6px!important;
  background:rgba(255,255,255,.98)!important;
}
.fpb-coupon-offer-row{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
}
.fpb-coupon-offer-row > .fpb-coupon{
  position:relative!important;
  display:inline-flex!important;
  width:auto!important;
  max-width:100%!important;
  margin:0!important;
  transform:none!important;
  box-shadow:0 8px 18px rgba(15,23,42,.10)!important;
}
.fpb-coupon-offer-row > .fpb-coupon .fpb-coupon-label{
  width:auto!important;
  max-width:100%!important;
}
.fpb-coupon-offer-row .fpb-coupon-copy,
.fpb-coupon-offer-row .fpb-coupon-copy-label{
  font:inherit;
}
@media(max-width:560px){
  .fpb-coupon-offers{
    width:max-content!important;
    max-width:calc(100vw - 24px)!important;
  }
  .fpb-coupon-offer-row > .fpb-coupon{
    max-width:calc(100vw - 42px)!important;
  }
}


/* APB 1.14.91 - Restore compact extra-offers trigger while keeping extra coupons synced with primary coupon layout. */
.fpb-coupon-has-offers > .fpb-coupon-more{
  display:inline-flex!important;
  visibility:visible!important;
  opacity:.86!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  width:auto!important;
  min-width:22px!important;
  height:18px!important;
  min-height:18px!important;
  padding:0 5px!important;
  margin-left:3px!important;
  border-radius:999px!important;
  line-height:1!important;
  font-size:9px!important;
  font-weight:900!important;
  white-space:nowrap!important;
}
.fpb-coupon-has-offers > .fpb-coupon-more:hover,
.fpb-coupon-has-offers > .fpb-coupon-more:focus,
.fpb-coupon-has-offers > .fpb-coupon-more[aria-expanded="true"]{
  opacity:1!important;
}
.fpb-coupon-has-offers > .fpb-coupon-offers{
  display:grid;
}
.fpb-coupon-has-offers > .fpb-coupon-offers[hidden]{
  display:none!important;
}

/* APB 1.14.92 - Coupon stacking spacing: compact +X trigger and expanded coupon spacing. */
.fpb-coupon-has-offers{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:4px!important;
  width:auto!important;
  max-width:100%!important;
  position:relative!important;
}
.fpb-coupon-has-offers > .fpb-coupon-label{
  flex:0 1 auto!important;
  min-width:0!important;
}
.fpb-coupon-has-offers > .fpb-coupon-more{
  margin-left:4px!important;
  align-self:center!important;
  transform:none!important;
  position:relative!important;
  z-index:3!important;
}
.fpb-coupon-has-offers > .fpb-coupon-offers{
  top:calc(100% + 8px)!important;
  right:0!important;
  left:auto!important;
  transform:none!important;
  margin-top:0!important;
  padding:6px!important;
  gap:7px!important;
  border-radius:14px!important;
  box-shadow:0 14px 30px rgba(15,23,42,.16)!important;
  z-index:30!important;
}
.fpb-coupon-offer-row{
  justify-content:flex-end!important;
}
.fpb-coupon-offer-row > .fpb-coupon{
  margin:0!important;
}
@media(max-width:560px){
  .fpb-coupon-has-offers{
    justify-content:center!important;
    gap:3px!important;
  }
  .fpb-coupon-has-offers > .fpb-coupon-more{
    margin-left:3px!important;
  }
  .fpb-coupon-has-offers > .fpb-coupon-offers{
    top:calc(100% + 6px)!important;
    left:50%!important;
    right:auto!important;
    transform:translateX(-50%)!important;
  }
}


/* APB 1.14.93 - Coupon stacking align: keep compact width and align expanded coupons to the primary coupon left edge. */
.fpb-coupon-has-offers > .fpb-coupon-offers{
  left:0!important;
  right:auto!important;
  transform:none!important;
  width:max-content!important;
  max-width:min(340px, calc(100vw - 32px))!important;
}

.fpb-coupon-offer-row{
  justify-content:flex-start!important;
}

.fpb-coupon-offer-row > .fpb-coupon{
  width:auto!important;
  max-width:100%!important;
}

@media (max-width: 640px){
  .fpb-coupon-has-offers > .fpb-coupon-offers{
    left:0!important;
    right:auto!important;
    transform:none!important;
    max-width:calc(100vw - 24px)!important;
  }
}


/* APB 1.14.99 - Showcase preset: center store logo and keep trophy beside it in Gutenberg/editor preview */
.fpb-preset-showcase .fpb-store,
.fpb-preset-showcase .fpb-store-badges,
.fpb-preset-showcase .fpb-store-logo-wrap,
.fpb-preset-showcase .fpb-store-identity,
.fpb-showcase .fpb-store,
.fpb-showcase .fpb-store-badges,
.fpb-showcase .fpb-store-logo-wrap,
.fpb-showcase .fpb-store-identity,
.fpb-box-showcase .fpb-store,
.fpb-box-showcase .fpb-store-badges,
.fpb-box-showcase .fpb-store-logo-wrap,
.fpb-box-showcase .fpb-store-identity,
.wp-block .fpb-preset-showcase .fpb-store,
.wp-block .fpb-showcase .fpb-store,
.wp-block .fpb-box-showcase .fpb-store{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
  text-align:center !important;
}

.fpb-preset-showcase .fpb-logo,
.fpb-showcase .fpb-logo,
.fpb-box-showcase .fpb-logo,
.wp-block .fpb-preset-showcase .fpb-logo,
.wp-block .fpb-showcase .fpb-logo,
.wp-block .fpb-box-showcase .fpb-logo{
  display:inline-flex !important;
  margin-left:auto !important;
  margin-right:0 !important;
  vertical-align:middle !important;
}

.fpb-preset-showcase .fpb-trophy,
.fpb-preset-showcase .fpb-winner-icon,
.fpb-preset-showcase .fpb-store-trophy,
.fpb-showcase .fpb-trophy,
.fpb-showcase .fpb-winner-icon,
.fpb-showcase .fpb-store-trophy,
.fpb-box-showcase .fpb-trophy,
.fpb-box-showcase .fpb-winner-icon,
.fpb-box-showcase .fpb-store-trophy,
.wp-block .fpb-preset-showcase .fpb-trophy,
.wp-block .fpb-showcase .fpb-trophy,
.wp-block .fpb-box-showcase .fpb-trophy{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  margin-left:6px !important;
  margin-right:auto !important;
  vertical-align:middle !important;
}


/* APB 1.15.06 - Showcase/compact vertical logo optical centering.
   When the trophy is shown, the logo+trophy group is shifted just enough so the
   store logo remains visually centered while the trophy stays attached at the side. */
.fpb-card.fpb-preset-compact-vertical .fpb-store-badges--winner,
.wp-block .fpb-card.fpb-preset-compact-vertical .fpb-store-badges--winner{
  transform:translateX(13px) !important;
}

.fpb-card.fpb-preset-compact-vertical .fpb-store-badges--winner .fpb-win,
.wp-block .fpb-card.fpb-preset-compact-vertical .fpb-store-badges--winner .fpb-win{
  margin-left:6px !important;
}


/* APB 1.15.07 - Store logo center final fallback.
   This is intentionally stronger than the previous rule and only activates on the
   winner store badges container. */
.fpb-store-badges--winner{
  transform:translateX(18px) !important;
}


/* APB 1.15.08 - Gutenberg compact vertical store logo optical centering */
.editor-styles-wrapper .fpb-card.fpb-preset-compact-vertical .fpb-store-badges--winner,
.wp-block .fpb-card.fpb-preset-compact-vertical .fpb-store-badges--winner{
  transform:translateX(18px) !important;
}


/* APB 1.15.09 - Gutenberg final fallback: force compact vertical store logo optical center in editor */
.editor-styles-wrapper .fpb-preset-compact-vertical .fpb-store-badges,
.block-editor-block-list__block .fpb-preset-compact-vertical .fpb-store-badges,
.wp-block .fpb-preset-compact-vertical .fpb-store-badges{
  justify-content:center !important;
  text-align:center !important;
}

/* In Gutenberg preview the trophy is rendered in the same flex line.
   Shift the whole logo+trophy group to the right so the logo itself sits on the visual center. */
.editor-styles-wrapper .fpb-preset-compact-vertical .fpb-store-badges:has(.fpb-win),
.block-editor-block-list__block .fpb-preset-compact-vertical .fpb-store-badges:has(.fpb-win),
.wp-block .fpb-preset-compact-vertical .fpb-store-badges:has(.fpb-win){
  transform:translateX(18px) !important;
}

/* Fallback when :has is unavailable: class added by editor.js patch */
.editor-styles-wrapper .fpb-preset-compact-vertical .fpb-store-badges--winner,
.block-editor-block-list__block .fpb-preset-compact-vertical .fpb-store-badges--winner,
.wp-block .fpb-preset-compact-vertical .fpb-store-badges--winner{
  transform:translateX(18px) !important;
}


/* APB 1.15.10 - Gutenberg real Showcase logo center fix.
   Editor-only structure: logo is centered in its own wrapper; trophy is absolute. */
.editor-styles-wrapper .fpb-card.fpb-preset-compact-vertical .fpb-store-badges,
.block-editor-block-list__block .fpb-card.fpb-preset-compact-vertical .fpb-store-badges,
.wp-block .fpb-card.fpb-preset-compact-vertical .fpb-store-badges{
  position:relative !important;
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  width:100% !important;
  gap:0 !important;
  transform:none !important;
}

.editor-styles-wrapper .fpb-card.fpb-preset-compact-vertical .fpb-store-logo-center,
.block-editor-block-list__block .fpb-card.fpb-preset-compact-vertical .fpb-store-logo-center,
.wp-block .fpb-card.fpb-preset-compact-vertical .fpb-store-logo-center{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  margin:0 auto !important;
  line-height:1 !important;
}

.editor-styles-wrapper .fpb-card.fpb-preset-compact-vertical .fpb-store-logo-center .fpb-logo,
.block-editor-block-list__block .fpb-card.fpb-preset-compact-vertical .fpb-store-logo-center .fpb-logo,
.wp-block .fpb-card.fpb-preset-compact-vertical .fpb-store-logo-center .fpb-logo{
  margin:0 !important;
}

.editor-styles-wrapper .fpb-card.fpb-preset-compact-vertical .fpb-store-badges > .fpb-win,
.block-editor-block-list__block .fpb-card.fpb-preset-compact-vertical .fpb-store-badges > .fpb-win,
.wp-block .fpb-card.fpb-preset-compact-vertical .fpb-store-badges > .fpb-win{
  position:absolute !important;
  left:calc(50% + 36px) !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  margin:0 !important;
  line-height:1 !important;
}


/* APB 1.16.204 - Gutenberg coupon preview wrapper removal
 * Keep the coupon capsule itself intact, but remove any external editor-only
 * visual wrapper around the coupon preview.
 */
.editor-styles-wrapper .fpb-coupon,
.block-editor-block-list__block .fpb-coupon,
.wp-block .fpb-coupon{
  border:0!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
  padding:0!important;
}


/* APB 1.16.204 - Classic preset store logo left align
 * Scope: Classic/default price box only.
 * Align store logo/trophy with the product title without moving coupons, offer or button.
 */
.fpb-card:not(.fpb-preset-compact):not(.fpb-preset-compact-card):not(.fpb-preset-compact-horizontal):not(.fpb-preset-compact-vertical):not(.fpb-preset-showcase):not(.fpb-showcase):not(.fpb-box-showcase) .fpb-row .fpb-store{
  justify-self:start!important;
  align-self:center!important;
  justify-content:flex-start!important;
  text-align:left!important;
  width:auto!important;
  max-width:100%!important;
}

.fpb-card:not(.fpb-preset-compact):not(.fpb-preset-compact-card):not(.fpb-preset-compact-horizontal):not(.fpb-preset-compact-vertical):not(.fpb-preset-showcase):not(.fpb-showcase):not(.fpb-box-showcase) .fpb-row .fpb-store .fpb-store-badges,
.fpb-card:not(.fpb-preset-compact):not(.fpb-preset-compact-card):not(.fpb-preset-compact-horizontal):not(.fpb-preset-compact-vertical):not(.fpb-preset-showcase):not(.fpb-showcase):not(.fpb-box-showcase) .fpb-row .fpb-store .fpb-store-group{
  justify-content:flex-start!important;
  text-align:left!important;
  width:auto!important;
  margin-left:0!important;
  margin-right:auto!important;
}

/* Gutenberg/editor preview version of the same Classic-only rule. */
.editor-styles-wrapper .fpb-card:not(.fpb-preset-compact):not(.fpb-preset-compact-card):not(.fpb-preset-compact-horizontal):not(.fpb-preset-compact-vertical):not(.fpb-preset-showcase):not(.fpb-showcase):not(.fpb-box-showcase) .fpb-row .fpb-store,
.block-editor-block-list__block .fpb-card:not(.fpb-preset-compact):not(.fpb-preset-compact-card):not(.fpb-preset-compact-horizontal):not(.fpb-preset-compact-vertical):not(.fpb-preset-showcase):not(.fpb-showcase):not(.fpb-box-showcase) .fpb-row .fpb-store,
.wp-block .fpb-card:not(.fpb-preset-compact):not(.fpb-preset-compact-card):not(.fpb-preset-compact-horizontal):not(.fpb-preset-compact-vertical):not(.fpb-preset-showcase):not(.fpb-showcase):not(.fpb-box-showcase) .fpb-row .fpb-store{
  justify-self:start!important;
  align-self:center!important;
  justify-content:flex-start!important;
  text-align:left!important;
  width:auto!important;
  max-width:100%!important;
}

.editor-styles-wrapper .fpb-card:not(.fpb-preset-compact):not(.fpb-preset-compact-card):not(.fpb-preset-compact-horizontal):not(.fpb-preset-compact-vertical):not(.fpb-preset-showcase):not(.fpb-showcase):not(.fpb-box-showcase) .fpb-row .fpb-store .fpb-store-badges,
.editor-styles-wrapper .fpb-card:not(.fpb-preset-compact):not(.fpb-preset-compact-card):not(.fpb-preset-compact-horizontal):not(.fpb-preset-compact-vertical):not(.fpb-preset-showcase):not(.fpb-showcase):not(.fpb-box-showcase) .fpb-row .fpb-store .fpb-store-group,
.block-editor-block-list__block .fpb-card:not(.fpb-preset-compact):not(.fpb-preset-compact-card):not(.fpb-preset-compact-horizontal):not(.fpb-preset-compact-vertical):not(.fpb-preset-showcase):not(.fpb-showcase):not(.fpb-box-showcase) .fpb-row .fpb-store .fpb-store-badges,
.block-editor-block-list__block .fpb-card:not(.fpb-preset-compact):not(.fpb-preset-compact-card):not(.fpb-preset-compact-horizontal):not(.fpb-preset-compact-vertical):not(.fpb-preset-showcase):not(.fpb-showcase):not(.fpb-box-showcase) .fpb-row .fpb-store .fpb-store-group,
.wp-block .fpb-card:not(.fpb-preset-compact):not(.fpb-preset-compact-card):not(.fpb-preset-compact-horizontal):not(.fpb-preset-compact-vertical):not(.fpb-preset-showcase):not(.fpb-showcase):not(.fpb-box-showcase) .fpb-row .fpb-store .fpb-store-badges,
.wp-block .fpb-card:not(.fpb-preset-compact):not(.fpb-preset-compact-card):not(.fpb-preset-compact-horizontal):not(.fpb-preset-compact-vertical):not(.fpb-preset-showcase):not(.fpb-showcase):not(.fpb-box-showcase) .fpb-row .fpb-store .fpb-store-group{
  justify-content:flex-start!important;
  text-align:left!important;
  width:auto!important;
  margin-left:0!important;
  margin-right:auto!important;
}


/* APB 1.16.204 - Classic preset store column left offset fix
 * Scope: Classic/default layout only.
 * Move the whole store column/block left. Do not change coupon, offer or CTA.
 */
.fpb-card:not(.fpb-preset-compact):not(.fpb-preset-compact-card):not(.fpb-preset-compact-horizontal):not(.fpb-preset-compact-vertical):not(.fpb-preset-showcase):not(.fpb-showcase):not(.fpb-box-showcase) .fpb-row{
  grid-template-columns: minmax(128px, 150px) minmax(0, 1fr) auto!important;
}

.fpb-card:not(.fpb-preset-compact):not(.fpb-preset-compact-card):not(.fpb-preset-compact-horizontal):not(.fpb-preset-compact-vertical):not(.fpb-preset-showcase):not(.fpb-showcase):not(.fpb-box-showcase) .fpb-row .fpb-store{
  grid-column:1!important;
  justify-self:start!important;
  margin-left:0!important;
  padding-left:0!important;
  transform:translateX(-18px)!important;
  width:max-content!important;
  max-width:160px!important;
}

.fpb-card:not(.fpb-preset-compact):not(.fpb-preset-compact-card):not(.fpb-preset-compact-horizontal):not(.fpb-preset-compact-vertical):not(.fpb-preset-showcase):not(.fpb-showcase):not(.fpb-box-showcase) .fpb-row .fpb-store .fpb-store-badges,
.fpb-card:not(.fpb-preset-compact):not(.fpb-preset-compact-card):not(.fpb-preset-compact-horizontal):not(.fpb-preset-compact-vertical):not(.fpb-preset-showcase):not(.fpb-showcase):not(.fpb-box-showcase) .fpb-row .fpb-store .fpb-store-group{
  justify-content:flex-start!important;
  text-align:left!important;
  width:auto!important;
  margin-left:0!important;
}

/* Gutenberg/editor equivalent for Classic/default only. */
.editor-styles-wrapper .fpb-card:not(.fpb-preset-compact):not(.fpb-preset-compact-card):not(.fpb-preset-compact-horizontal):not(.fpb-preset-compact-vertical):not(.fpb-preset-showcase):not(.fpb-showcase):not(.fpb-box-showcase) .fpb-row,
.block-editor-block-list__block .fpb-card:not(.fpb-preset-compact):not(.fpb-preset-compact-card):not(.fpb-preset-compact-horizontal):not(.fpb-preset-compact-vertical):not(.fpb-preset-showcase):not(.fpb-showcase):not(.fpb-box-showcase) .fpb-row,
.wp-block .fpb-card:not(.fpb-preset-compact):not(.fpb-preset-compact-card):not(.fpb-preset-compact-horizontal):not(.fpb-preset-compact-vertical):not(.fpb-preset-showcase):not(.fpb-showcase):not(.fpb-box-showcase) .fpb-row{
  grid-template-columns: minmax(128px, 150px) minmax(0, 1fr) auto!important;
}

.editor-styles-wrapper .fpb-card:not(.fpb-preset-compact):not(.fpb-preset-compact-card):not(.fpb-preset-compact-horizontal):not(.fpb-preset-compact-vertical):not(.fpb-preset-showcase):not(.fpb-showcase):not(.fpb-box-showcase) .fpb-row .fpb-store,
.block-editor-block-list__block .fpb-card:not(.fpb-preset-compact):not(.fpb-preset-compact-card):not(.fpb-preset-compact-horizontal):not(.fpb-preset-compact-vertical):not(.fpb-preset-showcase):not(.fpb-showcase):not(.fpb-box-showcase) .fpb-row .fpb-store,
.wp-block .fpb-card:not(.fpb-preset-compact):not(.fpb-preset-compact-card):not(.fpb-preset-compact-horizontal):not(.fpb-preset-compact-vertical):not(.fpb-preset-showcase):not(.fpb-showcase):not(.fpb-box-showcase) .fpb-row .fpb-store{
  grid-column:1!important;
  justify-self:start!important;
  margin-left:0!important;
  padding-left:0!important;
  transform:translateX(-18px)!important;
  width:max-content!important;
  max-width:160px!important;
}

.editor-styles-wrapper .fpb-card:not(.fpb-preset-compact):not(.fpb-preset-compact-card):not(.fpb-preset-compact-horizontal):not(.fpb-preset-compact-vertical):not(.fpb-preset-showcase):not(.fpb-showcase):not(.fpb-box-showcase) .fpb-row .fpb-store .fpb-store-badges,
.editor-styles-wrapper .fpb-card:not(.fpb-preset-compact):not(.fpb-preset-compact-card):not(.fpb-preset-compact-horizontal):not(.fpb-preset-compact-vertical):not(.fpb-preset-showcase):not(.fpb-showcase):not(.fpb-box-showcase) .fpb-row .fpb-store .fpb-store-group,
.block-editor-block-list__block .fpb-card:not(.fpb-preset-compact):not(.fpb-preset-compact-card):not(.fpb-preset-compact-horizontal):not(.fpb-preset-compact-vertical):not(.fpb-preset-showcase):not(.fpb-showcase):not(.fpb-box-showcase) .fpb-row .fpb-store .fpb-store-badges,
.block-editor-block-list__block .fpb-card:not(.fpb-preset-compact):not(.fpb-preset-compact-card):not(.fpb-preset-compact-horizontal):not(.fpb-preset-compact-vertical):not(.fpb-preset-showcase):not(.fpb-showcase):not(.fpb-box-showcase) .fpb-row .fpb-store .fpb-store-group,
.wp-block .fpb-card:not(.fpb-preset-compact):not(.fpb-preset-compact-card):not(.fpb-preset-compact-horizontal):not(.fpb-preset-compact-vertical):not(.fpb-preset-showcase):not(.fpb-showcase):not(.fpb-box-showcase) .fpb-row .fpb-store .fpb-store-badges,
.wp-block .fpb-card:not(.fpb-preset-compact):not(.fpb-preset-compact-card):not(.fpb-preset-compact-horizontal):not(.fpb-preset-compact-vertical):not(.fpb-preset-showcase):not(.fpb-showcase):not(.fpb-box-showcase) .fpb-row .fpb-store .fpb-store-group{
  justify-content:flex-start!important;
  text-align:left!important;
  width:auto!important;
  margin-left:0!important;
}

/* Keep small/mobile layouts safe: do not apply the horizontal offset when the card stacks. */
@media (max-width: 720px){
  .fpb-card:not(.fpb-preset-compact):not(.fpb-preset-compact-card):not(.fpb-preset-compact-horizontal):not(.fpb-preset-compact-vertical):not(.fpb-preset-showcase):not(.fpb-showcase):not(.fpb-box-showcase) .fpb-row .fpb-store,
  .editor-styles-wrapper .fpb-card:not(.fpb-preset-compact):not(.fpb-preset-compact-card):not(.fpb-preset-compact-horizontal):not(.fpb-preset-compact-vertical):not(.fpb-preset-showcase):not(.fpb-showcase):not(.fpb-box-showcase) .fpb-row .fpb-store,
  .block-editor-block-list__block .fpb-card:not(.fpb-preset-compact):not(.fpb-preset-compact-card):not(.fpb-preset-compact-horizontal):not(.fpb-preset-compact-vertical):not(.fpb-preset-showcase):not(.fpb-showcase):not(.fpb-box-showcase) .fpb-row .fpb-store,
  .wp-block .fpb-card:not(.fpb-preset-compact):not(.fpb-preset-compact-card):not(.fpb-preset-compact-horizontal):not(.fpb-preset-compact-vertical):not(.fpb-preset-showcase):not(.fpb-showcase):not(.fpb-box-showcase) .fpb-row .fpb-store{
    transform:none!important;
    max-width:100%!important;
  }
}


/* APB 1.16.204 - Classic multi-store row structure align fix
 * Scope: Classic/default only.
 * The first/winner row has trophy compensation. Apply the same store-badge axis
 * to every store row so all logos start on the same visual column.
 * Coupon, offer, button and other presets are untouched.
 */
.fpb-card:not(.fpb-preset-compact):not(.fpb-preset-compact-card):not(.fpb-preset-compact-horizontal):not(.fpb-preset-compact-vertical):not(.fpb-preset-showcase):not(.fpb-showcase):not(.fpb-box-showcase) .fpb-rows > .fpb-row .fpb-store .fpb-store-badges{
  transform:translateX(18px)!important;
}

/* Gutenberg/editor equivalent. */
.editor-styles-wrapper .fpb-card:not(.fpb-preset-compact):not(.fpb-preset-compact-card):not(.fpb-preset-compact-horizontal):not(.fpb-preset-compact-vertical):not(.fpb-preset-showcase):not(.fpb-showcase):not(.fpb-box-showcase) .fpb-rows > .fpb-row .fpb-store .fpb-store-badges,
.block-editor-block-list__block .fpb-card:not(.fpb-preset-compact):not(.fpb-preset-compact-card):not(.fpb-preset-compact-horizontal):not(.fpb-preset-compact-vertical):not(.fpb-preset-showcase):not(.fpb-showcase):not(.fpb-box-showcase) .fpb-rows > .fpb-row .fpb-store .fpb-store-badges,
.wp-block .fpb-card:not(.fpb-preset-compact):not(.fpb-preset-compact-card):not(.fpb-preset-compact-horizontal):not(.fpb-preset-compact-vertical):not(.fpb-preset-showcase):not(.fpb-showcase):not(.fpb-box-showcase) .fpb-rows > .fpb-row .fpb-store .fpb-store-badges{
  transform:translateX(18px)!important;
}

@media (max-width:720px){
  .fpb-card:not(.fpb-preset-compact):not(.fpb-preset-compact-card):not(.fpb-preset-compact-horizontal):not(.fpb-preset-compact-vertical):not(.fpb-preset-showcase):not(.fpb-showcase):not(.fpb-box-showcase) .fpb-rows > .fpb-row .fpb-store .fpb-store-badges,
  .editor-styles-wrapper .fpb-card:not(.fpb-preset-compact):not(.fpb-preset-compact-card):not(.fpb-preset-compact-horizontal):not(.fpb-preset-compact-vertical):not(.fpb-preset-showcase):not(.fpb-showcase):not(.fpb-box-showcase) .fpb-rows > .fpb-row .fpb-store .fpb-store-badges,
  .block-editor-block-list__block .fpb-card:not(.fpb-preset-compact):not(.fpb-preset-compact-card):not(.fpb-preset-compact-horizontal):not(.fpb-preset-compact-vertical):not(.fpb-preset-showcase):not(.fpb-showcase):not(.fpb-box-showcase) .fpb-rows > .fpb-row .fpb-store .fpb-store-badges,
  .wp-block .fpb-card:not(.fpb-preset-compact):not(.fpb-preset-compact-card):not(.fpb-preset-compact-horizontal):not(.fpb-preset-compact-vertical):not(.fpb-preset-showcase):not(.fpb-showcase):not(.fpb-box-showcase) .fpb-rows > .fpb-row .fpb-store .fpb-store-badges{
    transform:none!important;
  }
}


/* APB 1.16.204 - Showcase first store trophy absolute align fix
 * Scope: Showcase/vertical store presentation only.
 * Keep the first logo on the same visual axis as the secondary logos by removing
 * the trophy from the normal layout flow. The trophy stays visible beside the logo.
 * Coupon, CTA, prices and Classic alignment are not changed.
 */
.fpb-card.fpb-preset-compact-vertical .fpb-showcase-main-store-badges,
.fpb-card.fpb-preset-compact-vertical .fpb-store-badges--winner,
.fpb-preset-showcase .fpb-showcase-main-store-badges,
.fpb-showcase .fpb-showcase-main-store-badges,
.fpb-box-showcase .fpb-showcase-main-store-badges{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  max-width:max-content!important;
  gap:0!important;
  margin-left:auto!important;
  margin-right:auto!important;
  transform:none!important;
  text-align:center!important;
}

.fpb-card.fpb-preset-compact-vertical .fpb-showcase-main-store-badges .fpb-showcase-store-logo,
.fpb-card.fpb-preset-compact-vertical .fpb-store-badges--winner .fpb-logo,
.fpb-preset-showcase .fpb-showcase-main-store-badges .fpb-showcase-store-logo,
.fpb-showcase .fpb-showcase-main-store-badges .fpb-showcase-store-logo,
.fpb-box-showcase .fpb-showcase-main-store-badges .fpb-showcase-store-logo{
  display:block!important;
  margin:0!important;
  transform:none!important;
}

.fpb-card.fpb-preset-compact-vertical .fpb-showcase-main-store-badges .fpb-showcase-store-trophy,
.fpb-card.fpb-preset-compact-vertical .fpb-store-badges--winner .fpb-win,
.fpb-preset-showcase .fpb-showcase-main-store-badges .fpb-showcase-store-trophy,
.fpb-showcase .fpb-showcase-main-store-badges .fpb-showcase-store-trophy,
.fpb-box-showcase .fpb-showcase-main-store-badges .fpb-showcase-store-trophy{
  position:absolute!important;
  left:100%!important;
  top:50%!important;
  transform:translate(6px,-50%)!important;
  margin:0!important;
  line-height:1!important;
  pointer-events:none!important;
}

/* Gutenberg/editor equivalent. */
.editor-styles-wrapper .fpb-card.fpb-preset-compact-vertical .fpb-showcase-main-store-badges,
.editor-styles-wrapper .fpb-card.fpb-preset-compact-vertical .fpb-store-badges--winner,
.block-editor-block-list__block .fpb-card.fpb-preset-compact-vertical .fpb-showcase-main-store-badges,
.block-editor-block-list__block .fpb-card.fpb-preset-compact-vertical .fpb-store-badges--winner,
.wp-block .fpb-card.fpb-preset-compact-vertical .fpb-showcase-main-store-badges,
.wp-block .fpb-card.fpb-preset-compact-vertical .fpb-store-badges--winner,
.editor-styles-wrapper .fpb-preset-showcase .fpb-showcase-main-store-badges,
.editor-styles-wrapper .fpb-showcase .fpb-showcase-main-store-badges,
.editor-styles-wrapper .fpb-box-showcase .fpb-showcase-main-store-badges,
.block-editor-block-list__block .fpb-preset-showcase .fpb-showcase-main-store-badges,
.block-editor-block-list__block .fpb-showcase .fpb-showcase-main-store-badges,
.block-editor-block-list__block .fpb-box-showcase .fpb-showcase-main-store-badges,
.wp-block .fpb-preset-showcase .fpb-showcase-main-store-badges,
.wp-block .fpb-showcase .fpb-showcase-main-store-badges,
.wp-block .fpb-box-showcase .fpb-showcase-main-store-badges{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  max-width:max-content!important;
  gap:0!important;
  margin-left:auto!important;
  margin-right:auto!important;
  transform:none!important;
  text-align:center!important;
}

.editor-styles-wrapper .fpb-card.fpb-preset-compact-vertical .fpb-showcase-main-store-badges .fpb-showcase-store-logo,
.editor-styles-wrapper .fpb-card.fpb-preset-compact-vertical .fpb-store-badges--winner .fpb-logo,
.block-editor-block-list__block .fpb-card.fpb-preset-compact-vertical .fpb-showcase-main-store-badges .fpb-showcase-store-logo,
.block-editor-block-list__block .fpb-card.fpb-preset-compact-vertical .fpb-store-badges--winner .fpb-logo,
.wp-block .fpb-card.fpb-preset-compact-vertical .fpb-showcase-main-store-badges .fpb-showcase-store-logo,
.wp-block .fpb-card.fpb-preset-compact-vertical .fpb-store-badges--winner .fpb-logo{
  display:block!important;
  margin:0!important;
  transform:none!important;
}

.editor-styles-wrapper .fpb-card.fpb-preset-compact-vertical .fpb-showcase-main-store-badges .fpb-showcase-store-trophy,
.editor-styles-wrapper .fpb-card.fpb-preset-compact-vertical .fpb-store-badges--winner .fpb-win,
.block-editor-block-list__block .fpb-card.fpb-preset-compact-vertical .fpb-showcase-main-store-badges .fpb-showcase-store-trophy,
.block-editor-block-list__block .fpb-card.fpb-preset-compact-vertical .fpb-store-badges--winner .fpb-win,
.wp-block .fpb-card.fpb-preset-compact-vertical .fpb-showcase-main-store-badges .fpb-showcase-store-trophy,
.wp-block .fpb-card.fpb-preset-compact-vertical .fpb-store-badges--winner .fpb-win{
  position:absolute!important;
  left:100%!important;
  top:50%!important;
  transform:translate(6px,-50%)!important;
  margin:0!important;
  line-height:1!important;
  pointer-events:none!important;
}


/* APB 1.16.204 - Frontend coupon wrapper removal
 * Frontend parity with Gutenberg: remove only the external visual wrapper
 * around coupons while preserving the inner coupon capsule style.
 */
.fpb-card .fpb-row > .fpb-coupon,
.fpb-card .fpb-right > .fpb-coupon,
.fpb-card .fpb-rows > .fpb-coupon{
  border:0!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
  padding:0!important;
}

/* Preserve the actual coupon capsule structure and its style variables. */
.fpb-card .fpb-coupon .fpb-coupon-label,
.fpb-card .fpb-coupon .fpb-coupon-copy{
  border-color:inherit;
}


/* APB 1.16.204 - Compact Horizontal coupon inline style fix
 * Scope: Compact Horizontal only.
 * Restore the real coupon capsule style and keep it inline/aligned in the card,
 * after the frontend wrapper removal.
 */
.fpb-card.fpb-preset-compact-horizontal .fpb-coupon,
.fpb-preset-compact-horizontal .fpb-coupon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  max-width:max-content!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
  vertical-align:middle!important;
}

.fpb-card.fpb-preset-compact-horizontal .fpb-coupon .fpb-coupon-label,
.fpb-preset-compact-horizontal .fpb-coupon .fpb-coupon-label{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  width:auto!important;
  max-width:max-content!important;
  min-height:0!important;
  padding:7px 12px!important;
  border-width:var(--fpb-coupon-border-width,1px)!important;
  border-style:var(--fpb-coupon-border-style,solid)!important;
  border-color:var(--fpb-coupon-border,#b8e6c8)!important;
  border-radius:var(--fpb-coupon-border-radius,999px)!important;
  background:var(--fpb-coupon-bg,#eaf8ef)!important;
  color:var(--fpb-coupon-color,#008a3d)!important;
  box-shadow:none!important;
  white-space:nowrap!important;
}

.fpb-card.fpb-preset-compact-horizontal .fpb-coupon .fpb-coupon-copy,
.fpb-preset-compact-horizontal .fpb-coupon .fpb-coupon-copy{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  width:auto!important;
  margin:0 0 0 8px!important;
  padding-left:10px!important;
  border-left-width:var(--fpb-coupon-divider-width,1px)!important;
  border-left-style:var(--fpb-coupon-divider-style,solid)!important;
  border-left-color:var(--fpb-coupon-divider-color,var(--fpb-coupon-border,#b8e6c8))!important;
  background:transparent!important;
  color:inherit!important;
  box-shadow:none!important;
}

.fpb-card.fpb-preset-compact-horizontal .fpb-coupon .fpb-coupon-code,
.fpb-preset-compact-horizontal .fpb-coupon .fpb-coupon-code{
  color:inherit!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}

/* Gutenberg/editor preview equivalent. */
.editor-styles-wrapper .fpb-card.fpb-preset-compact-horizontal .fpb-coupon,
.block-editor-block-list__block .fpb-card.fpb-preset-compact-horizontal .fpb-coupon,
.wp-block .fpb-card.fpb-preset-compact-horizontal .fpb-coupon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  max-width:max-content!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
  vertical-align:middle!important;
}

.editor-styles-wrapper .fpb-card.fpb-preset-compact-horizontal .fpb-coupon .fpb-coupon-label,
.block-editor-block-list__block .fpb-card.fpb-preset-compact-horizontal .fpb-coupon .fpb-coupon-label,
.wp-block .fpb-card.fpb-preset-compact-horizontal .fpb-coupon .fpb-coupon-label{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  width:auto!important;
  max-width:max-content!important;
  min-height:0!important;
  padding:7px 12px!important;
  border-width:var(--fpb-coupon-border-width,1px)!important;
  border-style:var(--fpb-coupon-border-style,solid)!important;
  border-color:var(--fpb-coupon-border,#b8e6c8)!important;
  border-radius:var(--fpb-coupon-border-radius,999px)!important;
  background:var(--fpb-coupon-bg,#eaf8ef)!important;
  color:var(--fpb-coupon-color,#008a3d)!important;
  box-shadow:none!important;
  white-space:nowrap!important;
}


/* APB 1.16.204 - Frontend coupon icon CSS parity fix - all icons
 * Make frontend display the real icon markup generated by PHP, matching Gutenberg:
 * ticket=🎟️, tag=🏷️, fire=🔥, money=💰, spark=✨.
 * Neutralizes old pseudo-element, SVG/mask/background icon replacements.
 */
.fpb-coupon .fpb-coupon-icon,
.fpb-coupon-icon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:1em!important;
  height:auto!important;
  min-height:1em!important;
  line-height:1!important;
  font-size:14px!important;
  font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif!important;
  background:none!important;
  background-image:none!important;
  -webkit-mask:none!important;
  mask:none!important;
  color:inherit!important;
  overflow:visible!important;
  text-indent:0!important;
}

.fpb-coupon .fpb-coupon-icon::before,
.fpb-coupon .fpb-coupon-icon::after,
.fpb-coupon-icon::before,
.fpb-coupon-icon::after,
.fpb-coupon-icon-style-ticket .fpb-coupon-icon::before,
.fpb-coupon-icon-style-ticket .fpb-coupon-icon::after,
.fpb-coupon-icon-style-tag .fpb-coupon-icon::before,
.fpb-coupon-icon-style-tag .fpb-coupon-icon::after,
.fpb-coupon-icon-style-fire .fpb-coupon-icon::before,
.fpb-coupon-icon-style-fire .fpb-coupon-icon::after,
.fpb-coupon-icon-style-money .fpb-coupon-icon::before,
.fpb-coupon-icon-style-money .fpb-coupon-icon::after,
.fpb-coupon-icon-style-spark .fpb-coupon-icon::before,
.fpb-coupon-icon-style-spark .fpb-coupon-icon::after{
  content:none!important;
  display:none!important;
  background:none!important;
  background-image:none!important;
  -webkit-mask:none!important;
  mask:none!important;
}

.fpb-coupon .fpb-coupon-icon svg,
.fpb-coupon-icon svg{
  display:none!important;
}


/* APB 1.16.204 - Frontend coupon icon force emoji render
 * Strong frontend fix: force visual emoji by coupon icon style class.
 * This bypasses old SVG/mask/pseudo icon systems while preserving layout.
 */
.fpb-coupon.fpb-coupon-icon-on .fpb-coupon-icon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:1.25em!important;
  min-width:1.25em!important;
  height:1.25em!important;
  min-height:1.25em!important;
  line-height:1!important;
  font-size:0!important;
  font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif!important;
  background:none!important;
  background-image:none!important;
  -webkit-mask:none!important;
  mask:none!important;
  color:inherit!important;
  overflow:visible!important;
  text-indent:0!important;
}

.fpb-coupon.fpb-coupon-icon-on .fpb-coupon-icon > *{
  display:none!important;
}

.fpb-coupon.fpb-coupon-icon-on .fpb-coupon-icon::before{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:1.25em!important;
  height:1.25em!important;
  line-height:1!important;
  font-size:14px!important;
  font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif!important;
  background:none!important;
  background-image:none!important;
  -webkit-mask:none!important;
  mask:none!important;
  color:inherit!important;
  text-indent:0!important;
}

.fpb-coupon.fpb-coupon-icon-style-ticket .fpb-coupon-icon::before{
  content:"🎟️"!important;
}
.fpb-coupon.fpb-coupon-icon-style-tag .fpb-coupon-icon::before{
  content:"🏷️"!important;
}
.fpb-coupon.fpb-coupon-icon-style-fire .fpb-coupon-icon::before{
  content:"🔥"!important;
}
.fpb-coupon.fpb-coupon-icon-style-money .fpb-coupon-icon::before{
  content:"💰"!important;
}
.fpb-coupon.fpb-coupon-icon-style-spark .fpb-coupon-icon::before{
  content:"✨"!important;
}

.fpb-coupon.fpb-coupon-icon-off .fpb-coupon-icon{
  display:none!important;
}


/* APB 1.16.204 - Compact Vertical coupon stacked polish
 * Scope: Compact Vertical only.
 * Improves narrow coupon layout by centering the top line and keeping
 * blurred code + View code organized on the second line.
 */
.fpb-card.fpb-preset-compact-vertical .fpb-coupon,
.fpb-preset-compact-vertical .fpb-coupon,
.editor-styles-wrapper .fpb-card.fpb-preset-compact-vertical .fpb-coupon,
.block-editor-block-list__block .fpb-card.fpb-preset-compact-vertical .fpb-coupon,
.wp-block .fpb-card.fpb-preset-compact-vertical .fpb-coupon{
  width:100%!important;
  max-width:168px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  display:flex!important;
  justify-content:center!important;
}

.fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-label,
.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-label,
.editor-styles-wrapper .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-label,
.block-editor-block-list__block .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-label,
.wp-block .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-label{
  width:100%!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  gap:6px!important;
  padding:9px 10px!important;
  line-height:1.15!important;
  white-space:normal!important;
}

.fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-icon,
.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-icon,
.editor-styles-wrapper .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-icon,
.block-editor-block-list__block .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-icon,
.wp-block .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-icon{
  margin:0!important;
  flex:0 0 auto!important;
}

.fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-text,
.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-text,
.editor-styles-wrapper .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-text,
.block-editor-block-list__block .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-text,
.wp-block .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-text{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  max-width:100%!important;
  white-space:normal!important;
  line-height:1.15!important;
  font-size:12px!important;
  font-weight:800!important;
}

/* Keep icon + discount text visually grouped on the first line when possible. */
.fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-icon + .fpb-coupon-text,
.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-icon + .fpb-coupon-text,
.editor-styles-wrapper .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-icon + .fpb-coupon-text,
.block-editor-block-list__block .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-icon + .fpb-coupon-text,
.wp-block .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-icon + .fpb-coupon-text{
  margin-top:-2px!important;
}

.fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-copy,
.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-copy,
.editor-styles-wrapper .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-copy,
.block-editor-block-list__block .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-copy,
.wp-block .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-copy{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  border-left:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:inherit!important;
  white-space:nowrap!important;
  line-height:1!important;
}

.fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-code,
.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-code,
.editor-styles-wrapper .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-code,
.block-editor-block-list__block .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-code,
.wp-block .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-code{
  max-width:64px!important;
}

.fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-view-code,
.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-view-code,
.editor-styles-wrapper .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-view-code,
.block-editor-block-list__block .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-view-code,
.wp-block .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-view-code{
  font-size:11px!important;
  font-weight:800!important;
  line-height:1!important;
  white-space:nowrap!important;
}


/* APB 1.16.204 - Compact Vertical coupon centered two-line fix
 * Scope: Compact Vertical only.
 * Keeps icon + discount text on first line and blurred code + View code on second line,
 * with all coupon content centered.
 */
.fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-label,
.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-label,
.editor-styles-wrapper .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-label,
.block-editor-block-list__block .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-label,
.wp-block .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-label{
  display:grid!important;
  grid-template-columns:auto auto!important;
  grid-template-rows:auto auto!important;
  justify-content:center!important;
  justify-items:center!important;
  align-items:center!important;
  column-gap:6px!important;
  row-gap:7px!important;
  width:100%!important;
  text-align:center!important;
  padding:9px 10px!important;
  white-space:normal!important;
}

.fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-icon,
.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-icon,
.editor-styles-wrapper .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-icon,
.block-editor-block-list__block .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-icon,
.wp-block .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-icon{
  grid-column:1!important;
  grid-row:1!important;
  margin:0!important;
  justify-self:end!important;
  align-self:center!important;
}

.fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-text,
.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-text,
.editor-styles-wrapper .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-text,
.block-editor-block-list__block .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-text,
.wp-block .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-text{
  grid-column:2!important;
  grid-row:1!important;
  justify-self:start!important;
  align-self:center!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  white-space:nowrap!important;
  max-width:100%!important;
  line-height:1.15!important;
  font-size:12px!important;
  font-weight:800!important;
}

.fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-copy,
.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-copy,
.editor-styles-wrapper .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-copy,
.block-editor-block-list__block .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-copy,
.wp-block .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-copy{
  grid-column:1 / -1!important;
  grid-row:2!important;
  justify-self:center!important;
  align-self:center!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  width:auto!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  border-left:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:inherit!important;
  white-space:nowrap!important;
  line-height:1!important;
}

.fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-code,
.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-code,
.editor-styles-wrapper .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-code,
.block-editor-block-list__block .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-code,
.wp-block .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-code{
  width:62px!important;
  min-width:62px!important;
  max-width:62px!important;
}

.fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-view-code,
.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-view-code,
.editor-styles-wrapper .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-view-code,
.block-editor-block-list__block .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-view-code,
.wp-block .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-view-code{
  font-size:11px!important;
  font-weight:800!important;
  line-height:1!important;
  white-space:nowrap!important;
}


/* APB 1.16.204 - Compact Vertical coupon copy button spacing fix
 * Scope: Compact Vertical only.
 * Prevents the copy/View code area from overlapping the revealed coupon code.
 */
.fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-copy,
.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-copy,
.editor-styles-wrapper .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-copy,
.block-editor-block-list__block .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-copy,
.wp-block .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-copy{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  column-gap:10px!important;
  width:auto!important;
  max-width:100%!important;
  min-width:0!important;
  padding:0 2px!important;
  overflow:visible!important;
  flex-wrap:nowrap!important;
}

.fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-code,
.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-code,
.editor-styles-wrapper .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-code,
.block-editor-block-list__block .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-code,
.wp-block .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-code{
  flex:0 1 auto!important;
  min-width:58px!important;
  max-width:82px!important;
  margin:0!important;
  overflow:hidden!important;
  text-align:center!important;
}

.fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-copy-label,
.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-copy-label,
.editor-styles-wrapper .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-copy-label,
.block-editor-block-list__block .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-copy-label,
.wp-block .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-copy-label,
.fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-view-code,
.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-view-code,
.editor-styles-wrapper .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-view-code,
.block-editor-block-list__block .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-view-code,
.wp-block .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-view-code{
  flex:0 0 auto!important;
  margin-left:0!important;
  white-space:nowrap!important;
  position:static!important;
  transform:none!important;
}

/* Revealed/active states: allow the code area to grow without covering the copy action. */
.fpb-card.fpb-preset-compact-vertical .fpb-coupon.fpb-coupon-revealed .fpb-coupon-copy,
.fpb-preset-compact-vertical .fpb-coupon.fpb-coupon-revealed .fpb-coupon-copy,
.fpb-card.fpb-preset-compact-vertical .fpb-coupon.is-revealed .fpb-coupon-copy,
.fpb-preset-compact-vertical .fpb-coupon.is-revealed .fpb-coupon-copy,
.fpb-card.fpb-preset-compact-vertical .fpb-coupon.is-visible .fpb-coupon-copy,
.fpb-preset-compact-vertical .fpb-coupon.is-visible .fpb-coupon-copy,
.fpb-card.fpb-preset-compact-vertical .fpb-coupon.show-code .fpb-coupon-copy,
.fpb-preset-compact-vertical .fpb-coupon.show-code .fpb-coupon-copy,
.fpb-card.fpb-preset-compact-vertical .fpb-coupon[data-revealed="true"] .fpb-coupon-copy,
.fpb-preset-compact-vertical .fpb-coupon[data-revealed="true"] .fpb-coupon-copy{
  gap:12px!important;
  width:100%!important;
  justify-content:center!important;
}

.fpb-card.fpb-preset-compact-vertical .fpb-coupon.fpb-coupon-revealed .fpb-coupon-code,
.fpb-preset-compact-vertical .fpb-coupon.fpb-coupon-revealed .fpb-coupon-code,
.fpb-card.fpb-preset-compact-vertical .fpb-coupon.is-revealed .fpb-coupon-code,
.fpb-preset-compact-vertical .fpb-coupon.is-revealed .fpb-coupon-code,
.fpb-card.fpb-preset-compact-vertical .fpb-coupon.is-visible .fpb-coupon-code,
.fpb-preset-compact-vertical .fpb-coupon.is-visible .fpb-coupon-code,
.fpb-card.fpb-preset-compact-vertical .fpb-coupon.show-code .fpb-coupon-code,
.fpb-preset-compact-vertical .fpb-coupon.show-code .fpb-coupon-code,
.fpb-card.fpb-preset-compact-vertical .fpb-coupon[data-revealed="true"] .fpb-coupon-code,
.fpb-preset-compact-vertical .fpb-coupon[data-revealed="true"] .fpb-coupon-code{
  min-width:70px!important;
  max-width:88px!important;
  padding-right:0!important;
  text-align:center!important;
  white-space:nowrap!important;
}

.fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-copy-icon,
.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-copy-icon,
.editor-styles-wrapper .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-copy-icon,
.block-editor-block-list__block .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-copy-icon,
.wp-block .fpb-card.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-copy-icon{
  flex:0 0 auto!important;
  margin-left:2px!important;
}


/* APB 1.16.204 - Showcase real preset note center fix
 * Internal preset mapping confirmed:
 * visual Showcase = presetStyle standard
 * Compact Vertical = presetStyle compact_card
 * Center only the visual Showcase note.
 */
.fpb-note.fpb-note--showcase-centered,
.editor-styles-wrapper .fpb-note.fpb-note--showcase-centered,
.block-editor-block-list__block .fpb-note.fpb-note--showcase-centered,
.wp-block .fpb-note.fpb-note--showcase-centered{
  display:block!important;
  width:100%!important;
  max-width:320px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  text-align:center!important;
  line-height:1.45!important;
}

@media (max-width: 480px){
  .fpb-note.fpb-note--showcase-centered{
    max-width:280px!important;
  }
}


/* APB 1.16.204 - Note alignment correction
 * Classic/standard note stays left.
 * Showcase/compact_card note stays centered.
 */
.fpb-note{
  text-align:left;
}

.fpb-note.fpb-note--showcase-centered,
.editor-styles-wrapper .fpb-note.fpb-note--showcase-centered,
.block-editor-block-list__block .fpb-note.fpb-note--showcase-centered,
.wp-block .fpb-note.fpb-note--showcase-centered{
  display:block!important;
  width:100%!important;
  max-width:320px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  text-align:center!important;
  line-height:1.45!important;
}


/* APB 1.16.204 - Global Coupon Icon/Text spacing polish
 * Scope: all coupon capsules, frontend, Gutenberg and admin live previews.
 * Keeps a consistent visual gap between the coupon emoji/icon and coupon text.
 */
.fpb-coupon-icon,
.fpb-coupon .fpb-coupon-icon,
.fpb-coupon-label .fpb-coupon-icon,
.fpb-coupon-text .fpb-coupon-icon,
.editor-styles-wrapper .fpb-coupon-icon,
.block-editor-block-list__block .fpb-coupon-icon,
.wp-block .fpb-coupon-icon,
.apb-live-preview .fpb-coupon-icon,
.fpb-appearance-preview .fpb-coupon-icon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  margin-right:6px!important;
  line-height:1!important;
}

/* When the coupon uses flex layout, prefer gap as an additional safe spacing layer. */
.fpb-coupon-label,
.fpb-coupon-text,
.editor-styles-wrapper .fpb-coupon-label,
.editor-styles-wrapper .fpb-coupon-text,
.block-editor-block-list__block .fpb-coupon-label,
.block-editor-block-list__block .fpb-coupon-text,
.wp-block .fpb-coupon-label,
.wp-block .fpb-coupon-text{
  column-gap:6px!important;
}

/* Avoid double-spacing if a specific layout already separates icon/text with direct gap. */
.fpb-coupon-icon + .fpb-coupon-label,
.fpb-coupon-icon + .fpb-coupon-text{
  margin-left:0!important;
}

/* Compact Vertical keeps the icon beside the first-line text, but with the same readable gap. */
.fpb-preset-compact-card .fpb-coupon-icon,
.fpb-preset-compact_vertical .fpb-coupon-icon,
.fpb-preset-compact-vertical .fpb-coupon-icon,
.fpb-preset-compact_card .fpb-coupon-icon,
.editor-styles-wrapper .fpb-preset-compact-card .fpb-coupon-icon,
.editor-styles-wrapper .fpb-preset-compact_vertical .fpb-coupon-icon,
.editor-styles-wrapper .fpb-preset-compact-vertical .fpb-coupon-icon,
.editor-styles-wrapper .fpb-preset-compact_card .fpb-coupon-icon{
  margin-right:6px!important;
}


/* APB 1.16.204 - Compact Vertical coupon two-line frontend/Gutenberg fix
 * Scope:
 * - Frontend Compact Vertical wrapper: .fpb-card.fpb--compact.fpb-preset-compact-vertical
 * - Frontend injected coupon context: .fpb-coupon--compact-vertical-fixed
 * - Gutenberg/editor equivalent wrappers.
 */
.fpb-card.fpb--compact.fpb-preset-compact-vertical .fpb-coupon--compact-vertical-fixed,
.fpb-card.fpb--compact.fpb-preset-compact-vertical .fpb-coupon,
.editor-styles-wrapper .fpb-card.fpb--compact.fpb-preset-compact-vertical .fpb-coupon,
.wp-block .fpb-card.fpb--compact.fpb-preset-compact-vertical .fpb-coupon,
.editor-styles-wrapper .fpb-preset-compact-vertical .fpb-coupon,
.wp-block .fpb-preset-compact-vertical .fpb-coupon{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  max-width:160px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  text-align:center!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}

.fpb-card.fpb--compact.fpb-preset-compact-vertical .fpb-coupon--compact-vertical-fixed .fpb-coupon-label,
.fpb-card.fpb--compact.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-label,
.editor-styles-wrapper .fpb-card.fpb--compact.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-label,
.wp-block .fpb-card.fpb--compact.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-label,
.editor-styles-wrapper .fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-label,
.wp-block .fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-label{
  display:grid!important;
  grid-template-columns:auto auto!important;
  grid-template-rows:auto auto!important;
  align-items:center!important;
  justify-content:center!important;
  justify-items:center!important;
  column-gap:6px!important;
  row-gap:4px!important;
  width:100%!important;
  max-width:100%!important;
  text-align:center!important;
  box-sizing:border-box!important;
}

.fpb-card.fpb--compact.fpb-preset-compact-vertical .fpb-coupon--compact-vertical-fixed .fpb-coupon-icon,
.fpb-card.fpb--compact.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-icon,
.editor-styles-wrapper .fpb-card.fpb--compact.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-icon,
.wp-block .fpb-card.fpb--compact.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-icon,
.editor-styles-wrapper .fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-icon,
.wp-block .fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-icon{
  grid-column:1!important;
  grid-row:1!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0!important;
  padding:0!important;
  line-height:1!important;
  position:static!important;
  transform:none!important;
  flex:0 0 auto!important;
}

.fpb-card.fpb--compact.fpb-preset-compact-vertical .fpb-coupon--compact-vertical-fixed .fpb-coupon-text,
.fpb-card.fpb--compact.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-text,
.editor-styles-wrapper .fpb-card.fpb--compact.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-text,
.wp-block .fpb-card.fpb--compact.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-text,
.editor-styles-wrapper .fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-text,
.wp-block .fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-text{
  grid-column:2!important;
  grid-row:1!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0!important;
  padding:0!important;
  white-space:nowrap!important;
  line-height:1.15!important;
  text-align:center!important;
  position:static!important;
  transform:none!important;
  min-width:0!important;
}

.fpb-card.fpb--compact.fpb-preset-compact-vertical .fpb-coupon--compact-vertical-fixed .fpb-coupon-copy,
.fpb-card.fpb--compact.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-copy,
.editor-styles-wrapper .fpb-card.fpb--compact.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-copy,
.wp-block .fpb-card.fpb--compact.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-copy,
.editor-styles-wrapper .fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-copy,
.wp-block .fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-copy{
  grid-column:1 / -1!important;
  grid-row:2!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  justify-self:center!important;
  align-self:center!important;
  width:100%!important;
  max-width:140px!important;
  margin:0 auto!important;
  padding-left:0!important;
  padding-right:0!important;
  box-sizing:border-box!important;
  min-width:0!important;
}

.fpb-card.fpb--compact.fpb-preset-compact-vertical .fpb-coupon--compact-vertical-fixed .fpb-coupon-code,
.fpb-card.fpb--compact.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-code,
.editor-styles-wrapper .fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-code,
.wp-block .fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-code{
  min-width:0!important;
  max-width:72px!important;
  overflow:hidden!important;
}

.fpb-card.fpb--compact.fpb-preset-compact-vertical .fpb-coupon--compact-vertical-fixed .fpb-coupon-copy-label,
.fpb-card.fpb--compact.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-copy-label,
.editor-styles-wrapper .fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-copy-label,
.wp-block .fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-copy-label{
  white-space:nowrap!important;
  flex:0 0 auto!important;
}

.fpb-card.fpb--compact.fpb-preset-compact-vertical .fpb-coupon--compact-vertical-fixed .fpb-coupon-icon::after,
.fpb-card.fpb--compact.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-icon::after,
.editor-styles-wrapper .fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-icon::after,
.wp-block .fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-icon::after{
  content:none!important;
  display:none!important;
}


/* APB 1.16.204 - Compact Vertical final icon margin fix
 * Scope: ONLY Compact Vertical real wrapper.
 * Adds only the missing space between coupon emoji and coupon text.
 */
.fpb-card.fpb--compact.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-icon,
.editor-styles-wrapper .fpb-card.fpb--compact.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-icon,
.wp-block .fpb-card.fpb--compact.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-icon,
.editor-styles-wrapper .fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-icon,
.wp-block .fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-icon{
  margin-right:6px!important;
}

/* APB - Clean Minimal/other no-icon styles must not reserve icon space in Compact Vertical. */
.fpb-card.fpb--compact.fpb-preset-compact-vertical .fpb-coupon.fpb-coupon-icon-off .fpb-coupon-label,
.editor-styles-wrapper .fpb-card.fpb--compact.fpb-preset-compact-vertical .fpb-coupon.fpb-coupon-icon-off .fpb-coupon-label,
.wp-block .fpb-card.fpb--compact.fpb-preset-compact-vertical .fpb-coupon.fpb-coupon-icon-off .fpb-coupon-label,
.editor-styles-wrapper .fpb-preset-compact-vertical .fpb-coupon.fpb-coupon-icon-off .fpb-coupon-label,
.wp-block .fpb-preset-compact-vertical .fpb-coupon.fpb-coupon-icon-off .fpb-coupon-label{
  grid-template-columns:1fr!important;
  justify-content:center!important;
}

.fpb-card.fpb--compact.fpb-preset-compact-vertical .fpb-coupon.fpb-coupon-icon-off .fpb-coupon-icon,
.editor-styles-wrapper .fpb-card.fpb--compact.fpb-preset-compact-vertical .fpb-coupon.fpb-coupon-icon-off .fpb-coupon-icon,
.wp-block .fpb-card.fpb--compact.fpb-preset-compact-vertical .fpb-coupon.fpb-coupon-icon-off .fpb-coupon-icon,
.editor-styles-wrapper .fpb-preset-compact-vertical .fpb-coupon.fpb-coupon-icon-off .fpb-coupon-icon,
.wp-block .fpb-preset-compact-vertical .fpb-coupon.fpb-coupon-icon-off .fpb-coupon-icon{
  display:none!important;
  margin:0!important;
}

.fpb-card.fpb--compact.fpb-preset-compact-vertical .fpb-coupon.fpb-coupon-icon-off .fpb-coupon-text,
.editor-styles-wrapper .fpb-card.fpb--compact.fpb-preset-compact-vertical .fpb-coupon.fpb-coupon-icon-off .fpb-coupon-text,
.wp-block .fpb-card.fpb--compact.fpb-preset-compact-vertical .fpb-coupon.fpb-coupon-icon-off .fpb-coupon-text,
.editor-styles-wrapper .fpb-preset-compact-vertical .fpb-coupon.fpb-coupon-icon-off .fpb-coupon-text,
.wp-block .fpb-preset-compact-vertical .fpb-coupon.fpb-coupon-icon-off .fpb-coupon-text{
  grid-column:1!important;
  justify-self:center!important;
  text-align:center!important;
}

/* APB 1.16.204 - Revealed Compact Vertical coupon code must not inherit placeholder width. */
.fpb-card.fpb--compact.fpb-preset-compact-vertical .fpb-coupon--compact-vertical-fixed .fpb-coupon-copy.fpb-coupon-reveal.is-revealed,
.fpb-card.fpb--compact.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-copy.fpb-coupon-reveal.is-revealed,
.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-copy.fpb-coupon-reveal.is-revealed{
  max-width:100%!important;
  width:100%!important;
  min-width:0!important;
  gap:5px!important;
  flex-wrap:nowrap!important;
}

.fpb-card.fpb--compact.fpb-preset-compact-vertical .fpb-coupon--compact-vertical-fixed .fpb-coupon-copy.fpb-coupon-reveal.is-revealed .fpb-coupon-code,
.fpb-card.fpb--compact.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-copy.fpb-coupon-reveal.is-revealed .fpb-coupon-code,
.fpb-preset-compact-vertical .fpb-coupon .fpb-coupon-copy.fpb-coupon-reveal.is-revealed .fpb-coupon-code{
  width:auto!important;
  min-width:0!important;
  max-width:calc(100% - 22px)!important;
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:nowrap!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  font-size:clamp(9px, 7.5vw, 11px)!important;
  letter-spacing:.02em!important;
}


/* APB 1.16.576 - Primary CTA Soft Shine effect. */
.apb-button-effect--soft-shine{position:relative;overflow:hidden;isolation:isolate;}
.apb-button-effect--soft-shine::after{content:"";position:absolute;z-index:1;top:0;bottom:0;left:-125%;width:48%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.38),transparent);transform:skewX(-20deg);pointer-events:none;animation:apb-primary-cta-soft-shine 4.4s ease-in-out infinite;}
@keyframes apb-primary-cta-soft-shine{0%,62%{left:-125%;opacity:0}68%{opacity:1}92%{left:165%;opacity:1}100%{left:165%;opacity:0}}
@media (prefers-reduced-motion: reduce){.apb-button-effect--soft-shine::after{display:none;animation:none;}}


/* APB 1.16.606 - Primary CTA Gentle Pulse and Soft Sweep effects. */
.apb-button-effect--gentle-pulse{position:relative;will-change:transform;animation:apb-primary-cta-gentle-pulse 2.6s ease-in-out infinite;transform-origin:center;}
@keyframes apb-primary-cta-gentle-pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.04)}}
.apb-button-effect--gentle-pulse:hover,.apb-button-effect--gentle-pulse:focus-visible{animation-play-state:paused;}
.apb-button-effect--soft-sweep{position:relative;overflow:hidden;isolation:isolate;}
.apb-button-effect--soft-sweep::before{content:"";position:absolute;z-index:1;inset-block:0;left:0;width:32%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.26),transparent);transform:translateX(-150%);animation:apb-primary-cta-soft-sweep 2.8s ease-in-out infinite alternate;pointer-events:none;border-radius:inherit;}
@keyframes apb-primary-cta-soft-sweep{from{transform:translateX(-150%)}to{transform:translateX(420%)}}
@media (prefers-reduced-motion:reduce){
  .apb-button-effect--gentle-pulse{animation:none;transform:none;will-change:auto;}
  .apb-button-effect--soft-sweep::before{animation:none;opacity:0;}
}


/* APB 1.16.594 — plain preset-aware discount percentage text. */
.fpb-card{position:relative}
.apb-pricebox-discount-text{display:inline-block;color:var(--apb-discount-text-color,#dc2626);font-size:13px;font-weight:800;line-height:1.2;letter-spacing:.02em;white-space:nowrap;background:none;border:0;border-radius:0;box-shadow:none}
.fpb-pricebox-discount-slot{line-height:1;pointer-events:none;min-width:0}
.fpb-head .fpb-pricebox-discount-slot--showcase,.fpb-head .fpb-pricebox-discount-slot--comparison{margin-left:auto;align-self:flex-start;display:flex;justify-content:flex-end}
.fpb-pricebox-discount-slot--individual-horizontal{display:flex;justify-content:flex-end;align-items:center;margin:2px 0 6px}
.fpb-pricebox-discount-slot--individual-vertical{display:flex;justify-content:flex-start;align-items:center;margin:2px 0 8px}
.fpb-preset-compact-horizontal .fpb-pricebox-discount-slot--individual-horizontal{padding-right:2px}
.fpb-preset-compact-vertical .fpb-pricebox-discount-slot--individual-vertical{justify-content:flex-start}
@media(max-width:600px){.apb-pricebox-discount-text{font-size:12px}.fpb-head .fpb-pricebox-discount-slot--showcase,.fpb-head .fpb-pricebox-discount-slot--comparison{flex-basis:100%;margin-left:0;justify-content:flex-start}.fpb-pricebox-discount-slot--individual-horizontal{justify-content:flex-start}}

/* APB 1.16.594-R3 — Compact Vertical uniform card width and grid proportion restore. */
.fpb-compact-vertical-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  align-items:stretch;
}
.fpb-compact-vertical-grid > .fpb-preset-compact-vertical{
  width:100%;
  max-width:none;
  min-width:0;
  min-inline-size:0;
  justify-self:stretch;
  align-self:stretch;
  margin:0;
  box-sizing:border-box;
}
.fpb-preset-compact-vertical .fpb-left,
.fpb-preset-compact-vertical .fpb-right,
.fpb-preset-compact-vertical .fpb-head,
.fpb-preset-compact-vertical .fpb-rows,
.fpb-preset-compact-vertical .fpb-row,
.fpb-preset-compact-vertical .fpb-store,
.fpb-preset-compact-vertical .fpb-store-badges,
.fpb-preset-compact-vertical .fpb-offer,
.fpb-preset-compact-vertical .fpb-report,
.fpb-preset-compact-vertical .fpb-pricebox-discount-slot{
  min-width:0;
  max-width:100%;
  box-sizing:border-box;
}
.fpb-preset-compact-vertical .fpb-product-img{
  display:block;
  max-width:100%;
  object-fit:contain;
}
.fpb-preset-compact-vertical .fpb-title,
.fpb-preset-compact-vertical .fpb-store-name,
.fpb-preset-compact-vertical .fpb-report-link,
.fpb-preset-compact-vertical .fpb-btn{
  max-width:100%;
  overflow-wrap:anywhere;
  word-break:normal;
  box-sizing:border-box;
}
.fpb-preset-compact-vertical .fpb-logo{
  max-width:100%;
  object-fit:contain;
}
.fpb-preset-compact-vertical .fpb-pricebox-discount-slot--individual-vertical{
  width:100%;
}
@media(max-width:1024px){
  .fpb-compact-vertical-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:600px){
  .fpb-compact-vertical-grid{grid-template-columns:minmax(0,1fr);}
}


/* APB 1.16.594-R4 — Showcase and Compact Vertical Discount Text Center Alignment Polish */
.fpb-preset-showcase .fpb-head .fpb-pricebox-discount-slot--showcase,
.fpb-showcase .fpb-head .fpb-pricebox-discount-slot--showcase,
.fpb-box-showcase .fpb-head .fpb-pricebox-discount-slot--showcase {
  flex: 1 0 100%;
  width: 100%;
  margin-left: 0;
  align-self: center;
  justify-content: center;
  text-align: center;
}

.fpb-preset-compact-vertical .fpb-pricebox-discount-slot--individual-vertical {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  justify-content: center;
  text-align: center;
}


/* APB 1.16.594-R5 — Showcase Discount Slot Structural Center Alignment Fix */
.fpb-preset-compact-card .fpb-head .fpb-pricebox-discount-slot--showcase,
.fpb-card-preview-base .fpb-head .fpb-pricebox-discount-slot--showcase {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-left: 0;
  margin-right: 0;
  margin-inline-start: 0;
  align-self: stretch;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}


/* APB 1.16.594-R6 — Showcase Live Preview Discount Position Parity Restore
 * Scope: Appearance Live Preview Showcase only. Public frontend and Gutenberg remain unchanged.
 */
#fpb-appearance-preview .fpb-card-preview-base .fpb-head .fpb-pricebox-discount-slot--showcase {
  flex: 0 0 auto;
  width: auto;
  max-width: 100%;
  min-width: 0;
  margin-left: auto;
  margin-right: 0;
  margin-inline-start: auto;
  align-self: flex-end;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  text-align: right;
}

@media (max-width: 600px) {
  #fpb-appearance-preview .fpb-card-preview-base .fpb-head .fpb-pricebox-discount-slot--showcase {
    flex: 0 0 100%;
    width: 100%;
    margin-left: 0;
    margin-inline-start: 0;
    align-self: stretch;
    justify-content: flex-end;
    text-align: right;
  }
}


/* APB 1.16.595 — Compact Vertical Card Density and Vertical Spacing Optimization
 * Scope: Compact Vertical only across frontend, Gutenberg, and Appearance preview.
 * Tightens accumulated vertical rhythm while preserving uniform width, 44px CTA targets,
 * title readability, discount centering, provider presentation, and report usability.
 */
.fpb-preset-compact-vertical {
  min-height: 0;
  padding-top: 12px;
  padding-bottom: 12px;
}

.fpb-preset-compact-vertical .fpb-left {
  margin-bottom: 8px;
}

.fpb-preset-compact-vertical .fpb-product-img {
  width: 148px;
  height: 148px;
}

.fpb-preset-compact-vertical .fpb-head {
  gap: 4px;
  margin-bottom: 0;
}

.fpb-preset-compact-vertical .fpb-cat {
  margin-bottom: 6px;
}

.fpb-preset-compact-vertical .fpb-title {
  margin-top: 0;
  margin-bottom: 0;
}

.fpb-preset-compact-vertical .fpb-pricebox-discount-slot--individual-vertical {
  margin-top: 1px;
  margin-bottom: 4px;
}

.fpb-preset-compact-vertical .fpb-rows {
  flex: 0 0 auto;
}

.fpb-preset-compact-vertical .fpb-row {
  flex: 0 0 auto;
  gap: 6px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.fpb-preset-compact-vertical .fpb-store {
  min-height: 28px;
  margin-top: 0 !important;
}

.fpb-preset-compact-vertical .fpb-store-badges {
  gap: 6px;
}

.fpb-preset-compact-vertical .fpb-offer {
  gap: 4px;
}

.fpb-preset-compact-vertical .fpb-btn {
  min-height: 44px;
  margin-top: 2px;
}

.fpb-preset-compact-vertical .fpb-report {
  margin-top: 8px;
  padding-top: 8px;
}

@media (max-width: 480px) {
  .fpb-preset-compact-vertical {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .fpb-preset-compact-vertical .fpb-left {
    margin-bottom: 9px;
  }

  .fpb-preset-compact-vertical .fpb-row {
    gap: 7px;
    padding-top: 9px;
    padding-bottom: 9px;
  }
}


/* APB 1.16.596 — Compact Vertical discount-slot alignment and Gutenberg single-store trophy parity. */
.fpb-preset-compact-vertical .fpb-pricebox-discount-slot--individual-vertical {
  min-height: 16px;
  flex: 0 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fpb-preset-compact-vertical .fpb-pricebox-discount-slot--individual-vertical.is-empty {
  visibility: hidden;
}
.fpb-preset-compact-vertical .fpb-row,
.fpb-preset-compact-vertical .fpb-store,
.fpb-preset-compact-vertical .fpb-store-badges {
  min-width: 0;
}

/* APB 1.16.597 — Compact Vertical optional element slot stability contract. */
.fpb-preset-compact-vertical .fpb-compact-vertical-label-slot {
  width: 100%;
  min-height: 27px;
  flex: 0 0 27px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 6px;
}
.fpb-preset-compact-vertical .fpb-compact-vertical-label-slot .fpb-cat {
  margin: 0;
}
.fpb-preset-compact-vertical .fpb-compact-vertical-label-slot.is-empty {
  background: transparent;
  border: 0;
  box-shadow: none;
  pointer-events: none;
}

/* APB 1.16.597-R1 — Compact Vertical report email form containment fix.
 * Scope: Compact Vertical only. Keeps the expanded report panel, copy, email input,
 * submit button, feedback, and focus states inside the card without changing report logic.
 */
.fpb-preset-compact-vertical .fpb-report,
.fpb-preset-compact-vertical .fpb-report-panel,
.fpb-preset-compact-vertical .fpb-report-form,
.fpb-preset-compact-vertical .fpb-report-text,
.fpb-preset-compact-vertical .fpb-report-message {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.fpb-preset-compact-vertical .fpb-report-panel {
  margin-left: 0;
  margin-right: 0;
}

.fpb-preset-compact-vertical .fpb-report-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex-wrap: nowrap;
}

.fpb-preset-compact-vertical .fpb-report-email {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  flex: 0 1 auto;
  box-sizing: border-box;
}

.fpb-preset-compact-vertical .fpb-report-submit {
  width: auto;
  max-width: 100%;
  min-width: 0;
  align-self: flex-start;
  box-sizing: border-box;
}

.fpb-preset-compact-vertical .fpb-report-text,
.fpb-preset-compact-vertical .fpb-report-message {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

@media (max-width: 480px) {
  .fpb-preset-compact-vertical .fpb-report-submit {
    width: 100%;
    align-self: stretch;
  }
}



/* APB 1.16.598-R2 — SHOWCASE FIRST OFFER TOP SPACING REFINEMENT
 * Reduces only the Showcase discount-to-first-offer gap by 5px; offer internals and later rows are unchanged.
 */

/* APB 1.16.598-R1 — SHOWCASE BALANCED DENSITY AND OFFER ROW PROPORTION FIX
 * Scope: Showcase/compact-card only across frontend and Gutenberg.
 * Rebalances the 1.16.598 density pass: smaller image, restored header breathing room,
 * tighter offer grouping, and true 44px border-box CTAs without changing behavior.
 */
.fpb-preset-compact-card {
  padding-top: 14px;
  padding-bottom: 14px;
}

.fpb-preset-compact-card .fpb-left {
  margin-bottom: 12px;
}

.fpb-preset-compact-card .fpb-product-img {
  width: 184px;
  height: 184px;
}

.fpb-preset-compact-card .fpb-head {
  margin-bottom: 12px;
  gap: 5px;
}

.fpb-preset-compact-card .fpb-cat {
  margin-bottom: 7px;
}

.fpb-preset-compact-card .fpb-title {
  margin-top: 0;
  margin-bottom: 0;
}

.fpb-preset-compact-card .fpb-pricebox-discount-slot--showcase {
  margin-top: 2px;
  margin-bottom: 3px;
}

.fpb-preset-compact-card .fpb-row-compact-card {
  gap: 5px;
  padding-top: 9px;
  padding-bottom: 9px;
}

.fpb-preset-compact-card .fpb-store-badges {
  gap: 5px;
  margin-bottom: 0;
}

.fpb-preset-compact-card .fpb-offer {
  gap: 3px;
}

.fpb-preset-compact-card .fpb-ref {
  line-height: 1.35;
}

.fpb-preset-compact-card .fpb-btn {
  box-sizing: border-box;
  min-height: 44px;
  padding: 9px 14px;
  margin-top: 4px;
  line-height: 1.2;
}

.fpb-preset-compact-card .fpb-note {
  margin-top: 7px;
  line-height: 1.4;
}

.fpb-preset-compact-card .fpb-report {
  margin-top: 7px;
  padding-top: 7px;
}

@media (max-width: 480px) {
  .fpb-preset-compact-card {
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .fpb-preset-compact-card .fpb-left {
    margin-bottom: 12px;
  }

  .fpb-preset-compact-card .fpb-product-img {
    width: 180px;
    height: 180px;
  }

  .fpb-preset-compact-card .fpb-row-compact-card {
    gap: 6px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .fpb-preset-compact-card .fpb-btn {
    min-height: 44px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
}


/* APB 1.16.599 — CLASSIC PRESET DENSITY AND VERTICAL SPACING OPTIMIZATION
   Scope: standard/classic layout only. Functional rendering remains unchanged. */
.fpb-preset-classic{
  gap:12px;
  padding:12px;
}
.fpb-preset-classic .fpb-product-img{
  width:200px;
  height:200px;
  max-width:100%;
  max-height:200px;
  object-fit:contain;
}
.fpb-preset-classic .fpb-head{
  margin-bottom:6px;
}
.fpb-preset-classic .fpb-title{
  margin-top:6px;
}
.fpb-preset-classic .fpb-pricebox-discount-slot--comparison{
  margin-top:3px;
  margin-bottom:2px;
}
.fpb-preset-classic .fpb-row{
  padding:7px 0;
  gap:10px;
}
.fpb-preset-classic .fpb-store-badges{
  gap:7px;
}
.fpb-preset-classic .fpb-middle{
  padding-right:4px;
}
.fpb-preset-classic .fpb-offer{
  line-height:1.3;
}
.fpb-preset-classic .fpb-btn{
  min-height:42px;
  padding:9px 13px;
  box-sizing:border-box;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.fpb-preset-classic .fpb-note{
  margin-top:7px;
  line-height:1.4;
}
.fpb-preset-classic .fpb-report{
  margin-top:7px;
  padding-top:7px;
}
@media (max-width:720px){
  .fpb-preset-classic{
    gap:10px;
    padding:12px;
  }
  .fpb-preset-classic .fpb-product-img{
    width:min(220px,100%);
    height:220px;
    max-height:220px;
    object-fit:contain;
  }
  .fpb-preset-classic .fpb-row{
    padding:8px 0;
    gap:7px;
  }
  .fpb-preset-classic .fpb-btn{
    min-height:44px;
  }
}

/* APB 1.16.603 - Compact Horizontal density and vertical spacing optimization.
 * Scope is intentionally restricted to the Compact Horizontal semantic preset.
 */
.fpb-card.fpb-preset-compact-horizontal{
  padding:5px 9px !important;
  gap:8px !important;
  align-items:center !important;
}
.fpb-card.fpb-preset-compact-horizontal .fpb-left{
  align-self:center !important;
}
.fpb-card.fpb-preset-compact-horizontal .fpb-product-img{
  width:88px !important;
  height:88px !important;
  min-width:88px !important;
  object-fit:cover !important;
  border-radius:10px !important;
}
.fpb-card.fpb-preset-compact-horizontal .fpb-right{
  min-width:0 !important;
}
.fpb-card.fpb-preset-compact-horizontal .fpb-title{
  line-height:1.12 !important;
}
.fpb-card.fpb-preset-compact-horizontal .fpb-btn{
  box-sizing:border-box !important;
  min-height:40px !important;
  padding:7px 15px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
}
.fpb-card.fpb-preset-compact-horizontal .fpb-report{
  margin-top:2px !important;
  padding-top:3px !important;
}
.fpb-card.fpb-preset-compact-horizontal .fpb-report-link{
  min-height:28px !important;
  padding:5px 11px !important;
  line-height:1.15 !important;
  gap:4px !important;
}
.fpb-card.fpb-preset-compact-horizontal .fpb-report-panel{
  margin-top:6px !important;
}
.fpb-card.fpb-preset-compact-horizontal .fpb-store-name{
  line-height:1.2 !important;
}
@media (min-width:721px){
  .fpb-card.fpb-preset-compact-horizontal .fpb-right{
    row-gap:1px !important;
    column-gap:8px !important;
  }
  .fpb-card.fpb-preset-compact-horizontal .fpb-head{
    gap:6px !important;
  }
  .fpb-card.fpb-preset-compact-horizontal .fpb-head .fpb-title{
    max-width:280px !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
  }
  .fpb-card.fpb-preset-compact-horizontal .fpb-report{
    margin-top:1px !important;
    padding-top:3px !important;
  }
}
@media (max-width:720px){
  .fpb-card.fpb-preset-compact-horizontal{
    padding:8px 9px !important;
    gap:7px !important;
  }
  .fpb-card.fpb-preset-compact-horizontal .fpb-product-img{
    width:84px !important;
    height:84px !important;
    min-width:84px !important;
  }
  .fpb-card.fpb-preset-compact-horizontal .fpb-head .fpb-title{
    display:-webkit-box !important;
    -webkit-line-clamp:2 !important;
    -webkit-box-orient:vertical !important;
    overflow:hidden !important;
  }
  .fpb-card.fpb-preset-compact-horizontal .fpb-btn{
    min-height:44px !important;
  }
  .fpb-card.fpb-preset-compact-horizontal .fpb-report{
    margin-top:2px !important;
    padding-top:3px !important;
  }
}


/* APB 1.16.603-R2 - Compact Horizontal product content width expansion before CTA.
 * Removes the obsolete flexible spacer column while preserving the existing
 * badge -> title -> provider -> discount -> CTA sequence and card density. */
@media (min-width:721px){
  .fpb-card.fpb-preset-compact-horizontal .fpb-right{
    grid-template-columns:minmax(0, 1fr) auto auto !important;
    grid-template-areas:
      "head discount cta"
      "coupon coupon coupon"
      "report report report" !important;
    column-gap:8px !important;
  }
  .fpb-card.fpb-preset-compact-horizontal .fpb-head{
    width:100% !important;
    min-width:0 !important;
  }
  .fpb-card.fpb-preset-compact-horizontal .fpb-head .fpb-title{
    flex:1 1 auto !important;
    min-width:0 !important;
    max-width:none !important;
  }
  .fpb-card.fpb-preset-compact-horizontal .fpb-compact-horizontal-inline-store{
    flex:0 0 auto !important;
  }
  .fpb-card.fpb-preset-compact-horizontal .fpb-pricebox-discount-slot--individual-horizontal{
    grid-area:discount !important;
    margin:0 !important;
    padding-right:0 !important;
    justify-content:flex-start !important;
    white-space:nowrap !important;
  }
  .fpb-card.fpb-preset-compact-horizontal .fpb-compact-horizontal-spacer{
    display:none !important;
  }
  .fpb-card.fpb-preset-compact-horizontal .fpb-coupon{
    grid-area:coupon !important;
  }
}


/* APB 1.16.603-R3 - Compact Horizontal intrinsic title width and sequential metadata flow fix.
 * Short titles keep their natural width; long titles may shrink and ellipsize.
 * Remaining free space stays after the metadata sequence and before the CTA. */
@media (min-width:721px){
  .fpb-card.fpb-preset-compact-horizontal .fpb-head .fpb-title{
    flex:0 1 auto !important;
    width:auto !important;
    min-width:0 !important;
    max-width:100% !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
  }
  .fpb-card.fpb-preset-compact-horizontal .fpb-compact-horizontal-inline-store,
  .fpb-card.fpb-preset-compact-horizontal .fpb-pricebox-discount-slot--individual-horizontal{
    flex:0 0 auto !important;
  }
}

/* APB 1.16.612 - Compact Horizontal desktop coupon right alignment.
 * Keep the coupon associated with the right-aligned CTA while preserving the
 * existing centered stacked composition at the mobile breakpoint. */
@media (min-width:721px){
  .fpb-card.fpb-preset-compact-horizontal .fpb-coupon{
    justify-self:end !important;
    text-align:right !important;
  }
}

/* APB 1.16.613-R2 - Elementor Compact Horizontal provider logo main-row restore.
 * The provider remains a flex child of the heading; it must not inherit the
 * legacy outer-grid `store` placement inside Elementor's canvas or frontend. */
@media (min-width:721px){
  .elementor-widget-affiliate_pricebox .fpb-card.fpb-preset-compact-horizontal .fpb-head,
  .elementor-element[data-widget_type="affiliate_pricebox.default"] .fpb-card.fpb-preset-compact-horizontal .fpb-head{
    display:inline-flex !important;
    flex-direction:row !important;
    align-items:center !important;
    flex-wrap:nowrap !important;
  }
  .elementor-widget-affiliate_pricebox .fpb-card.fpb-preset-compact-horizontal .fpb-head > .fpb-compact-horizontal-inline-store,
  .elementor-element[data-widget_type="affiliate_pricebox.default"] .fpb-card.fpb-preset-compact-horizontal .fpb-head > .fpb-compact-horizontal-inline-store{
    grid-area:auto !important;
    display:inline-flex !important;
    position:static !important;
    width:auto !important;
    margin:0 !important;
    align-self:center !important;
    flex:0 0 auto !important;
  }
}

/* APB 1.16.613-R3 - Compact Horizontal provider direct-child definitive flow.
 * This semantic preset rule does not depend on an Elementor wrapper name.
 * It wins after the legacy grid contract and keeps the nested provider in the
 * same real heading row in Elementor, shortcode, Gutenberg, and frontend. */
@media (min-width:721px){
  .fpb-card.fpb-preset-compact-horizontal .fpb-head{
    display:inline-flex !important;
    flex-direction:row !important;
    align-items:center !important;
    flex-wrap:nowrap !important;
  }
  .fpb-card.fpb-preset-compact-horizontal .fpb-head > .fpb-compact-horizontal-inline-store{
    grid-area:unset !important;
    grid-column:auto !important;
    grid-row:auto !important;
    display:inline-flex !important;
    position:static !important;
    width:auto !important;
    max-width:max-content !important;
    margin:0 !important;
    align-self:center !important;
    flex:0 0 auto !important;
    order:0 !important;
  }
  .fpb-card.fpb-preset-compact-horizontal .fpb-head > .fpb-compact-horizontal-inline-store .fpb-store-badges{
    display:inline-flex !important;
    align-items:center !important;
    flex-wrap:nowrap !important;
    width:auto !important;
    margin:0 !important;
  }
}

/* APB 1.16.613-R5 - Compact Horizontal atomic title/provider identity.
 * Exclusive classes prevent every legacy store, badges, winner, showcase,
 * and grid-positioning selector from addressing the provider identity. */
@media (min-width:721px){
  .fpb-card.fpb-preset-compact-horizontal .fpb-head > .fpb-compact-horizontal-title-provider{
    display:inline-flex !important;
    flex:0 1 auto !important;
    flex-direction:row !important;
    align-items:center !important;
    flex-wrap:nowrap !important;
    gap:6px !important;
    width:auto !important;
    min-width:0 !important;
    max-width:100% !important;
    margin:0 !important;
    padding:0 !important;
    position:static !important;
    grid-area:unset !important;
  }
  .fpb-card.fpb-preset-compact-horizontal .fpb-compact-horizontal-title-provider > .fpb-title{
    flex:0 1 auto !important;
    min-width:0 !important;
    margin:0 !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
  }
  .fpb-card.fpb-preset-compact-horizontal .fpb-compact-horizontal-provider-identity{
    display:inline-flex !important;
    flex:0 0 auto !important;
    align-items:center !important;
    justify-content:flex-start !important;
    width:auto !important;
    margin:0 !important;
    padding:0 !important;
    position:static !important;
    grid-area:unset !important;
    transform:none !important;
    line-height:1 !important;
  }
  .fpb-card.fpb-preset-compact-horizontal .fpb-compact-horizontal-provider-logo{
    display:block !important;
    flex:0 0 auto !important;
    width:auto !important;
    height:auto !important;
    max-width:64px !important;
    max-height:22px !important;
    margin:0 !important;
    padding:0 !important;
    position:static !important;
    transform:none !important;
    object-fit:contain !important;
  }
  .fpb-card.fpb-preset-compact-horizontal .fpb-compact-horizontal-provider-name{
    display:inline-block !important;
    margin:0 !important;
    font-size:12px !important;
    font-weight:700 !important;
    line-height:1.1 !important;
    white-space:nowrap !important;
  }
}

/* APB 1.16.604 — ALL PRESETS PRODUCT IMAGE SUBTLE HOVER EMPHASIS
 * Product-image-only interaction. Store logos, badges, trophies, CTAs, and card layout are untouched.
 */
.fpb-card .fpb-product-image-frame{
  display:block;
  max-width:100%;
  line-height:0;
  overflow:hidden;
  border-radius:12px;
  box-shadow:0 2px 8px rgba(15,23,42,.06);
  transition:box-shadow 240ms ease;
}
.fpb-card .fpb-product-image-frame .fpb-product-img{
  display:block;
  transform:scale(1);
  transform-origin:center;
  transition:transform 240ms cubic-bezier(.2,.7,.2,1), filter 240ms ease;
}
.fpb-card.fpb-preset-compact-horizontal .fpb-product-image-frame{
  border-radius:10px;
}
@media (hover:hover) and (pointer:fine){
  .fpb-card .fpb-product-image-frame:hover{
    box-shadow:0 8px 22px rgba(15,23,42,.16);
  }
  .fpb-card .fpb-product-image-frame:hover .fpb-product-img{
    transform:scale(1.04);
    filter:saturate(1.04) contrast(1.02);
  }
  .fpb-card.fpb-preset-compact-vertical .fpb-product-image-frame:hover .fpb-product-img,
  .fpb-card.fpb-preset-compact-horizontal .fpb-product-image-frame:hover .fpb-product-img{
    transform:scale(1.035);
  }
}
@media (prefers-reduced-motion:reduce){
  .fpb-card .fpb-product-image-frame,
  .fpb-card .fpb-product-image-frame .fpb-product-img{
    transition:none !important;
  }
  .fpb-card .fpb-product-image-frame:hover .fpb-product-img{
    transform:scale(1) !important;
    filter:none !important;
  }
}

/* APB 1.16.605 — CTA NON-DESTRUCTIVE HOVER EMPHASIS COMPOSITION CONTRACT
 * Scope: Price Box primary CTAs only. Adds shadow/filter emphasis without
 * replacing transform, animation, keyframes, markup, dimensions, or tracking.
 */
.fpb-card .fpb-btn{
  --fpb-cta-hover-shadow:0 8px 18px rgba(15,23,42,.20);
  --fpb-cta-hover-filter:brightness(1.04) saturate(1.03);
}

.fpb-card .fpb-btn{
  transition:opacity 220ms ease,box-shadow 220ms ease,filter 220ms ease,border-color 220ms ease;
}

@media (hover:hover) and (pointer:fine){
  .fpb-card .fpb-btn:not(.fpb-btn--disabled):hover{
    box-shadow:var(--fpb-cta-hover-shadow);
    filter:var(--fpb-cta-hover-filter);
  }
}

.fpb-card .fpb-btn:not(.fpb-btn--disabled):focus-visible{
  box-shadow:var(--fpb-cta-hover-shadow);
  filter:var(--fpb-cta-hover-filter);
}

@media (prefers-reduced-motion:reduce){
  .fpb-card .fpb-btn{
    transition:none;
  }
}

/* APB 1.16.608-R1 — Frontend Report Link Typography Parity Definitive Fix.
 * Typography-only contract. Layout, spacing, divider and report behavior stay preset-owned. */
.fpb-card .fpb-report-link {
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
}


/* APB 1.16.610 — Compact Vertical small-set centering with standard multi-row flow. */
@media (min-width:1025px){
  .fpb-compact-vertical-grid.fpb-compact-vertical-grid--count-1{
    grid-template-columns:minmax(0,calc((100% - 36px)/4));
    justify-content:center;
  }
  .fpb-compact-vertical-grid.fpb-compact-vertical-grid--count-2{
    grid-template-columns:repeat(2,minmax(0,calc((100% - 36px)/4)));
    justify-content:center;
  }
  .fpb-compact-vertical-grid.fpb-compact-vertical-grid--count-3{
    grid-template-columns:repeat(3,minmax(0,calc((100% - 36px)/4)));
    justify-content:center;
  }
}
