/* WP E-boutiques locales — identity intentionally uses straight edges. */
.ebl,
.ebl-modal {
    --ebl-ink: #17263a;
    --ebl-ink-soft: #425065;
    --ebl-accent: #71843a;
    --ebl-paper: #fffef9;
    --ebl-muted: #f1efe6;
    --ebl-line: #c8c5b8;
    --ebl-danger: #a12a24;
    --ebl-success: #356530;
    --ebl-shadow: 8px 8px 0 rgba(23, 38, 58, .12);
    color: var(--ebl-ink);
    font-family: inherit;
    line-height: 1.55;
}
.ebl,
.ebl *,
.ebl-modal,
.ebl-modal * {
    box-sizing: border-box;
    border-radius: 0 !important;
}
.ebl img,
.ebl-modal img { display: block; max-width: 100%; }
.ebl [hidden],
.ebl-modal[hidden],
.ebl-modal [hidden] { display: none !important; }
.ebl a { color: inherit; }
.ebl h1,
.ebl h2,
.ebl h3,
.ebl p { margin-top: 0; }
.ebl h1 { font-size: clamp(2.2rem, 5vw, 4.9rem); line-height: .98; letter-spacing: -.045em; }
.ebl h2 { font-size: clamp(1.7rem, 3vw, 2.75rem); line-height: 1.05; letter-spacing: -.03em; }
.ebl h3 { font-size: 1.2rem; line-height: 1.18; }
.ebl-kicker { margin-bottom: .5rem; color: var(--ebl-accent); font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.ebl-button,
.ebl button,
.ebl input,
.ebl select,
.ebl textarea,
.ebl-modal button,
.ebl-modal input,
.ebl-modal select,
.ebl-modal textarea { font: inherit; }
.ebl-button,
.ebl button.ebl-button,
.ebl-modal .ebl-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .72rem 1.15rem;
    border: 2px solid var(--ebl-ink);
    background: transparent;
    color: var(--ebl-ink);
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.ebl-button:hover,
.ebl button.ebl-button:hover,
.ebl-modal .ebl-button:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 rgba(23, 38, 58, .22); }
.ebl-button:focus-visible,
.ebl button:focus-visible,
.ebl input:focus-visible,
.ebl select:focus-visible,
.ebl textarea:focus-visible,
.ebl-modal button:focus-visible,
.ebl-modal input:focus-visible { outline: 3px solid #e1ad45; outline-offset: 2px; }
.ebl .ebl-button--primary,
.ebl button.ebl-button--primary,
.ebl-modal .ebl-button--primary { background: var(--ebl-ink); color: #fff !important; }
.ebl .ebl-button--outline,
.ebl button.ebl-button--outline,
.ebl-modal .ebl-button--outline { background: rgba(255,255,255,.76); color: var(--ebl-ink); }
.ebl .ebl-button--danger,
.ebl button.ebl-button--danger,
.ebl-modal .ebl-button--danger { border-color: var(--ebl-danger); color: var(--ebl-danger); }
.ebl-button--block { width: 100%; }
.ebl-button[disabled],
.ebl button[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.ebl-text-link,
.ebl-back-link { font-weight: 800; text-underline-offset: .25em; }
.ebl-back-link { display: inline-block; margin-bottom: 1.25rem; }
.ebl-hero {
    display: grid;
    min-height: 520px;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    margin-bottom: clamp(2.5rem, 6vw, 5rem);
    border: 1px solid var(--ebl-line);
    background: var(--ebl-paper);
    box-shadow: var(--ebl-shadow);
    overflow: hidden;
}
.ebl-hero__media { position: relative; min-height: 420px; border-right: 8px solid var(--ebl-accent); }
.ebl-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.ebl-hero__content { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 5vw, 5rem); background: linear-gradient(135deg, #fffef9, #efede1); }
.ebl-hero__content p:not(.ebl-kicker) { max-width: 42ch; color: var(--ebl-ink-soft); font-size: 1.1rem; }
.ebl-hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.2rem; }
.ebl-section-heading,
.ebl-products-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin: 0 0 1.5rem; padding-bottom: 1rem; border-bottom: 4px solid var(--ebl-ink); }
.ebl-section-heading h1,
.ebl-section-heading h2,
.ebl-products-toolbar h2 { margin-bottom: 0; }
.ebl-search input,
.ebl-products-toolbar input,
.ebl-products-toolbar select,
.ebl-form input,
.ebl-form select,
.ebl-form textarea,
.ebl-panel input,
.ebl-panel select,
.ebl-panel textarea,
.ebl-modal input,
.ebl-modal select,
.ebl-modal textarea {
    width: 100%;
    min-height: 46px;
    padding: .72rem .85rem;
    border: 2px solid var(--ebl-line);
    background: #fff;
    color: var(--ebl-ink);
}
.ebl-search { width: min(100%, 340px); }
.ebl-shop-grid,
.ebl-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.ebl-shop-grid--compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ebl-shop-card,
.ebl-product-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    border: 1px solid var(--ebl-line);
    border-top: 7px solid var(--ebl-accent);
    background: var(--ebl-paper);
    box-shadow: 6px 6px 0 rgba(23, 38, 58, .1);
}
.ebl-shop-card[hidden],
.ebl-product-card[hidden] { display: none !important; }
.ebl-shop-card__media,
.ebl-product-card__media { position: relative; display: block; width: 100%; min-height: 225px; padding: 0; border: 0; border-bottom: 1px solid var(--ebl-line); background: var(--ebl-muted); overflow: hidden; text-decoration: none; }
.ebl-shop-card__media > img { width: 100%; height: 225px; object-fit: cover; transition: transform .3s ease; }
.ebl-product-card__media { display: grid; min-height: 260px; place-items: center; padding: 1rem; background: #fff; }
.ebl-product-card__media img { display: block; width: 100%; height: 230px; object-fit: contain; object-position: center; transition: transform .3s ease; }
.ebl-shop-card:hover .ebl-shop-card__media > img,
.ebl-product-card:hover .ebl-product-card__media > img { transform: scale(1.015); }
.ebl-media-placeholder { display: flex; width: 100%; min-height: 225px; align-items: center; justify-content: center; padding: 2rem; background: repeating-linear-gradient(135deg, #e8e4d5 0, #e8e4d5 16px, #f5f2e7 16px, #f5f2e7 32px); color: var(--ebl-ink-soft); font-size: .76rem; font-weight: 900; letter-spacing: .12em; text-align: center; }
/*
 * The merchant logo is an overlay belonging to the shop visual.  The explicit
 * inset rules also protect the position from theme CSS and older cached rules
 * that placed it across the lower edge of the picture.
 */
.ebl .ebl-shop-card__media { isolation: isolate; }
.ebl .ebl-shop-card__media > img { position: relative; z-index: 0; }
.ebl .ebl-shop-card__media .ebl-shop-card__logo {
    position: absolute !important;
    z-index: 4;
    top: 14px !important;
    right: auto !important;
    bottom: auto !important;
    left: 14px !important;
    display: grid;
    width: 92px;
    height: 92px;
    max-width: calc(100% - 28px);
    max-height: calc(100% - 28px);
    box-sizing: border-box;
    place-items: center;
    margin: 0 !important;
    padding: .45rem;
    border: 2px solid var(--ebl-accent);
    background: #fff;
    box-shadow: 5px 5px 0 rgba(23, 38, 58, .18);
    overflow: hidden;
    transform: none !important;
    pointer-events: none;
}
.ebl .ebl-shop-card__media .ebl-shop-card__logo img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    margin: 0 !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
}
.ebl-shop-card__body,
.ebl-product-card__body { display: flex; flex: 1; flex-direction: column; padding: 1.35rem; }
.ebl-shop-card__location { margin-bottom: .55rem; color: var(--ebl-accent); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ebl-shop-card h3,
.ebl-product-card h3 { margin-bottom: .65rem; }
.ebl-shop-card h3 a { text-decoration: none; }
.ebl-shop-card__body > p:not(.ebl-shop-card__location),
.ebl-product-card__body > p { color: var(--ebl-ink-soft); }
.ebl-shop-card__services { display: flex; flex-wrap: wrap; gap: .45rem; margin: auto 0 1rem; }
.ebl-shop-card__services span,
.ebl-product-card__mode { padding: .28rem .48rem; border: 1px solid var(--ebl-line); background: var(--ebl-muted); font-size: .7rem; font-weight: 800; }
.ebl-product-card__mode { position: absolute; left: 0; bottom: 0; border-left: 0; border-bottom: 0; }
.ebl-product-card__bottom { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin: auto 0 1rem; padding-top: .75rem; border-top: 1px solid var(--ebl-line); }
.ebl-product-card__price { display: grid; gap: .15rem; min-width: 0; }
.ebl-product-card__bottom strong { font-size: 1.1rem; }
.ebl-product-card__price small { color: var(--ebl-ink-soft); font-size: .82rem; font-weight: 800; }
.ebl-product-card__bottom span { color: var(--ebl-success); font-size: .75rem; font-weight: 800; text-transform: uppercase; }
.ebl-empty,
.ebl-notice,
.ebl-panel { padding: 1.25rem; border: 1px solid var(--ebl-line); border-left: 7px solid var(--ebl-accent); background: var(--ebl-paper); }
.ebl-empty { text-align: center; }
.ebl-notice--warning { border-left-color: #ad7628; background: #fff8e7; }
.ebl-notice--error { border-left-color: var(--ebl-danger); background: #fff1ef; }
.ebl-panel--muted { background: var(--ebl-muted); }
.ebl-shop-header { display: grid; grid-template-columns: minmax(300px, .85fr) minmax(0, 1.15fr); margin-bottom: 2rem; border: 1px solid var(--ebl-line); box-shadow: var(--ebl-shadow); }
.ebl-shop-header__media { min-height: 430px; border-right: 8px solid var(--ebl-accent); background: var(--ebl-muted); }
.ebl-shop-header__media > img { width: 100%; height: 100%; object-fit: cover; }
.ebl-shop-header__content { padding: clamp(1.5rem, 4vw, 4rem); background: var(--ebl-paper); }
.ebl-shop-title-row { display: flex; align-items: center; gap: 1rem; }
.ebl-shop-title-row h1 { margin-bottom: 1rem; }
.ebl-shop-logo { width: 84px; height: 84px; padding: .4rem; border: 2px solid var(--ebl-ink); background: #fff; object-fit: contain; }
.ebl-shop-intro { max-width: 58ch; color: var(--ebl-ink-soft); font-size: 1.1rem; }
.ebl-shop-contact { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1rem 0; }
.ebl-shop-contact a { font-weight: 800; }
.ebl-shop-story { max-width: 900px; margin: 0 auto 3rem; padding: 1.5rem 2rem; border-left: 8px solid var(--ebl-accent); background: var(--ebl-muted); }
.ebl-products-toolbar__filters { display: flex; width: min(100%, 620px); gap: .75rem; }
.ebl-products-toolbar__filters label { flex: 1; }
.ebl-cart-page,
.ebl-checkout-page,
.ebl-tracking,
.ebl-proposal { max-width: 1180px; margin-inline: auto; }
.ebl-cart-layout,
.ebl-checkout-layout,
.ebl-proposal-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr); gap: 1.5rem; align-items: start; }
.ebl-cart-row { display: grid; grid-template-columns: 90px minmax(170px, 1fr) minmax(180px, 190px) minmax(105px, 125px) minmax(126px, auto); gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--ebl-line); }
.ebl-cart-row img { width: 90px; height: 90px; object-fit: cover; }
.ebl-cart-row input { min-width: 0; }
.ebl-cart-row__price { justify-self: end; min-width: 0; white-space: nowrap; text-align: right; }
.ebl-cart-totals { position: sticky; top: 1rem; }
.ebl-totals-row { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--ebl-line); }
.ebl-totals-row--grand { margin-top: .5rem; border-top: 4px solid var(--ebl-ink); border-bottom: 0; font-size: 1.25rem; }
.ebl-form { display: grid; gap: 1rem; }
.ebl-form label,
.ebl-panel label,
.ebl-modal label { display: grid; gap: .35rem; font-weight: 750; }
.ebl-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.ebl-fieldset { display: grid; gap: .75rem; margin: 0; padding: 1rem; border: 2px solid var(--ebl-line); }
.ebl-choice { display: flex !important; align-items: flex-start; gap: .7rem !important; padding: .8rem; border: 1px solid var(--ebl-line); cursor: pointer; }
.ebl-choice > span { display: grid; gap: .15rem; }
.ebl-choice small { color: var(--ebl-ink-soft); font-weight: 500; }
.ebl-choice input { width: auto !important; min-height: auto !important; margin-top: .25rem; }
.ebl-help { color: var(--ebl-ink-soft); font-size: .85rem; }
.ebl-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.ebl-order-summary { border: 1px solid var(--ebl-line); border-top: 8px solid var(--ebl-accent); background: var(--ebl-paper); box-shadow: var(--ebl-shadow); }
.ebl-order-summary > header { display: flex; align-items: start; justify-content: space-between; gap: 1rem; padding: 1.5rem; border-bottom: 1px solid var(--ebl-line); }
.ebl-status { padding: .45rem .65rem; border: 2px solid var(--ebl-ink); background: var(--ebl-muted); font-size: .78rem; font-weight: 900; text-transform: uppercase; }
.ebl-status--completed { border-color: var(--ebl-success); color: var(--ebl-success); }
.ebl-status--cancelled,
.ebl-status--refunded,
.ebl-status--expired { border-color: var(--ebl-danger); color: var(--ebl-danger); }
.ebl-order-summary__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--ebl-line); }
.ebl-order-summary__grid > div { display: grid; gap: .25rem; padding: 1rem 1.5rem; border-right: 1px solid var(--ebl-line); }
.ebl-order-summary__grid > div:last-child { border-right: 0; }
.ebl-order-summary__grid span { color: var(--ebl-ink-soft); font-size: .8rem; text-transform: uppercase; }
.ebl-order-lines { padding: 1rem 1.5rem; }
.ebl-order-lines + .ebl-order-lines { padding-top: 0; }
.ebl-order-lines--totals { border-top: 1px solid var(--ebl-line); }
.ebl-order-lines--totals > div:last-child { font-size: 1.12rem; color: var(--ebl-accent); }
.ebl-order-lines > div { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid var(--ebl-line); }
.ebl-order-summary .ebl-panel { margin: 0 1.5rem 1.5rem; }
.ebl-modal { position: fixed; z-index: 2147483000; inset: 0; display: grid; place-items: center; padding: 1rem; }
.ebl-modal[hidden] { display: none !important; }
.ebl-modal__backdrop { position: absolute; inset: 0; background: rgba(10, 19, 31, .82); }
.ebl-modal__dialog { position: relative; z-index: 1; width: min(960px, 100%); max-height: calc(100vh - 2rem); overflow: auto; border: 2px solid #fff; border-top: 9px solid var(--ebl-accent); background: var(--ebl-paper); box-shadow: 12px 12px 0 rgba(0,0,0,.36); }
.ebl-modal__close { position: sticky; z-index: 3; top: 0; float: right; width: 48px; height: 48px; border: 0; border-left: 2px solid var(--ebl-ink); border-bottom: 2px solid var(--ebl-ink); background: var(--ebl-ink); color: #fff; font-size: 1.5rem; cursor: pointer; }
.ebl-modal__grid { display: grid; grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr); clear: both; }
.ebl-modal__grid > * { min-width: 0; }
.ebl-modal__media { display: grid; min-height: 420px; place-items: center; overflow: hidden; padding: clamp(1rem, 2vw, 1.5rem); border-right: 7px solid var(--ebl-accent); background: #fff; }
.ebl-modal__media img { display: block; width: 100%; height: auto; max-width: 100%; max-height: min(560px, calc(100vh - 8rem)); min-height: 0; object-fit: contain; object-position: center; }
.ebl-modal--digital .ebl-modal__media,
.ebl-modal--donation .ebl-modal__media { display: grid; place-items: center; padding: clamp(1rem, 3vw, 2rem); background: #fff; }
.ebl-modal--digital .ebl-modal__media img,
.ebl-modal--donation .ebl-modal__media img { width: auto; height: auto; max-width: 100%; max-height: 520px; min-height: 0; object-fit: contain; object-position: center; }
.ebl-modal__content { min-width: 0; padding: clamp(1.25rem, 4vw, 3rem); overflow-wrap: anywhere; }
.ebl-modal__price { display: grid; gap: .2rem; margin-bottom: 1rem; font-size: 1.3rem; font-weight: 900; }
.ebl-modal__price small { color: var(--ebl-ink-soft); font-size: .92rem; font-weight: 800; }
.ebl-modal__components { display: grid; gap: .75rem; margin: 1rem 0; padding: 1rem; border: 2px solid var(--ebl-line); }
.ebl-modal__footer { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: end; gap: .75rem; margin-top: 1.25rem; }
.ebl-modal__footer .ebl-button { max-width: 100%; white-space: normal; }
.ebl-modal__footer--single { grid-template-columns: minmax(0, 1fr); }
.ebl-modal__footer--single .ebl-button { width: 100%; min-width: 0; }
.ebl-toast { position: fixed; z-index: 2147483100; right: 1rem; bottom: 1rem; display: flex; max-width: min(500px, calc(100vw - 2rem)); align-items: center; gap: 1rem; padding: 1rem 1.2rem; border: 2px solid #fff; border-left: 8px solid var(--ebl-accent); border-radius: 0 !important; background: var(--ebl-ink); color: #fff; box-shadow: 8px 8px 0 rgba(0,0,0,.25); }
.ebl-toast__message { flex: 1; }
.ebl-toast__action { flex: none; padding: .55rem .7rem; border: 1px solid currentColor; border-radius: 0 !important; color: #fff !important; font-size: .78rem; font-weight: 900; line-height: 1; text-decoration: none; text-transform: uppercase; }
.ebl-toast__action:hover,
.ebl-toast__action:focus-visible { background: #fff; color: var(--ebl-ink) !important; }

/* Persistent cart access in WordPress navigation menus. */
.ebl-cart-menu-item { position: relative; display: flex; align-items: center; }
.ebl-cart-link {
    position: relative;
    display: inline-flex !important;
    min-width: 42px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    border: 1px solid currentColor !important;
    border-radius: 0 !important;
    color: inherit !important;
    line-height: 1;
    text-decoration: none !important;
}
.ebl-cart-link:hover,
.ebl-cart-link:focus-visible { background: var(--ebl-cart-primary, #22334a) !important; color: #fff !important; outline: none; }
.ebl-cart-icon { width: 22px; height: 22px; flex: 0 0 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: square; stroke-linejoin: miter; }
.ebl-cart-link__label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.ebl-cart-link--label-visible { width: auto; padding: .72rem 1rem; }
.ebl-cart-link--label-visible .ebl-cart-link__label { position: static !important; width: auto !important; height: auto !important; margin: 0 !important; overflow: visible !important; clip: auto !important; white-space: normal !important; }
.ebl-cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    display: inline-grid !important;
    min-width: 22px;
    height: 22px;
    place-items: center;
    padding: 0 4px;
    border: 2px solid #fff;
    border-radius: 0 !important;
    background: var(--ebl-cart-primary, #22334a);
    color: #fff;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, .18);
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    pointer-events: none;
}
.cdi-menu > .ebl-cart-menu-item { margin-left: 5px; align-items: center; }
.cdi-menu > .ebl-cart-menu-item > .ebl-cart-menu-link { width: 42px; height: 42px; align-self: center; padding: 0 !important; border-bottom: 1px solid currentColor !important; }
.cdi-menu > .ebl-cart-menu-item > .ebl-cart-menu-link:hover,
.cdi-menu > .ebl-cart-menu-item > .ebl-cart-menu-link:focus-visible { border-bottom-color: currentColor !important; }
.cdi-mobile-menu .ebl-cart-menu-item > .ebl-cart-menu-link {
    display: flex !important;
    width: 100% !important;
    min-height: 52px;
    justify-content: flex-start;
    padding: 14px 8px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--cdi-line, #d8d5d1) !important;
}
.cdi-mobile-menu .ebl-cart-menu-item > .ebl-cart-menu-link:hover,
.cdi-mobile-menu .ebl-cart-menu-item > .ebl-cart-menu-link:focus-visible { background: rgba(34, 51, 74, .06) !important; color: var(--ebl-cart-primary, #22334a) !important; }
.cdi-mobile-menu .ebl-cart-link__label { position: static !important; width: auto !important; height: auto !important; margin: 0 !important; overflow: visible !important; clip: auto !important; white-space: normal !important; }
.cdi-mobile-menu .ebl-cart-count { position: static; margin-left: auto; border-color: var(--cdi-page, #fff); }
.ebl-loading { opacity: .58; pointer-events: none; }
.ebl-error-text { color: var(--ebl-danger); font-weight: 800; }
.ebl-success-text { color: var(--ebl-success); font-weight: 800; }
.ebl-merchant-shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 600px; border: 1px solid var(--ebl-line); background: var(--ebl-paper); box-shadow: var(--ebl-shadow); }
.ebl-merchant-nav { padding: 1rem; border-right: 1px solid var(--ebl-line); background: var(--ebl-ink); color: #fff; }
.ebl-merchant-nav a { display: block; padding: .8rem; border-bottom: 1px solid rgba(255,255,255,.18); color: #fff; font-weight: 750; text-decoration: none; }
.ebl-merchant-nav a[aria-current="page"] { border-left: 6px solid var(--ebl-accent); background: rgba(255,255,255,.12); }
.ebl-merchant-content { min-width: 0; padding: clamp(1rem, 3vw, 2.5rem); }
.ebl-table-wrap { overflow-x: auto; }
.ebl-table { width: 100%; border-collapse: collapse; }
.ebl-table th,
.ebl-table td { padding: .75rem; border: 1px solid var(--ebl-line); text-align: left; vertical-align: top; }
.ebl-table th { background: var(--ebl-muted); font-size: .78rem; text-transform: uppercase; }
.ebl-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.ebl-stat { padding: 1rem; border: 1px solid var(--ebl-line); border-top: 6px solid var(--ebl-accent); background: #fff; }
.ebl-stat span { display: block; color: var(--ebl-ink-soft); font-size: .75rem; text-transform: uppercase; }
.ebl-stat strong { font-size: 1.65rem; }
@media (max-width: 1100px) {
    .ebl-shop-grid,
    .ebl-shop-grid--compact,
    .ebl-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ebl-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ebl-cart-layout { grid-template-columns: 1fr; }
    .ebl-cart-totals { position: static; }
}
@media (max-width: 780px) {
    .ebl-hero,
    .ebl-shop-header,
    .ebl-modal__grid,
    .ebl-cart-layout,
    .ebl-checkout-layout,
    .ebl-proposal-layout,
    .ebl-merchant-shell { grid-template-columns: 1fr; }
    .ebl-hero__media,
    .ebl-shop-header__media,
    .ebl-modal__media { min-height: 280px; border-right: 0; border-bottom: 7px solid var(--ebl-accent); }
    .ebl-modal__media img { max-height: 320px; min-height: 0; }
    .ebl-section-heading,
    .ebl-products-toolbar { align-items: stretch; flex-direction: column; gap: 1rem; }
    .ebl-search,
    .ebl-products-toolbar__filters { width: 100%; }
    .ebl-cart-row { grid-template-columns: 70px minmax(0, 1fr) minmax(170px, 190px); }
    .ebl-cart-row img { width: 70px; height: 70px; }
    .ebl-cart-row__product { grid-column: 2; grid-row: 1; }
    .ebl-cart-row__qty { grid-column: 3; grid-row: 1; }
    .ebl-cart-row__price { grid-column: 2; grid-row: 2; justify-self: start; text-align: left; }
    .ebl-cart-row__remove { grid-column: 3; grid-row: 2; justify-self: stretch; }
    .ebl-order-summary__grid { grid-template-columns: 1fr; }
    .ebl-order-summary__grid > div { border-right: 0; border-bottom: 1px solid var(--ebl-line); }
    .ebl-merchant-nav { border-right: 0; }
}
@media (max-width: 540px) {
    .ebl-shop-grid,
    .ebl-shop-grid--compact,
    .ebl-product-grid,
    .ebl-form-grid,
    .ebl-stats { grid-template-columns: 1fr; }
    .ebl-hero__content,
    .ebl-shop-header__content,
    .ebl-modal__content { padding: 1.25rem; }
    .ebl-products-toolbar__filters { flex-direction: column; }
    .ebl-modal__footer { grid-template-columns: 1fr; }
    .ebl-number-stepper { max-width: none; }
    .ebl-cart-row { grid-template-columns: 60px minmax(0, 1fr); }
    .ebl-cart-row img { width: 60px; height: 60px; }
    .ebl-cart-row__product { grid-column: 2; grid-row: 1; }
    .ebl-cart-row__qty { grid-column: 1 / -1; grid-row: 2; }
    .ebl-cart-row__price { grid-column: 1 / -1; grid-row: 3; justify-self: end; text-align: right; }
    .ebl-cart-row__remove { grid-column: 1 / -1; grid-row: 4; justify-self: stretch; }
    .ebl .ebl-shop-card__media .ebl-shop-card__logo { top: 10px !important; left: 10px !important; width: 76px; height: 76px; }
}
@media (prefers-reduced-motion: reduce) {
    .ebl *,
    .ebl-modal * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Safe full-width fallback when Elementor is temporarily unavailable. */
body.ebl-shop-public-page:not(.elementor-page) .ebl-shop {
    width: min(100%, 1500px);
    margin-inline: auto;
    padding: 48px 32px 64px;
}
@media (max-width: 1024px) {
    body.ebl-shop-public-page:not(.elementor-page) .ebl-shop { padding: 36px 24px 48px; }
}
@media (max-width: 767px) {
    body.ebl-shop-public-page:not(.elementor-page) .ebl-shop { padding: 24px 18px 36px; }
}

/* --------------------------------------------------------------------------
 * Version 1.3.1 — guided forms, cache-safe checkout and ecommerce controls.
 * -------------------------------------------------------------------------- */
.ebl-number-stepper {
    display: inline-grid;
    grid-template-columns: 42px minmax(70px, 1fr) 42px;
    width: 100%;
    max-width: 190px;
    min-height: 44px;
    border: 2px solid var(--ebl-line);
    background: #fff;
}
.ebl-number-stepper > button {
    min-width: 42px;
    min-height: 42px;
    padding: 0;
    border: 0;
    background: var(--ebl-muted);
    color: var(--ebl-ink);
    font-size: 1.25rem;
    font-weight: 900;
    cursor: pointer;
}
.ebl-number-stepper > button:first-child { border-right: 1px solid var(--ebl-line); }
.ebl-number-stepper > button:last-child { border-left: 1px solid var(--ebl-line); }
.ebl-number-stepper > button:hover,
.ebl-number-stepper > button:focus-visible { background: var(--ebl-ink); color: #fff; }
.ebl-number-stepper > input[type="number"] {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: .45rem .35rem;
    border: 0 !important;
    background: #fff;
    text-align: center;
    appearance: textfield;
}
.ebl-number-stepper > input[type="number"]::-webkit-inner-spin-button,
.ebl-number-stepper > input[type="number"]::-webkit-outer-spin-button { margin: 0; appearance: none; }

.ebl-button--with-icon,
.ebl-cart-row__remove { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; }
.ebl-trash-icon { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: square; stroke-linejoin: miter; }
.ebl-cart-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-top: 1.25rem; }
.ebl-cart-row__remove {
    min-height: 42px;
    padding: .55rem .7rem;
    border: 1px solid var(--ebl-danger);
    background: transparent;
    color: var(--ebl-danger);
    font-size: .78rem;
    font-weight: 850;
    cursor: pointer;
}
.ebl-cart-row__remove:hover,
.ebl-cart-row__remove:focus-visible { background: var(--ebl-danger); color: #fff; }
.ebl-cart-row__product { min-width: 0; }
.ebl-cart-row__product p { margin-bottom: 0; }
.ebl-cart-row__qty { min-width: 0; justify-items: stretch; }
.ebl-cart-row__qty-label { display: block; margin-top: .2rem; color: var(--ebl-ink-soft); font-size: .72rem; font-weight: 650; }
.ebl-cart-totals__actions { display: grid; gap: .7rem; margin-top: 1rem; }

/* Merchant login page. */
.ebl-merchant-login { max-width: 1180px; margin-inline: auto; }
.ebl-merchant-login__layout {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(360px, 1.15fr);
    border: 1px solid var(--ebl-line);
    background: var(--ebl-paper);
    box-shadow: var(--ebl-shadow);
}
.ebl-merchant-login__intro {
    padding: clamp(1.5rem, 4vw, 3.5rem);
    border-right: 8px solid var(--ebl-accent);
    background: var(--ebl-ink);
    color: #fff;
}
.ebl-merchant-login__intro .ebl-kicker { color: #dce7b5; }
.ebl-merchant-login__intro h1,
.ebl-merchant-login__intro h2,
.ebl-merchant-login__intro a { color: #fff; }
.ebl-merchant-login__intro ul { margin: 1.25rem 0 0; padding-left: 1.2rem; }
.ebl-merchant-login__form { padding: clamp(1.5rem, 4vw, 3.5rem); }
.ebl-merchant-login__form #loginform { display: grid; gap: 1rem; margin: 0; }
.ebl-merchant-login__form #loginform p { margin: 0; }
.ebl-merchant-login__form #loginform label { display: grid; gap: .35rem; font-weight: 800; }
.ebl-merchant-login__form #user_login,
.ebl-merchant-login__form #user_pass {
    width: 100%;
    min-height: 48px;
    padding: .75rem .85rem;
    border: 2px solid var(--ebl-line);
    background: #fff;
    color: var(--ebl-ink);
}
.ebl-merchant-login__form .login-remember label { display: flex !important; align-items: center; gap: .55rem !important; font-weight: 650 !important; }
.ebl-merchant-login__form .login-remember input { width: auto; min-height: auto; }
.ebl-merchant-login__form #wp-submit {
    min-height: 48px;
    padding: .75rem 1rem;
    border: 2px solid var(--ebl-ink);
    background: var(--ebl-ink);
    color: #fff;
    font-weight: 850;
    cursor: pointer;
}
.ebl-merchant-login__form #wp-submit:hover,
.ebl-merchant-login__form #wp-submit:focus-visible { background: var(--ebl-accent); border-color: var(--ebl-accent); }

/* Persistent merchant access in desktop and mobile navigation. */
.ebl-merchant-menu-item { display: flex; align-items: center; }
.ebl-merchant-link {
    display: inline-flex !important;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    border: 1px solid currentColor !important;
    color: inherit !important;
    line-height: 1;
    text-decoration: none !important;
}
.ebl-merchant-link:hover,
.ebl-merchant-link:focus-visible { background: var(--ebl-cart-primary, #22334a) !important; color: #fff !important; }
.ebl-merchant-icon { width: 21px; height: 21px; flex: 0 0 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: square; stroke-linejoin: miter; }
.ebl-merchant-link__label { font-size: .78rem; font-weight: 850; white-space: nowrap; }
.cdi-menu > .ebl-merchant-menu-item { margin-left: 5px; }
.cdi-menu > .ebl-merchant-menu-item > .ebl-merchant-menu-link { min-width: 42px; height: 42px; padding: 0 .65rem !important; border-bottom: 1px solid currentColor !important; }
.cdi-mobile-menu .ebl-merchant-menu-item > .ebl-merchant-menu-link {
    display: flex !important;
    width: 100% !important;
    min-height: 52px;
    justify-content: flex-start;
    padding: 14px 8px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--cdi-line, #d8d5d1) !important;
}
.cdi-mobile-menu .ebl-merchant-menu-item > .ebl-merchant-menu-link:hover,
.cdi-mobile-menu .ebl-merchant-menu-item > .ebl-merchant-menu-link:focus-visible { background: rgba(34, 51, 74, .06) !important; color: var(--ebl-cart-primary, #22334a) !important; }

/* Shared structured controls used in the merchant workspace. */
.ebl-structured-grid { display: grid; gap: 1rem; align-items: start; }
.ebl-structured-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ebl-structured-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ebl-structured-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ebl-structured-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ebl-structured-span-2 { grid-column: span 2; }
.ebl-structured-full { grid-column: 1 / -1; }
.ebl-structured-grid label,
.ebl-product-editor label,
.ebl-new-product label,
.ebl-operations-form label,
.ebl-team-add label,
.ebl-inline-form label { display: grid; min-width: 0; gap: .35rem; font-weight: 800; }
.ebl-structured-grid label > span,
.ebl-product-editor label > span,
.ebl-new-product label > span,
.ebl-operations-form label > span,
.ebl-team-add label > span,
.ebl-inline-form label > span { font-size: .82rem; }
.ebl-structured-grid input,
.ebl-structured-grid select,
.ebl-structured-grid textarea,
.ebl-product-editor input,
.ebl-product-editor select,
.ebl-product-editor textarea,
.ebl-new-product input,
.ebl-new-product select,
.ebl-new-product textarea,
.ebl-operations-form input,
.ebl-operations-form select,
.ebl-operations-form textarea,
.ebl-team-add input,
.ebl-team-add select,
.ebl-inline-form input,
.ebl-inline-form select {
    width: 100%;
    min-height: 46px;
    padding: .68rem .78rem;
    border: 2px solid var(--ebl-line);
    background: #fff;
    color: var(--ebl-ink);
}
.ebl-structured-grid textarea,
.ebl-product-editor textarea,
.ebl-new-product textarea,
.ebl-operations-form textarea { min-height: 110px; resize: vertical; }
.ebl-structured-grid small,
.ebl-product-editor small,
.ebl-new-product small,
.ebl-operations-form small { color: var(--ebl-ink-soft); font-size: .74rem; font-weight: 500; }

.ebl-repeater { display: grid; gap: 1rem; }
.ebl-repeater__rows { display: grid; gap: 1rem; }
.ebl-structured-card {
    border: 1px solid var(--ebl-line);
    border-left: 7px solid var(--ebl-accent);
    background: #fff;
}
.ebl-structured-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .8rem 1rem;
    border-bottom: 1px solid var(--ebl-line);
    background: var(--ebl-muted);
}
.ebl-structured-card__header + input[type="hidden"] + .ebl-structured-grid,
.ebl-structured-card > .ebl-structured-grid { padding: 1rem; }
.ebl-structured-card .ebl-days-fieldset { margin: 0 1rem 1rem; }
.ebl-structured-card--compact .ebl-structured-grid { padding: .85rem; }
.ebl-row-actions { display: inline-flex; flex-wrap: nowrap; gap: .35rem; }
.ebl-row-actions button {
    display: inline-grid;
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
    place-items: center;
    padding: 0;
    border: 1px solid var(--ebl-line);
    background: #fff;
    color: var(--ebl-ink);
    font-weight: 900;
    cursor: pointer;
}
.ebl-row-actions button:hover,
.ebl-row-actions button:focus-visible { border-color: var(--ebl-ink); background: var(--ebl-ink); color: #fff; }
.ebl-row-actions .ebl-row-remove { border-color: var(--ebl-danger); color: var(--ebl-danger); }
.ebl-row-actions .ebl-row-remove:hover,
.ebl-row-actions .ebl-row-remove:focus-visible { background: var(--ebl-danger); color: #fff; }
.ebl-days-fieldset { margin: 0; padding: .9rem 1rem 1rem; border: 1px solid var(--ebl-line); }
.ebl-days-fieldset legend { padding: 0 .35rem; font-size: .78rem; font-weight: 850; }
.ebl-days-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .4rem; }
.ebl-days-grid label { position: relative; display: block; }
.ebl-days-grid input { position: absolute; opacity: 0; pointer-events: none; }
.ebl-days-grid span {
    display: grid;
    min-height: 40px;
    place-items: center;
    padding: .4rem;
    border: 1px solid var(--ebl-line);
    background: #fff;
    font-size: .72rem;
    font-weight: 800;
    cursor: pointer;
}
.ebl-days-grid input:checked + span { border-color: var(--ebl-ink); background: var(--ebl-ink); color: #fff; }
.ebl-days-grid input:focus-visible + span { outline: 3px solid #e1ad45; outline-offset: 2px; }
[data-ebl-delivery-value][hidden],
[data-ebl-delivery-radius][hidden],
[data-ebl-show-modes][hidden] { display: none !important; }

/* Version 1.5.0 — autonomous, shop-scoped merchant workspace. */
.ebl-merchant-title { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; padding-bottom: .8rem; border-bottom: 3px solid var(--ebl-ink); }
.ebl-merchant-title h2 { margin-bottom: .25rem; }
.ebl-merchant-title p { margin-bottom: 0; color: var(--ebl-ink-soft); }
.ebl-shop-switcher { min-width: min(100%, 320px); }
.ebl-shop-switcher label { display: grid; gap: .35rem; font-size: .78rem; font-weight: 800; }
.ebl-shop-switcher select { width: 100%; min-height: 44px; padding: .65rem .75rem; border: 2px solid var(--ebl-line); background: #fff; }
.ebl-inline-form { display: flex; flex-wrap: wrap; align-items: end; gap: .75rem; }
.ebl-inline-form label { flex: 1 1 180px; }
.ebl-merchant-overview-status { margin-top: 1.5rem; }
.ebl-merchant-product-list { display: grid; gap: 1rem; }
.ebl-merchant-product {
    border: 1px solid var(--ebl-line);
    border-left: 7px solid var(--ebl-accent);
    background: #fff;
}
.ebl-merchant-product__summary {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr) minmax(180px, auto) auto;
    grid-template-areas: "image identity stock toggle";
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    cursor: pointer;
    list-style: none;
}
.ebl-merchant-product__summary::-webkit-details-marker { display: none; }
.ebl-merchant-product__summary::after { grid-area: toggle; content: "+"; justify-self: end; font-size: 1.5rem; font-weight: 900; }
.ebl-merchant-product[open] > .ebl-merchant-product__summary::after { content: "−"; }
.ebl-merchant-product__image { grid-area: image; width: 78px; height: 78px; border: 1px solid var(--ebl-line); background: var(--ebl-muted); object-fit: cover; }
.ebl-merchant-product__image > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.ebl-merchant-product__image .ebl-media-placeholder { min-height: 100%; padding: .35rem; font-size: .58rem; }
.ebl-merchant-product__identity { grid-area: identity; display: grid; gap: .28rem; min-width: 0; }
.ebl-merchant-product__identity strong,
.ebl-merchant-product__identity small { overflow-wrap: anywhere; }
.ebl-merchant-product__body { min-width: 0; }
.ebl-merchant-product__body h3 { margin-bottom: .25rem; }
.ebl-merchant-product__body p { margin-bottom: 0; color: var(--ebl-ink-soft); }
.ebl-merchant-product__stock { grid-area: stock; min-width: 170px; padding-left: 1rem; border-left: 1px solid var(--ebl-line); }
.ebl-stock-form { display: flex; align-items: end; gap: .65rem; }
.ebl-stock-form label { min-width: 120px; }
.ebl-product-editor { display: grid; gap: 1rem; padding: 1rem; border-top: 1px solid var(--ebl-line); background: #fbfaf5; }
.ebl-product-editor__section { padding: 1rem; border: 1px solid var(--ebl-line); background: #fff; }
.ebl-product-editor__section > h3,
.ebl-product-editor__section > h4 { margin-bottom: .8rem; }
.ebl-new-product { margin-bottom: 1.5rem; border: 1px solid var(--ebl-line); border-top: 7px solid var(--ebl-accent); background: #fff; }
.ebl-new-product > summary { padding: 1rem 1.2rem; font-size: 1.08rem; font-weight: 850; cursor: pointer; }
.ebl-new-product__body { display: grid; gap: 1rem; padding: 1rem; border-top: 1px solid var(--ebl-line); }
.ebl-product-trash { margin-top: 1.25rem; border-top: 5px solid var(--ebl-line); }
.ebl-product-trash > summary { padding: 1rem 1.2rem; cursor: pointer; }
.ebl-product-trash > summary span { display: block; margin-top: .25rem; color: var(--ebl-ink-soft); font-size: .82rem; }
.ebl-product-trash__body { display: grid; border-top: 1px solid var(--ebl-line); }
.ebl-product-trash__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; border-bottom: 1px solid var(--ebl-line); }
.ebl-product-trash__row:last-child { border-bottom: 0; }
.ebl-team-add { margin-bottom: 1.25rem; }
.ebl-operations-form { display: grid; gap: 1.5rem; }
.ebl-stock-panel { padding: .85rem; border: 1px solid var(--ebl-line); background: var(--ebl-muted); }
.ebl-danger-zone { border-left: 7px solid var(--ebl-danger); background: #fff8f6; }
.ebl-danger-zone > p { margin-bottom: 1rem; }
.ebl-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; }

.ebl-merchant-media-field {
    display: grid;
    grid-template-columns: minmax(150px, 240px) minmax(0, 1fr);
    gap: 1rem;
    align-items: stretch;
    margin-bottom: 1rem;
    border: 1px solid var(--ebl-line);
    background: #fff;
}
.ebl-merchant-media-field__preview {
    display: grid;
    min-height: 170px;
    place-items: center;
    padding: .75rem;
    border-right: 1px solid var(--ebl-line);
    background: var(--ebl-muted);
    color: var(--ebl-ink-soft);
    text-align: center;
    overflow: hidden;
}
.ebl-merchant-media-field__preview img { display: block; width: 100%; height: 100%; max-height: 230px; object-fit: contain; }
.ebl-merchant-media-field__controls { display: grid; gap: .85rem; align-content: center; min-width: 0; padding: 1rem; }
.ebl-merchant-media-field__controls label { display: grid; gap: .4rem; min-width: 0; font-weight: 800; }
.ebl-merchant-media-field__controls select,
.ebl-merchant-media-field__controls input[type="file"],
.ebl-media-upload-panel input[type="file"] { width: 100%; min-width: 0; min-height: 46px; padding: .65rem; border: 2px solid var(--ebl-line); background: #fff; }
.ebl-media-library-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.ebl-media-library-card { min-width: 0; border: 1px solid var(--ebl-line); border-top: 7px solid var(--ebl-accent); background: #fff; }
.ebl-media-library-card__image { display: grid; min-height: 220px; place-items: center; padding: .75rem; border-bottom: 1px solid var(--ebl-line); background: var(--ebl-muted); }
.ebl-media-library-card__image img { display: block; width: 100%; height: 220px; object-fit: contain; }
.ebl-media-library-card__file span { display: grid; width: 96px; height: 96px; place-items: center; border: 2px solid var(--ebl-ink); color: var(--ebl-ink); font-size: .72rem; font-weight: 900; letter-spacing: .08em; }
.ebl-media-library-card__body { display: grid; gap: .65rem; padding: 1rem; }
.ebl-media-library-card__body > strong { overflow-wrap: anywhere; }
.ebl-media-library-card__body > small { color: var(--ebl-ink-soft); }
.ebl-media-library-card__body form { margin-top: auto; }
.ebl-media-library-card__body button[disabled] { opacity: .45; cursor: not-allowed; }
.ebl-media-library-subtitle { margin-top: 2rem; }

@media (max-width: 1100px) {
    .ebl-structured-grid--5,
    .ebl-structured-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ebl-days-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .ebl-media-library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
    .ebl-merchant-login__layout { grid-template-columns: 1fr; }
    .ebl-merchant-login__intro { border-right: 0; border-bottom: 8px solid var(--ebl-accent); }
    .ebl-structured-grid--2,
    .ebl-structured-grid--3,
    .ebl-structured-grid--4,
    .ebl-structured-grid--5 { grid-template-columns: 1fr; }
    .ebl-structured-span-2,
    .ebl-structured-full { grid-column: auto; }
    .ebl-days-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ebl-merchant-title { align-items: stretch; flex-direction: column; }
    .ebl-merchant-product__summary { grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: "image identity toggle" ". stock stock"; }
    .ebl-merchant-product__image { width: 64px; height: 64px; }
    .ebl-merchant-product__stock { padding: .75rem 0 0; border-top: 1px solid var(--ebl-line); border-left: 0; }
    .ebl-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ebl-merchant-media-field { grid-template-columns: 1fr; }
    .ebl-merchant-media-field__preview { min-height: 210px; border-right: 0; border-bottom: 1px solid var(--ebl-line); }
    .ebl-media-library-grid { grid-template-columns: 1fr; }
    .ebl-cart-actions { align-items: stretch; flex-direction: column; }
    .ebl-cart-actions > * { width: 100%; }
}
@media (max-width: 540px) {
    .ebl-number-stepper { width: 100%; }
    .ebl-structured-card__header { align-items: flex-start; flex-direction: column; }
    .ebl-row-actions { width: 100%; justify-content: flex-end; }
    .ebl-days-grid { grid-template-columns: 1fr 1fr; }
    .ebl-merchant-product__summary { grid-template-columns: 54px minmax(0, 1fr) auto; padding: .75rem; }
    .ebl-merchant-product__image { width: 54px; height: 54px; }
    .ebl-stock-form { align-items: stretch; flex-direction: column; }
    .ebl-stock-form > * { width: 100%; }
    .ebl-product-trash__row { align-items: stretch; flex-direction: column; }
    .ebl-category-grid { grid-template-columns: 1fr; }
}
.ebl-radius-location { display: grid; gap: .55rem; align-content: start; }
.ebl-radius-location__label { font-size: .82rem; font-weight: 800; }
.ebl-location-button {
    min-height: 44px;
    padding: .65rem .8rem;
    border: 2px solid var(--ebl-ink);
    background: #fff;
    color: var(--ebl-ink);
    font-weight: 800;
    cursor: pointer;
}
.ebl-location-button:hover,
.ebl-location-button:focus-visible { background: var(--ebl-ink); color: #fff; }
.ebl-advanced-fields { border: 1px solid var(--ebl-line); background: var(--ebl-muted); }
.ebl-advanced-fields > summary { padding: .65rem .75rem; font-size: .78rem; font-weight: 800; cursor: pointer; }
.ebl-advanced-fields[open] > summary { border-bottom: 1px solid var(--ebl-line); }
.ebl-advanced-fields > .ebl-structured-grid { padding: .75rem; }

/* 1.3.0 — international delivery and tiered shipping rates. */
.ebl-repeater__intro { display: grid; gap: .25rem; padding: .9rem 1rem; border-left: 6px solid var(--ebl-accent); background: var(--ebl-muted); }
.ebl-country-selector,
.ebl-rate-tiers { display: grid; gap: .75rem; margin: 0 1rem 1rem; padding: 1rem; border: 1px solid var(--ebl-line); background: var(--ebl-muted); border-radius: 0 !important; }
.ebl-country-selector { margin: 0; }
.ebl-country-selector__heading,
.ebl-rate-tiers__heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.ebl-country-selector__heading { align-items: start; flex-direction: column; }
.ebl-country-row,
.ebl-rate-tier-row { display: grid; gap: .65rem; align-items: end; margin-top: .65rem; }
.ebl-country-row { grid-template-columns: minmax(220px, 1fr) 44px; }
.ebl-rate-tier-row { grid-template-columns: minmax(150px, 1fr) minmax(150px, 1fr) 44px; }
.ebl-country-row select,.ebl-rate-tier-row input { width: 100%; }
.ebl-small-action { min-height: 42px; justify-self: start; padding: .6rem .8rem; border: 2px solid var(--ebl-ink); background: #fff; color: var(--ebl-ink); font-weight: 800; cursor: pointer; border-radius: 0 !important; }
.ebl-small-action:hover,.ebl-small-action:focus-visible { background: var(--ebl-ink); color: #fff; }
[data-ebl-delivery-countries][hidden],
[data-ebl-flat-rate][hidden],
[data-ebl-rate-tiers][hidden] { display: none !important; }
@media (max-width: 640px) {
    .ebl-country-selector__heading,.ebl-rate-tiers__heading { align-items: stretch; flex-direction: column; }
    .ebl-country-row,.ebl-rate-tier-row { grid-template-columns: 1fr 44px; }
    .ebl-rate-tier-row label { grid-column: 1 / -1; }
}

/* Version 1.3.2 — customer-friendly order tracking. */
.ebl-tracking-form { display: grid; gap: 1.25rem; }
.ebl-tracking-form__intro h2 { margin: 0 0 .35rem; color: var(--ebl-accent); }
.ebl-tracking-form__intro p { margin: 0; color: var(--ebl-ink-soft); }
.ebl-tracking-form__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.ebl-tracking-form__fields label { display: grid; gap: .4rem; font-weight: 700; }
.ebl-tracking-form__fields input { width: 100%; min-height: 50px; }
.ebl-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
@media (max-width: 720px) { .ebl-tracking-form__fields { grid-template-columns: 1fr; } }

/* Connected payment guidance and PayPal.Me manual confirmation — 1.3.3 */
.ebl [data-ebl-paypal-api-fields],
.ebl [data-ebl-paypal-me-fields] {
    display: grid;
    gap: 14px;
}
.ebl [data-ebl-paypal-api-fields][hidden],
.ebl [data-ebl-paypal-me-fields][hidden] { display: none !important; }
.ebl .ebl-external-link { width: fit-content; }
.ebl .ebl-manual-payment-form { margin-top: 10px; }
.ebl .ebl-manual-payment-form .ebl-button { white-space: normal; }
.ebl .ebl-paypal-me-pending {
    margin-top: 18px;
    border-left: 6px solid #0070ba;
}
.ebl .ebl-paypal-me-pending h3 { margin-top: 0; }

/* Version 1.4.0 — digital products, donations and resilient external payments. */
.ebl-notice--success,
.ebl-notice--info { border-left-color: var(--ebl-success); background: #f4faef; }
.ebl-donation-amount { display: grid; gap: .45rem; margin: 1rem 0; }
.ebl-donation-amount input { max-width: 260px; min-height: 50px; font-size: 1.1rem; font-weight: 800; }
.ebl-cart-row__qty--fixed { display: flex; align-items: center; min-height: 48px; padding: .65rem .8rem; border: 1px solid var(--ebl-line); background: var(--ebl-muted); font-weight: 800; }
.ebl-pending-payment { margin-bottom: 1.25rem; border-left: 7px solid #0070ba; }
.ebl-pending-payment h2,
.ebl-pending-payment h3 { margin-top: 0; }
.ebl-pending-payment__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }
.ebl-no-fulfilment .ebl-notice p { margin: .35rem 0 0; }
.ebl-downloads { margin-top: 1.25rem; border-left: 7px solid var(--ebl-success); }
.ebl-downloads h3 { margin-top: 0; }
.ebl-downloads__list { display: grid; gap: .75rem; }
.ebl-download-item { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem; border: 1px solid var(--ebl-line); background: #fff; }
.ebl-download-item p { margin: .35rem 0 0; color: var(--ebl-ink-soft); }
@media (max-width: 720px) {
    .ebl-pending-payment__actions,
    .ebl-download-item { align-items: stretch; flex-direction: column; }
    .ebl-pending-payment__actions > *,
    .ebl-download-item .ebl-button { width: 100%; }
}

/* Version 1.4.1 — modal layout correction for digital products and donations. */
.ebl-modal--digital .ebl-notice--info,
.ebl-modal--donation .ebl-notice--info { max-width: 100%; }


/* --------------------------------------------------------------------------
 * Version 1.4.3 corrective revision — selectable pickup calendar.
 * Invalid weekdays are real disabled buttons, not dates rejected afterwards.
 * -------------------------------------------------------------------------- */
.ebl-date-picker {
    position: relative;
    width: 100%;
}
.ebl .ebl-date-picker__trigger {
    display: flex;
    width: 100%;
    min-height: 50px;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .72rem .85rem;
    border: 2px solid var(--ebl-line);
    background: #fff;
    color: var(--ebl-ink);
    font-weight: 800;
    line-height: 1.25;
    text-align: left;
    cursor: pointer;
}
.ebl .ebl-date-picker__trigger:hover:not([disabled]),
.ebl .ebl-date-picker__trigger:focus-visible {
    border-color: var(--ebl-ink);
    background: #fff;
}
.ebl .ebl-date-picker__trigger[aria-invalid="true"] { border-color: var(--ebl-danger); }
.ebl .ebl-date-picker__trigger[disabled] { background: var(--ebl-muted); color: var(--ebl-ink-soft); }
.ebl-date-picker__icon { flex: 0 0 auto; font-size: 1.1rem; line-height: 1; }
.ebl-date-picker__popover {
    position: absolute;
    z-index: 10020;
    top: calc(100% + 8px);
    left: 0;
    width: min(380px, calc(100vw - 48px));
    padding: .85rem;
    border: 2px solid var(--ebl-ink);
    background: var(--ebl-paper);
    box-shadow: 7px 7px 0 rgba(23, 38, 58, .2);
}
.ebl-date-picker__popover[hidden] { display: none !important; }
.ebl-date-picker__header {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: .5rem;
    align-items: center;
    margin-bottom: .65rem;
}
.ebl-date-picker__month {
    margin: 0;
    font-size: .95rem;
    font-weight: 900;
    text-align: center;
    text-transform: capitalize;
}
.ebl .ebl-date-picker__nav {
    display: grid;
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    place-items: center;
    padding: 0;
    border: 1px solid var(--ebl-line);
    background: #fff;
    color: var(--ebl-ink);
    font-size: 1.2rem;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
}
.ebl .ebl-date-picker__nav:hover:not([disabled]),
.ebl .ebl-date-picker__nav:focus-visible { border-color: var(--ebl-ink); background: var(--ebl-ink); color: #fff; }
.ebl-date-picker__weekdays,
.ebl-date-picker__grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: .28rem;
}
.ebl-date-picker__weekdays { margin-bottom: .3rem; }
.ebl-date-picker__weekdays span {
    display: grid;
    min-height: 26px;
    place-items: center;
    color: var(--ebl-ink-soft);
    font-size: .68rem;
    font-weight: 900;
    text-transform: uppercase;
}
.ebl-date-picker__empty { min-height: 40px; }
.ebl .ebl-date-picker__day {
    display: grid;
    width: 100%;
    min-width: 0;
    min-height: 40px;
    place-items: center;
    padding: .2rem;
    border: 1px solid var(--ebl-line);
    background: #fff;
    color: var(--ebl-ink);
    font-size: .82rem;
    font-weight: 850;
    line-height: 1;
    cursor: pointer;
}
.ebl .ebl-date-picker__day:hover:not([disabled]),
.ebl .ebl-date-picker__day:focus-visible { border-color: var(--ebl-ink); background: var(--ebl-muted); }
.ebl .ebl-date-picker__day[aria-pressed="true"] {
    border-color: var(--ebl-ink);
    background: var(--ebl-ink);
    color: #fff;
}
.ebl .ebl-date-picker__day[disabled] {
    border-color: #dedbd0;
    background: #f3f1e9;
    color: #aaa69b;
    opacity: .62;
    cursor: not-allowed;
}
.ebl-date-picker__note {
    margin: .7rem 0 0;
    color: var(--ebl-ink-soft);
    font-size: .72rem;
    font-weight: 650;
    line-height: 1.35;
}
@media (max-width: 540px) {
    .ebl-date-picker__popover { width: min(100%, calc(100vw - 36px)); }
    .ebl .ebl-date-picker__day { min-height: 38px; }
}
