.abra-tiered-banner-block { width: 100%; } .abra-tiered-banner { background-color: var(--abra-banner-background-color, transparent); border-radius: var(--abra-tiered-banner-border-radius, 0); border: var(--abra-tiered-banner-border-size, 1px) solid var(--abra-tiered-banner-border-color, transparent); color: var(--abra-tiered-banner-color, #000000); display: none; flex-direction: column; font-size: var(--abra-tiered-banner-font-size, 14px); gap: 0.5em; justify-content: center; margin: var(--abra-tiered-banner-margin-y, 0) var(--abra-tiered-banner-margin-x, 0); padding: var(--abra-banner-padding-y, 14px) var(--abra-banner-padding-x, 14px) max(var(--abra-banner-padding-y, 14px), 36px); width: 100%; } #UpcartPopup .abra-tiered-banner { padding: 30px 40px; } .abra-tiered-banner--show { display: flex; } .abra-tiered-banner__content { align-items: center; display: flex; flex: 1; gap: 1rem; justify-content: var(--abra-tiered-banner-justify-content, center); } .abra-tiered-banner__text { color: var(--abra-tiered-banner-progress-bar-text-and-icon-color, #000000); font-size: var(--abra-tiered-banner-progress-bar-text-size, 13px); display: block; margin: 0; padding: 0; } .abra-tiered-banner__icon { display: flex; font-size: var(--abra-tiered-banner-progress-bar-icon-size, 1em); } .abra-tiered-banner__icon, .abra-tiered-banner__icon svg { color: var(--abra-tiered-banner-progress-bar-text-and-icon-color, #000000); fill: var(--abra-tiered-banner-progress-bar-text-and-icon-color, #000000); width: var(--abra-tiered-banner-progress-bar-icon-size, 1em); height: var(--abra-tiered-banner-progress-bar-icon-size, 1em); } .abra-tiered-banner__tiers_container { width: 100%; height: 40px; max-width: calc(100% - 13px); align-self: start; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; } .abra-tiered-banner__tiers { width: 100%; position: relative; } .abra-tiered-banner__tiers_progress_bar { width: 100%; height: 6px; position: absolute; top: 12px; left: 0; border-radius: 50px; content: ' '; margin: 0 auto; background: var( --abra-tiered-banner-progress-bar-color, rgba(17, 158, 82, 0.25) ); display: block !important; } .abra-tiered-banner__tiers_progress_bar::after { animation: width 300ms linear; background: var( --abra-tiered-banner-progress-bar-active-color, rgba(17, 158, 82, 1) ); border-radius: 50px; content: ' '; display: block; position: absolute; height: 6px; top: 0; /* Align relative to the parent */ left: 0; width: var(--abra-banner-progress-bar-progress, 0%); } .abra-tiered-banner__tiers_progress_bar_circle { width: 26px; height: 26px; position: absolute; top: 3px; background: var(--abra-tiered-banner-reward-tier-color, #cfecdc); border-radius: 50%; box-shadow: none; display: flex !important; justify-content: center; align-items: center; } .abra-tiered-banner__tiers_progress_bar_circle.active { background: var(--abra-tiered-banner-active-reward-tier-color, #119e52); } .abra-tiered-banner__tiers__tier_text-box { position: absolute; top: 40px; border-radius: 6px 0 6px 6px; display: flex; white-space: nowrap; overflow: visible; justify-content: center; align-items: center; text-align: center; color: var(--abra-tiered-banner-reward-tier-text-color, #000000); font-weight: var(--abra-tiered-banner-progress-bar-font-weight, 700); } .abra-tiered-banner__tiers_progress_bar_circle .circle-icon { width: 14px; height: 14px; fill: var(--abra-tiered-banner-reward-tier-icon-color, #000000); } .abra-tiered-banner__tiers_progress_bar_circle.active .circle-icon { width: 14px; height: 14px; fill: var(--abra-tiered-banner-active-reward-tier-icon-color, #ffffff); } .abra-tiered-banner--gifts_container { background-color: var(--abra-tiered-banner-progress-bar-color, #119e5233); border-radius: var(--abra-tiered-banner-border-radius, 0); border: var(--abra-tiered-banner-border-size, 1px) solid var(--abra-tiered-banner-border-color, transparent); color: var(--abra-tiered-banner-color); display: flex; flex-direction: row-reverse; gap: 1em; justify-content: center; margin: var(--abra-tiered-banner-margin-y, 0) var(--abra-tiered-banner-margin-x, 0); padding: var(--abra-gift-padding-y, 1em) var(--abra-gift-padding-x, 1em); width: 100%; } .abra-tiered-banner--gifts_container-content { display: flex; flex-direction: column; flex: 1; justify-content: center; } .abra-tiered-banner--gifts_container-badges { display: flex; } .abra-tiered-banner--gifts_container__badge { align-items: center; border-radius: var(--abra-tiered-banner-gift-badge-border-radius, 48px); color: var(--abra-tiered-banner-gift-badge-text-and-icon-color); display: flex; font-size: var(--abra-tiered-banner-gift-badge-text-size, 0.75em); grid-area: badges; justify-content: center; padding: 0.4em 1em; background: var(--abra-tiered-banner-gift-badge-background-color, #119e52); line-height: normal; } .abra-tiered-banner--gifts_container__badge-icon { font-size: var(--abra-tiered-banner-gift-badge-icon-size, 1em); } .abra-tiered-banner--gifts_container__badge-icon .abra-icon { color: var(--abra-tiered-banner-gift-badge-text-and-icon-color, #ffffff); fill: var(--abra-tiered-banner-gift-badge-text-and-icon-color, #ffffff); width: var(--abra-tiered-banner-gift-badge-icon-size, 20px); height: var(--abra-tiered-banner-gift-badge-icon-size, 20px); } .abra-tiered-banner--gifts_container-title { color: var(--abra-tiered-banner-gift-product-name-color); font-size: var(--abra-tiered-banner-gift-product-name-text-size, 1.1em); font-weight: bold; margin-bottom: 0; } .abra-tiered-banner--gifts_container-price { color: var(--abra-tiered-banner-gift-product-price-color); font-size: var(--abra-tiered-banner-gift-product-price-text-size); } .abra-tiered-banner--gifts_container-selected-variant-title { color: var(--abra-tiered-banner-gift-product-price-color); font-size: var(--abra-tiered-banner-gift-product-price-text-size); } .abra-tiered-banner--gifts_container-image { display: flex; flex-direction: column; max-width: 90px; justify-content: center; } .abra-tiered-banner--gifts_container-image img { display: block; max-width: 100%; height: auto; } .abra-tiered-banner--gifts_container-image-placeholder { display: flex; align-items: center; justify-content: center; width: 90px; height: 90px; background: white; border-radius: 8px; fill: #8a8a8a; } .abra-tiered-banner--gifts_container-image-placeholder svg { width: 42px; height: 42px; } .abra-tiered-banner--gifts_container-gift-added-container { display: flex; align-items: center; justify-content: center; font-size: calc( var(--abra-tiered-banner-gift-product-name-text-size, 1.1em) * 0.8 ); gap: 0.5rem; } .abra-tiered-banner--gifts_container-gift-added-checkmark { width: 24px; height: 24px; background: var(--abra-tiered-banner-active-reward-tier-color, #119e52); border-radius: 50%; box-shadow: none; display: flex !important; justify-content: center; align-items: center; } .abra-tiered-banner--gifts_container-gift-added-checkmark .circle-icon { width: 14px; height: 14px; fill: var(--abra-tiered-banner-active-reward-tier-icon-color, #ffffff); } .abra-tiered-banner--gifts_container-badges-multi-variant { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-bottom: 1rem; } .abra-tiered-banner--gifts_container-variants-and-price { display: flex; flex-direction: column; gap: 0.5rem; align-items: stretch; } .abra-tiered-banner--gifts_container-variants-and-price .abra-tiered-banner--gifts_container-variants { flex-grow: 1; } .abra-tiered-banner--gifts_container-variant-name { color: var(--abra-banner-discount-price-color); font-size: var(--abra-banner-discount-price-font-size); display: flex; align-items: center; } .abra-tiered-banner--gifts_container-variants-and-price select { padding: var(--abra-banner-variant-select-padding-y, 8px) var(--abra-banner-variant-select-padding-x, 16px); width: 100%; /* Ensure the select takes up all available width */ border: var(--abra-banner-variant-select-border-width, 1px) solid var(--abra-banner-variant-select-border-color, #8a8a8a); border-radius: var(--abra-banner-variant-select-border-radius, 4px); } .abra-tiered-banner--gifts_container-variant-add { margin-top: var(--abra-banner-variant-add-top-margin, 10px); padding: var(--abra-banner-variant-add-padding-y, 6px) var(--abra-banner-variant-add-padding-x, 16px); color: var(--abra-banner-variant-add-color, #ffffff); background-color: var(--abra-banner-variant-add-background, #000000); border: var(--abra-banner-variant-add-border-width, 0px) solid var(--abra-banner-variant-add-border-color, #8a8a8a); border-radius: var(--abra-banner-variant-add-border-radius, 4px); cursor: pointer; } .abra-tiered-banner--gifts_container-variant-add:disabled { cursor: not-allowed; color: var(--abra-banner-variant-add-disabled-color, #ffffff); background-color: var(--abra-banner-variant-add-disabled-background, #000000); opacity: 0.5; } .abra-tiered-banner--gifts_container-variant-add.loading { pointer-events: none; color: var(--abra-banner-variant-add-disabled-color, #8c9196); background-color: var(--abra-banner-variant-add-disabled-background, #f1f1f1); } .abra-tiered-banner__tiers_progress_bar_circle .tooltip { display: none; position: absolute; bottom: 40px; right: 0; transform: translateX(0); background-color: white; color: black; padding: 4px 8px; border-radius: 8px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); white-space: nowrap; } .abra-tiered-banner__tiers_progress_bar_circle .tooltip::after { content: ''; position: absolute; top: 100%; right: 6px; transform: translateX(0); border-width: 8px; border-style: solid; border-color: white transparent transparent transparent; } .abra-tiered-banner__tiers_progress_bar_circle .tooltip::before { content: ''; position: absolute; top: 100%; right: 6px; transform: translateX(0); border-width: 8px; border-style: solid; border-color: rgba(0, 0, 0, 0.2) transparent transparent transparent; z-index: -1; } .abra-tiered-banner__tiers_progress_bar_circle:hover .tooltip { display: block; } .abra-banner__badge-label { text-align: center; } /* Tier Popover Styles */ .abra-tier-popover-banner { background-color: var(--abra-banner-background-color, white); color: var(--abra-tiered-banner-color, #000000); padding: 16px; position: relative; border-radius: 8px; border: 1px solid #e1e1e1; box-shadow: 1px 4px 20px rgba(0, 0, 0, 0.2); width: 100%; box-sizing: border-box; display: flex; flex-direction: column; gap: 0.5em; } .abra-tier-popover-arrow { position: absolute; top: -8px; width: 16px; height: 16px; background-color: var(--abra-banner-background-color, white); border-top: 1px solid #e1e1e1; border-left: 1px solid #e1e1e1; border-bottom: none; border-right: none; transform: rotate(45deg); display: block; z-index: 101; box-shadow: -2px -2px 4px rgba(0, 0, 0, 0.05); } .abra-tiered-banner__tier-title-inline { display: flex; align-items: center; gap: 0.5rem; } .abra-tier-popover-banner .abra-tiered-banner__text { display: flex; align-items: center; justify-content: center; gap: 1rem; } .abra-tier-popover-banner .tier-icon-placeholder, .abra-tier-popover-banner .abra-tiered-banner__icon-banner { display: contents; } /* List styles for tier benefits */ .abra-tier-popover-banner ul { margin: 8px 0 0 0; padding-left: 16px; } .abra-tier-popover-banner li { margin: 4px 0; color: var(--abra-tiered-banner-color, #000000); } /* Badge styles for popover */ .abra-tiered-banner__badge-top-right { position: absolute; top: 8px; right: 8px; background: #fff; border-radius: 60px; font-weight: 500; padding: 2px 8px; display: flex; gap: 6px; align-items: center; } .abra-tiered-banner__badge-top-right--success { background-color: var(--abra-tiered-banner-active-reward-tier-color, #119e52); color: var(--abra-tiered-banner-active-reward-tier-text-color, #ffffff); } .abra-tiered-banner__badge-top-right--locked { background-color: #f5f5f5; } .abra-tiered-banner__badge-top-right .circle-icon { width: 12px; height: 12px; } .abra-tiered-banner__badge-top-right--success .circle-icon { fill: var(--abra-tiered-banner-active-reward-tier-icon-color, #ffffff); } .abra-tiered-banner__text p { margin: 0; } /* Gift Content Styles */ .abra-tiered-banner--gifts_container { margin-top: 16px; } .abra-tiered-banner--gifts_container-image img { object-fit: cover; border-radius: 4px; } .abra-tiered-banner--gifts_container-image .gift-placeholder { width: 90px; height: 90px; background: #f0f0f0; border-radius: 4px; display: flex; align-items: center; justify-content: center; color: #999; font-size: 12px; text-align: center; } .abra-tiered-banner a { color: inherit; }