.elementor-6566 .elementor-element.elementor-element-ba836fa{--display:flex;--margin-top:0px;--margin-bottom:20px;--margin-left:0px;--margin-right:0px;}/* Start custom CSS for shortcode, class: .elementor-element-dc4af7f *//* ── COA Library — CellPept brand ── */

/* ── Brand tokens ── */
:root {
    --coa-primary: #1577d1;
    --coa-primary-dark: #0d4e94;
    --coa-grad: linear-gradient(135deg, #2b90e8 0%, #0f63bd 100%);
    --coa-grad-dark: linear-gradient(135deg, #1f7fd6 0%, #0b4f9c 100%);
    --coa-ink: #0e1b2e;
    --coa-muted: #5b6b80;
    --coa-green: #15803d;
    --coa-green-soft: #e7f7ec;
    --coa-border: #e6e9ef;
    --coa-ring: #dcebfa;
    --coa-glow: rgba(21,119,209,0.32);
}

.coa-library-wrap {
    max-width: 1100px;
    margin: 0 auto;
    font-family: inherit;
}

/* ── Top Bar ── */
.coa-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.coa-search-wrap {
    flex: 1 1 420px;
    max-width: 520px;
    position: relative;
}

.coa-search-wrap::before {
    content: "🔍";
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    opacity: 0.4;
    pointer-events: none;
}

#coa-live-search {
    width: 100%;
    height: 54px;
    padding: 0 18px 0 42px;
    border: 2px solid var(--coa-border);
    border-radius: 12px;
    font-size: 15px;
    background: #fff;
    color: var(--coa-ink);
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

#coa-live-search:focus {
    outline: none;
    border-color: var(--coa-primary);
    box-shadow: 0 0 0 3px rgba(21,119,209,0.14);
}

#coa-live-search::placeholder {
    color: #a0aec0;
}

.coa-sort-wrap {
    flex: 0 0 240px;
}

#coa-sort-select {
    width: 100%;
    height: 54px;
    padding: 0 16px;
    border: 2px solid var(--coa-border);
    border-radius: 12px;
    font-size: 14px;
    background: #fff;
    color: var(--coa-ink);
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    transition: border-color 0.2s;
}

#coa-sort-select:focus {
    outline: none;
    border-color: var(--coa-primary);
}

/* Results pill: label style, not button */
.coa-results-count {
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #1577d1;
    background: #e8f2fc;
    border: 1.5px solid #b8d8f5;
    padding: 11px 18px;
    border-radius: 12px;
    white-space: nowrap;
    box-shadow: none;
}

/* ── List ── */
.coa-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* ── Card ── */
.coa-item {
    position: relative;
    background: #fff;
    border: 1px solid var(--coa-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(14,27,46,0.06);
    transition: box-shadow 0.2s;
}

.coa-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: var(--coa-grad);
}

.coa-item:hover {
    box-shadow: 0 10px 28px rgba(21,119,209,0.16);
}

.coa-item-row {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 24px 26px 24px 28px;
}

/* ── Product Image ── */
.coa-item-image {
    flex: 0 0 66px;
}

.coa-item-image img {
    width: 66px;
    height: 66px;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--coa-ring);
    padding: 5px;
    display: block;
}

/* ── Content ── */
.coa-item-content {
    flex: 1;
    min-width: 0;
}

.coa-item-left h3 {
    margin: 0 0 15px;
    font-size: 18px;
    font-weight: 800;
    color: var(--coa-ink);
    line-height: 1.25;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.coa-product-link {
    color: var(--coa-ink);
    text-decoration: none;
    transition: color 0.2s;
}

.coa-product-link:hover {
    color: var(--coa-primary);
}

/* ── Batch List ── */
.coa-batch-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.coa-batch-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 13px 0;
    border-top: 1px solid #eef2f7;
}

.coa-batch-row:first-child {
    border-top: none;
    padding-top: 0;
}

.coa-batch-row:last-child {
    padding-bottom: 0;
}

.coa-batch-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    min-width: 0;
}

/* ── Badges ── */
.coa-badge {
    display: inline-block;
    padding: 6px 12px;
    background: var(--coa-grad);
    color: #fff;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    line-height: 1.2;
}

.coa-purity {
    background: var(--coa-green-soft);
    color: var(--coa-green);
}

.coa-date {
    font-size: 13px;
    color: var(--coa-muted);
    font-weight: 500;
}

/* ── Action ── */
.coa-batch-action {
    flex: 0 0 auto;
}

/* Button: scoped + !important to beat WoodMart overrides */
.coa-library-wrap .coa-btn {
    display: inline-block !important;
    padding: 12px 24px !important;
    background: linear-gradient(135deg, #2b90e8 0%, #0f63bd 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 9px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    letter-spacing: 0.6px !important;
    text-transform: uppercase !important;
    box-shadow: 0 4px 12px rgba(21,119,209,0.32) !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    text-decoration: none !important;
    line-height: normal !important;
    transition: box-shadow 0.2s, background 0.2s !important;
}

.coa-library-wrap .coa-btn:hover {
    background: linear-gradient(135deg, #1f7fd6 0%, #0b4f9c 100%) !important;
    color: #fff !important;
    box-shadow: 0 6px 18px rgba(21,119,209,0.45) !important;
}

/* ── Popup ── */
.coa-popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 22, 40, 0.85);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.coa-popup-overlay.active {
    display: flex;
}

.coa-popup-inner {
    position: relative;
    width: 100%;
    max-width: 960px;
    height: 90vh;
    background: #fff;
    border-radius: 12px;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.coa-popup-inner iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}



/* Close button: fixed position, beats WoodMart */
#coa-popup-close {
    position: absolute !important;
    top: 12px !important;
    right: 14px !important;
    left: auto !important;
    width: 36px !important;
    height: 36px !important;
    min-width: unset !important;
    min-height: unset !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #0e1b2e !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50% !important;
    font-size: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
    cursor: pointer !important;
    line-height: 1 !important;
}

#coa-popup-close:hover {
    background: #1577d1 !important;
}

/* ── Mobile ── */
@media (max-width: 767px) {
    .coa-library-wrap {
        max-width: 100%;
        width: 100%;
    }

    .coa-top-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .coa-search-wrap,
    .coa-sort-wrap {
        max-width: 100%;
        width: 100%;
        flex: 1 1 auto;
    }

    #coa-live-search,
    #coa-sort-select {
        height: 52px;
        font-size: 15px;
    }

    .coa-results-count {
        text-align: center;
    }

    .coa-list {
        gap: 14px;
    }

    .coa-item-row {
        padding: 18px 16px 18px 20px;
        gap: 12px;
        align-items: center;
    }

    .coa-item-image {
        display: none;
    }

    .coa-item-left h3 {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .coa-batch-row {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 12px;
        border-top: none;
        background: #f4f9fe;
        border-radius: 10px;
        margin-bottom: 8px;
    }

    .coa-batch-row:first-child {
        padding-top: 12px;
    }

    .coa-batch-row:last-child {
        margin-bottom: 0;
    }

    .coa-badge {
        font-size: 10px;
        padding: 5px 10px;
    }

    .coa-date {
        font-size: 12px;
    }

    .coa-batch-action {
        width: 100%;
    }

    .coa-library-wrap .coa-btn {
        width: 100% !important;
        text-align: center !important;
        padding: 14px !important;
        font-size: 14px !important;
        border-radius: 9px !important;
    }

    .coa-popup-overlay {
        padding: 0;
    }

    .coa-popup-inner {
        height: 100vh;
        border-radius: 0;
        max-width: 100%;
    }


}/* End custom CSS */