/* Corsia — the 3 kg dialog. Buttons need the #id prefix and !important:
   style.css line 84 forces background/border/padding/radius on a bare `button`. */
.corsia-wl[hidden] { display: none !important; }
.corsia-wl {
    position: fixed; inset: 0; z-index: 100002;
    display: flex; align-items: center; justify-content: center;
    padding: 16px; background: rgba(40, 20, 14, .55);
}
html.corsia-wl-open { overflow: hidden; }
.corsia-wl-box {
    position: relative; width: 100%; max-width: 440px;
    background: #fff; color: #3a2318; border-radius: 18px;
    padding: 34px 26px 24px; text-align: center; direction: rtl;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .3);
}
.corsia-wl-title {
    margin: 0 0 10px; font-family: "Assistant", "Heebo", sans-serif;
    font-size: 1.5rem; font-weight: 800; color: #9B2D22;
}
.corsia-wl-title:focus { outline: none; }
.corsia-wl-text { margin: 0 0 20px; font-size: 1.05rem; line-height: 1.6; }
.corsia-wl-actions { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.corsia-wl-actions a {
    display: block; min-height: 48px; padding: 12px 18px; border-radius: 999px;
    font-weight: 800; font-size: 1.05rem; text-decoration: none;
}
.corsia-wl-call { background: #9B2D22; color: #fff !important; }
.corsia-wl-wa { background: #1f7a44; color: #fff !important; }
.corsia-wl-actions a:hover { filter: brightness(1.08); }
#corsia-wl .corsia-wl-close {
    background: transparent !important; border: none !important; box-shadow: none !important;
    color: #3a2318 !important; padding: 10px 18px !important; min-height: 44px;
    font-weight: 700 !important; font-size: 1rem; text-decoration: underline; cursor: pointer;
}
#corsia-wl .corsia-wl-x {
    position: absolute; top: 10px; inset-inline-start: 10px;
    width: 44px; height: 44px; padding: 0 !important; border-radius: 50% !important;
    background: #f4ece4 !important; border: none !important; box-shadow: none !important;
    color: #3a2318 !important; font-size: 1.1rem; font-weight: 700 !important; cursor: pointer;
}
#corsia-wl a:focus-visible, #corsia-wl button:focus-visible { outline: 3px solid #9B2D22; outline-offset: 3px; }

/* The in-page 3 kg note (inc/weight-note.php, assets/weight-note.js). px, not
   rem: rem on this site is ~14.6px. */
.corsia-wl-note:empty { display: none; }
.corsia-wl-note {
    margin: 14px 0 4px; padding: 14px 16px; border-radius: 12px; direction: rtl;
    background: #fdf1ef; border: 1px solid rgba(155, 45, 34, .35); color: #3a2318;
}
.corsia-wl-note p { margin: 0 0 6px; font-size: 15px; line-height: 1.5; }
.corsia-wl-note .cwn-stop strong { color: #9B2D22; font-weight: 800; }
.corsia-wl-note .cwn-cart { font-size: 14px; }
.corsia-wl-note .cwn-wa {
    display: inline-flex; align-items: center; justify-content: center; margin-top: 6px;
    min-height: 44px; padding: 10px 22px; border-radius: 999px;
    background: #1f7a44; color: #fff !important; font-weight: 800; font-size: 15px; text-decoration: none;
}
.corsia-wl-note .cwn-wa:hover { filter: brightness(1.08); }
.corsia-wl-note .cwn-wa:focus-visible { outline: 3px solid #9B2D22; outline-offset: 3px; }
/* The blocked button: a bare `button{...!important}` in style.css would keep
   it looking live, so the disabled look needs !important too. */
.single_add_to_cart_button.corsia-wl-blocked,
.single_add_to_cart_button.corsia-wl-blocked:hover {
    opacity: .45 !important; cursor: not-allowed !important; filter: grayscale(.4);
}
