/* COCEurope Premium UI v0.5 */

.coceu-premium-page,
.coceu-premium-surface {
    --coceu-premium-navy: var(--coce-navy, #0f172a);
    --coceu-premium-teal: var(--coce-teal, #28647c);
    --coceu-premium-yellow: var(--coce-yellow, #f5b800);
    --coceu-premium-green: var(--coce-green, #16a34a);
    --coceu-premium-bg: #f4f8fb;
    --coceu-premium-border: #dfe8f0;
    --coceu-premium-muted: #64748b;
    --coceu-premium-shadow: 0 16px 44px rgba(15, 23, 42, .065);
    -webkit-font-smoothing: antialiased;
}

.coceu-premium-page {
    position: relative;
    isolation: isolate;
}

.coceu-premium-page::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -40px;
    left: 50%;
    width: min(1100px, 90vw);
    height: 260px;
    transform: translateX(-50%);
    background:
        radial-gradient(circle at 22% 30%, rgba(40, 100, 124, .09), transparent 34%),
        radial-gradient(circle at 76% 12%, rgba(245, 184, 0, .08), transparent 28%);
    pointer-events: none;
}

.coceu-premium-surface {
    background: linear-gradient(180deg, #f9fbfd 0%, #f3f7fb 100%);
}

.coceu-premium-page-brand {
    margin-bottom: 18px;
}

.coceu-premium-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--coceu-premium-navy);
    text-decoration: none;
}

.coceu-premium-brand__mark {
    position: relative;
    display: block;
    width: 38px;
    height: 38px;
}

.coceu-premium-brand__mark i {
    position: absolute;
    left: 50%;
    top: 50%;
    font-style: normal;
    font-size: 5px;
    color: var(--coceu-premium-yellow);
    transform:
        translate(-50%, -50%)
        rotate(calc(var(--i) * 30deg))
        translateY(-15px)
        rotate(calc(var(--i) * -30deg));
}

.coceu-premium-brand__text strong,
.coceu-premium-brand__text small {
    display: block;
}

.coceu-premium-brand__text strong {
    color: var(--coceu-premium-navy);
    font-size: 20px;
    line-height: 1;
    letter-spacing: -.04em;
}

.coceu-premium-brand__text small {
    margin-top: 4px;
    color: var(--coceu-premium-muted);
    font-size: 7px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.coceu-premium-brand.is-compact .coceu-premium-brand__mark {
    width: 28px;
    height: 28px;
}

.coceu-premium-brand.is-compact .coceu-premium-brand__mark i {
    transform:
        translate(-50%, -50%)
        rotate(calc(var(--i) * 30deg))
        translateY(-11px)
        rotate(calc(var(--i) * -30deg));
}

.coceu-premium-brand.is-compact .coceu-premium-brand__text strong {
    font-size: 15px;
}

.coceu-premium-brand.is-image img {
    display: block;
    max-width: 190px;
    max-height: 52px;
    width: auto;
    height: auto;
}

.coceu-icon {
    display: block;
    flex: 0 0 auto;
}

.coceu-premium-section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--coceu-premium-teal);
    font-size:12px;
    font-weight:700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.coceu-premium-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 26px;
    padding: 5px 8px;
    border: 1px solid #dbe7f5;
    border-radius: 999px;
    background: #eef6ff;
    color: #334155;
    font-size:12px;
    font-weight: 800;
}

.coceu-premium-chip.is-success {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

/* Trust strip */

.coceu-premium-trust-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.coceu-premium-trust-item {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-width: 0;
    padding: 14px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: rgba(255,255,255,.88);
    box-shadow: 0 8px 22px rgba(15,23,42,.04);
}

.coceu-premium-trust-item__icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: #edf7fa;
    color: var(--coceu-premium-teal);
}

.coceu-premium-trust-item strong,
.coceu-premium-trust-item small {
    display: block;
}

.coceu-premium-trust-item strong {
    color: var(--coceu-premium-navy);
    font-size: 11px;
    line-height: 1.25;
}

.coceu-premium-trust-item small {
    margin-top: 3px;
    color: var(--coceu-premium-muted);
    font-size:12px;
    line-height: 1.35;
}

/* Shared customer status */

.coceu-premium-status-panel {
    --status-bg: #f4f8fc;
    --status-border: #dbe7f0;
    --status-icon-bg: #e7f1f7;
    --status-icon: var(--coceu-premium-teal);
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: start;
    padding: 20px;
    border: 1px solid var(--status-border);
    border-radius: 17px;
    background: var(--status-bg);
    box-shadow: var(--coceu-premium-shadow);
}

.coceu-premium-status-panel.is-success,
.coceu-premium-status-panel.is-completed {
    --status-bg: #f4fcf6;
    --status-border: #bde9c8;
    --status-icon-bg: #dff6e4;
    --status-icon: #15803d;
}

.coceu-premium-status-panel.is-warning {
    --status-bg: #fffbeb;
    --status-border: #f7d978;
    --status-icon-bg: #fff0b5;
    --status-icon: #a16207;
}

.coceu-premium-status-panel.is-danger {
    --status-bg: #fff7f7;
    --status-border: #f3c5c5;
    --status-icon-bg: #fee2e2;
    --status-icon: #b42318;
}

.coceu-premium-status-panel.is-active {
    --status-bg: #f5faff;
    --status-border: #c8dff1;
    --status-icon-bg: #e1f0fa;
    --status-icon: #1d6a8a;
}

.coceu-premium-status-panel__icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: var(--status-icon-bg);
    color: var(--status-icon);
}

.coceu-premium-status-panel__copy h2 {
    margin: 4px 0 5px;
    color: var(--coceu-premium-navy);
    font-size: clamp(20px, 2vw, 27px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.coceu-premium-status-panel__copy p {
    max-width: 760px;
    margin: 0;
    color: #536274;
    font-size: 12px;
    line-height: 1.55;
}

.coceu-premium-status-panel__copy > small {
    display: block;
    margin-top: 8px;
    color: #7b8795;
    font-size:12px;
    font-weight: 750;
}

.coceu-premium-status-panel__pill {
    align-self: center;
    padding: 7px 10px;
    border: 1px solid var(--status-border);
    border-radius: 999px;
    background: rgba(255,255,255,.78);
    color: var(--status-icon);
    font-size:12px;
    font-weight:700;
    white-space: nowrap;
}

/* Action panels */

.coceu-premium-action-panel {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 18px;
    border: 1px solid #f2d36a;
    border-radius: 15px;
    background:
        linear-gradient(135deg, rgba(255,249,220,.96), rgba(255,253,245,.98));
    box-shadow: 0 10px 28px rgba(151, 113, 0, .07);
}

.coceu-premium-action-panel__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: #fff0b5;
    color: #9a6700;
}

.coceu-premium-action-panel h3 {
    margin: 2px 0 4px;
    color: var(--coceu-premium-navy);
    font-size: 16px;
    letter-spacing: -.02em;
}

.coceu-premium-action-panel p {
    margin: 0;
    color: #6b5a2c;
    font-size:12px;
    line-height: 1.5;
}

/* Process rail */

.coceu-premium-process {
    padding: 18px;
    border: 1px solid #dce8f1;
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(237,246,255,.82), rgba(247,251,254,.96));
}

.coceu-premium-process__head {
    margin-bottom: 14px;
}

.coceu-premium-process__head h2 {
    margin: 4px 0 0;
    color: var(--coceu-premium-navy);
    font-size: 18px;
    letter-spacing: -.025em;
}

.coceu-premium-process__rail {
    position: relative;
    display: grid;
    grid-template-columns: repeat(var(--coceu-process-columns, 4), minmax(0, 1fr));
    gap: 8px;
}

.coceu-premium-process__rail::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 16px;
    left: 7%;
    right: 7%;
    height: 1px;
    background: #c9d9e5;
}

.coceu-premium-process__step {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 9px;
    align-items: start;
    min-width: 0;
    padding: 8px;
}

.coceu-premium-process__number {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid #cbd8e3;
    border-radius: 50%;
    background: #fff;
    color: #64748b;
    font-size:12px;
    font-weight:700;
}

.coceu-premium-process__step strong,
.coceu-premium-process__step small {
    display: block;
}

.coceu-premium-process__step strong {
    margin-top: 2px;
    color: #475569;
    font-size:12px;
    line-height: 1.3;
}

.coceu-premium-process__step small {
    margin-top: 4px;
    color: #7b8795;
    font-size:12px;
    line-height: 1.35;
}

.coceu-premium-process__step.is-done .coceu-premium-process__number {
    border-color: #9fd8ac;
    background: var(--coceu-premium-green);
    color: #fff;
}

.coceu-premium-process__step.is-current .coceu-premium-process__number {
    border-color: #65a9c1;
    background: var(--coceu-premium-teal);
    color: #fff;
    box-shadow: 0 0 0 5px rgba(40,100,124,.10);
}

.coceu-premium-process__step.is-current strong {
    color: var(--coceu-premium-navy);
}

/* Assurance */

.coceu-premium-assurance-list {
    display: grid;
    gap: 10px;
}

.coceu-premium-assurance-list__item {
    display: grid;
    grid-template-columns: 34px minmax(0,1fr);
    gap: 10px;
    align-items: center;
}

.coceu-premium-assurance-list__item > span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #eef6ff;
    color: var(--coceu-premium-teal);
}

.coceu-premium-assurance-list__item strong,
.coceu-premium-assurance-list__item small {
    display: block;
}

.coceu-premium-assurance-list__item strong {
    color: var(--coceu-premium-navy);
    font-size:12px;
}

.coceu-premium-assurance-list__item small {
    margin-top: 2px;
    color: var(--coceu-premium-muted);
    font-size:12px;
    line-height: 1.4;
}

.coceu-premium-reassurance {
    display: grid;
    gap: 10px;
}

.coceu-premium-reassurance > div {
    display: grid;
    grid-template-columns: 30px minmax(0,1fr);
    gap: 10px;
    align-items: center;
}

.coceu-premium-reassurance__icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: #eef6ff;
    color: var(--coceu-premium-teal);
}

.coceu-premium-reassurance strong,
.coceu-premium-reassurance small {
    display: block;
}

.coceu-premium-reassurance strong {
    color: var(--coceu-premium-navy);
    font-size:12px;
}

.coceu-premium-reassurance small {
    margin-top: 2px;
    color: var(--coceu-premium-muted);
    font-size:12px;
    line-height: 1.35;
}

/* Payment */

.coceu-premium-payment-row,
.coceu-premium-payment-providers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.coceu-premium-payment-row span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 43px;
    height: 25px;
    padding: 0 7px;
    border: 1px solid #d8e0e8;
    border-radius: 6px;
    background: #fff;
    color: #26364b;
    font-size:12px;
    font-weight:700;
    letter-spacing: .02em;
}

.coceu-premium-payment-provider {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 28px;
    padding: 5px 8px;
    border: 1px solid #d8e2eb;
    border-radius: 7px;
    background: #fff;
    color: #344256;
    box-shadow: 0 2px 5px rgba(15,23,42,.025);
}

.coceu-premium-payment-provider strong {
    font-size:12px;
    font-weight:700;
}

/* Generic premium forms */

.coceu-premium-page input[type="text"],
.coceu-premium-page input[type="email"],
.coceu-premium-page input[type="tel"],
.coceu-premium-page input[type="number"],
.coceu-premium-page input[type="password"],
.coceu-premium-page select,
.coceu-premium-page textarea {
    border-color: #cbd8e4;
    border-radius: 10px;
    background: #fff;
    box-shadow: inset 0 1px 1px rgba(15,23,42,.02);
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.coceu-premium-page input:focus,
.coceu-premium-page select:focus,
.coceu-premium-page textarea:focus {
    outline: none;
    border-color: var(--coceu-premium-teal);
    box-shadow: 0 0 0 3px rgba(40,100,124,.10);
}

.coceu-premium-page button,
.coceu-premium-page .button,
.coceu-premium-page a[class*="btn"] {
    transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease, background .14s ease;
}

.coceu-premium-page button:hover,
.coceu-premium-page .button:hover,
.coceu-premium-page a[class*="btn"]:hover {
    transform: translateY(-1px);
}

/* Premium cards */

.coceu-premium-page .coceu-track-panel,
.coceu-premium-page .coceu-upload-form,
.coceu-premium-page .coceu-ty-card,
.coceu-premium-page .coce-account-card {
    border-color: var(--coceu-premium-border);
    box-shadow: var(--coceu-premium-shadow);
}

/* Responsive */

@media (max-width: 860px) {
    .coceu-premium-trust-strip {
        grid-template-columns: 1fr 1fr;
    }

    .coceu-premium-trust-item:last-child {
        grid-column: 1 / -1;
    }

    .coceu-premium-status-panel {
        grid-template-columns: 46px minmax(0,1fr);
    }

    .coceu-premium-status-panel__pill {
        grid-column: 2;
        justify-self: start;
    }

    .coceu-premium-process__rail {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .coceu-premium-process__rail::before {
        display: none;
    }

    .coceu-premium-action-panel {
        grid-template-columns: 40px minmax(0,1fr);
    }

    .coceu-premium-action-panel > :last-child {
        grid-column: 2;
        justify-self: start;
    }
}

@media (max-width: 640px) {
    .coceu-premium-trust-strip {
        grid-template-columns: 1fr;
    }

    .coceu-premium-trust-item:last-child {
        grid-column: auto;
    }

    .coceu-premium-brand__text small {
        display: none;
    }

    .coceu-premium-status-panel {
        grid-template-columns: 40px minmax(0,1fr);
        gap: 12px;
        padding: 15px;
        border-radius: 14px;
    }

    .coceu-premium-status-panel__icon {
        width: 40px;
        height: 40px;
        border-radius: 11px;
    }

    .coceu-premium-status-panel__copy h2 {
        font-size: 20px;
    }

    .coceu-premium-process {
        padding: 14px;
    }

    .coceu-premium-process__rail {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .coceu-premium-process__step {
        grid-template-columns: 30px minmax(0,1fr);
        padding: 6px;
    }

    .coceu-premium-process__number {
        width: 30px;
        height: 30px;
    }

    .coceu-premium-action-panel {
        grid-template-columns: 38px minmax(0,1fr);
        padding: 14px;
    }

    .coceu-premium-action-panel__icon {
        width: 38px;
        height: 38px;
    }
}


/* Premium page composition */

.coceu-checkout-premium-head,
.coceu-ty-premium-head,
.coce-account-premium-head {
    display: grid;
    grid-template-columns: minmax(220px,.75fr) minmax(0,1.25fr);
    gap: 20px;
    align-items: center;
    max-width: 1240px;
    margin: 0 auto 22px;
}

.coceu-track-shell > .coceu-premium-page-brand,
.coceu-upload-shell > .coceu-premium-page-brand {
    margin-bottom: 12px;
}

.coceu-track-shell > .coceu-premium-trust-strip,
.coceu-upload-shell > .coceu-premium-trust-strip {
    margin: 18px 0 20px;
}

.coceu-ty-wrap > .coceu-premium-status-panel {
    margin: 0 auto 16px;
}

.coceu-upload-shell > .coceu-premium-status-panel,
.coceu-track-result > .coceu-premium-status-panel {
    margin-bottom: 0;
}

.coceu-upload-form > .coceu-premium-action-panel {
    margin: 14px 0;
}

.coceu-upload-form > .coceu-premium-assurance-list {
    margin-top: 16px;
    padding-top: 15px;
    border-top: 1px solid #e8eef3;
}

.coceu-co-payment-providers {
    display: grid;
    gap: 8px;
    margin: 13px 0 15px;
    padding: 12px;
    border: 1px solid #e4ebf1;
    border-radius: 12px;
    background: #f8fafc;
}

.coceu-co-payment-providers .coceu-premium-payment-providers {
    justify-content: flex-start;
}

.coceu-co-order-review > .coceu-premium-assurance-list {
    margin-top: 14px;
    padding: 14px;
    border: 1px solid #e4ebf1;
    border-radius: 12px;
    background: #fff;
}

.coceu-premium-page .coceu-cart-summary,
.coceu-premium-page .coceu-cart-item,
.coceu-premium-page .coceu-mini-cart-drawer,
.coceu-premium-page .coceu-track-panel,
.coceu-premium-page .coceu-track-summary > div,
.coceu-premium-page .coceu-upload-form,
.coceu-premium-page .coceu-ty-card,
.coceu-premium-page .coce-account-card,
.coceu-premium-page .coce-side-card {
    border-color: var(--coceu-premium-border);
}

.coceu-premium-page .coceu-track-panel,
.coceu-premium-page .coceu-upload-form,
.coceu-premium-page .coceu-ty-card,
.coceu-premium-page .coce-account-card,
.coceu-premium-page .coce-side-card {
    box-shadow: var(--coceu-premium-shadow);
}

.coceu-premium-page .coce-order-card,
.coceu-premium-page .coceu-cart-item,
.coceu-premium-page .coceu-mini-cart-item,
.coceu-premium-page .coceu-track-document {
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.coceu-premium-page .coce-order-card:hover,
.coceu-premium-page .coceu-cart-item:hover,
.coceu-premium-page .coceu-mini-cart-item:hover,
.coceu-premium-page .coceu-track-document:hover {
    transform: translateY(-1px);
    border-color: #c7d8e6;
    box-shadow: 0 12px 30px rgba(15,23,42,.065);
}

.coceu-premium-page .coceu-track-summary > div,
.coceu-premium-page .coce-account-summary-grid > div {
    position: relative;
    overflow: hidden;
}

.coceu-premium-page .coceu-track-summary > div::before,
.coceu-premium-page .coce-account-summary-grid > div::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, var(--coceu-premium-teal), #78b8ca);
}

.coceu-premium-page .coceu-upload-dropzone {
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.6);
}

.coceu-premium-page .coceu-upload-dropzone:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(40,100,124,.08);
}

.coceu-premium-page .coceu-cart-btn.is-primary,
.coceu-premium-page .coceu-mini-cart-btn.is-primary,
.coceu-premium-page .coceu-track-btn.is-primary,
.coceu-premium-page .coceu-upload-btn,
.coceu-premium-page .coce-btn-primary,
.coceu-premium-page #place_order {
    box-shadow: 0 10px 24px rgba(245,184,0,.18);
}

.coceu-premium-page .coceu-cart-btn.is-primary:hover,
.coceu-premium-page .coceu-mini-cart-btn.is-primary:hover,
.coceu-premium-page .coceu-track-btn.is-primary:hover,
.coceu-premium-page .coceu-upload-btn:hover,
.coceu-premium-page .coce-btn-primary:hover,
.coceu-premium-page #place_order:hover {
    box-shadow: 0 13px 30px rgba(245,184,0,.24);
}

@media (max-width: 900px) {
    .coceu-checkout-premium-head,
    .coceu-ty-premium-head,
    .coce-account-premium-head {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (max-width: 640px) {
    .coceu-checkout-premium-head,
    .coceu-ty-premium-head,
    .coce-account-premium-head {
        margin-bottom: 14px;
    }

    .coceu-track-shell > .coceu-premium-trust-strip,
    .coceu-upload-shell > .coceu-premium-trust-strip {
        margin: 14px 0 16px;
    }

    .coceu-co-payment-providers {
        padding: 10px;
    }

    .coceu-premium-payment-providers {
        justify-content: flex-start;
    }
}


/* Portal premium accents */

.coce-account-summary-grid > div {
    display: grid;
    grid-template-columns: 36px minmax(0,1fr);
    column-gap: 10px;
    align-items: center;
}

.coce-account-summary-icon {
    grid-row: 1 / span 2;
    display: grid !important;
    place-items: center;
    width: 36px;
    height: 36px;
    margin: 0 !important;
    border-radius: 10px;
    background: #eef6ff;
    color: var(--coceu-premium-teal);
}

.coce-account-summary-grid > div > strong {
    align-self: end;
}

.coce-account-summary-grid > div > span:not(.coce-account-summary-icon) {
    align-self: start;
}

.coce-order-card__identity {
    display: grid;
    grid-template-columns: 40px minmax(0,1fr);
    gap: 10px;
    align-items: center;
    min-width: 0;
}

.coce-order-card__icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid #dbe7f5;
    border-radius: 11px;
    background: #fff;
    color: var(--coceu-premium-teal);
}

.coce-account-action {
    position: relative;
    overflow: hidden;
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.coce-account-action:hover {
    transform: translateY(-1px);
    border-color: #c5d9e8;
    box-shadow: 0 10px 26px rgba(15,23,42,.06);
}

@media (max-width: 520px) {
    .coce-account-summary-grid > div {
        grid-template-columns: 32px minmax(0,1fr);
    }

    .coce-account-summary-icon {
        width: 32px;
        height: 32px;
    }
}


/* Checkout premium trust bridge */

.coceu-co-trust-icons {
    display: block !important;
    max-width: 760px !important;
}

.coceu-co-trust-icons > .coceu-premium-trust-strip {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.coceu-co-trust-icons .coceu-premium-trust-item {
    min-height: 86px;
}

@media (max-width: 640px) {
    .coceu-co-trust-icons > .coceu-premium-trust-strip {
        grid-template-columns: 1fr;
    }

    .coceu-co-trust-icons .coceu-premium-trust-item {
        min-height: 0;
    }
}

