@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@1,700;1,800&family=Cormorant+Garamond:wght@500&family=Inter:wght@500;600;700&display=swap');

.bk_qc_order_block {
    margin: 0 0 16px;
    width: 100%;
    position: relative;
}

.bk_qc_order_detail_link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.bk_qc_order_header,
.bk_qc_order_card,
.bk_qc_status_row,
.bk_qc_product_row,
.bk_qc_actions,
.bk_qc_eta_footer,
.bk_qc_delivered_card {
    position: relative;
    z-index: 2;
}

.bk_qc_order_header {
    pointer-events: none;
}

.bk_qc_product_row,
.bk_qc_btn,
.bk_qc_delivered_card--clickable .bk_qc_delivered_product_row {
    position: relative;
    z-index: 3;
}

.bk_qc_order_header {
    margin-bottom: 8px;
}

.bk_qc_order_header_title {
    font-size: 15px;
    font-weight: 600;
    color: #27262c;
    line-height: 1.4;
}

.bk_qc_order_header_title span {
    font-weight: 700;
}

.bk_qc_order_header_meta {
    font-size: 13px;
    color: #7a7783;
    line-height: 1.4;
}

.bk_qc_order_card {
    border: 1px solid #f0d9c8;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(39, 38, 44, 0.08), 0 1px 3px rgba(39, 38, 44, 0.04);
}

.bk_qc_status_row {
    padding: 14px 16px 10px;
}

.bk_qc_status_badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #e8f7f5;
    color: #1f8f84;
}

.bk_qc_status_badge_icon {
    display: block;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.bk_qc_status_badge--confirmed {
    color: #0f766e;
}

.bk_qc_status_badge_icon--confirmed,
.bk_qc_delivered_badge_icon--confirmed {
    filter: brightness(0) saturate(100%) invert(43%) sepia(21%) saturate(1142%) hue-rotate(130deg) brightness(94%) contrast(92%);
}

.bk_qc_status_badge_icon--packed {
    filter: brightness(0) saturate(100%) invert(43%) sepia(55%) saturate(400%) hue-rotate(137deg) brightness(90%) contrast(95%);
}

.bk_qc_status_label {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0;
}

.bk_qc_status_time {
    margin-top: 6px;
    font-size: 12px;
    color: #8b8794;
    line-height: 1.4;
}

.bk_qc_product_row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px 14px;
    text-decoration: none;
    color: inherit;
}

.bk_qc_product_row:hover {
    text-decoration: none;
    color: inherit;
}

.bk_qc_product_image {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    background: #f7f7f8;
}

.bk_qc_product_image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bk_qc_product_info {
    flex: 1;
    min-width: 0;
}

.bk_qc_product_brand {
    font-family: "Cormorant Garamond", serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0;
    color: #8b8794;
    margin-bottom: 2px;
}

.bk_qc_product_name {
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 17.5px;
    letter-spacing: 0;
    color: #27262c;
    margin-bottom: 4px;
}

.bk_qc_product_meta {
    font-size: 12px;
    color: #8b8794;
}

.bk_qc_product_chevron {
    flex: 0 0 auto;
    font-size: 30px;
    line-height: 1;
    color: #b8b4c0;
}

.bk_qc_actions {
    display: flex;
    gap: 10px;
    padding: 0 16px 14px;
}

.bk_qc_btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.2;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.bk_qc_btn:hover {
    text-decoration: none;
}

.bk_qc_btn_track {
    border: 1px solid #2dbaa8;
    color: #1f8f84;
    background: #fff;
}

.bk_qc_btn_track:hover {
    background: #f3fbfb;
    color: #1f8f84;
}

.bk_qc_btn_help {
    border: 1px solid #dfdee3;
    color: #4e4b58;
    background: #fff;
}

.bk_qc_btn_help:hover {
    background: #fafafa;
    color: #4e4b58;
}

.bk_qc_eta_footer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 16px;
    background: #fff7f0;
    border-top: 1px solid #f7e8da;
    text-align: center;
}

.bk_qc_kdash_icon {
    flex-shrink: 0;
    display: block;
    vertical-align: middle;
    filter: brightness(0) saturate(100%) invert(48%) sepia(60%) saturate(661%) hue-rotate(131deg) brightness(91%) contrast(90%);
}

.bk_qc_eta_footer .bk_qc_kdash_label {
    color: #0d9488;
}

.bk_qc_kdash_label {
    display: inline-flex;
    align-items: center;
    color: #f5ac52;
    white-space: nowrap;
    vertical-align: middle;
}

.bk_qc_kdash_k {
    font-family: "Barlow", sans-serif;
    font-weight: 800;
    font-style: italic;
    font-size: 13px;
    line-height: 12px;
    letter-spacing: 0;
    vertical-align: middle;
}

.bk_qc_kdash_dash {
    font-family: "Barlow", sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 13px;
    line-height: 12px;
    letter-spacing: 0;
    vertical-align: middle;
}

.bk_qc_eta_text {
    display: inline-block;
    margin-left: 2px;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0;
    color: #4e4b58;
    vertical-align: middle;
    white-space: nowrap;
}

.bk_qc_eta_when {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0;
    color: #27262c;
    vertical-align: middle;
}

.bk_qc_eta_date,
.bk_qc_eta_time {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0;
    color: #27262c;
    vertical-align: middle;
}

.bk_qc_icon {
    flex-shrink: 0;
}

.bk_qc_delivered_card {
    border: 1px solid #e7edf0;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 16px rgba(39, 38, 44, 0.08), 0 1px 3px rgba(39, 38, 44, 0.04);
}

.bk_qc_delivered_card--clickable {
    position: relative;
    cursor: pointer;
}

.bk_qc_delivered_card_link {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
}

.bk_qc_delivered_card_head,
.bk_qc_delivered_product_row,
.bk_qc_delivered_return_strip {
    position: relative;
    z-index: 2;
}

.bk_qc_delivered_card--clickable .bk_qc_delivered_card_head,
.bk_qc_delivered_card--clickable .bk_qc_delivered_return_strip {
    pointer-events: none;
}

.bk_qc_delivered_product_row {
    text-decoration: none;
    color: inherit;
}

.bk_qc_delivered_product_row:hover {
    text-decoration: none;
    color: inherit;
}

.bk_qc_delivered_help_wrap,
.bk_qc_delivered_help_btn,
.bk_qc_delivered_review_strip {
    position: relative;
    z-index: 3;
    pointer-events: auto;
}

.bk_qc_delivered_card_head {
    padding: 14px 16px 12px;
    background: #f7f8fa;
}

.bk_qc_delivered_badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #dff4f2;
    color: #0f766e;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 600;
    font-style: normal;
    line-height: 16px;
    letter-spacing: 0;
}

.bk_qc_delivered_badge_icon {
    display: block;
    width: 14px;
    height: 14px;
}

.bk_qc_delivered_at {
    margin: 10px 0 0;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    color: #8b8794;
}

.bk_qc_delivered_at--highlighted .bk_qc_delivered_time_duration {
    font-size: 14px;
    font-weight: 700;
    color: #26c2b9;
}

.bk_qc_delivered_product_row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    text-decoration: none;
    color: inherit;
}

.bk_qc_delivered_product_image {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 10px;
    overflow: hidden;
    background: #f7f8fa;
}

.bk_qc_delivered_product_image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bk_qc_delivered_product_info {
    min-width: 0;
    flex: 1;
}

.bk_qc_delivered_product_brand {
    font-family: "Cormorant Garamond", serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 16px;
    color: #27262c;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.bk_qc_delivered_product_name {
    margin-top: 4px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    color: #27262c;
}

.bk_qc_delivered_product_meta {
    margin-top: 6px;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    line-height: 16px;
    color: #8b8794;
}

.bk_qc_delivered_product_chevron {
    flex-shrink: 0;
    font-size: 30px;
    line-height: 1;
    color: #c8c4cf;
}

.bk_qc_delivered_help_wrap {
    padding: 0 16px 14px;
}

.bk_qc_delivered_help_btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid #e4e7ec;
    border-radius: 999px;
    background: #fff;
    color: #27262c;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
}

.bk_qc_delivered_help_btn:hover {
    border-color: #d7dbe3;
    color: #27262c;
}

.bk_qc_delivered_return_strip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #f7f8fa;
    border-top: 1px solid #eef1f4;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    line-height: 1.5;
    color: #6f6b78;
}

.bk_qc_delivered_return_icon {
    flex-shrink: 0;
    display: block;
    filter: brightness(0) saturate(100%) invert(20%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(95%) contrast(90%);
}

.bk_qc_delivered_return_strip strong {
    font-weight: 700;
    color: #4e4b58;
}

.bk_qc_delivered_review_strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-top: 1px solid #eef1f4;
    background: linear-gradient(90deg, #e8f7f5 0%, #f3eef8 100%);
    text-decoration: none;
    color: inherit;
}

.bk_qc_delivered_review_title {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    color: #27262c;
}

.bk_qc_delivered_review_sub {
    margin-top: 2px;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    line-height: 1.4;
    color: #8b8794;
}

.bk_qc_delivered_review_kinders {
    color: #26c2b9;
    font-weight: 600;
}

.bk_qc_delivered_review_stars {
    display: inline-flex;
    gap: 4px;
    flex-shrink: 0;
}

.bk_qc_delivered_review_stars span {
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 3.5l2.58 5.22 5.77.84-4.18 4.07.99 5.75L12 16.9l-5.16 2.48.99-5.75-4.18-4.07 5.77-.84L12 3.5Z' stroke='%23c8c4cf' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media screen and (min-width: 769px) {
    .bk_qc_actions {
        justify-content: flex-start;
    }

    .bk_qc_btn {
        flex: 0 0 auto;
        width: auto;
        min-height: 34px;
        padding: 6px 12px;
        font-size: 12px;
    }
}

@media screen and (max-width: 766px) {
    .bk_qc_order_block {
        margin: 0 0 12px;
    }

    .bk_qc_actions {
        flex-direction: row;
    }

    .bk_qc_btn {
        font-size: 12px;
        padding: 8px 10px;
    }
}
