/* ==========================================================================
   FEWSET — Cart Chrome (site-wide)

   The mini-cart DRAWER was retired in v7.7.0 (the header icon links to the
   full cart page / opens the cart overlay). v7.31.0 removed all the dead
   drawer CSS — what remains site-wide is:
     1. the header cart/account trigger icons + the count badge
     2. the add-to-cart / notice toast (.fewset-ct-toast)
   ========================================================================== */

/* ── Header icons ── */

.fewset-account-trigger,
.fewset-cart-trigger {
    appearance: none;
    border: none;
    background: transparent;
    color: var(--on-surface-variant);
    cursor: pointer;
    padding: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-decoration: none;
    transition: color var(--duration-base) var(--ease-luxe);
}
.fewset-account-trigger:hover,
.fewset-cart-trigger:hover { color: var(--on-surface); }

@media (max-width: 1024px) {
    .ql-header__actions .fewset-account-trigger { display: none !important; }
}

.fewset-cart-count {
    /* FEWSET Header Icons spec §03 — filled ink square, white numeral, Outfit 500 9px,
       no tracking. The cart trigger has 8px padding, so top:1 / right:0 places the
       badge at the icon corner with the spec's -7 / -8 offset (8-7=1, 8-8=0). */
    position: absolute;
    top: 1px; right: 0;
    min-width: 14px; height: 14px;
    padding: 0 3px;
    background: #0A0A0A;
    color: #FFFFFF;
    font-family: 'Outfit', var(--font-primary, 'Manrope', sans-serif);
    font-size: 9px; font-weight: 500;
    line-height: 14px; letter-spacing: 0; text-align: center;
    border-radius: 0;
}
.fewset-cart-count--empty { display: none; }


/* ==========================================================================
   ADD-TO-CART / NOTICE TOAST — mirrors the "Į viršų" button (.fewset-btt,
   shop.css): same level, same type scale, opposite corner.
   ========================================================================== */

.fewset-ct-toast {
    position: fixed;
    left: 14px;
    bottom: 80px;      /* .fewset-btt mobile level */
    z-index: 10060;    /* above the cart-page overlay (10040) + product modal (10050) */
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 9px 14px;
    background: #111;
    color: #fff;
    font-family: var(--font-primary);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    line-height: 1.45;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .15);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 280ms var(--ease-luxe), transform 280ms var(--ease-luxe);
}
.fewset-ct-toast.is-in { opacity: 1; transform: translateY(0); }

.fewset-ct-toast__act {
    appearance: none;
    border: none;
    background: transparent;
    padding: 0;
    color: #fff;
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
.fewset-ct-toast__act:hover { color: #fff; opacity: .75; }

.fewset-ct-toast__check { flex: 0 0 auto; }

/* Desktop: the .fewset-btt desktop level + scale */
@media (min-width: 1025px) {
    .fewset-ct-toast {
        left: 20px;
        bottom: 24px;
        padding: 11px 18px;
        font-size: 11px;
        letter-spacing: .18em;
    }
}


/* ── Gift-with-purchase toast (inc/product-gifts.php) ──
   Same chrome as the add-to-cart toast; product names can be long → allow
   a second line instead of running off-screen. */
.fewset-ct-toast--gift { max-width: min(86vw, 380px); }
.fewset-ct-toast--gift span { white-space: normal; line-height: 1.5; }
