.gble-front {
    --gble-front-ink: #10223a;
    --gble-front-muted: #637188;
    --gble-front-surface: #f4f8fc;
    --gble-front-card: #ffffff;
    --gble-front-border: rgba(16, 34, 58, 0.12);
    --gble-front-accent: #0c8ff2;
    --gble-front-success: #16a34a;
    --gble-front-warning: #d97706;
    --gble-front-danger: #dc2626;
    --gble-front-radius: 22px;
    --gble-front-shadow: 0 18px 44px rgba(16, 34, 58, 0.08);
    color: var(--gble-front-ink);
    margin: 24px 0;
}

.gble-front,
.gble-front * {
    box-sizing: border-box;
}

.gble-front .gble-front-shell {
    display: grid;
    gap: 20px;
}

.gble-front .gble-front-hero,
.gble-front .gble-front-card {
    background: var(--gble-front-card);
    border: 1px solid var(--gble-front-border);
    border-radius: var(--gble-front-radius);
    box-shadow: var(--gble-front-shadow);
    padding: 24px;
}

.gble-front .gble-front-hero {
    background: linear-gradient(135deg, var(--gble-front-surface) 0%, #ffffff 100%);
}

.gble-front .gble-front-kicker,
.gble-front .gble-front-label {
    color: var(--gble-front-accent);
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.gble-front h2,
.gble-front h3,
.gble-front strong,
.gble-front p {
    margin: 0;
}

.gble-front h2,
.gble-front h3,
.gble-front strong {
    color: var(--gble-front-ink);
}

.gble-front p,
.gble-front span,
.gble-front li {
    color: var(--gble-front-muted);
}

.gble-front .gble-front-grid {
    display: grid;
    gap: 20px;
}

.gble-front .gble-front-grid--summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gble-front .gble-front-grid--detail {
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.9fr);
}

.gble-front .gble-front-card strong {
    display: block;
    font-size: 24px;
    margin-bottom: 8px;
}

.gble-front .gble-front-card-header,
.gble-front .gble-front-list-head,
.gble-front .gble-front-progress-meta {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.gble-front .gble-front-badge {
    align-items: center;
    background: var(--gble-front-surface);
    border: 1px solid var(--gble-front-border);
    border-radius: 999px;
    color: var(--gble-front-accent);
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    min-height: 32px;
    padding: 0 12px;
}

.gble-front .gble-front-progress {
    background: rgba(16, 34, 58, 0.08);
    border-radius: 999px;
    height: 14px;
    margin: 16px 0 10px;
    overflow: hidden;
}

.gble-front .gble-front-progress-bar {
    background: linear-gradient(90deg, var(--gble-front-accent) 0%, #7bc4ff 100%);
    display: block;
    height: 100%;
}

.gble-front .gble-front-list {
    display: grid;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.gble-front .gble-front-list li,
.gble-front .gble-front-placeholder,
.gble-front .gble-front-notice {
    background: var(--gble-front-surface);
    border: 1px solid var(--gble-front-border);
    border-radius: calc(var(--gble-front-radius) - 6px);
    padding: 16px;
}

.gble-front .gble-front-empty {
    color: var(--gble-front-muted);
}

.gble-front .gble-loyalty-note {
    background: linear-gradient(135deg, var(--gble-front-surface) 0%, #ffffff 100%);
    border: 1px solid var(--gble-front-border);
    border-radius: calc(var(--gble-front-radius) - 4px);
    box-shadow: 0 10px 26px rgba(16, 34, 58, 0.06);
    color: var(--gble-front-ink);
    margin: 16px 0;
    padding: 16px 18px;
}

.gble-front .gble-loyalty-note p,
.gble-front .gble-loyalty-note strong,
.gble-front .gble-loyalty-note em,
.gble-front .gble-front-notice p {
    color: inherit;
}

.gble-front .gble-front-login-link {
    color: var(--gble-front-accent);
    font-weight: 700;
    text-decoration: none;
}

.gble-front .gble-front-login-link:hover,
.gble-front .gble-front-login-link:focus-visible {
    text-decoration: underline;
}

.gble-front .gble-front-reward-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gble-front .gble-front-reward-card {
    gap: 12px;
}

.gble-front .gble-front-redeem-form,
.gble-front .gble-front-inline-form {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.gble-front .gble-front-button {
    align-items: center;
    background: var(--gble-front-accent);
    border: 1px solid var(--gble-front-accent);
    border-radius: calc(var(--gble-front-radius) - 8px);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.gble-front .gble-front-button:hover,
.gble-front .gble-front-button:focus-visible {
    box-shadow: 0 12px 24px rgba(12, 143, 242, 0.22);
    outline: none;
    transform: translateY(-1px);
}

.gble-front .gble-front-button[disabled] {
    cursor: default;
    opacity: 0.6;
    transform: none;
}

.gble-front .gble-front-button--ghost {
    background: #fff;
    border-color: var(--gble-front-border);
    color: var(--gble-front-ink);
}

.gble-front .gble-front-select {
    display: grid;
    gap: 8px;
}

.gble-front .gble-front-select select {
    border: 1px solid var(--gble-front-border);
    border-radius: calc(var(--gble-front-radius) - 10px);
    min-height: 42px;
    padding: 0 12px;
}

.gble-front .gble-front-status {
    color: var(--gble-front-muted);
    min-height: 22px;
}

.gble-front .gble-front-status.is-success {
    color: var(--gble-front-success);
}

.gble-front .gble-front-status.is-error {
    color: var(--gble-front-danger);
}

.gble-front .gble-front-modal {
    background: rgba(16, 34, 58, 0.38);
    inset: 0;
    padding: 24px;
    position: fixed;
    z-index: 9999;
}

.gble-front .gble-front-modal-card {
    background: #fff;
    border-radius: calc(var(--gble-front-radius) + 2px);
    box-shadow: 0 20px 50px rgba(16, 34, 58, 0.18);
    margin: 8vh auto 0;
    max-width: 520px;
    padding: 24px;
}

.gble-front .gble-front-modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.gble-front[data-gble-front-style="minimal"] .gble-front-hero,
.gble-front[data-gble-front-style="minimal"] .gble-front-card,
.gble-front[data-gble-front-style="minimal"] .gble-loyalty-note {
    box-shadow: none;
}

.gble-front[data-gble-front-style="minimal"] .gble-front-hero,
.gble-front[data-gble-front-style="minimal"] .gble-front-card {
    background: #fff;
}

.gble-front[data-gble-front-style="bar"] .gble-front-hero,
.gble-front[data-gble-front-style="bar"] .gble-front-card {
    border-radius: calc(var(--gble-front-radius) - 8px);
}

.gble-front[data-gble-front-style="bar"] .gble-loyalty-note {
    background: var(--gble-front-surface);
    border-left: 4px solid var(--gble-front-accent);
    border-radius: 14px;
    box-shadow: none;
    padding: 12px 16px;
}

.gble-front[data-gble-notice-style="bar"] .gble-loyalty-note {
    border-left: 4px solid var(--gble-front-accent);
    box-shadow: none;
}

.gble-front[data-gble-notice-style="popup"] .gble-loyalty-note {
    box-shadow: 0 16px 32px rgba(16, 34, 58, 0.16);
    max-width: 420px;
}

.gble-front-preview {
    margin: 0;
}

@media (max-width: 900px) {
    .gble-front .gble-front-grid--summary,
    .gble-front .gble-front-grid--detail,
    .gble-front .gble-front-reward-grid {
        grid-template-columns: 1fr;
    }

    .gble-front .gble-front-card-header,
    .gble-front .gble-front-list-head,
    .gble-front .gble-front-progress-meta,
    .gble-front .gble-front-modal-actions {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* ===== Light product notice styles ===== */

.gble-front-inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 13px;
    margin: 10px 0 12px;
    font-size: 14px;
    line-height: 1.35;
    color: var(--gble-front-ink, #10223a);
    background: var(--gble-front-surface, #f4f8fc);
    border: 1px solid var(--gble-front-border, rgba(16, 34, 58, 0.12));
    border-radius: calc(var(--gble-front-radius, 22px) - 10px);
}

.gble-front-inline__icon {
    color: var(--gble-front-accent, #0c8ff2);
    font-size: 10px;
    flex-shrink: 0;
}

.gble-front-value {
    color: var(--gble-front-accent, #0c8ff2);
    font-weight: 800;
}

.gble-front-muted {
    color: var(--gble-front-muted, #637188);
}

.gble-product-loyalty {
    flex-direction: column;
    align-items: flex-start;
}

.gble-product-loyalty__line {
    font-size: 13px;
    color: var(--gble-front-muted, #637188);
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid var(--gble-front-border, rgba(16, 34, 58, 0.08));
    width: 100%;
}

.gble-cart-loyalty {
    display: grid;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid var(--gble-front-border, rgba(16, 34, 58, 0.12));
    border-radius: calc(var(--gble-front-radius, 22px) - 10px);
    background: var(--gble-front-surface, #f4f8fc);
    font-size: 14px;
    line-height: 1.4;
    color: var(--gble-front-ink, #10223a);
    margin: 14px 0;
}

.gble-cart-loyalty__main {
    font-size: 15px;
}

.gble-cart-loyalty__row {
    font-size: 13px;
    color: var(--gble-front-muted, #637188);
    padding-top: 8px;
    border-top: 1px solid var(--gble-front-border, rgba(16, 34, 58, 0.08));
}

.gble-mini-cart-loyalty {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 8px;
    margin: 8px 0 4px;
    font-size: 12px;
    line-height: 1.3;
    color: var(--gble-front-ink, #10223a);
    background: var(--gble-front-surface, #f4f8fc);
    border: 1px solid var(--gble-front-border, rgba(16, 34, 58, 0.08));
    border-radius: 8px;
}

.gble-checkout-loyalty {
    display: grid;
    gap: 8px;
    padding: 12px 14px;
    border: 1px solid var(--gble-front-border, rgba(16, 34, 58, 0.12));
    border-radius: calc(var(--gble-front-radius, 22px) - 10px);
    background: var(--gble-front-surface, #f4f8fc);
    font-size: 13px;
    line-height: 1.4;
    color: var(--gble-front-ink, #10223a);
    margin: 10px 0;
}

.gble-price-preview {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    margin-top: 8px;
}

.gble-price-preview__regular {
    text-decoration: line-through;
    color: var(--gble-front-muted, #637188);
}

.gble-price-preview__discounted {
    color: var(--gble-front-success, #16a34a);
    font-weight: 800;
}

/* Keep existing .gble-loyalty-note for account panel aesthetics */
.gble-front[data-gble-front-style="inline"] .gble-loyalty-note {
    box-shadow: none;
    border-left: 3px solid var(--gble-front-accent);
    padding: 10px 13px;
    margin: 10px 0 12px;
    border-radius: 8px;
}

.gble-front[data-gble-front-style="inline"] .gble-loyalty-note p {
    font-size: 14px;
    line-height: 1.35;
}

/* Light product notice variant */
.gble-front .gble-product-notice-light {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 14px;
    margin: 10px 0 12px;
    font-size: 14px;
    line-height: 1.35;
    color: var(--gble-front-ink, #10223a);
    background: var(--gble-front-surface, #f4f8fc);
    border: 1px solid var(--gble-front-border, rgba(16, 34, 58, 0.12));
    border-radius: 12px;
}

.gble-front .gble-product-notice-light strong {
    color: var(--gble-front-accent, #0c8ff2);
    font-weight: 800;
}

.gble-loyalty-notice {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 10px 0 14px;
    padding: 10px 14px;
    border: 1px solid var(--gble-front-border, #e2e8f0);
    border-left: 3px solid var(--gble-front-accent, #0c8ff2);
    border-radius: var(--gble-front-radius, 10px);
    background: var(--gble-front-bg, #f8fbff);
    color: var(--gble-front-text, #334155);
    font-size: 14px;
    line-height: 1.45;
    box-shadow: none;
}

.gble-loyalty-notice p {
    margin: 0;
}

.gble-loyalty-notice p + p {
    margin-top: 5px;
}

.gble-highlight {
    color: var(--gble-front-accent, #0c8ff2);
    font-weight: 700;
}

.gble-loyalty-notice a {
    color: var(--gble-front-accent, #0c8ff2);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.gble-loyalty-notice--cart,
.gble-loyalty-notice--checkout {
    width: 100%;
    margin: 12px 0;
}

/* Product-specific: multiple lines */
.gble-front .gble-product-notice-light .gble-notice-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* ===== GBLE Storefront Loyalty UI v0.2.32 ===== */
.gble-storefront-box {
  --gble-front-accent: #0c8ff2;
  --gble-front-surface: #e8f3ff;
  --gble-front-ink: #111827;
  --gble-front-muted: #4b5563;
  --gble-front-border: #cfe5ff;
  display: block;
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
  margin: 12px 0 16px;
  padding: 15px 18px;
  border: 1px solid var(--gble-front-border);
  border-left: 5px solid var(--gble-front-accent);
  border-radius: 14px;
  background: var(--gble-front-surface);
  color: var(--gble-front-ink);
  font-size: 18px;
  line-height: 1.45;
  box-shadow: 0 8px 22px rgba(12, 143, 242, 0.10);
}
.gble-storefront-head { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; }
.gble-storefront-icon { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; flex: 0 0 26px; border-radius: 999px; background: var(--gble-front-accent); color: #fff; font-size: 14px; line-height: 1; font-weight: 900; }
.gble-storefront-title { display: inline-block; color: var(--gble-front-ink); font-size: 18px; font-weight: 900; line-height: 1.25; }
.gble-storefront-line { margin: 0; color: var(--gble-front-muted); font-size: inherit; line-height: inherit; font-weight: 600; }
.gble-storefront-box strong { color: var(--gble-front-accent); font-weight: 850; }
.gble-storefront-box a { color: var(--gble-front-accent); font-weight: 750; text-decoration: underline; text-underline-offset: 2px; }
.gble-loyalty-highlight { color: var(--gble-front-accent); font-weight: 850; }
.gble-storefront-box--product { clear: both; }
.gble-storefront-box--mini-cart { width: 100%; margin: 10px 0 12px; padding: 9px 11px; font-size: 13px; }
.gble-storefront-box--cart,
.gble-storefront-box--checkout { width: 100%; box-sizing: border-box; margin: 14px 0; }
.gble-storefront-debug { margin: 8px 0 14px; font-size: 12px; }
.gble-storefront-debug pre { white-space: pre-wrap; overflow: auto; max-height: 280px; background: #0a2540; color: #fff; border-radius: 10px; padding: 10px; }
.gble-style-pill { border-radius: 999px; padding: 8px 13px; }
.gble-style-outline { background: transparent; border: 1px solid var(--gble-front-border); border-left: 3px solid var(--gble-front-accent); }
.gble-style-minimal { background: transparent; border-color: transparent; border-left: 0; padding: 6px 0; }
.gble-style-notice { border-left-width: 4px; }
.gble-size-compact { font-size: 13px; padding: 9px 12px; }
.gble-size-normal { font-size: 14px; padding: 12px 15px; }
.gble-size-large { font-size: 15px; padding: 14px 17px; }
.gble-radius-small { border-radius: 8px; }
.gble-radius-medium { border-radius: 12px; }
.gble-radius-large { border-radius: 18px; }
.gble-radius-full { border-radius: 999px; }
.gble-shadow-none { box-shadow: none; }
.gble-shadow-subtle { box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08); }
.gble-shadow-medium { box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12); }

/* v0.2.45 â€” compact mini-cart loyalty */
.gble-mini-cart-loyalty { display: block; width: 100%; clear: both; margin: 8px 0 10px; padding: 0; background: transparent !important; border: 0 !important; box-shadow: none !important; }
.gble-mini-cart-loyalty .gble-storefront-box,
.gble-storefront-box--mini-cart { margin: 0 !important; padding: 10px 12px !important; width: 100%; font-size: 13px !important; line-height: 1.35 !important; background: transparent !important; border: 1px solid var(--gble-front-border, #b9dcff) !important; border-left: 4px solid var(--gble-front-accent, #0c8ff2) !important; border-radius: 10px !important; box-shadow: none !important; }
.gble-storefront-box--mini-cart .gble-storefront-head { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; }
.gble-storefront-box--mini-cart .gble-storefront-icon { width: 20px; height: 20px; min-width: 20px; font-size: 12px; line-height: 20px; }
.gble-storefront-box--mini-cart .gble-storefront-title { font-size: 14px; line-height: 1.2; font-weight: 800; }
.gble-storefront-box--mini-cart .gble-storefront-body { margin: 0; }
.gble-storefront-box--mini-cart .gble-storefront-line { margin: 0 0 3px !important; font-size: 13px !important; line-height: 1.35 !important; font-weight: 500; }
.gble-storefront-box--mini-cart .gble-storefront-line:last-child { margin-bottom: 0 !important; }
.gble-storefront-box--mini-cart .gble-loyalty-highlight { font-weight: 800; }

/* v0.2.55 - universal loyalty box styles using CSS variables from :root */
.gble-storefront-box,
.gble-loyalty-box,
.gble-cart-loyalty-box,
.gble-mini-cart-loyalty-box,
.gble-checkout-loyalty-box {
  color: var(--gble-front-text, var(--gble-front-ink));
  background: var(--gble-front-soft, var(--gble-front-surface));
  border: 1px solid var(--gble-front-muted);
  border-left: 4px solid var(--gble-front-primary, var(--gble-front-accent));
  border-radius: var(--gble-front-radius, 14px);
  box-shadow: none;
}

.gble-storefront-box strong,
.gble-loyalty-box strong,
.gble-cart-loyalty-box strong,
.gble-mini-cart-loyalty-box strong,
.gble-checkout-loyalty-box strong,
.gble-loyalty-value,
.gble-loyalty-highlight {
  color: var(--gble-front-primary, var(--gble-front-accent));
  font-weight: 800;
}

.gble-mini-cart-loyalty-box {
  margin: 12px 0 10px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.45;
  max-width: 100%;
}

.gble-cart-loyalty-box,
.gble-checkout-loyalty-box {
  margin: 16px 0;
  padding: 16px 18px;
  font-size: 15px;
  line-height: 1.55;
}

.gble-loyalty-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-weight: 800;
}

/* v0.2.58 â€” unified gble-loyalty-box for all placements */
.gble-loyalty-box {
  color: var(--gble-front-text, var(--gble-front-ink, #111827));
  background: var(--gble-front-soft, var(--gble-front-surface, #e8f3ff));
  border: 1px solid var(--gble-front-muted, rgba(107, 114, 128, 0.22));
  border-left: 4px solid var(--gble-front-primary, var(--gble-front-accent, #0c8ff2));
  border-radius: var(--gble-front-radius, 14px);
  padding: 14px 16px;
  line-height: 1.5;
  box-shadow: none;
  margin: 12px 0;
}

.gble-loyalty-box--product {
  margin: 12px 0 18px;
}

.gble-loyalty-box--cart,
.gble-loyalty-box--checkout {
  margin: 16px 0;
  padding: 16px 18px;
  font-size: 15px;
}

.gble-loyalty-box--mini-cart {
  padding: 11px 13px;
  font-size: 13px;
  line-height: 1.42;
  margin: 10px 0;
}

.gble-loyalty-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
}

.gble-loyalty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border-radius: 999px;
  background: var(--gble-front-primary, var(--gble-front-accent, #0c8ff2));
  color: #fff;
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
}

.gble-loyalty-title {
  display: inline-block;
  color: var(--gble-front-text, var(--gble-front-ink, #111827));
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
}

.gble-loyalty-box--mini-cart .gble-loyalty-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  font-size: 12px;
}

.gble-loyalty-box--mini-cart .gble-loyalty-title {
  font-size: 14px;
}

.gble-loyalty-price-preview {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--gble-front-muted, rgba(107, 114, 128, 0.18));
}

.gble-loyalty-price-label {
  font-size: 13px;
  color: var(--gble-front-muted, #6b7280);
  margin-bottom: 4px;
}

.gble-loyalty-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.gble-loyalty-price-old {
  color: var(--gble-front-muted, #6b7280);
  text-decoration: line-through;
  font-weight: 600;
}

.gble-loyalty-price-new {
  color: var(--gble-front-success, #16a34a);
  font-size: 1.12em;
  font-weight: 900;
}


.gble-loyalty-lines {
  display: grid;
  gap: 4px;
}

.gble-loyalty-savings {
  margin-top: 8px;
  color: var(--gble-front-success);
  font-weight: 800;
}

/* v0.2.61 â€” unified eyebrow + tier price preview */
.gble-loyalty-heading {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 7px;
}
.gble-loyalty-eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--gble-front-text, var(--gble-front-ink, #111827));
}
.gble-loyalty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--gble-front-primary, var(--gble-front-accent, #0c8ff2));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  flex: 0 0 auto;
}
.gble-loyalty-box--mini-cart .gble-loyalty-eyebrow { font-size: 12px; }
.gble-loyalty-box--mini-cart .gble-loyalty-icon { width: 18px; height: 18px; font-size: 11px; }

.gble-tier-price-preview {
  margin: 10px 0 14px;
  padding: 10px 12px;
  border-left: 3px solid var(--gble-front-primary, var(--gble-front-accent, #0c8ff2));
  background: var(--gble-front-soft, var(--gble-front-surface, #e8f3ff));
  border-radius: 12px;
  color: var(--gble-front-text, var(--gble-front-ink, #111827));
  line-height: 1.45;
  max-width: 520px;
}
.gble-tier-price-preview .gble-loyalty-heading { margin-bottom: 6px; }
.gble-tier-price-preview__label {
  font-size: 13px;
  font-weight: 800;
  color: var(--gble-front-muted, #6b7280);
  margin-bottom: 4px;
}
.gble-tier-price-preview__prices {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.gble-tier-price-preview__old {
  color: var(--gble-front-muted, #6b7280);
  text-decoration: line-through;
  font-weight: 700;
}
.gble-tier-price-preview__new {
  color: var(--gble-front-success, #16a34a);
  font-size: 1.16em;
  font-weight: 900;
}
.gble-tier-price-preview__note { margin-top: 5px; font-size: 13px; }
.gble-tier-price-preview__note strong { color: var(--gble-front-primary, var(--gble-front-accent, #0c8ff2)); font-weight: 900; }
.gble-tier-price-preview__hint { margin-top: 3px; font-size: 12px; color: var(--gble-front-muted, #6b7280); }

/* v0.2.64 â€” final storefront color authority */
.gble-loyalty-box {
  color: var(--gble-front-text, #111827) !important;
  background: var(--gble-front-soft, #e8f3ff) !important;
  border: 1px solid color-mix(in srgb, var(--gble-front-primary, #0c8ff2) 25%, transparent);
  border-left: 4px solid var(--gble-front-primary, #0c8ff2) !important;
  border-radius: var(--gble-front-radius, 14px);
}

.gble-loyalty-box,
.gble-loyalty-box .gble-storefront-line,
.gble-loyalty-box .gble-loyalty-lines,
.gble-loyalty-box p,
.gble-loyalty-box span:not(.gble-loyalty-icon),
.gble-loyalty-box div {
  color: var(--gble-front-text, #111827) !important;
}

.gble-loyalty-box strong,
.gble-loyalty-highlight,
.gble-loyalty-value {
  color: var(--gble-front-primary, #0c8ff2) !important;
  font-weight: 900;
}

.gble-loyalty-heading {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 8px;
}

.gble-loyalty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--gble-front-primary, #0c8ff2) !important;
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 900;
  flex: 0 0 auto;
}

.gble-loyalty-eyebrow {
  font-size: 13px;
  line-height: 1.2;
  font-weight: 900;
  color: var(--gble-front-text, #111827) !important;
}

.gble-loyalty-box--mini-cart {
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.45;
}

.gble-loyalty-box--mini-cart .gble-loyalty-eyebrow {
  font-size: 12px;
}

/* v0.2.64 â€” tier price preview as loyalty box */
.gble-tier-price-preview.gble-loyalty-box {
  margin: 10px 0 14px;
  padding: 10px 12px;
  border-left: 4px solid var(--gble-front-primary, var(--gble-front-accent, #0c8ff2));
  background: var(--gble-front-soft, var(--gble-front-surface, #e8f3ff));
  border-radius: 12px;
  color: var(--gble-front-text, var(--gble-front-ink, #111827));
  line-height: 1.45;
  max-width: 520px;
}

/* ============================================================
   My Account — Program lojalnoœciowy (v0.2.74)
   ============================================================ */
.gble-account-loyalty { color:#111827; font-family:inherit; }
.gble-account-loyalty__header { margin:0 0 18px; }
.gble-account-loyalty__header h2 { margin:0 0 6px; font-size:22px; }
.gble-account-loyalty__header p { margin:0; color:#6b7280; font-size:14px; }
.gble-account-loyalty__grid { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:16px; margin-bottom:16px; }
.gble-account-loyalty-card { background:#ffffff; border:1px solid #e5e7eb; border-radius:16px; padding:18px 20px; box-shadow:0 1px 2px rgba(16,24,40,.04); }
.gble-account-loyalty-card--wide { grid-column:1 / -1; }
.gble-account-loyalty-card__label { display:block; font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.05em; color:#6f35c6; margin-bottom:8px; }
.gble-account-loyalty-card__value { display:block; font-size:26px; font-weight:800; color:#111827; line-height:1.15; }
.gble-account-loyalty-card p { margin:8px 0 0; font-size:13px; color:#4b5563; line-height:1.55; }
.gble-account-loyalty-progress { margin-top:12px; }
.gble-account-loyalty-progress__bar { width:100%; height:10px; background:#eef2ff; border-radius:999px; overflow:hidden; }
.gble-account-loyalty-progress__fill { height:100%; background:#6f35c6; border-radius:999px; transition:width .3s ease; }
.gble-account-loyalty-actions { margin-top:14px; display:flex; flex-wrap:wrap; gap:10px; }
.gble-account-loyalty-button { display:inline-block; padding:10px 18px; border-radius:10px; border:1px solid #6f35c6; color:#6f35c6; text-decoration:none; font-weight:700; font-size:14px; }
.gble-account-loyalty-button--primary { background:#6f35c6; color:#ffffff; }
@media (max-width:640px){ .gble-account-loyalty__grid { grid-template-columns:1fr; } }
