/* STIVMED – Najniža cijena: stilovi vrijede samo za elemente ovog dodatka.
   Prilagodba bez prepisivanja pravila: postavite CSS varijable --stivmed-lp-* (npr. na .stivmed-lp
   ili :root). Zadane vrijednosti preuzimaju WoodMart varijable (--wd-…) uz neutralne rezervne vrijednosti.
   Selektori su jedna ili dvije klase (niska specifičnost); !important se koristi samo gdje tema
   globalno stilizira <button> i za skrivene dijelove. Stari nazivi klasa (stivmed-lp-*) i dalje vrijede. */
.stivmed-lp-block{display:block;text-align:inherit;font-family:inherit;font-size:var(--stivmed-lp-font-size,13px);font-weight:400;line-height:1.5;color:var(--stivmed-lp-color,var(--wd-text-color,#667582));margin-block-start:var(--stivmed-lp-gap,6px)}
.stivmed-lp-reference{display:block;margin-block-end:var(--stivmed-lp-gap,6px)}
.stivmed-lp-reference strong,.stivmed-lp-reference .woocommerce-Price-amount{font-size:inherit!important;font-weight:var(--stivmed-lp-amount-weight,inherit);color:var(--stivmed-lp-amount-color,inherit)!important}
.stivmed-lp-caption{color:var(--stivmed-lp-label-color,inherit)}
.stivmed-lp-suffix{color:var(--stivmed-lp-suffix-color,inherit)}
.stivmed-lp-block [hidden],.stivmed-lp-block[hidden]{display:none!important}
.stivmed-lp-payload{display:none!important}

button.stivmed-lp-trigger{display:inline-flex!important;align-items:center;gap:8px;width:auto!important;max-width:100%!important;height:auto!important;min-height:32px!important;margin:0!important;padding:4px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:var(--stivmed-lp-button-color,var(--wd-title-color,#17304b))!important;font-family:inherit!important;font-size:var(--stivmed-lp-font-size,13px)!important;font-weight:500!important;line-height:1.4!important;text-transform:none!important;letter-spacing:normal!important;white-space:normal!important;text-align:left!important;cursor:pointer}
button.stivmed-lp-trigger:before,button.stivmed-lp-trigger:after{display:none!important}
button.stivmed-lp-trigger .stivmed-lp-trigger-text{text-decoration:underline;text-underline-offset:3px}
.stivmed-lp-icon{display:inline-flex!important;justify-content:center;align-items:center;flex:0 0 21px;width:21px;height:21px;border:1.5px solid currentColor;border-radius:50%;font-family:Georgia,serif;font-weight:700;font-size:15px;line-height:1}
.stivmed-lp-trigger:focus-visible,.stivmed-lp-close:focus-visible{outline:2px solid var(--stivmed-lp-accent,var(--wd-primary-color,#23704b))!important;outline-offset:3px!important}

.stivmed-lp-dialog{box-sizing:border-box;width:min(var(--stivmed-lp-dialog-width,590px),calc(100% - 32px));max-width:var(--stivmed-lp-dialog-width,590px);max-height:calc(100dvh - 32px);padding:28px 30px;margin:auto;border:0;border-radius:var(--stivmed-lp-dialog-radius,12px);background:var(--stivmed-lp-dialog-bg,#fff);color:var(--stivmed-lp-dialog-color,var(--wd-title-color,#17304b));box-shadow:0 20px 80px rgba(16,32,48,.25);font-family:inherit;text-align:left;overscroll-behavior:contain;overflow-y:auto}
.stivmed-lp-dialog:not([open]){display:none}
.stivmed-lp-dialog::backdrop{background:var(--stivmed-lp-backdrop,rgba(18,30,43,.55))}
.stivmed-lp-dialog h2{font-family:inherit!important;font-size:25px!important;line-height:1.25!important;font-weight:700!important;letter-spacing:normal!important;color:inherit!important;margin:0 32px 8px 0!important;text-transform:none!important}
button.stivmed-lp-close{position:absolute!important;top:12px;right:12px;display:flex!important;align-items:center;justify-content:center;box-sizing:border-box;width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;margin:0!important;background:transparent!important;color:inherit!important;border:0!important;border-radius:50%!important;box-shadow:none!important;font-size:30px!important;font-family:Arial,sans-serif!important;font-weight:400!important;line-height:1!important;cursor:pointer}
button.stivmed-lp-close:before,button.stivmed-lp-close:after{display:none!important}
.stivmed-lp-product{display:block;color:var(--stivmed-lp-color,var(--wd-text-color,#667582));font-size:13px;line-height:1.5;margin-bottom:10px}
.stivmed-lp-row{display:flex;flex-direction:column;padding:15px 0;border-bottom:1px solid var(--stivmed-lp-border-color,var(--wd-form-brd-color,#dce4ea));line-height:1.4}
.stivmed-lp-row:last-of-type{border-bottom:0;padding-bottom:0}
.stivmed-lp-row-label{display:block;font-size:15px;font-weight:400;margin-bottom:3px;order:0}
.stivmed-lp-amount{display:block;color:var(--stivmed-lp-color,var(--wd-text-color,#607487));font-size:16px;font-weight:400;margin-top:2px;order:2}
.stivmed-lp-amount strong{font-size:inherit;font-weight:400;color:inherit}
.stivmed-lp-amount .stivmed-lp-tax{font-size:16px;font-weight:400;white-space:nowrap}
.stivmed-lp-dialog .woocommerce-Price-amount{font-size:inherit!important;font-weight:inherit!important;color:inherit!important}
.stivmed-lp-unavailable,.stivmed-lp-note{display:block;font-size:13px;color:var(--stivmed-lp-color,var(--wd-text-color,#607487));line-height:1.5}
.stivmed-lp-note{margin-top:14px}
.stivmed-lp-dialog [data-stivmed-basis="net"]{order:1;color:var(--stivmed-lp-dialog-color,var(--wd-title-color,#17304b));margin-top:0}
.stivmed-lp-dialog [data-stivmed-basis="net"] strong{font-size:var(--stivmed-lp-primary-size,27px);font-weight:700;line-height:1.35}
.stivmed-lp-dialog :is(.stivmed-lp-row--sale,.stivmed-lp-row--current) [data-stivmed-basis="net"]{color:var(--stivmed-lp-accent,var(--wd-primary-color,#49c5b1))}
