.product-origins-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
    margin: 6px 0 8px;
    direction: rtl;
    width: 100%;
}

.product-origin-bar {
    flex: 0 1 auto;
    min-width: 74px;
}

.product-origin-bar-border {
    padding: 1.5px;
    background-color: #1C1917;
    clip-path: polygon(
        9px 0,
        100% 0,
        100% calc(100% - 9px),
        calc(100% - 9px) 100%,
        0 100%,
        0 9px
    );
}

.product-origin-bar-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 8px 10px;
    background-color: #EFE7DE;
    color: #1C1917;
    text-align: center;
    clip-path: polygon(
        8px 0,
        100% 0,
        100% calc(100% - 8px),
        calc(100% - 8px) 100%,
        0 100%,
        0 8px
    );
}

.product-origin-percent {
    font-family: 'Tajawal', sans-serif;
    font-size: 19px;
    font-weight: 700;
    line-height: 1;
}

.product-origin-country {
    font-family: 'Tajawal', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    margin-top: 4px;
}

.product-origins-disclosure {
    margin: 14px 0;
    border: 1px solid #F2EDE8;
    border-radius: 12px;
    padding: 10px 12px;
    background: #fff;
}

.product-origins-disclosure summary {
    cursor: pointer;
    font-weight: 700;
    color: #000;
}

.product-origins-optional {
    font-weight: 400;
    font-size: 0.85rem;
    color: #000;
}

.product-origins-admin-hint {
    margin: 8px 0 12px;
    color: #000;
    font-size: 0.9rem;
}

.product-origins-admin-rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-origin-admin-row {
    display: grid;
    grid-template-columns: 1fr 120px auto;
    gap: 10px;
    align-items: end;
}

.product-origin-admin-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.85rem;
    color: #000;
}

.product-origin-admin-field input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #F2EDE8;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    background: #fff;
    direction: rtl;
}

.product-origin-remove-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #F2EDE8;
    border-radius: 50%;
    background: #fff;
    color: #b94a48;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
}

.product-origins-add-btn {
    margin-top: 10px;
    background: #fff;
    color: #000;
    border: 2px solid #000;
    border-radius: 100px;
    padding: 8px 16px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
}
