/**
 * Free shipping counter (cart page, checkout summary, add-to-cart window,
 * free placement). Colours and radius come from the merchant settings
 * through custom properties set inline on the block. The block is not
 * master of its container: a theme can paint a dark card with white text
 * around it, so every element imposes its own colour, size and spacing.
 *
 * @author    Graphik Impact
 * @copyright 2026 Graphik Impact
 * @license   Proprietary
 */
.ashc-fs { --ashc-fs-accent: #16a34a; --ashc-fs-bar: #16a34a; --ashc-fs-border: #16a34a; --ashc-fs-bg: #f0fdf4; --ashc-fs-text: #1a232a; --ashc-fs-radius: 6px; display: block; margin: 0 0 16px; box-sizing: border-box; text-align: left; font-size: 15px; line-height: 1.4; }
.ashc-fs--box { background: var(--ashc-fs-bg) !important; border: 1px solid var(--ashc-fs-border) !important; border-radius: var(--ashc-fs-radius); padding: 12px 16px; }
.ashc-fs--line { background: transparent !important; border: 0 !important; border-bottom: 2px solid var(--ashc-fs-border) !important; padding: 8px 0; }
.ashc-fs--noborder { border: 0 !important; }
.ashc-fs--center { text-align: center; }
.ashc-fs .ashc-fs-text { display: block !important; justify-content: normal !important; margin: 0 !important; padding: 0 !important; color: var(--ashc-fs-text) !important; font-size: 15px !important; line-height: 1.4 !important; font-weight: 400 !important; text-transform: none !important; letter-spacing: normal !important; text-align: inherit; }
.ashc-fs .ashc-fs-before,
.ashc-fs .ashc-fs-after { color: inherit !important; font-size: inherit !important; font-weight: inherit !important; vertical-align: baseline; }
.ashc-fs .ashc-fs-amount { color: var(--ashc-fs-accent) !important; font-weight: 700 !important; font-size: inherit !important; white-space: nowrap; vertical-align: baseline; }
/* The icon is a box of the text height, centred on the line: it sits at the
   optical middle of lowercase text whatever the theme line-height. Its size
   is pinned to the sentence: a theme enlarging every span of the cart
   summary to 20px) would otherwise enlarge the box and push
   the icon below the line. */
.ashc-fs .ashc-fs-icon { display: inline-block; width: 1.15em; height: 1.4em; margin: 0 6px 0 0 !important; padding: 0 !important; color: var(--ashc-fs-accent) !important; font-size: inherit !important; vertical-align: top !important; line-height: 0 !important; }
.ashc-fs .ashc-fs-icon svg { display: block; width: 1.15em; height: 1.15em; margin-top: 0.125em; }
.ashc-fs .ashc-fs-bar { height: 6px; margin: 8px 0 0 !important; padding: 0 !important; border-radius: 3px; background: rgba(0, 0, 0, 0.08) !important; overflow: hidden; }
.ashc-fs .ashc-fs-bar-fill { height: 100%; background: var(--ashc-fs-bar) !important; border-radius: 3px; transition: width 0.3s ease; }
.ashc-fs--reached .ashc-fs-bar-fill { width: 100%; }
.ashc-fs--center .ashc-fs-bar { margin-left: auto !important; margin-right: auto !important; max-width: 320px; }
.ashc-fs-host[hidden] { display: none !important; }
.cart-summary > .ashc-fs-refresh { padding: 16px 16px 0; }
.cart-summary > .ashc-fs-refresh .ashc-fs { margin-bottom: 0; }
.cart-content .ashc-fs { margin: 12px 0 !important; }
.ashc-cart-notice + .ashc-fs { margin-top: 8px; }

/* ---------------------------------------------------------------------------
 * In-store pickup (1.25.0): the point selector of the delivery step, the
 * block of the confirmation page and the one of the customer account.
 * ------------------------------------------------------------------------ */
.acs-pu-selector {
    margin: 0;
    padding: 12px 14px;
    text-align: left;
}

.acs-pu-intro {
    margin: 0 0 10px;
    font-size: 14px;
}

.acs-pu-list {
    display: grid;
    gap: 10px;
}

.acs-pu-point {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #dfe4ea;
    border-radius: 4px;
    background: #fff;
    font-weight: normal;
    cursor: pointer;
}

.acs-pu-point:hover { border-color: #b9c2cc; }

/* The classic theme right-aligns the labels of the delivery options. A
   pickup card is a block of address and hours, which has to read from the
   left. Three classes to win over the theme rule, no !important. */
.acs-pu-selector .acs-pu-list .acs-pu-point,
.acs-pu-selector .acs-pu-list .acs-pu-point .acs-pu-point-body { text-align: left; }

.acs-pu-point input[type="radio"] {
    margin: 3px 0 0;
    flex: 0 0 auto;
}

.acs-pu-point-body {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
}

.acs-pu-point-name {
    display: block;
    font-weight: 600;
    margin-bottom: 2px;
}

.acs-pu-point-cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px 20px;
    margin-top: 4px;
}

.acs-pu-point-col { display: block; min-width: 0; }

@media (min-width: 576px) {
    .acs-pu-point-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
}

.acs-pu-point-address {
    display: block;
    color: #7a7a7a;
    font-size: 13px;
    margin-bottom: 4px;
}

.acs-pu-point-address span { display: block; }

.acs-pu-point-slots {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
}

.acs-pu-point-slots li,
.acs-pu-slot { display: block; margin: 1px 0; }

.acs-pu-point-ready,
.acs-pu-point-instructions {
    display: block;
    font-size: 13px;
    margin-top: 4px;
}

.acs-pu-point-ready { font-weight: 600; }

.acs-pu-taxnote {
    margin: 10px 0 0;
    padding: 8px 10px;
    border-left: 3px solid #f59e0b;
    background: #fffbeb;
    font-size: 13px;
}

.acs-pu-order {
    margin: 16px 0;
    padding: 14px 16px;
    border: 1px solid #dfe4ea;
    border-radius: 4px;
    background: #fff;
    text-align: left;
}

.acs-pu-order-title { margin: 0 0 8px; font-size: 16px; }
.acs-pu-order-address span { display: block; }

.acs-pu-order-code {
    display: inline-block;
    margin: 6px 0;
    padding: 6px 12px;
    border: 1px dashed #b9c2cc;
    border-radius: 4px;
    font-family: monospace;
    font-size: 20px;
    letter-spacing: 0.12em;
}

.acs-pu-order-slots { margin: 6px 0 0; padding-left: 18px; font-size: 14px; }

/* Le tunnel tient le client tant qu'il n'a pas nomme sa boutique : le
   message doit se voir sans avoir a chercher. */
.acs-pu-error,
.acs-pu-required-note {
    margin: 0 0 10px;
    padding: 8px 12px;
    border-left: 3px solid #c0392b;
    background: #fdf0ee;
    color: #8c2d21;
    font-size: 14px;
}

.acs-pu-required-note { margin: 10px 0 0; }
.acs-pu-required-note[hidden] { display: none; }

/* Rappel du point au recapitulatif, entre la livraison et le paiement.
 *
 * Depuis la 1.35.0 le bloc suit le theme : pas de fond, pas de couleur de
 * texte imposee, plus aucun !important. Il prend le fond et la couleur du
 * panneau ou il est injecte (displayCheckoutSummaryTop), donc le contraste
 * que le theme a choisi pour ce panneau, clair ou sombre. Jusqu a la 1.34.3
 * il imposait un fond quasi blanc et ses couleurs en !important, et un theme
 * devait repondre par des !important pour le mettre a sa palette (constate
 * chez un client le 13/11/2026).
 *
 * Un theme regle le bloc par quatre proprietes, sans surcharger une regle :
 * --acs-pu-background, --acs-pu-text, --acs-pu-border, --acs-pu-accent.
 */
.acs-pu-summary {
    margin: 0 0 16px;
    padding: 12px 14px;
    border: 1px solid var(--acs-pu-border, rgba(128, 128, 128, 0.35));
    border-left: 3px solid var(--acs-pu-accent, currentColor);
    background: var(--acs-pu-background, transparent);
    color: var(--acs-pu-text, inherit);
}

.acs-pu-summary p,
.acs-pu-summary span,
.acs-pu-summary strong {
    color: inherit;
}

.acs-pu-summary-title {
    margin: 0 0 4px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.acs-pu-summary-point { margin: 0; font-size: 15px; }
.acs-pu-summary-address { margin: 4px 0 0; font-size: 14px; }
.acs-pu-summary-address span { display: block; }
.acs-pu-summary-ready { margin: 6px 0 0; font-size: 14px; }
.acs-pu-summary-note { margin: 8px 0 0; font-size: 13px; }

@media (max-width: 575px) {
    .acs-pu-selector { padding: 10px; }
    .acs-pu-order-code { font-size: 17px; }
    .acs-pu-summary { padding: 10px 12px; }
}

/* Marqueur des commandes a retirer, dans l'historique du compte client. */
.acs-pu-mark {
    display: inline-block;
    margin-left: 8px;
    padding: 1px 7px;
    border-radius: 10px;
    background: #efe6f5;
    color: #6b3f8c;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    vertical-align: middle;
}
