.bgw-product-panel,
.bgw-thank-you-panel,
.bgw-mini-panel {box-sizing: border-box;border: 1px solid #dfe4ec;border-radius: 8px;background: linear-gradient(145deg, #ffffff 0%, #fbfcff 100%);color: #111827;box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);}
.bgw-product-panel,
.bgw-thank-you-panel {max-width: 520px;margin: 18px 0;padding: 18px;}
.bgw-thank-you-panel{max-width: 100%;text-align: center;position: relative;background: #f0fdf4;border: 1px solid #dcfce7;box-shadow: 0 10px 30px -20px #10b981;border-radius: 16px;padding: 32px;margin: 0 0 32px;}
.bgw-product-panel{background: #f0fdf4; border-color: #dcfce7;box-shadow: 0 10px 30px -20px #10b981;border-radius: 16px; padding: 32px;}
.bgw-live {margin: 0 0 12px;color: #10b981;font-weight: 900;font-size: 24px;display: flex;align-items: center;justify-content: center;gap: 12px;font-family: sans-serif;line-height: 1;}
.bgw-earn-label {margin: 0 0 8px;color: #116d20;}
.bgw-entry-line {margin: 0;font-size: 1rem;line-height: 1.25;display: flex;align-items: center;gap: 6px;justify-content: center;}
.bgw-entry-line strong {color: inherit;}
.bgw-bonus {margin: 8px 0 14px;color: #6519c9;font-weight: 700;}
.bgw-rule-card {display: inline-block;min-width: min(100%, 260px);padding: 13px 15px;border: 1px solid #e2e7ef;border-radius: 6px;background: #ffffff;}
.bgw-rule-card p,
.bgw-thank-you-panel p {margin: 0 0 7px;}
.bgw-rule-card p:last-child,
.bgw-thank-you-panel p:last-child {margin-bottom: 0;}
.giveaway-for-woocommerce-cart-entries td {padding-top: 14px;padding-bottom: 14px; width: 100%;}
.bgw-mini-panel {position: relative;margin: 10px 0;padding: 20px 22px 20px 76px;border-color: #bfe6c4;background: linear-gradient(145deg, #f5fff6 0%, #effbf0 100%);text-align: center;}
.bgw-mini-icon {position: absolute;top: 26px;left: 25px;font-size: 2rem;line-height: 1;}
.bgw-mini-copy,
.bgw-entered,
.bgw-mini-panel small {display: block;}
.bgw-mini-panel strong {display: block;margin: 4px 0;color: #106b20;font-size: 1.55rem;line-height: 1.2;}
.bgw-mini-panel small {color: #6519c9;font-weight: 700;}
.bgw-entered {margin-top: 9px;color: #111827;}
.bgw-entered b {display: block;margin-top: 3px;font-size: 1.05rem;}
.bgw-breakdown {max-width: 760px;margin: 14px auto 0;padding: 10px 14px;border: 1px solid #cfead2;border-radius: 6px;background: rgba(255, 255, 255, 0.68);text-align: center;}
.bgw-breakdown span,
.bgw-breakdown strong,
.bgw-breakdown small {display: block;}
.bgw-breakdown span {color: #116d20;font-size: 0.86rem;font-weight: 700;}
.bgw-breakdown strong {margin-top: 3px;color: #111827;font-size: 0.98rem;line-height: 1.35;}
.bgw-breakdown small {margin-top: 2px;color: #374151;font-size: 0.84rem;}

.product-giveaway{position: relative;background: #f0fdf4;border: 1px solid #dcfce7;box-shadow: 0 10px 30px -20px #10b981;border-radius: 16px;padding: 32px;margin: 0 0 32px;}
.product-giveaway .title-wrapper{ display: flex;align-items: center;gap: 16px;margin: 0 0 24px;}
.product-giveaway .title-wrapper .icon{width: 40px; flex-shrink: 0; display: flex;}
.product-giveaway .title-wrapper .icon img{width:100%;}
.product-giveaway .title-wrapper .title{font-weight: 700; font-size: 1.5rem; font-family: sans-serif; line-height: 1; color: #020617;}
.product-giveaway .points-earning{position: relative; margin: 0;}
.product-giveaway .points-earning .label{font-weight: 700;font-size: 0.75rem;font-family: sans-serif;line-height: 1;}
.product-giveaway .points-earning .points{display: flex;align-items: center;gap: 8px;padding: 16px;background-color: #d1fae5;border: 1px solid #a7f3d0;border-radius: 8px; margin: 8px 0 0;}
.product-giveaway .points-earning .points .points-icon{width: 32px; flex-shrink: 0; display: flex;}
.product-giveaway .points-earning .points .points-icon img{width:100%;}
.product-giveaway .points-earning .points .points-content{ flex-shrink: 1; flex-grow: 1;}
.product-giveaway .points-earning .points .points-title{font-size: 1rem;font-weight: 600;color: #10b981;line-height: 1;}
.product-giveaway .points-earning .points .points-subtitle{font-size: 0.75rem;font-weight: 400;line-height: 1;font-style: italic;color: #64748b; margin: 4px 0 0;}
.product-giveaway .points-earning .points .points-count{flex-shrink: 0;font-size: 0.75rem; font-weight: 400; line-height: 1; font-style: italic; color: #64748b; text-align: center;}
.product-giveaway .points-earning .points .points-count span{display: block;font-style: normal;font-weight: 700;font-size: 1.5rem;color: #10b981;line-height: 1;}
.product-giveaway .note{ position: relative;text-align: center;line-height: 1;margin: 4px 0 0;}
.product-giveaway .note .note-text{ font-size: 0.7rem;line-height: 1.2;font-family: sans-serif;}
.product-giveaway .note .note-text strong{font-weight: 700;}


.checkout-giveaway{position: relative;background: #ffffff;border: 1px solid #efefef;box-shadow: 0 10px 30px -20px rgb(0 0 0 / 50%);border-radius: 16px;padding: 32px;margin: 8px 0 32px;}
.checkout-giveaway .title-wrapper{ display: flex;align-items: center;gap: 16px;margin: 0 0 24px;}
.checkout-giveaway .title-wrapper .icon{width: 40px; flex-shrink: 0; display: flex;}
.checkout-giveaway .title-wrapper .icon img{width:100%;}
.checkout-giveaway .title-wrapper .title{font-weight: 700; font-size: 1.5rem; font-family: sans-serif; line-height: 1; color: #020617;}
.checkout-giveaway .points-earning{position: relative; margin: 0;}
.checkout-giveaway .points-earning .label{font-weight: 700;font-size: 0.75rem;font-family: sans-serif;line-height: 1;}
.checkout-giveaway .points-earning .points{display: flex;align-items: center;gap: 8px;padding: 16px;background-color: #ecfdf5; border: 1px solid #a7f3d0;border-radius: 8px; margin: 8px 0 0;}
.checkout-giveaway .points-earning .points .points-icon{width: 32px; flex-shrink: 0; display: flex;}
.checkout-giveaway .points-earning .points .points-icon img{width:100%;}
.checkout-giveaway .points-earning .points .points-content{ flex-shrink: 1; flex-grow: 1;text-align: left;}
.checkout-giveaway .points-earning .points .points-title{font-size: 1rem;font-weight: 600;color: #10b981;line-height: 1;}
.checkout-giveaway .points-earning .points .points-subtitle{font-size: 0.75rem;font-weight: 400;line-height: 1;font-style: italic;color: #64748b; margin: 4px 0 0;}
.checkout-giveaway .points-earning .points .points-count{flex-shrink: 0;font-size: 0.75rem; font-weight: 400; line-height: 1; font-style: italic; color: #64748b; text-align: center;}
.checkout-giveaway .points-earning .points .points-count span{display: block;font-style: normal;font-weight: 700;font-size: 1.5rem;color: #10b981;line-height: 1;}
.checkout-giveaway .calculation{display: flex;align-items: center;gap: 8px;padding: 16px; background-color: #fffbeb; border: 1px solid #fde68a;border-radius: 8px; margin: 8px 0 0;}
.checkout-giveaway .calculation > div{width: 100%; text-align: left;}
.checkout-giveaway .calculation .calculation-title{font-size: 1rem;font-weight: 600;color: #64748b;line-height: 1;}
.checkout-giveaway .calculation .calculation-data{font-size: 1rem;font-weight: 700;line-height: 1;color: #f59e0b;margin: 4px 0 0;}
.checkout-giveaway .calculation .calculation-note{font-size: 0.75rem;font-weight: 400;line-height: 1;font-style: italic;color: #64748b; margin: 4px 0 0;}


.product-card-giveaway{display:inline-flex;align-items:center;gap:6px;margin:0 0 16px;font-family:sans-serif;font-size:14px;line-height:1;vertical-align:middle;color:#000;}
.product-card-giveaway__icon{display:inline-flex;align-items:center;justify-content:center;width:16px; aspect-ratio: 1/1; flex-shrink:0;}
.product-card-giveaway__icon img{display:block;width: 100% !important;height: 100% !important;object-fit: contain;}
.product-card-giveaway strong{display: inline-block; font-size: 14px; font-weight: 800; font-style: italic; line-height: 1; white-space: nowrap;}
.product-card-giveaway__multiplier{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:24px;padding:4px 9px;background:linear-gradient(to right, #78ffd6, #a8ff78);color:#000;font-size:14px;font-weight:900;font-style:italic;line-height:1;text-transform:lowercase; margin: 0 0 0 6px;}
.woocommerce ul.products li.product .product-card-giveaway,
.woocommerce-page ul.products li.product .product-card-giveaway{clear:both;}


.thank-you-panel{max-width: 100%;text-align: center;position: relative;background: #f0fdf4;border: 1px solid #dcfce7;box-shadow: 0 10px 30px -20px #10b981;border-radius: 16px;padding: 32px;margin: 0 0 32px;}
.thank-you-panel .title-wrapper{display: flex;align-items: center; flex-direction: column; justify-content: center; gap: 16px;margin: 0 0 24px;}
.thank-you-panel .title-wrapper .icon{width: 64px; flex-shrink: 0; display: flex;}
.thank-you-panel .title-wrapper .icon img{width:100%;}
.thank-you-panel .title-wrapper .title{font-weight: 700; font-size: 1.5rem; font-family: sans-serif; line-height: 1; color: #020617; text-align: center;}
.thank-you-panel .points{position: relative; margin: 0; text-align: center;}
.thank-you-panel .points .label{font-weight: 700;font-size: 0.75rem;font-family: sans-serif;line-height: 1;}
.thank-you-panel .points .data{font-size: 1rem;line-height: 1.25;}
.thank-you-panel .points .data strong{font-weight: 600;color: #10b981;}


.order-details-panel{max-width: 100%;display: flex;align-items: flex-end;justify-content: space-between;flex-wrap: wrap;position: relative;background: #f0fdf4;border: 1px solid #dcfce7;box-shadow: 0 10px 30px -20px #10b981;border-radius: 16px;padding: 32px;margin: 0 0 32px; gap: 16px;}
.order-details-panel .title-wrapper{display: flex;flex-direction: column;  gap: 4px;}
.order-details-panel .title-wrapper .title{font-weight: 700; font-size: 1.5rem; font-family: sans-serif; line-height: 1; color: #10b981;}
.order-details-panel .title-wrapper .subtitle{font-weight: 700;font-size: 0.75rem;font-family: sans-serif;line-height: 1;}
.order-details-panel .description{font-size: 1rem;line-height: 1.25;}
.order-details-panel .description strong{color: #020617;}
 
.dashboard-giveaway-panel{font-size: 1.25rem;}
.dashboard-giveaway-panel strong{}

@media (max-width: 1100px) {
  .bgw-breakdown {max-width: 100%}
}

@media (max-width: 640px) {
  .bgw-mini-panel {padding-left: 20px}
  .bgw-mini-icon {position: static;display: block;margin-bottom: 8px}
  .bgw-breakdown strong {font-size: 0.9rem}
}
