/* ═══════════════════════════════════════════════════════════════
   SPECIJALNA PONUDA – FRONTEND (Iris Naturals)
   Brend: zelena #0C291D + zlatna #BC9756, Montserrat
═══════════════════════════════════════════════════════════════ */

.sp-bump-wrap,
.sp-pp-wrap {
    --gu-green:    #0C291D;
    --gu-green-2:  #123626;
    --gu-gold:     #BC9756;
    --gu-gold-2:   #CBA968;
    --gu-paper:    #ffffff;
    --gu-ink:      #1C1A16;
    --gu-line:     rgba(12,41,29,0.14);
    --gu-stone:    #F1EEE6;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ════════════════════════════════════════════════════════════════
   ORDER BUMP – osnovna (checkout/cart) kartica
═══════════════════════════════════════════════════════════════ */

.sp-bump { margin-bottom: 18px; }
.sp-bump + .sp-bump { margin-top: -4px; }

.gub-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.gub-lightning { font-size: 12px; color: var(--gu-gold); }
.gub-header-text {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gu-green);
    white-space: nowrap;
}
.gub-header-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--gu-gold), transparent);
    opacity: .5;
}

.gub-card {
    border: 1.5px solid var(--gu-line);
    border-radius: 12px;
    background: var(--gu-paper);
    box-shadow: 0 6px 20px rgba(12,41,29,0.10);
    overflow: hidden;
}

.gub-top { display: flex; align-items: stretch; gap: 0; }

.gub-image-wrap {
    position: relative;
    flex-shrink: 0;
    width: 96px;
    align-self: stretch;
    background: var(--gu-stone);
}
.gub-image {
    width: 100%; height: 100%;
    object-fit: contain;
    display: block;
    padding: 8px;
    box-sizing: border-box;
}

.gub-body {
    flex: 1;
    padding: 12px 14px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
}
.gub-discount-pill {
    position: absolute;
    top: 10px; right: 12px;
    background: var(--gu-gold);
    color: var(--gu-green);
    font-size: 12px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 20px;
    line-height: 1.3;
}
.gub-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--gu-green);
    margin: 0;
    line-height: 1.3;
    padding-right: 44px;
}
.gub-desc {
    font-size: 12.5px;
    color: rgba(28,26,22,0.62);
    margin: 0;
    line-height: 1.5;
}

.gub-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px 12px;
    border-top: 1px solid var(--gu-line);
    gap: 12px;
}
.gub-pricing {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
}
.gub-price {
    font-size: 19px;
    font-weight: 800;
    color: var(--gu-green);
    white-space: nowrap;
}
.gub-old-price {
    font-size: 12.5px;
    color: rgba(28,26,22,0.4);
    text-decoration: line-through;
    white-space: nowrap;
}

.gub-btn {
    background: var(--gu-green);
    color: var(--gu-gold) !important;
    border: none;
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .3px;
    cursor: pointer;
    transition: background .18s, transform .12s;
    white-space: nowrap;
    line-height: 1.3;
    font-family: inherit;
    text-decoration: none;
}
.gub-btn:hover:not(:disabled),
.gub-btn:focus:not(:disabled) { background: var(--gu-green-2); color: var(--gu-gold-2) !important; }
.gub-btn:active:not(:disabled) { transform: scale(.97); }
.gub-btn:focus { outline: none; box-shadow: none; }
.gub-btn:focus-visible { outline: 2px solid var(--gu-gold-2); outline-offset: 2px; }
.gub-btn-added {
    background: var(--gu-gold) !important;
    color: var(--gu-green) !important;
    cursor: default;
}
.gub-btn:disabled { opacity: .9; }

.gu-already-added .gub-card {
    border-color: var(--gu-gold);
    background: #FBF6EC;
}

/* ════════════════════════════════════════════════════════════════
   ORDER BUMP – kompaktna varijanta za Elementor side-cart (~350px)
═══════════════════════════════════════════════════════════════ */

.sp-bump-loc-minicart { padding: 4px 16px 8px; }
.gu-loc-minicart { margin-bottom: 10px; }
.gu-loc-minicart .gub-header-text { font-size: 10.5px; letter-spacing: .6px; }
.gu-loc-minicart .gub-card { border-radius: 10px; box-shadow: 0 3px 12px rgba(12,41,29,0.10); }
.gu-loc-minicart .gub-image-wrap { width: 66px; }
.gu-loc-minicart .gub-body { padding: 9px 11px; }
.gu-loc-minicart .gub-title { font-size: 13px; padding-right: 40px; }
.gu-loc-minicart .gub-discount-pill { top: 8px; right: 9px; font-size: 10.5px; padding: 2px 6px; }
.gu-loc-minicart .gub-desc { font-size: 11.5px; }
.gu-loc-minicart .gub-action { padding: 8px 11px 10px; gap: 8px; }
.gu-loc-minicart .gub-price { font-size: 16px; }
.gu-loc-minicart .gub-old-price { font-size: 11px; }
.gu-loc-minicart .gub-btn { padding: 8px 13px; font-size: 11px; }

/* ════════════════════════════════════════════════════════════════
   POST-PURCHASE UPSELL (thank-you stranica)
═══════════════════════════════════════════════════════════════ */

.sp-pp-wrap {
    max-width: 640px;
    margin: 32px auto;
    padding: 0 16px;
}
.sp-pp-heading { text-align: center; margin-bottom: 20px; }
.gpp-badge {
    display: inline-block;
    background: var(--gu-gold);
    color: var(--gu-green);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}
.gpp-title {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 700;
    color: var(--gu-green);
    margin: 0 0 6px;
    line-height: 1.25;
}
.gpp-sub { color: rgba(28,26,22,0.65); margin: 0; font-size: 0.95rem; }

.sp-pp-card {
    position: relative;
    background: var(--gu-paper);
    border: 1.5px solid var(--gu-line);
    border-radius: 14px;
    padding: 20px 22px;
    box-shadow: 0 10px 30px rgba(12,41,29,0.12);
    margin: 0 auto 14px;
    max-width: 560px;
}
/* Popust — skroz gore-desno, veći */
.gpp-discount-pill {
    position: absolute;
    top: 14px; right: 14px;
    background: var(--gu-gold);
    color: var(--gu-green);
    font-size: 15px; font-weight: 800;
    padding: 5px 12px; border-radius: 20px;
    line-height: 1;
    z-index: 2;
}
/* Gornji red: slika levo + naslov pored */
.gpp-top {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-right: 72px;
}
.gpp-image-wrap {
    width: 84px; height: 84px;
    flex-shrink: 0;
    background: var(--gu-stone);
    border-radius: 10px;
    overflow: hidden;
}
.gpp-image { width: 100%; height: 100%; object-fit: contain; padding: 6px; box-sizing: border-box; }
.gpp-card-title { font-size: 1.15rem; font-weight: 700; color: var(--gu-green); margin: 0; line-height: 1.3; }
/* Opis ispod slike/naslova, puna širina */
.gpp-desc { font-size: 0.9rem; color: rgba(28,26,22,0.62); margin: 12px 0 16px; line-height: 1.55; }
.gpp-pricing { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.gpp-price { font-size: 1.5rem; font-weight: 800; color: var(--gu-green); line-height: 1.1; }
.gpp-old-price { font-size: 0.95rem; color: rgba(28,26,22,0.4); text-decoration: line-through; }

.gpp-footer { display: flex; flex-direction: row; justify-content: space-between; align-items: center; gap: 16px; }
.gpp-cta { display: flex; flex-direction: column; align-items: center; gap: 6px; flex-shrink: 0; }
.gpp-btn {
    background: var(--gu-green);
    color: var(--gu-gold) !important;
    border: none;
    border-radius: 999px;
    padding: 13px 22px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .18s, transform .12s;
    font-family: inherit;
    white-space: nowrap;
    text-decoration: none;
}
.gpp-btn:hover:not(:disabled),
.gpp-btn:focus:not(:disabled) { background: var(--gu-green-2); color: var(--gu-gold-2) !important; }
.gpp-btn:active:not(:disabled) { transform: scale(.97); }
.gpp-btn:focus { outline: none; box-shadow: none; }
.gpp-btn:focus-visible { outline: 2px solid var(--gu-gold-2); outline-offset: 2px; }
.gpp-btn:disabled { opacity: .9; }
.gpp-no-thanks {
    font-size: 0.8rem;
    color: rgba(28,26,22,0.45);
    cursor: pointer;
    text-decoration: underline;
}
.gpp-no-thanks:hover { color: var(--gu-green); }

.gpp-confirm { display: flex; align-items: center; gap: 14px; width: 100%; }
.gpp-check {
    width: 40px; height: 40px; flex-shrink: 0;
    background: var(--gu-gold); color: var(--gu-green);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 800;
}
.gpp-confirm strong { color: var(--gu-green); }
.gpp-confirm p { margin: 2px 0 0; font-size: 0.9rem; color: rgba(28,26,22,0.7); }
.gpp-added { border-color: var(--gu-gold); background: #FBF6EC; }

@media (max-width: 520px) {
    .sp-pp-card { padding: 20px 18px; text-align: center; }
    .gpp-top { flex-direction: column; align-items: center; gap: 12px; padding-right: 0; }
    .gpp-image-wrap { width: 96px; height: 96px; }
    .gpp-card-title { font-size: 1.05rem; text-align: center; }
    .gpp-desc { text-align: center; }
    .gpp-discount-pill { top: 12px; right: 12px; font-size: 14px; padding: 4px 11px; }
    .gpp-footer { flex-direction: column; align-items: center; gap: 14px; }
    .gpp-pricing { align-items: center; }
    .gpp-cta { width: 100%; }
    .gpp-btn { width: 100%; }
    .gpp-no-thanks { text-align: center; }
}
