/* ============================================================================
   WC KIT BUILDER — GENPEPTIDE PREMIUM EDITION
   ============================================================================
   Brand-matched styling that mirrors the COA Library, Track My Order, and
   homepage hero.

   Color tokens (identical to the COA library):
     --gp-navy        #14294a   deep navy (gradient + headlines)
     --gp-navy-2      #1e3a5f   mid navy
     --gp-navy-3      #234775   light navy (gradient terminus)
     --gp-accent      #2c6cb0   accent blue
     --gp-accent-soft #e8f0fa   accent fill
     --gp-green       #5fb84a   signature CTA green
     --gp-green-2     #4ea33a   green hover
     --gp-green-glow  #4ade80   verified pulse
     --gp-line        #e3ebf4   borders
     --gp-line-2      #f0f5fa   subtle fills

   No PHP/JS/markup changed — only this stylesheet.
============================================================================ */

.wckb-app {
    /* Brand tokens */
    --gp-navy:        #14294a;
    --gp-navy-2:      #1e3a5f;
    --gp-navy-3:      #234775;
    --gp-accent:      #2c6cb0;
    --gp-accent-2:    #3b82c4;
    --gp-accent-soft: #e8f0fa;
    --gp-green:       #5fb84a;
    --gp-green-2:     #4ea33a;
    --gp-green-glow:  #4ade80;
    --gp-ink:         #14294a;
    --gp-ink-2:       #1a2233;
    --gp-muted:       #5b6878;
    --gp-muted-2:     #8794a5;
    --gp-line:        #e3ebf4;
    --gp-line-2:      #f0f5fa;
    --gp-bg:          #f4f8fc;

    /* Legacy plugin tokens, rebound to brand values so any internal usage stays in-system */
    --wckb-accent:        var(--gp-accent);
    --wckb-border:        var(--gp-line);
    --wckb-border-strong: var(--gp-accent);
    --wckb-muted:         var(--gp-muted);
    --wckb-surface:       var(--gp-line-2);
    --wckb-surface-hover: var(--gp-accent-soft);
    --wckb-success:       var(--gp-green-2);
    --wckb-radius:        10px;

    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--gp-ink-2);
    width: 100%;
    margin: 0 auto;
    padding: 32px 0 48px;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.wckb-app *,
.wckb-app *::before,
.wckb-app *::after { box-sizing: border-box; }

/* Full-width mode: break out of theme container constraints (edge to edge) */
.wckb-app.wckb-full-width {
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding-left: 32px;
    padding-right: 32px;
}
@media (max-width: 600px) {
    .wckb-app.wckb-full-width {
        padding-left: 16px;
        padding-right: 16px;
    }
}


/* ============================================================================
   HEADER — navy gradient hero matching the COA library
============================================================================ */
.wckb-app .wckb-header {
    position: relative;
    background: linear-gradient(135deg, #14294a 0%, #1e3a5f 60%, #234775 100%);
    border-radius: 16px;
    padding: 28px 32px;
    margin: 0 0 28px;
    color: #fff;
    overflow: hidden;
    box-shadow: 0 14px 40px -16px rgba(20, 41, 74, 0.5);
}
.wckb-app .wckb-header::before {
    content: "";
    position: absolute;
    top: 0; right: 0;
    width: 320px; height: 100%;
    background:
        radial-gradient(circle at 90% 20%, rgba(74, 222, 128, 0.15), transparent 55%),
        radial-gradient(circle at 70% 80%, rgba(59, 130, 196, 0.18), transparent 60%);
    pointer-events: none;
}
.wckb-app .wckb-title {
    font-family: inherit;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 8px;
    position: relative;
    z-index: 1;
}
.wckb-app .wckb-subtitle {
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
    font-size: 14.5px;
    line-height: 1.6;
    font-weight: 400;
    position: relative;
    z-index: 1;
}
.wckb-app .wckb-promo {
    display: inline-flex;
    align-items: center;
    margin-left: 10px;
    padding: 5px 12px;
    background: rgba(95, 184, 74, 0.18);
    color: #a8e89a;
    border: 1px solid rgba(95, 184, 74, 0.35);
    border-radius: 100px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* ============================================================================
   VALUE STRIP — three-up card row below the hero
   Explains the Mini-Kit advantage at a glance.
============================================================================ */
.wckb-app .wckb-value-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 0 0 28px;
}

.wckb-app .wckb-value-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--gp-line);
    border-radius: 12px;
    padding: 16px 18px;
    box-shadow: 0 2px 8px -4px rgba(20, 41, 74, 0.05);
    position: relative;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.wckb-app .wckb-value-item::before {
    content: "";
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--gp-accent) 0%, var(--gp-green) 100%);
    opacity: 0;
    transition: opacity .25s ease;
}
.wckb-app .wckb-value-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -14px rgba(20, 41, 74, 0.2);
    border-color: rgba(44, 108, 176, 0.3);
}
.wckb-app .wckb-value-item:hover::before { opacity: 1; }

.wckb-app .wckb-value-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 10px;
    background: var(--gp-accent-soft);
    color: var(--gp-accent);
    display: flex;
    align-items: center;
    justify-content: center;
}
.wckb-app .wckb-value-item:nth-child(2) .wckb-value-icon {
    background: rgba(95, 184, 74, 0.12);
    color: var(--gp-green-2);
}
.wckb-app .wckb-value-item:nth-child(3) .wckb-value-icon {
    background: rgba(20, 41, 74, 0.08);
    color: var(--gp-navy);
}

.wckb-app .wckb-value-body {
    min-width: 0;
    flex: 1;
}
.wckb-app .wckb-value-title {
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--gp-navy);
    letter-spacing: -0.005em;
    line-height: 1.2;
    margin-bottom: 4px;
}
.wckb-app .wckb-value-desc {
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--gp-muted);
    font-weight: 400;
}

@media (max-width: 900px) {
    .wckb-app .wckb-value-strip {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 22px;
    }
    .wckb-app .wckb-value-item {
        padding: 14px 16px;
    }
}


/* ============================================================================
   LAYOUT
============================================================================ */
.wckb-app .wckb-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: start;
}
@media (max-width: 960px) {
    .wckb-app .wckb-layout { grid-template-columns: 1fr; }
}


/* ============================================================================
   SEARCH — same input language as the COA library
============================================================================ */
.wckb-app .wckb-search {
    position: relative;
    margin-bottom: 18px;
}
.wckb-app .wckb-search-input {
    width: 100%;
    padding: 13px 16px 13px 44px;
    background: #fff;
    border: 1.5px solid var(--gp-line);
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--gp-ink);
    font-family: inherit;
    line-height: 1.4;
    outline: none;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.wckb-app .wckb-search-input::placeholder {
    color: var(--gp-muted-2);
    font-weight: 400;
}
.wckb-app .wckb-search-input:hover {
    background: var(--gp-line-2);
}
.wckb-app .wckb-search-input:focus {
    background: #fff;
    border-color: var(--gp-accent);
    box-shadow: 0 0 0 4px rgba(44, 108, 176, 0.12);
}
.wckb-app .wckb-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    color: var(--gp-muted);
    pointer-events: none;
}


/* ============================================================================
   PRODUCT GRID
============================================================================ */
.wckb-app .wckb-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
@media (max-width: 760px) {
    .wckb-app .wckb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
    .wckb-app .wckb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* ============================================================================
   PRODUCT CARD
============================================================================ */
.wckb-app .wckb-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--gp-line);
    border-radius: 14px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 2px 8px -4px rgba(20, 41, 74, 0.05);
    overflow: hidden;
    opacity: 0;
    animation: wckb-fade-in 0.3s ease forwards;
    transition: transform .25s ease,
                box-shadow .25s ease,
                border-color .25s ease;
}
.wckb-app .wckb-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gp-accent) 0%, var(--gp-green) 100%);
    opacity: 0;
    transition: opacity .25s ease;
    pointer-events: none;
}
@keyframes wckb-fade-in {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.wckb-app .wckb-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 44px -18px rgba(20, 41, 74, 0.25);
    border-color: rgba(44, 108, 176, 0.4);
}
.wckb-app .wckb-card:hover::before { opacity: 1; }

.wckb-app .wckb-card.is-selected {
    border-color: var(--gp-accent);
    box-shadow: 0 0 0 2px rgba(44, 108, 176, 0.15),
                0 12px 28px -14px rgba(20, 41, 74, 0.25);
}
.wckb-app .wckb-card.is-selected::before { opacity: 1; }

/* Thumb */
.wckb-app .wckb-card-thumb {
    position: relative;
    aspect-ratio: 1;
    border-radius: 10px;
    background: var(--gp-line-2);
    overflow: hidden;
}
.wckb-app .wckb-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
    /* Use the browser's high-quality scaling on product images. */
    image-rendering: auto;
    image-rendering: -webkit-optimize-contrast;
}
.wckb-app .wckb-card:hover .wckb-card-thumb img { transform: scale(1.06); }

.wckb-app .wckb-card-title {
    font-family: inherit;
    font-size: 13.5px;
    line-height: 1.3;
    font-weight: 700;
    margin: 0;
    color: var(--gp-navy);
    letter-spacing: -0.005em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wckb-app .wckb-card-price {
    font-size: 13px;
    color: var(--gp-muted);
    margin: 0;
    font-weight: 600;
    font-feature-settings: 'tnum' 1;
    font-variant-numeric: tabular-nums;
}
.wckb-app .wckb-card-price .amount,
.wckb-app .wckb-card-price ins,
.wckb-app .wckb-card-price del {
    color: inherit;
    text-decoration: none;
    background: transparent;
}
.wckb-app .wckb-card-price ins {
    color: var(--gp-navy);
    font-weight: 700;
}
.wckb-app .wckb-card-price del {
    color: var(--gp-muted-2);
    text-decoration: line-through;
    margin-right: 6px;
    opacity: 0.75;
}

/* Variation dropdown */
.wckb-app .wckb-card-variation {
    width: 100%;
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    padding: 8px 12px;
    border: 1.5px solid var(--gp-line);
    border-radius: 8px;
    background: var(--gp-line-2);
    color: var(--gp-ink);
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.wckb-app .wckb-card-variation:hover {
    background: #fff;
    border-color: rgba(44, 108, 176, 0.3);
}
.wckb-app .wckb-card-variation:focus {
    outline: 0;
    background: #fff;
    border-color: var(--gp-accent);
    box-shadow: 0 0 0 3px rgba(44, 108, 176, 0.12);
}

/* Add-to-kit button — matches the shop's "ADD TO CART" navy gradient */
.wckb-app .wckb-card-btn {
    margin-top: auto;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    border: 0;
    background: linear-gradient(180deg, #2c6cb0 0%, #14294a 100%);
    color: #fff;
    padding: 12px 12px;
    border-radius: 9px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15),
                0 4px 14px -6px rgba(20, 41, 74, 0.45);
    transition: filter .2s ease, transform .15s ease, box-shadow .2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.wckb-app .wckb-card-btn:hover:not(:disabled) {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18),
                0 8px 20px -6px rgba(20, 41, 74, 0.5);
}
.wckb-app .wckb-card-btn:active:not(:disabled) {
    transform: translateY(0);
    filter: brightness(0.96);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1),
                0 4px 10px -4px rgba(20, 41, 74, 0.45);
}
.wckb-app .wckb-card-btn:focus-visible {
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15),
                0 0 0 4px rgba(44, 108, 176, 0.25),
                0 4px 14px -6px rgba(20, 41, 74, 0.45);
}

/* "In Kit" state — flip to green so it reads clearly as "already selected"
   without becoming a second navy CTA fighting the main one below. */
.wckb-app .wckb-card.is-selected .wckb-card-btn {
    background: linear-gradient(180deg, #6dc55a 0%, #4ea33a 100%);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18),
                0 4px 14px -6px rgba(95, 184, 74, 0.5);
}
.wckb-app .wckb-card.is-selected .wckb-card-btn:hover:not(:disabled) {
    filter: brightness(1.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2),
                0 8px 20px -6px rgba(95, 184, 74, 0.55);
}

.wckb-app .wckb-card-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
    filter: none;
}

/* Selection check badge — green with pulsing dot vibe of the COA verified pill */
.wckb-app .wckb-card-check {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 26px;
    height: 26px;
    background: var(--gp-green);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.4);
    transition: opacity .2s ease, transform .25s cubic-bezier(0.2, 1.3, 0.4, 1);
    pointer-events: none;
    z-index: 2;
    box-shadow: 0 4px 12px -2px rgba(95, 184, 74, 0.5);
}
.wckb-app .wckb-card.is-selected .wckb-card-check {
    opacity: 1;
    transform: scale(1);
}
.wckb-app .wckb-card-check svg { width: 14px; height: 14px; }

/* Quantity badge */
.wckb-app .wckb-card-qty {
    position: absolute;
    top: 10px;
    left: 10px;
    min-width: 26px;
    height: 26px;
    padding: 0 8px;
    background: var(--gp-navy);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 4px 12px -2px rgba(20, 41, 74, 0.4);
    animation: wckb-qty-pop 0.25s cubic-bezier(0.2, 1.3, 0.4, 1);
    font-feature-settings: 'tnum' 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}
@keyframes wckb-qty-pop {
    from { transform: scale(0.4); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}


/* ============================================================================
   PAGINATION + LOADER
============================================================================ */
.wckb-app .wckb-pagination {
    display: flex;
    justify-content: center;
    margin-top: 22px;
    min-height: 44px;
}

.wckb-app .wckb-loader {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
}
.wckb-app .wckb-loader span {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gp-accent);
    animation: wckb-loader-bounce 1.2s ease-in-out infinite;
}
.wckb-app .wckb-loader span:nth-child(1) { background: var(--gp-navy);   animation-delay: 0s; }
.wckb-app .wckb-loader span:nth-child(2) { background: var(--gp-accent); animation-delay: 0.15s; }
.wckb-app .wckb-loader span:nth-child(3) { background: var(--gp-green);  animation-delay: 0.3s; }
@keyframes wckb-loader-bounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
    40%           { transform: scale(1);   opacity: 1; }
}


/* ============================================================================
   KIT CASE PANEL — sticky right column
============================================================================ */
.wckb-app .wckb-case {
    position: sticky;
    top: 24px;
}
.wckb-app .wckb-case-shell {
    background: #fff;
    border: 1px solid var(--gp-line);
    border-radius: 14px;
    padding: 22px;
    position: relative;
    box-shadow: 0 4px 18px -10px rgba(20, 41, 74, 0.1);
    overflow: hidden;
}
.wckb-app .wckb-case-shell::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gp-accent) 0%, var(--gp-green) 100%);
    pointer-events: none;
}
.wckb-app .wckb-case-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 10px;
}
.wckb-app .wckb-case-header h3 {
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    margin: 0;
    color: var(--gp-navy);
    letter-spacing: -0.01em;
    line-height: 1.2;
}
.wckb-app .wckb-counter {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    background: var(--gp-accent-soft);
    color: var(--gp-accent);
    border: 1px solid rgba(44, 108, 176, 0.22);
    border-radius: 100px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    font-feature-settings: 'tnum' 1;
    font-variant-numeric: tabular-nums;
    transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.wckb-app .wckb-counter-current {
    color: inherit;
    font-weight: 700;
}
/* When kit is complete (5/5), counter goes solid green */
.wckb-app[data-kit-complete="true"] .wckb-counter,
.wckb-app .wckb-counter.is-complete {
    background: rgba(95, 184, 74, 0.12);
    color: #3d8a2f;
    border-color: rgba(95, 184, 74, 0.35);
}


/* ============================================================================
   SLOTS
============================================================================ */
.wckb-app .wckb-slots {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.wckb-app .wckb-slot {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--gp-line-2);
    border: 1.5px dashed var(--gp-line);
    min-height: 64px;
    transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.wckb-app .wckb-slot.is-filled {
    background: #fff;
    border-style: solid;
    border-color: var(--gp-line);
    box-shadow: 0 2px 8px -4px rgba(20, 41, 74, 0.08);
}
.wckb-app .wckb-slot.is-pulsing {
    animation: wckb-slot-pulse 0.7s cubic-bezier(0.34, 1.4, 0.4, 1);
}
@keyframes wckb-slot-pulse {
    0%   { transform: scale(1);    box-shadow: 0 0 0 0 rgba(95, 184, 74, 0.5); }
    40%  { transform: scale(1.025); box-shadow: 0 0 0 8px rgba(95, 184, 74, 0); }
    100% { transform: scale(1);    box-shadow: 0 0 0 0 rgba(95, 184, 74, 0); }
}

/* Slot index — small circle */
.wckb-app .wckb-slot-index {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid var(--gp-line);
    color: var(--gp-muted);
    font-size: 11.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .25s ease, border-color .25s ease, color .25s ease;
    font-feature-settings: 'tnum' 1;
    font-variant-numeric: tabular-nums;
}
.wckb-app .wckb-slot.is-filled .wckb-slot-index {
    background: var(--gp-green);
    border-color: var(--gp-green);
    color: #fff;
    box-shadow: 0 2px 6px -2px rgba(95, 184, 74, 0.4);
}

.wckb-app .wckb-slot-empty {
    color: var(--gp-muted);
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.wckb-app .wckb-slot-thumb {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--gp-line-2);
    flex-shrink: 0;
    border: 1px solid var(--gp-line);
}

.wckb-app .wckb-slot-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.wckb-app .wckb-slot-name {
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--gp-navy);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}
.wckb-app .wckb-slot-price {
    font-size: 12px;
    color: var(--gp-muted);
    font-weight: 600;
    font-feature-settings: 'tnum' 1;
    font-variant-numeric: tabular-nums;
}
.wckb-app .wckb-slot-price .amount,
.wckb-app .wckb-slot-price ins,
.wckb-app .wckb-slot-price del {
    color: inherit;
    background: transparent;
    text-decoration: none;
}

.wckb-app .wckb-slot-remove {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--gp-muted-2);
    cursor: pointer;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    line-height: 1;
    transition: background .15s ease, color .15s ease, transform .2s ease;
}
.wckb-app .wckb-slot-remove:hover {
    background: #fdecec;
    color: #d04545;
    transform: scale(1.05);
}

.wckb-app .wckb-slot-content {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
    animation: wckb-slot-fill 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
@keyframes wckb-slot-fill {
    from { opacity: 0; transform: scale(0.85); }
    to   { opacity: 1; transform: scale(1); }
}


/* ============================================================================
   SUMMARY
============================================================================ */
.wckb-app .wckb-summary {
    border-top: 1px solid var(--gp-line);
    padding: 16px 0 0;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.wckb-app .wckb-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 13.5px;
    color: var(--gp-muted);
}
.wckb-app .wckb-summary-row > span {
    letter-spacing: 0.01em;
}
.wckb-app .wckb-summary-row strong {
    color: var(--gp-ink-2);
    font-weight: 700;
    font-feature-settings: 'tnum' 1;
    font-variant-numeric: tabular-nums;
}

.wckb-app .wckb-discount-row {
    color: var(--gp-green-2);
}
.wckb-app .wckb-discount-row strong {
    color: var(--gp-green-2);
}
.wckb-app .wckb-discount-row > span::before {
    content: "✓ ";
    margin-right: 2px;
    font-weight: 700;
}

.wckb-app .wckb-summary-total {
    font-size: 15px;
    padding-top: 12px;
    margin-top: 4px;
    border-top: 1px dashed var(--gp-line);
    color: var(--gp-navy);
}
.wckb-app .wckb-summary-total > span {
    font-weight: 700;
    color: var(--gp-navy);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 11.5px;
}
.wckb-app .wckb-summary-total strong {
    font-size: 19px;
    font-weight: 700;
    color: var(--gp-navy);
    letter-spacing: -0.01em;
}


/* ============================================================================
   BLISTER TRAY — restyle inline SVG to match the navy palette
============================================================================ */
.wckb-app .wckb-tray-wrap {
    margin: 14px 0 18px;
    display: flex;
    justify-content: center;
    padding: 14px;
    background: var(--gp-line-2);
    border-radius: 10px;
    border: 1px solid var(--gp-line);
}
.wckb-app .wckb-tray {
    width: 100%;
    max-width: 320px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(20, 41, 74, 0.12));
}
.wckb-app .wckb-tray-img {
    /* Hint to the browser to use high-quality image scaling on the product
     * images inside the tray cavities (default 'auto' but explicit here). */
    image-rendering: auto;
    image-rendering: -webkit-optimize-contrast;
}
.wckb-app .wckb-tray-vial {
    opacity: 0;
    transform: translateY(-30px);
    transform-origin: center bottom;
    transform-box: fill-box;
    transition: opacity 0.4s ease;
}
.wckb-app .wckb-tray-vial.is-filled {
    animation: wckb-vial-drop 0.55s cubic-bezier(0.34, 1.56, 0.4, 1) forwards;
}
@keyframes wckb-vial-drop {
    0%   { opacity: 0; transform: translateY(-30px); }
    60%  { opacity: 1; transform: translateY(2px); }
    80%  { transform: translateY(-1px); }
    100% { opacity: 1; transform: translateY(0); }
}


/* ============================================================================
   CTA — main "Add Kit to Cart" button
============================================================================ */
.wckb-app .wckb-cta {
    width: 100%;
    font-family: inherit;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    border: 0;
    background: var(--gp-green);
    color: #fff;
    padding: 16px 18px;
    border-radius: 10px;
    box-shadow: 0 8px 20px -6px rgba(95, 184, 74, 0.5);
    transition: background .2s ease, transform .15s ease, box-shadow .2s ease, opacity .2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.wckb-app .wckb-cta:hover:not(:disabled) {
    background: var(--gp-green-2);
    transform: translateY(-1px);
    box-shadow: 0 12px 28px -8px rgba(95, 184, 74, 0.6);
}
.wckb-app .wckb-cta:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 6px 14px -4px rgba(95, 184, 74, 0.45);
}
.wckb-app .wckb-cta:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(95, 184, 74, 0.25),
                0 8px 20px -6px rgba(95, 184, 74, 0.5);
}
.wckb-app .wckb-cta:disabled {
    background: var(--gp-line);
    color: var(--gp-muted);
    cursor: not-allowed;
    box-shadow: none;
    opacity: 1;
}


/* ============================================================================
   LOAD MORE BUTTON
============================================================================ */
.wckb-app .wckb-load-more {
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: 1.5px solid var(--gp-line);
    background: #fff;
    color: var(--gp-accent);
    padding: 10px 22px;
    border-radius: 100px;
    transition: background .2s ease, border-color .2s ease, color .2s ease, transform .15s ease;
    letter-spacing: 0.02em;
}
.wckb-app .wckb-load-more:hover {
    background: var(--gp-accent-soft);
    border-color: var(--gp-accent);
    color: var(--gp-accent);
    transform: translateY(-1px);
}
.wckb-app .wckb-load-more:active {
    transform: translateY(0);
}


/* ============================================================================
   FEEDBACK MESSAGES
============================================================================ */
.wckb-app .wckb-feedback {
    margin-top: 12px;
    font-size: 12.5px;
    font-weight: 500;
    min-height: 1.2em;
    text-align: center;
    line-height: 1.5;
    color: var(--gp-muted);
}
.wckb-app .wckb-feedback.is-success {
    color: var(--gp-green-2);
    font-weight: 600;
}
.wckb-app .wckb-feedback.is-error {
    color: #c62828;
    font-weight: 600;
}


/* ============================================================================
   FLYING-PRODUCT ANIMATION
============================================================================ */
.wckb-app .wckb-fly,
.wckb-fly {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 16px 40px -10px rgba(20, 41, 74, 0.35);
    will-change: transform, opacity;
}
.wckb-fly img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* ============================================================================
   EMPTY / NO-RESULTS STATE
============================================================================ */
.wckb-app .wckb-empty {
    grid-column: 1 / -1;
    padding: 48px 24px;
    text-align: center;
    color: var(--gp-muted);
    font-size: 14.5px;
    font-weight: 500;
    background: #fff;
    border: 1px dashed var(--gp-line);
    border-radius: 14px;
}


/* ============================================================================
   RESPONSIVE
============================================================================ */
@media (max-width: 960px) {
    .wckb-app .wckb-case {
        position: relative;
        top: auto;
    }
}
@media (max-width: 600px) {
    .wckb-app {
        padding: 24px 0 36px;
    }
    .wckb-app .wckb-header {
        padding: 22px 20px;
        border-radius: 12px;
        margin-bottom: 22px;
    }
    .wckb-app .wckb-title { font-size: 22px; }
    .wckb-app .wckb-subtitle { font-size: 13.5px; }
    .wckb-app .wckb-promo {
        display: block;
        margin: 8px 0 0;
        width: fit-content;
    }
    .wckb-app .wckb-case-shell {
        padding: 18px;
        border-radius: 12px;
    }
    .wckb-app .wckb-case-header h3 { font-size: 15px; }
    .wckb-app .wckb-card { padding: 12px; border-radius: 12px; }
    .wckb-app .wckb-card-title { font-size: 12.5px; }
    .wckb-app .wckb-cta {
        font-size: 13px;
        padding: 14px 16px;
    }
}


/* ============================================================================
   REDUCED MOTION
============================================================================ */
@media (prefers-reduced-motion: reduce) {
    .wckb-app .wckb-card,
    .wckb-app .wckb-card:hover,
    .wckb-app .wckb-card-thumb img,
    .wckb-app .wckb-slot,
    .wckb-app .wckb-slot-content,
    .wckb-app .wckb-card-check,
    .wckb-app .wckb-card-btn,
    .wckb-app .wckb-cta,
    .wckb-app .wckb-load-more,
    .wckb-fly {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
    .wckb-app .wckb-tray-vial.is-filled {
        animation: none;
        opacity: 1;
        transform: none;
    }
    .wckb-app .wckb-loader span {
        animation: none;
        opacity: 1;
    }
}
